/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function PopUp(url, width, height, typescroll) {
        var desktop = window.open( url, "_blank", "toolbar=no,location=no,status=no,menubar=no,scrollbars="+typescroll+",resizable=yes,width="+width+",height="+height+"" );
}

/*--------------------------*/
function PopImg(url, width, height, typescroll) {
        var popImage = window.open( "", "image", "toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars="+typescroll+",width="+width+",height="+height+"" );
		var contenu="<html><head><title>Image</title></head>";
		contenu+="<body onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>";
		contenu+="<table width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td valign='middle' align='center'>";
		contenu+="<a href='javascript:window.close()'><img src='"+url+"' border='0' alt='"+url+"'  border='0'></a>";
		contenu+="</td></tr></table></body></html>";
		popImage.document.write(contenu);
		
			
		
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function transfert(){
	var url_actuelle=document.location.href;
	url_actuelle=url_actuelle.replace("&","%26");
	var MailTo='<area shape="rect" coords="238,2,315,23"" href="mailto:%20?subject=Page%20%e0%20voir&body=%0d%0d'+url_actuelle+'">';
	document.write(MailTo);
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

function getUrl(url){
	window.opener.location=url;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*-------- Pour fixer le bug du bas de page ------*/
window.onload=function(){
  if (document.getElementById){
    document.getElementById("FOOTER").style.position="absolute";
    document.getElementById("FOOTER").style.bottom="1px";
	  document.getElementById("FOOTER").style.bottom="0px";
	}
	else if (document.all){
      document.all.FOOTER.style.bottom="1px";
	   document.all.FOOTER.style.bottom="0px";	
	   document.all["FOOTER"].style.bottom="1px";
	   document.all["FOOTER"].style.bottom="0px";
	}
	else if (document.layers){
    document.layers["FOOTER"].style.bottom="1px";
  	document.layers["FOOTER"].style.bottom="0px";
  	
	}
	else if(document.layers["FOOTER"].bottom){
    document.layers["FOOTER"].bottom = 1;
  	document.layers["FOOTER"].bottom = 0;
  }
}

