function flash_load(swf,w,h){

str  = '' 
str += '<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width='+w+' height='+h+'>'
str += '<param name=movie value=/flash/'+swf+'>'
str += '<param name=quality value=high>'
str += '<param name=wmode value=transparent>'
str += '<embed src=/flash/'+swf+' quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width='+w+' height='+h+'></embed>' 
str += '</object>'

document.write( str ); 
}

function flash(flashurl,flashwidth,flashheight) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + flashwidth + '" height="' + flashheight + '" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="' + flashurl + '">');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="wmode" value="transparent" />');
	document.write('  <param name="bgcolor" value="#ffffff" />');
	document.write('  <embed src="' + flashurl + '" quality="high" bgcolor="#ffffff" width="' + flashwidth + '" height="' + flashheight + '" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></embed>');
	document.write('  </embed>');
	document.write('</object>');
}
function flash_percent(flashurl,flashwidth,flashheight) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="' + flashheight + '" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="' + flashurl + '">');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="wmode" value="transparent" />');
	document.write('  <param name="bgcolor" value="#ffffff" />');
	document.write('  <embed src="' + flashurl + '" quality="high" bgcolor="#ffffff" width="100%" height="' + flashheight + '" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></embed>');
	document.write('  </embed>');
	document.write('</object>');
}
function flash_menu(flashurl, flashwidth, flashheight, pagenumdepth, subnumdepth, sernumdepth) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"  width="' + flashwidth + '" height="' + flashheight + '" align="middle">');
	document.write('  <param name="allowScriptAccess" value="sameDomain" />');
	document.write('  <param name="movie" value="'+flashurl+'?prevPress_1=' + pagenumdepth + '&pressBt_1=' + subnumdepth + '&pressVt_1=' + sernumdepth + '">');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="wmode" value="transparent" />');
	document.write('  <param name="bgcolor" value="#ffffff" />');
	document.write('  <embed src="'+flashurl+'?prevPress_1=' + pagenumdepth + '&pressBt_1=' + subnumdepth + '&pressVt_1=' + sernumdepth + '" quality="high" bgcolor="#ffffff"  width="' + flashwidth + '" height="' + flashheight + '" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></embed>');
	document.write('  </embed>');
	document.write('</object>');
}
