		defaultStatus ="Copyright © 2003 - Citroplast.";

		//-abre a janela 
		var janela=false;
		//-ficha de impressão
		function fnProdDet(pPagina)
		{
			janela=window.open("fichas/"+pPagina,"_blank","Height=336px, Width=530px, left=100, top=50, menubar=no, resizable=no, scrollbars=no");
		}
		//-teste de qualidade
		function fnPQTeste(pPagina,pWidth,pHeigth)
		{
			janela=window.open(pPagina,"_blank","Height="+pHeigth+"px, Width="+pWidth+"px, left=100, top=50, menubar=no, resizable=no, scrollbars=no");
		}
		//-fecha janela
		function fnFecharJanela()
		{
			if(janela.open)
			{
				janela.close();
			}
		}		
		//-função para manutenção do menu lateral
		function fnMenuLateral(pMenuAbre,pMenuNegrita)
		{
		//exibe (abre) menu lateral
			var bCond=true;
			var iPos1=0;
			var iPos2=pMenuAbre.indexOf(",");
			if (iPos2==-1)
			{
				iPos2=pMenuAbre.length;
			}
			while (bCond)
			{
				if (iPos2==pMenuAbre.length)
				{
					bCond=false;
				}
				window.parent.FrMenu.fnExibeSubMenu(pMenuAbre.substring(iPos1,iPos2));
				iPos1=iPos2+1;
				iPos2=pMenuAbre.indexOf(",",iPos2+1);
				if (iPos2==-1)
				{
					iPos2=pMenuAbre.length;
				}
			}
			//negrita menu lateral
			var bCond=true;
			var iPos1=0;
			var iPos2=pMenuNegrita.indexOf(",");
			if (iPos2==-1)
			{
				iPos2=pMenuNegrita.length;
			}
			while (bCond)
			{
				if (iPos2==pMenuNegrita.length)
				{
					bCond=false;
				}
				window.parent.FrMenu.fnNegritar(pMenuNegrita.substring(iPos1,iPos2));
				iPos1=iPos2+1;
				iPos2=pMenuNegrita.indexOf(",",iPos2+1);
				if (iPos2==-1)
				{
					iPos2=pMenuNegrita.length;
				}
			}
		}
		//-função que muda o texto da barra de status
		function fnMudaStatus(txt)
		{
        		window.status = txt;
        	}
		//-botão avançar/retornar over
		function fnbtAROver(pBotao)
		{
			eval(pBotao+".style.color= '#FFB6C1'");
			eval(pBotao+".style.face= 'Arial Black'");
			eval(pBotao+".style.size= '10px'");
			eval(pBotao+".style.cursor= 'hand'");
		}
		//-botão avançar/retornar out
		function fnbtAROut(pBotao)
		{
			eval(pBotao+".style.color= '#99ccff'");
			eval(pBotao+".style.face= 'Arial Black'");
			eval(pBotao+".style.size= '10px'");
		}
		//troca de página
		function fnMudaPagina(pPagina)
		{
			window.location.href=pPagina;
		}
		function fnMudaPaginaLado(pPagina)
		{
			//window.parent.FrCorpo.location=pPagina;
			window.top.FrPrincipal.location=pPagina;
		}
		//ativa o menu principal
		function fnLIOver(pLI)
		{
			eval(pLI+".style.color= '#ffffff'");
			eval("mn"+pLI+".style.color= '#ffffff'");
		}
		//desativa o menu principal
		function fnLIOut(pLI)
		{
			eval(pLI+".style.color= '#9ab1a3'");
			eval("mn"+pLI+".style.color= '#9ab1a3'");
		}
		//Abre uma nova janela
		function fnCotacao(pPagina,pWidth,pHeigth)
		{
			janela=window.open(pPagina,"Citroplast","Height="+pHeigth+"px, Width="+pWidth+"px, left=0, top=0, menubar=yes, resizable=yes, scrollbars=yes, fullscreen=no, titlebar=yes");
		}
