function survol(img,mode){
 if(mode=="s"){
  tmp=document.images[img].src;
  document.images[img].src=tmp.substring(0,tmp.lastIndexOf("_")+1) + "surv" + tmp.substring(tmp.lastIndexOf("."));
  }else{
  tmp=document.images[img].src;
  document.images[img].src=tmp.substring(0,tmp.lastIndexOf("_")+1) + "norm" + tmp.substring(tmp.lastIndexOf("."));
  }
}

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


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();}