
   function fensec(url,name,width,height,scr,st,loc,mn,tl,rz)
   {
      window.open(url, name, "location="+loc+",menubar="+mn+",toolbar="+tl+",scrollbars="+scr+",status="+st+",width="+width+",height="+height+",resizable="+rz);
   }



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



function fx_init(img){  
    if(img.filters && img.filters[0]){
        img.filters[0].apply();
        img.filters[0].play();
    }
}
function fx_over(img){
    if(img.filters && img.filters[0]){
        img.filters[0].apply();
        img.filters[0].play();
    }
}
function high(img){
    if(img.filters && img.filters[0]){
        img.filters.alpha.opacity=60;
        if (window.highlighting)
            clearInterval(highlighting);
    }
}

function low(img){
    if(img.filters && img.filters[0]){
        tmp = img;
        highlighting=setInterval("chlight(tmp)",50)
    }
}
function chlight(img){
    if (img.filters.alpha.opacity<100){
        img.filters.alpha.opacity+=4;
    }else{
        if (window.highlighting)
            clearInterval(highlighting);
    }
}
//Script de www.todoomasters.com




function VerifPlugIn(ExtensionFile)
    {
    var IsEnabled = true;
  if (navigator.appName == "Netscape")
    {
    IsEnabled = false;
        for(var x=0;(x<navigator.mimeTypes.length && !IsEnabled);x++)
            {
            if(navigator.mimeTypes[x].suffixes.indexOf(ExtensionFile)>=0)
                IsEnabled = navigator.mimeTypes[x].enabledPlugin;
            }
    }
    return IsEnabled;
    }

        
function PlaySound(MyName,MyExtension,MyLoop)
    {
    var AudioEnable = VerifPlugIn(MyExtension),TheLoop = '';
  if (navigator.appName == "Netscape" && MyLoop==1) TheLoop='true';
    if (AudioEnable) eval('document.'+MyName+'.play('+TheLoop+')');
  }

    
function StopSound(MyName,MyExtension)
    {
    var AudioEnable = VerifPlugIn(MyExtension);
    if (AudioEnable) eval('document.'+MyName+'.stop()');
  }




/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
if (parent.frames.length > 0)
    {
    window.top.location.href = location.href;
    }



/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
function ChangeUrl(formulaire)
    {
    if (formulaire.ListeUrl.selectedIndex != 0)
        {
        location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
        }
    else 
        {
        alert('Veuillez choisir une destination.');
        }
    }



function open () {return true;}



if (parent.frames.lenght)
parent.location.href=self.location;



