 function flashObject(file_name,width,height){
 var host = location.host.toLowerCase();
 var currentAddress = location.href;
 if (host.indexOf("www") == -1)
 {
  currentAddress = currentAddress.replace("//","//www.");
  location.href = currentAddress;
 }
 var  flashCab = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"; 
 var  flashCid = "CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000"; 
 var  flasshVer = "8,0,0,0"; 
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"" + width + "\" height=\"" + height + "\">");
  document.write("<param name=\"movie\" value=\"" + file_name + "?xml=/bbs/bcastr.xml\">");
   document.write("<param name=\"quality\" value=\"high\">");
  document.write("<param name=\"wmode\" value=\"window\">");
  document.write("<embed src=\"" + file_name + "\" width=\"" + width + "\" height=\"" + height + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\"></embed>");
  document.write("</embed>");
  document.write("</object>");
}