
function writeHeaderFlash(type,path,size,wmode)
{
	document.write('<object type="'+type+'" data="'+path+'" '+size+'>');
	document.write('<param name="movie" value='+path+'>');
	document.write('<param name="quality" value="high">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="wmode" value="'+wmode+'" />');
	document.write('<embed src="'+path+'" '+size+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="'+type+'" menu="false" wmode="'+wmode+'"></embed>')
	document.write('</object>');
	
	//alert(type+" - "+path+" - "+size+" - "+wmode);
}

function writeAtAGlance(path,swf,size,pdfpath,xmlpath)
{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" '+size+' id="timeline" align="middle">');
    document.write('<param name="allowScriptAccess" value="sameDomain" />');
    document.write('<param name="movie" value="'+path+swf+'" />');
    document.write('<param name="FlashVars" value="swfPath='+path+'&xmlPath='+xmlpath+'&language=english&pdfPath='+pdfpath+'" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="menu" value="false" />');
    document.write('<param name="wmode" value="opaque" />');
    document.write('<embed src="'+path+swf+'" flashvars="swfPath='+path+swf+'&xmlPath='+xmlpath+'&language=english&pdfPath='+pdfpath+'" menu="false" quality="high" bgcolor="#ffffff" '+size+' name="timeline" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>');
    document.write('</object>');
	
	//alert(path+"\n"+swf+"\n"+size+"\n"+pdfpath+"\n"+xmlpath);
}

