

var popUpWin=0;
function popUpWindow(URLStr, width, height)
{
	if (js_base_href) {URLStr = js_base_href + URLStr}
	if(popUpWin) {if(!popUpWin.closed) popUpWin.close();}
	
	i_top = Math.round((screen.height - height) * 0.5)
	i_left = Math.round((screen.width - width) * 0.5)

	try{popUpWin.close()}catch(err){}
	popUpWin = open(URLStr, "popUpWin", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',top='+i_top+',left='+i_left);
}

function suppressUnhandledErrors() {return true;}
window.onerror = suppressUnhandledErrors;
