/* SCRIPT SMART LYON | DW 2007



*/
function writeFL(id,src,W,H,pageAct,wm)
{
	document.write("<object id='"+id+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,19,0' width='"+W+"' height='"+H+"' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always'>");
	document.write("<param name='movie' value="+src+">");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='flashvars' value='recupVar="+pageAct+"'>");
	document.write("<param name='wmode' value='"+wm+"'>");
	document.write("<embed name='"+id+"' src="+src+" flashvars='recupVar="+pageAct+"' allowScriptAccess='always' wmode='"+wm+"' width='"+W+"' height='"+H+"' align='middle' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'></embed>");
	document.write("</object>");
}

function PopupImage(img) 
{ 
	titrePage="SMART"; 
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no'); 
	w.document.write("<HTML><HEAD><TITLE>"+titrePage+"</TITLE></HEAD>"); 
	w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
	w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>"); 
	w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>"); 
	w.document.write("<TD valign='middle' align='center'><IMG src='"+img+"' border=0>"); 
	w.document.write("</TD></TR></TABLE>"); 
	w.document.write("</BODY></HTML>"); 
	w.document.close(); 
}
