
//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';
}
//MenuEN Rollover Function
function menuEN(img,att){
	document.getElementById(img).src = 'media/graphic/interface/menuEN/' + img + att + '.gif';
}
//Sous-MenuEN Rollover Function
function smenuEN(img,att){
	document.getElementById(img).src = 'media/graphic/interface/menuEN/sousmenu/' + img + att + '.gif';
}

function poplink(msg,xpos,ypos)
{
	var content ="<div class='popmsg'>"+msg+"</div>";
	document.getElementById("topdecklink").style.visibility = "visible";
	document.getElementById("topdecklink").innerHTML = content;
	document.getElementById("topdecklink").style.left = xpos + "px";
	document.getElementById("topdecklink").style.top = ypos + "px";
}
function killlink()
{
document.getElementById("topdecklink").style.visibility = "hidden";
}

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;

}