function PopupCentrer(page,largeur,hauteur,option) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+option);
}

function Fermer() {
opener=self;
self.close();
}

function PopupImage(img) {
	titre="Popup Image";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+22,document.images[0].height+50); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}


function multiLoad(doc1,doc2) 
    { 
     parent.framex1.location.href=doc1; 
     parent.framex2.location.href=doc2; 
    } 

function LienOver(page,cadre) {
parent.cadre.location.href=page
}


function PopupPhoto(img,titre) {
	var lmax=screen.width
	var hmax=screen.height
	w=open("",'image','top=0,left=0,width=100,height=100,toolbar=no,scrollbars=yes,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT type='text/javascript'>function checksize()  { if (document.images[0].complete) {window.resizeTo(document.images[0].width+22,document.images[0].height+50); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0 backgroundcolor='#000000'><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}



function rollien(nom,src)
	{	
	document.images[nom].src=src;
	}

function load() 
	{
	if (document.images) 
		{
		this.length=load.arguments.length;
		for (var i=0;i<this.length;i++) 
			{
			this[i+1]=new Image();
			this[i+1].src=load.arguments[i];
			}
		}
	}


function aframe(doc1) 
{ 
parent.cadre.location.href=doc1;
IS_dMenu_out(this) 
} 


