function WriteFlash(flash, width, height, trans, flashVars) {
 document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"");
 document.write(" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\"");
 document.write(" width=\""+width+"\" height=\""+height+"\">");
 document.write("<param name=movie value=\"" + flash + "\">");
 document.write("<param name=quality value=high>");

 if(trans == "Y") 
  document.write("<PARAM NAME=wmode VALUE=transparent>");

 if(flashVars != "")
  document.write("<param name=FlashVars Value=\""+flashVars+"\">");

 document.write("<embed style=\"WIDTH:"+width+"; HEIGHT:"+height+"\" src=\""+flash+"\"");
 document.write(" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"");
 document.write(" type=\"application/x-shockwave-flash\">");
 document.write("</embed>");
 document.write("</object>");
}




 
