<!--
var newWin;
function openPop(url, name, refresh, width, height, resizable, scrollbars,toolbar, menubar)
{	var settings='';
	var reOpen=true;
	if(newWin==null)
		newWin = new Array();
	if(newWin[name])
	{
		if(!newWin[name].closed)
		{
			reOpen=false;
			if(refresh && newWin[name].document)
				newWin[name].document.location=url;
			resizeWindow(newWin[name], width, height);
			newWin[name].moveTo((screen.width-width)/2, (screen.height-height)/2);
			newWin[name].focus();
		}
	}
	if(reOpen)
	{
		leftf = (screen.width-width)/2;
		topf  = (screen.height-height)/2;
		settings = "width="+width+",height="+height+", top="+topf +",left="+leftf+",";
		settings += "scrollbars=" + ((scrollbars) ? "yes," : "no,");
		settings += "toolbar=" + ((toolbar) ? "yes," : "no,");
		settings += "menubar=" + ((menubar) ? "yes," : "no,");
		settings += "resizable=" + ((resizable) ? "yes" : "no");
		newWin[name] = window.open(url, name, settings);
		//--Sécurité si la fenêtre n'a pas été détectée par le code précédent
		resizeWindow(newWin[name],width, height);
		newWin[name].focus();
	}	
}

function CreateControl(DivID, CLSID, ObjectID,
                       WIDTH, HEIGHT, URL, AUTOSTART)
{
  var d = document.getElementById(DivID);
  d.innerHTML = 
    '<object classid="' + CLSID + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id="' + ObjectID +'" width="' + WIDTH + '" height="' + HEIGHT +'">  <param name="movie" value="' + URL + '"> <param name="quality" value="high"> <embed src="' + URL + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"      type="application/x-shockwave-flash" width="' + WIDTH + '" height="' + HEIGHT +'"> </embed> </object>';



}
//-->

