//Menu Rollover Function
function menu(img,att){
	document.getElementById(img).src = '../media/graphic/interface/menuFR/' + img + att + '.gif';
}
//Sous-Menu Rollover Function
function smenu(img,att){
	document.getElementById(img).src = '../media/graphic/interface/menuFR/sousmenu/' + img + att + '.gif';
}
//Banner Rollover
function top(img,att){
	document.getElementById(img).src = '../media/graphic/nbanners/' + img + att + '.jpg';
}
function popsmenu(num,xpos,ypos)
{
	eval ("document.getElementById('smenu" + num +"').style.visibility = 'visible';");
	eval ("document.getElementById('smenu" + num +"').style.left = xpos + 'px';");
	eval ("document.getElementById('smenu" + num +"').style.top = ypos + 'px';");
}
function killall()
{
	for(i=1; i < 5; i++)
	{
		eval ("document.getElementById('smenu" + i +"').style.visibility = 'hidden';");
	}
}
function popupcentree(page,largeur,hauteur,options)
{
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

//Flash Object Creation
function fnSwf(hold,id,path,width,height){

//Variable Data
var output = '';

//Create Code
output = '<object type="application/x-shockwave-flash" id="' + id + '" data="' + path + '" width="' + width + '" height="' + height + '">';
output += '<param name="movie" value="' + path + '" />';
output += '<param name="quality" value="high" />';
output += '</object>';

//Output Data
document.getElementById(hold).innerHTML = output;

}