
posYmenu = 100;
//bgcolor='#CCBDFF';
//bgcolor2='#FFA825'; //

var hauteur_menu='20';
var hauteur_ss_menu='50';




if ( navigator.userAgent.indexOf('Opera 5') != -1 ) { posYmenu=posYmenu;}
else if ( navigator.userAgent.indexOf('MSIE') != -1 ) { posYmenu=posYmenu;}
else if ( navigator.userAgent.indexOf('Mozilla') != -1 ) { 
	if ( navigator.userAgent.indexOf('Mozilla/4.7') != -1 ) {posYmenu=posYmenu-7; }
	else if ( navigator.userAgent.indexOf('Mozilla/5.0') != -1 ) { posYmenu=posYmenu-4; }

}
else { navigateur = posYmenu=posYmenu;}








document.write('<style type="text/css">');
document.write('.popper { POSITION: absolute; VISIBILITY: hidden; z-index:3;    filter:alpha(opacity=80);    -moz-opacity: 0.6;     opacity: 0.6;    }')
document.write('#topgauche { position:absolute; left:'+ posYmenu +'px; z-index:10;  }')
//document.write('A:hover.menud {color:#FFFFFF; text-decoration:none;}')
//document.write('A:visited.menud {color:#FFFFFF; text-decoration:none;}')
//document.write('A.menud {color:#FFFFFF; text-decoration:none;}')
document.write('</style>')


document.write('<DIV class=popper id=topdeck></DIV>');







var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { skn = document.topdeck }

else if (dom) { skn = document.getElementById("topdeck").style }
else if (iex) { skn = topdeck.style }

skn.left = posYmenu+(hauteur_menu-1);



function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}


function menu(msg,pos,pos2) {

var browserName = whichBrs(); 

// Browser Detection Javascript
// copyright 1 February 2003, by Stephen Chapman, Felgall Pty Ltd

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.


//pos=267;

  //if (navigator.appName.indexOf("Netscape") > -1) {return "Netscape";}
  //if (navigator.appName.indexOf("Explorer") > -1) {return "Explorer";}

//alert(navigator.appName);
//alert(browserName);

if (browserName=="Internet Explorer"){
	if (screen.width=="1024") { pos=pos;	}
	if (screen.width=="1280") { pos=pos;  }
} 
if (browserName=="Firefox"){

	if (screen.width=="1024") {  pos=pos-1;	}
	if (screen.width=="1280") {  pos=pos+10;  }
}
if (browserName=="Netscape"){
	if (screen.width=="1024") { pos=pos+1;	}
	if (screen.width=="1280") {  pos=pos+8;  }
}


if (screen.width==800) pos=pos-111;
if (screen.width==1152) pos=pos+65;
if (screen.width==1280) pos=pos+128;
if (screen.width==1600) pos=pos+289;
//if ( navigator.userAgent.indexOf('Mozilla/5.0') != -1 ) {pos=pos+10;}


skn.visibility = "hidden";
a=true
skn.left = pos;


var content ="<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0  WIDTH=200 height=50 BGCOLOR='#000000'><TR><TD ><TABLE  WIDTH=100% height=100% BORDER=0 CELLPADDING=1 CELLSPACING=1>";
pass = 0;
while (pass < msg.length)
	{
	content += msg[pass];

pass++;
	}
content += "</TABLE>x</TD></TR></TABLE>";


if (nava)  {
// N4
    skn.document.write(content);
	  skn.document.close();
	    skn.top= pos2;
		  skn.left= pos;
	  skn.visibility = "visible";
  }
    else if (dom)  {
  // N7 et IE
	  document.getElementById("topdeck").innerHTML = content;
	  skn.top= pos2;
	  skn.left= pos;
	  skn.visibility = "visible";
  }
    else if (iex)
  {

	  document.all("topdeck").innerHTML = content;
	  
	  skn.visibility = "visible";
  }
}



function kill()
{
	skn.visibility = "hidden";
}


document.onclick = kill;
