if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
	widthCheck = window.innerWidth;
	heightCheck = window.innerHeight;
	window.onResize = resizeFix;
}

function resizeFix() {
	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
	document.location.href = document.location.href;
}




var isNew=0;
var isNS4=0;
var isIE4=0;
var brow= ((navigator.appName)+(parseInt(navigator.appVersion)));
if (parseInt(navigator.appVersion >=5)) {
isNew=1}
else if (brow=="Netscape4")
{isNS4 = 1;}
else if(brow=="Microsoft Internet Explorer4")
{isIE4=1;}

docObj=(isNS4)?'document' :'document.all';
styleObj= (isNS4)?'':'.style';

function lyroff(currElem){
	dom= eval(docObj+'.'+currElem+styleObj);
	state = dom.visibility;
	if(state=="visible" || state=="show"){dom.visibility="hidden";}
}

function lyron(currElem){
	dom=eval(docObj+'.'+currElem+styleObj);
	state=dom.visibility;
	if(state=="hide" || state=="hidden"){dom.visibility="visible"};
}

function alterNate(elm){
if (!elm.base) elm.base = elm.value
if (elm.value == elm.base) elm.value = "";
else if (elm.value == "") elm.value = elm.base;
}

function checkmail(str)
{
	var filter = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");
	if (filter.test(str))
	{
		return true;
	}
	else
	{
		alert("O e-mail digitado não é válido!")
		return false;
	}
}


function openpopup(url, width, height, scrollbars){
window.open(url,"","toolbar=no,status=no,menubar=no,scrollbars=" + scrollbars + "top=10,left=10,width=" + width + ",height=" + height)
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

<!-- Enviados Eurolink
function keyToUpper(ev, obj)
{
 
  ev.cancelBubble = true;
  if (obj.maxLength!=null && obj.maxLength!=0 && obj.value.length>=obj.maxLength)
  {ev.returnValue = false;}
  else
  {
    var charcode = ev.keyCode;
    
    strChar = String.fromCharCode(charcode);
    if (charcode>=97 && charcode<=122)
    {
      charcode = charcode - 32;
      strChar = String.fromCharCode(charcode);
    } 
    strOld = obj.value;
    strOld = strOld.toUpperCase();
    strNew = strOld + strChar; 
    obj.value = strNew; 
    ev.returnValue = false;
  }
}



function checkSubmit() {
	blErr = false;
	strErr = "Para seguir:\n\n";
	if (document.frm.web.value.length<6) {blErr = true; strErr += "Informe seu Web ID de 6 digitos.\n";}
	if (document.frm.user.value.length<6) {blErr = true; strErr += "Informe seu User ID de 6 digitos.\n";}
	if (document.frm.pass.value.length<1) {blErr = true; strErr += "Informe a sua senha.";}
	if (blErr) {alert(strErr);} else {
	
	document.frm.submit();
	
	
	}
}

-->