function ShowFlash(id, source, width, height, FlashVarsValue)
{
	var classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
	var codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";
	var ScaleValue = "scale";
	var MenuValue = "false";
	var QualityValue = "high"
	var WmodeValue = "transparent"
	var AllowScriptValue = "sameDomain";
	var TypeValue = "application/x-shockwave-flash";
	var PluginPageValue = "http://www.macromedia.com/go/getflashplayer"
	
	document.write('<OBJECT classid="'+classid+'" codebase="'+codebase+'" width="'+width+'" height="'+height+'" id="'+id+'">');
	document.write('<PARAM NAME="allowScriptAccess" VALUE="'+AllowScriptValue+'" />');
	document.write('<PARAM NAME="FlashVars" VALUE="'+FlashVarsValue+'" />');
	document.write('<PARAM NAME="movie" VALUE="'+source+'" />');
	document.write('<PARAM NAME="scale" VALUE="'+ScaleValue+'" />');
	document.write('<PARAM NAME="menu" VALUE='+MenuValue+' />');
	document.write('<PARAM NAME="quality" VALUE="'+QualityValue+'" />');
	document.write('<PARAM NAME="wmode" VALUE="'+WmodeValue+'" />');
	document.write('<EMBED src="'+source+'" scale="'+ScaleValue+'" menu='+MenuValue+' quality="'+QualityValue+'" width="'+width+'" height="'+height+'" name="'+id+'"');
	document.write('wmode="'+WmodeValue+'" FlashVars="'+FlashVarsValue+'" type="'+TypeValue+'" pluginspage="'+PluginPageValue+'"></EMBED>');
	document.write('</OBJECT>');
}

function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}