var xWin=null;var tP=0;function StartT(){StartPopup();window.focus()}function StartPopup(){xWin=window.open("/blank.html","ptest","width=0,height=0,left=5000,top=5000",true);setTimeout("test_xWin()",100)}function test_xWin(){if((xWin==null)||(typeof(xWin)=="undefined")||(typeof(xWin.location.hash)!="string")){tP=0}else{tP=1;xWin.close()}window.focus();AffDiv("popup",1-tP)}StartT();