//use_flash
function useSwf(swfUrl,swfW,swfH,wmode,swfID)
{
	if(swfID){idStr='id='+swfID}else{idStr=''}
	if(wmode==1){
		wmodeStr1='<param name="wmode" value="transparent" />'
		wmodeStr2='wmode=transparent'
	} else {
		wmodeStr1='';
		wmodeStr2='';
	}
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" '+idStr+' width='+swfW+' height='+swfH+'>')
	document.write('<param name="movie" value="'+swfUrl+'" />')
	document.write('<param name="menu" value="false" />')

document.write('<param name="wmode" value="transparent"/>')
	document.write('<param name="allowScriptAccess" value="always" />')
	document.write('<param name="quality" value="high" />')
	document.write(wmodeStr1)
	document.write('<embed src="'+swfUrl+'" width='+swfW+' height='+swfH+' '+idStr+' '+wmodeStr2+' menu=false quality=best type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
	document.write('</object>')
}


//flash_con
function flashon(){
	var flashA = document.getElementById("spec_flash");
	var flashB = document.getElementById("spec_flash_over");
	flashA.style.display = "none";
	flashB.style.display = "block";
}

//spec_flash_do_js
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function myFlash_DoFSCommand(command, args){
	var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
	var flashA = document.getElementById("spec_flash");
	var flashB = document.getElementById("spec_flash_over");
	flashB.style.display = "none";
	flashA.style.display = "block";
}

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1){
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub myFlash_FSCommand(ByVal command, ByVal args)\n');
	document.write(' call myFlash_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
} 