<!--
	function pop_intercom(url,w,h,nome){
		window.open(url,nome,'toolbar=no,scrollbars=no,resizable=no,menubar=no,width=' + w + ',height=' + h + ',left=100,top=100');
	}

	//---------------------------------------------------------------------------------------------

	var WinNum = 0;

	function OpenCentralized(winName, winW, winH){ var leftPos = (screen.width - winW) / 2; var topPos = (screen.height - winH) / 2;

		window.open(winName, 'myWin'+WinNum, 'toolbar=no,scrollbars=yes,location=no,statusbar=no,menubar=no,resizable=no,width=' + winW + ',height=' + winH + ',left = ' + leftPos +',top = ' + topPos); WinNum += 1;
	}

	//---------------------------------------------------------------------------------------------

	function pular(){ if(window.event.srcElement.type=="text" || window.event.srcElement.type=="password"){ if(window.event.keyCode==13){ window.event.returnValue=false; } } } document.onkeydown=pular;

	//---------------------------------------------------------------------------------------------

	function validadee_cotacao(){

			if(document.form.cam_01.value==""){ alert("Por favor escolha um PRODUTO para cotação!!!"); return false; }
			if(document.form.cam_02.value==""){ alert("Por favor escolha um FATOR para a quantidade!!!"); return false; }
			if(document.form.cam_03.value==""){ alert("O campo QUANTIDADE está vazio!!!"); return false; }
			if(document.form.cam_04.value==""){ alert("O campo EMPRESA está vazio!!!"); return false; }
			if(document.form.cam_05.value==""){ alert("O campo NOME está vazio!!!"); return false; }
			if(document.form.cam_06.value==""){ alert("O campo E-MAIL está vazio!!!"); return false; }
			if(document.form.cam_07.value==""){ alert("O campo DDD está vazio!!!"); return false; }
			if(document.form.cam_08.value==""){ alert("O campo TELEFONE está vazio!!!"); return false; }
			if(document.form.cam_11.value==""){ alert("O campo MENSAGEM está vazio!!!"); return false; }

		document.form.loginButton.disabled = true;
		return true;
	}

	//---------------------------------------------------------------------------------------------

	function FullDate() {
   	    hoje = new Date();
       	dia  = new Array("Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado");
       	mes  = new Array("Janeiro","Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro");
        
        document.write(dia[hoje.getDay()] + " - " + hoje.getDate() + " de " + mes[hoje.getMonth()] + " de " + hoje.getFullYear() + "&nbsp;&nbsp;");
	}

	//---------------------------------------------------------------------------------------------

	function exclusao(deleta){
		if(confirm("Tem certeza que deseja EXCLUIR esse registro?")){ location.href=deleta; }
	}

	//---------------------------------------------------------------------------------------------

	function MRP_over(src,clrOver){ 
		if(!src.contains(event.fromElement)){ src.style.cursor='hand'; src.bgColor=clrOver; }
	}

	function MRP_hout(src,clrIn){
		if(!src.contains(event.toElement)){ src.style.cursor='default'; src.bgColor=clrIn; }
	}

	//---------------------------------------------------------------------------------------------

	var ns4 = ( document.layers ) ? true : false
	var ie4 = ( document.all ) ? true : false
	var iens6 = document.all || document.getElementById;
	var ieBox = iens6 && (document.compatMode == null || document.compatMode != 'CSS1Compat');

	function getElement(id){ if(ns4){ return document.layers[id].document; } else{ return document.getElementById(id); } } function viewElement(str_element, boo_status){ obj = getElement( str_element ); if(boo_status){ obj.style.display = ''; } else{ obj.style.display = 'none'; }
	}

	function viewRel(int_option){

		viewElement( 'lyr_Rel_1', int_option == 1 );
		viewElement( 'lyr_Rel_2', int_option == 2 );

		viewElement( 'lyr_box_1_1', int_option == 1 );
		viewElement( 'lyr_box_2_1', int_option == 2 );
	}

	//---------------------------------------------------------------------------------------------

	var IE5up = document.getElementById&&document.all; NS6up = document.getElementById&&!document.all;

	function hidelayer(layerid){ if(IE5up || NS6up) { document.getElementById(layerid).style.visibility="hidden"; } }
	function showlayer(layerid){ if(IE5up || NS6up) { document.getElementById(layerid).style.visibility="visible"; } }

	function MRP_over(src,clrOver){ if(!src.contains(event.fromElement)){ src.style.cursor = 'hand'; src.bgColor = clrOver; } }
	function MRP_hout(src,clrIn){ if(!src.contains(event.toElement)){ src.style.cursor = 'default'; src.bgColor = clrIn; } }
-->
