// JavaScript Document
var redirectURL;
//
function popExt(url) {
	var win=window.open(url,"externalWin","");
	if (!win.opener)win.opener=self; 
	if (window.focus) win.focus();
	self.setTimeout('redirect()', 100);
}
//
function redirect(){
	var winName='externalPop';
	var urlGo='popup.html';
	var t=Math.floor((screen.height-230)/2);
	var l=Math.floor((screen.width-520)/2);
	var winParams='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,top=' + t + ',left=' + l +',width=370,height=370';
	var popup=window.open(urlGo,winName,winParams);
	popup.focus();
}