function callFlash(swf, W, H)
{
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' width='" + W + "' height='" + H + "' id='" + swf + "' align='middle'>");
	document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='movie' value='" + swf + "' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='bgcolor' value='#f1f0d1' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='" + swf + "' quality='high' bgcolor='#f1f0d1' width='" + W + "' height='" + H + "' name='" + swf + "' align='middle' wmode='transparent' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}


function popWindow(page,wname,w,h) 
{
	var wincen= null;
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,dependent=no'
	wincen=window.open(page,wname,settings)
	if(parseInt(navigator.appVersion) >= 4){wincen.window.focus();}
}
