
if(window.opener){ 
window.opener.name='mum';
}

function ouvrirPage(page,t,l,w,h){
  window.open(page,"mafen","toolbar=0,menubar=0,scrollbars=1,resizable=1,location=0,directories=0,top="+t+",left="+l+",width="+w+",height="+h);
}

function findObj(n,c){
var x,d=c?c.document:document; if(!(x=d[n])&&d.all) x=d.all[n];
	if(!x && d.getElementById) x=d.getElementById(n);
return x;
}

function findTags(obj,tag){
	if(tag=='*'){
	obj.ALLS = obj.all||obj.getElementsByTagName(tag);
	}else{
	obj[tag+"S"] = obj.all?obj.all.tags(tag):obj.getElementsByTagName(tag);
	}
}

function getBounds(obj){
obj.X=0;obj.Y=0;obj.W=obj.offsetWidth;obj.H=obj.offsetHeight;
var tempObj=obj;
 while(tempObj.tagName!='BODY'){
 obj.X+=tempObj.offsetLeft;obj.Y+=tempObj.offsetTop;
  if(!tempObj.offsetParent) break;
 tempObj=tempObj.offsetParent;
 }
return obj;
}

function findRealParent(obj){
	return obj.parentNode||obj.parentElement;
}

function arrondi(nbre){
nbre=String(Math.round(nbre*100)/100);
nbre=nbre.replace(/(^[0-9]+$)/,"$1.00");
nbre=nbre.replace(/(^[0-9]+\.[0-9]$)/,"$1"+"0");
return nbre;
}

function prelod(){
var d=document ,di=d.images, im=new Array();
 for(var i=0,j=0;i<di.length;i++){
  if(di[i].src.indexOf("_norm.")!=-1){
   im[j]= new Image();
   im[j].src=di[i].src.replace("_norm.", "_surv.");
    if(!di[i].onmouseover){
	di[i].onmouseover=Function("this.src=this.src.replace('_norm.','_surv.')");di[i].onmouseout=Function("this.src=this.src.replace('_surv.','_norm.')")
	}
   j++;
  }
 }
}

onload=function(){prelod();}