var xmlURL,Back;
function getXmlUrl(){
	return xmlURL;
}
function closePop(){
	setTimeout(
		function(){
			Back.removeChild(document.getElementById("InfoSwf"));
			Back.style.display ="none";
		},50);
}
function openPop(obj,url){
	var str = "<div id=\"InfoSwf\" style=\"position:absolute; z-index:100\">";
	str += " <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" name=\"flash\" width=\"900\" height=\"496\" id=\"flash\">";
	str += "<param name=\"movie\" value=\"works.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"allowScriptAccess\" value=\"sameDomain\"/>";
	str += "<embed src=\"works.swf\" width=\"900\" height=\"496\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" name=\"flash\"></embed>";
	str += "</object>";
	str += "</div>";
	//
	xmlURL = url;
	Back = document.getElementById(obj);
	Back.innerHTML = str;
	Back.style.display ="block";
	Back.style.height = window.navigator.appName=="Netscape"?document.body.offsetHeight:document.body.scrollHeight;
	var height = document.body.clientHeight;
	document.getElementById("InfoSwf").style.top=(height-497)/2;
}
window.onresize=function(){
	if(Back.style.display!="none"){
		var height = document.body.clientHeight;
		document.getElementById("InfoSwf").style.top=(height-497)/2;
	}
}