//+ de 20 boutons
function Active(imgName) {
	if (document.images) {
		document[imgName].src = "../img/en/bt_"+imgName.charAt(3)+""+imgName.charAt(4)+"_over.gif";}}

function Inactive(imgName) {
	if (document.images) {
		document[imgName].src = "../img/en/bt_"+imgName.charAt(3)+""+imgName.charAt(4)+".gif";}}

function Popup(Url,x,y)
{
// Ouvre une fenêtre Popup avec ses paramètres.
window.open(Url,"_blank","toolbar=no,titlebar=no,directories=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+x+",height="+y);
}

function closeBrWindow(winName) { //v2.0
  window.close(winName);
}


function viewPic(img)
{
	i1 = new Image;
	i1.src = img;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY bgcolor="black" LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td align="center" valign="middle"><IMG SRC="'+img+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+20,document.imageTest.height+60)" onclick="javascript:window.close()"></CENTER></td></tr></table></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
	
	function viewMusik(img)
{
	i1 = new Image;
	i1.src = img;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY bgcolor="black" LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td align="center" valign="middle"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="193" HEIGHT="103" id="'+img+'" ALIGN=""><PARAM NAME=movie VALUE="'+img+'"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="'+img+'" quality=high bgcolor=#FFFFFF  WIDTH="193" HEIGHT="103" NAME="'+img+'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></CENTER></td></tr></table></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0, width=200,height=110');
	popupImage.document.open();
	popupImage.document.write(html);
	};


function viewPicPleinEncran(img)
{
	i1 = new Image;
	i1.src = img;
	html = '<HTML><HEAD><TITLE>Image</TITLE><script type="text/javascript">function Focus(dawidth, daheight){ if (!dawidth && !daheight) { dawidth = screen.availWidth; daheight = screen.availHeight; } window.resizeTo(dawidth, daheight); window.moveTo( ((((screen.availWidth)-dawidth)/2)+(screen.width-screen.availWidth)),((((screen.availHeight)-daheight)/2)+(screen.height-screen.availHeight)) );}</script></HEAD><BODY bgcolor="black" LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0 onload="javascript:Focus()"><CENTER><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td align="center" valign="middle"><IMG SRC="'+img+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+20,document.imageTest.height+60)" onclick="javascript:window.close()"></CENTER></td></tr></table></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
