// JavaScript Document

function writeFlashBanner(swfFileName,swfWidth,swfHeight,targetURL,targetWindow)
{
	
	    var width = swfWidth;
	    var height = swfHeight;
	    var src = swfFileName;
	     // queries -- 
		 // here the variables for the root of flash  movie are specified
		var  queries = "?"+"fTargetURL="+targetURL+"&"+"fTargetWindow="+targetWindow; 
		 
	    
	    var l0 = '<div align="center">';
	    var l1 = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">';
	    var l2 = '<param name="movie" value="'+src+queries+'" />';
	    var l3 = '<param name="quality" value="high" />';
	    var l4 = '<embed src="'+src+queries+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>';
	    var l5 = '</object>';
	    var l6 = '</div>';

	    // write all lines
	    document.write(l0+l1+l2+l3+l4+l5+l6)
		
	
}
	