

// window.onerror=fnErrorTrap;

function fnErrorTrap(sMsg,sUrl,sLine)
{
  	return true;
}


function OpenWindow(theURL,winName,features)
{

	// var l = (screen.availWidth)-w-20;
	// var t = 20;

	new_window = null;
	new_window = window.open(theURL,winName,features);

	if (new_window!=null)
		  new_window.focus();


	return false;
}


function reloadPage()
{
	filename = self.location.href
	alert(filename)
	self.location.href=filename;
}
