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 survol_text(nom,mode){
  for(i=0;i<document.links.length;i++){
    if(document.links[i].name==nom){
		document.links[i].className=mode
	}
  }
  return null;
}


function ouvrirPage(page,t,l,w,h){
  var scroll=arguments[5] ? arguments[5] : 0;	//scrollbars

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


function openficheproduit(){
	window.open("","ficheproduit","width=550,height=650,scrollbars=1,status=1,resizable=1,menubar=1");
}