writeFlash = function ( swf_name , swf_width , swf_height ){
  var htmCd = ""
  htmCd+="<object   classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
  htmCd+="         codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'"
  htmCd+="            width='" + swf_width +"'"
  htmCd+="           height='" + swf_height + "'>"
  htmCd+="<param       name='allowScriptAccess' value='sameDomain' />"
  htmCd+="<param       name='movie' value='" + swf_name + "' />"
  htmCd+="<param       name='quality' value='high' />"
  htmCd+="<param       name='wmode' value='transparent' />"
  htmCd+="<embed        src='" + swf_name + "'"
  htmCd+="          quality='high'"
  htmCd+="           wmode='transparent'"
  htmCd+="            width='" + swf_width + "'"
  htmCd+="           height='" + swf_height + "'"
  htmCd+="allowScriptAccess='sameDomain'"
  htmCd+="             type='application/x-shockwave-flash'"
  htmCd+="      pluginspage='http://www.macromedia.com/go/getflashplayer' />"
  htmCd+="</object>"

	 $('div.opening-flash' ).append( htmCd );
}



$(function() {
    // do this stuff when the HTML is all ready
   	$('div.opening-flash span.flash-js_nt').hide();
   	$('div.opening-flash a').hide();
   	$('.bhnd').hide();
   	$('.nocsstxtbrws').hide();
	 writeFlash("./style/prest_theme.swf",750,224); 
})