function loadflash(url,width,height,wmode){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'">');
document.write('<param name="movie" value="'+url+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="'+wmode+'" />');
document.write('<param name="allowFullScreen" value="true" />');
document.write('<embed src="'+url+'" width="'+width+'" height="'+height+'" quality="high" allowFullScreen="true" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="'+wmode+'"></embed>');
document.write('</object>');
}

function loadSelfCloseFlash(url,width,height,wmode,id){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" id="'+id+'" width="'+width+'" height="'+height+'" align="middle" id="'+id+'">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="'+url+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="'+wmode+'" />');
document.write('<param name="allowFullScreen" value="true" />');
document.write('<embed src="'+url+'" quality="high" bgcolor="#000000" width="'+width+'" height="'+height+'" swLiveConnect=true name="'+id+'" name="'+id+'" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}