// JavaScript Document
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function simplePreload()
{ 
  var args = simplePreload.arguments;
  document.imageArray = new Array(args.length);
  for(var i=0; i<args.length; i++)
  {
    document.imageArray[i] = new Image;
    document.imageArray[i].src = args[i];
  }
}
function ouvre_popup(url,nom,width,height){
    var left=(screen.width/2)-(width/2);
    var top=(screen.height/2)-(height/2);
    var w=window.open(url,nom,'width='+width+',height='+height+',left='+left+',top='+top+',menubar=no,toolbar=no,statusbar=no,resizable=yes,scrollbars=no,location=no');
    w.focus();
}

