//reloads the window if Nav4 resized
function MM_reloadPage(init)
{
  if (init==true) with (navigator)
	{
		if ((appName=="Netscape")&&(parseInt(appVersion)==4))
		{
    	document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
		}
	}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// todos os erros de javascript que ocorrerem sem descartados por esta funcao
function handleError()
{
	return true;
}
window.onerror = handleError;

// popup window
function WS_popupWindow(theURL,winName,features)
{
  window.open(theURL,winName,features);
	return true;
} 
