uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var costoss=null;var costos_cwidth=0;var costos_cheight=0;var costos_foldername="";var costos_folderset=0;var costoscalc=0;var costostam=0;var costoskalan=0;var costoskalany=0;if((IEB==true)&&(scompat == "BackCompat" )){    costos_cwidth=550;    costos_cheight=300;}else{    costos_cwidth=550-2*(0);    costos_cheight=300-2*(0);}var costos_icwidth=550-2*(0);var costos_icheight=300-2*(0);var imagesizingholder='width:'+costos_icwidth+';height:'+costos_icheight;document.write('<div style="position:relative;width:'+costos_cwidth+'px;height:'+costos_cheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'FFEEEE'+';'+''+''+'">');document.write('<div id="costosdv" style="position:relative;width:'+costos_icwidth+'px;height:'+costos_icheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);"></div>');document.write('</div>');function costosSonraki(){	costosvcurr=costosvnext;	costosvnext=costosvnext+1;		if(costosvnext>=5)	{		costosvnext=0;		costostam=1;	}		costosobjc=document.getElementById('costosd'+costosvcurr);	costosobjn=document.getElementById('costosd'+costosvnext);		      }function costossecondcomplate(){	this.c=1;}function costosdevam(fm,pt){    if((imgarr[costosvnext].c==1)&&(imgarr[costosvcurr].c==1))    {        setTimeout(fm+'()',pt);    }    else    {        setTimeout('costosdevam("'+fm+'")',500);    }}function costoszindx(){    costosobjn.style.visibility="visible";    costosobjc.style.zIndex=2;	costosobjn.style.zIndex=3;    }function costossl(){costosfademi=1;imgarr=new Array();imgstr=new Array();linkstr=new Array();clslinkstr=new Array();imgarr[0]=new Image();imgarr[0].c=0;imgarr[0].onload = costossecondcomplate;imgarr[0].src=costos_foldername+'3ET.jpg';imgstr[0]=costos_foldername+'3ET.jpg';linkstr[0]='';clslinkstr[0]='';imgarr[1]=new Image();imgarr[1].c=0;imgarr[1].onload = costossecondcomplate;imgarr[1].src=costos_foldername+'1conta.jpg';imgstr[1]=costos_foldername+'1conta.jpg';linkstr[1]='';clslinkstr[1]='';imgarr[2]=new Image();imgarr[2].c=0;imgarr[2].onload = costossecondcomplate;imgarr[2].src=costos_foldername+'4gerencia.jpg';imgstr[2]=costos_foldername+'4gerencia.jpg';linkstr[2]='';clslinkstr[2]='';imgarr[3]=new Image();imgarr[3].c=0;imgarr[3].onload = costossecondcomplate;imgarr[3].src=costos_foldername+'04granos.jpg';imgstr[3]=costos_foldername+'04granos.jpg';linkstr[3]='';clslinkstr[3]='';imgarr[4]=new Image();imgarr[4].c=0;imgarr[4].onload = costossecondcomplate;imgarr[4].src=costos_foldername+'5const.jpg';imgstr[4]=costos_foldername+'5const.jpg';linkstr[4]='';clslinkstr[4]='';costosvcurr=0;costosvnext=0;costosvssdiv=null;stepc=20*(2);costosdif=0.00;costosop=1.00;costosdif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;left:0px;top:0px;padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+costos_icwidth+'px;height:'+costos_icheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="costosimg';dstr4='" src="';dstr5='" style="position:relative;border:0px;'+imagesizingholder+'" alt="" border="0"></img>';dstr56='</td></tr></table>';dstr6='</div>';this.costosdotrans=costosdotrans;this.costosinitte=costosinitte;this.costosinitte2=costosinitte2;this.costosbeftrans=costosbeftrans;this.costosdotransff=costosdotransff;}function costosdotrans(){	if(IEB==true){costosvssdiv.filters[0].apply();}	costosobjc.style.visibility="hidden";	costosobjn.style.visibility="visible";	if(IEB==true){costosvssdiv.filters[0].play();}    costosSonraki();		    if(costostam==0){costosdevam("costosdotrans",((1000*2)+3000));}    else    {        setTimeout('costosdotrans()',((1000*2)+3000));    } 		}function costosdotransff(){	costosop=costosop-costosdif;		if(costosop<(0.00)){costosop=0.00;}	costosobjc.style.opacity = costosop;	costosobjn.style.opacity = 1.00-costosop;	if(costosop>(0.00))	{		setTimeout('costosdotransff()',50);	}	else	{		costosobjc.style.zIndex=2;		costosobjn.style.zIndex=3;				costosSonraki();		        if(costostam==0){costosdevam("costosbeftrans",3000);}        else {setTimeout('costosbeftrans()',3000);}  					}}function costosbeftrans(){    	costosop=1.00;	costosobjc.style.visibility="visible";	costosobjn.style.visibility="visible";		costosobjc.style.zIndex=3;	costosobjn.style.zIndex=2;		costosobjc.style.opacity = 1.00;		costosobjn.style.opacity = 1.00;			costosdotransff();	}function costosDoSlide(){    costoskalan=costoskalan-Math.ceil(costoskalan/2);	costosobjc.style.left=""+(costoskalan-costos_icwidth)+"px";	costosobjn.style.left=""+costoskalan+"px";	    if(costoskalan<=0)    {            costosSonraki();        costoskalan=costos_icwidth;	    costosobjn.style.left=""+costoskalan+"px";	                costoszindx();                          if(costostam==0){costosdevam("costosDoSlide",3000);}        else {setTimeout('costosDoSlide()',3000);}        }    else    {        setTimeout('costosDoSlide()',50);        } }function costosDoScrollUp(){    costoskalan=costoskalan-Math.ceil(costoskalan/2);	costosobjc.style.top=""+(costoskalan-costos_icheight)+"px";	costosobjn.style.top=""+costoskalan+"px";	    if(costoskalan<=0)    {            costosSonraki();        costoskalan=costos_icheight;	    costosobjn.style.top=""+costoskalan+"px";	        costoszindx();                         if(costostam==0){costosdevam('costosDoScrollUp',3000);}        else{setTimeout('costosDoScrollUp()',3000);}        }    else    {        setTimeout('costosDoScrollUp()',50);        }}function costosDoBlindX(){    costoskalan=costoskalan-Math.ceil(costoskalan/2);	costosobjc.style.left=""+(costos_icwidth-costoskalan)+"px";	costosobjn.style.left=""+costoskalan+"px";	    if(costoskalan<=0)    {            costosSonraki();        costoskalan=costos_icwidth;	    costosobjn.style.left=""+costoskalan+"px";		    	        costoszindx();                          if(costostam==0){costosdevam("costosDoBlindX",3000);}        else{setTimeout('costosDoBlindX()',3000);}    }    else    {        setTimeout('costosDoBlindX()',50);        }}function costosDoBlindY(){    costoskalan=costoskalan-Math.ceil(costoskalan/2);	costosobjc.style.top=""+(costos_icheight-costoskalan)+"px";	costosobjn.style.top=""+costoskalan+"px";	    if(costoskalan<=0)    {        costosSonraki();        costoskalan=costos_icheight;	    costosobjn.style.top=""+costoskalan+"px";                costoszindx();                         if(costostam==0){costosdevam("costosDoBlindY",3000);}        else{setTimeout('costosDoBlindY()',3000);}        }    else    {        setTimeout('costosDoBlindY()',50);        } }function costosinitte2(){	costosvssdiv=document.getElementById("costosdv");	if(5>0)	{		costosobjc=document.getElementById('costosd'+0);			costosobjc.style.visibility="visible";		}	if(5>1)	{	    costosvcurr=0;        costosvnext=0;        if(costosfademi==0)        {			costosvcurr=0;			costosvnext=1;			setTimeout('costosdotrans()',3000);                }        else if(costosfademi==1)        {            if(IEB==true)            {	    		costosSonraki();	    		costosdevam("costosdotrans",3000);                       }            else            {	    		costosSonraki();	    		costosdevam("costosbeftrans",3000);                        }        }         else if(costosfademi==2)        {            costoskalan=costos_icwidth;                        costosSonraki();        	costosobjn.style.left=""+costoskalan+"px";            	            costoszindx();                        costosdevam("costosDoSlide",3000);		   	                }        else if(costosfademi==3)        {            costoskalan=costos_icheight;                        costosSonraki();        	costosobjn.style.top=""+costoskalan+"px";            	            costoszindx();                                    costosdevam("costosDoScrollUp",3000);               }                  else if(costosfademi==4)        {                        costoskalan=costos_icwidth;                        costosSonraki();        	costosobjn.style.left=""+costoskalan+"px";	            	            costoszindx();                                   costosdevam("costosDoBlindX",3000);                 }            else if(costosfademi==5)        {                        costoskalan=costos_icheight;                        costosSonraki();        	costosobjn.style.top=""+costoskalan+"px";            	            costoszindx();                                  costosdevam("costosDoBlindY",3000);                 }												}}function costosinitte(){	i=0;	innertxt="";	for(i=0;i<5;i++)	{		innertxt=innertxt+dstr1+"costosd"+i+dstr2+dstr23+linkstr[i]+dstr3+i+dstr4+imgstr[i]+dstr5+dstr56+clslinkstr[i]+dstr6;	}	spage=document.getElementById('costosdv');	spage.innerHTML=""+innertxt;    setTimeout('costosinitte2()',100);}function costosSetFolder(fn){    costos_foldername=fn;    costos_folderset=1;}function costosBas(){    if(costos_folderset==1)    {        costoss=new costossl();        costoss.costosinitte();    }    else    {        setTimeout('costosBas()',100);    }}setTimeout('costosBas()',100);
