//$ MM Functions
function MM_findObj(n, d) { //v4.01
  var p,i,x;
  if(!d) d=document;
  if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
	n=n.substring(0,p);
	}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function onRollOver(){
	//window.alert("on");
	if (navigator.appName=='Netscape') {
		MM_findObj("flash", document).style.height = '125px';
		MM_findObj("flashcontent", document).style.height = '125px';
	}
}

function onRollOut(){
	//window.alert("out");
	if (navigator.appName=='Netscape') {
		MM_findObj("flash", document).style.height = '25px';
		MM_findObj("flashcontent", document).style.height = '25px';
	}
	
}

function detectNavigator() {
	/*
	if (navigator.appName=='Microsoft Internet Explorer'){
		
	}
	*/

	if (navigator.appName=='Netscape') {
		MM_findObj("flash", document).style.height = '25px';
		MM_findObj("flashcontent", document).style.height = '25px';
	}
	
 } 

// ouverture des pop-ups
function popup(page,nom,largeur,hauteur) {
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	fen=window.open(page,nom,"top=" + top + ",left=" + left + ",width=" + largeur + ",height=" + hauteur + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
	fen.focus();
}

// calques
function showIt(layer)
{
 if (document.getElementById)
 { document.getElementById(layer).style.visibility="visible"; }
 else if (document.all)
 { document.all[layer].style.visibility="visible"; }
 else if (document.layers)
 { document.layers[layer].visibility="show"; }
}
function hideIt(layer)
{
 if (document.getElementById)
 { document.getElementById(layer).style.visibility="hidden"; }
 else if (document.all)
 { document.all[layer].style.visibility="hidden"; }
 else if (document.layers)
 { document.layers[layer].visibility="hide"; }
}

