uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var portos=null;var portodescgoster=0;var portothumbgoster=0;var portocwidth=0;var portocheight=0;var portocalc=0;var portotam=0;var portokalan=0;var portokalany=0;var portots="";var portods="";var portojbtype=0;var portorealcurrent=0;var portotimeo=null;portothumbs_obj=null;portomoving_obj=null;portoTotalThumbWidth=0;portoTotalThumbHeight=0;portoMoveIcWidth=0;var TBW=0;var CursorStr="default";var portoDescCalcWidth=0;var portoDescCalcHeight=0;var portoDescCalcIcWidth=0;var portoDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;portoimgarr=new Array();portothumbimgstr=new Array();portoimgstr=new Array();portolinkstr=new Array();portoclslinkstr=new Array();portotitarr=new Array();portodesarr=new Array();portoimgarr[0]=new Image();portoimgarr[0].c=0;portoimgarr[0].onload = portosecondcomplate;portoimgarr[0].src=portofoldername+'porto1.jpg';portoimgstr[0]=portofoldername+'porto1.jpg';portothumbimgstr[0]=portofoldername+'porto1.jpg';portolinkstr[0]='';portoclslinkstr[0]='';portotitarr[0]="";portodesarr[0]="";portoimgarr[1]=new Image();portoimgarr[1].c=0;portoimgarr[1].onload = portosecondcomplate;portoimgarr[1].src=portofoldername+'porto2.jpg';portoimgstr[1]=portofoldername+'porto2.jpg';portothumbimgstr[1]=portofoldername+'porto2.jpg';portolinkstr[1]='';portoclslinkstr[1]='';portotitarr[1]="";portodesarr[1]="";portoimgarr[2]=new Image();portoimgarr[2].c=0;portoimgarr[2].onload = portosecondcomplate;portoimgarr[2].src=portofoldername+'porto3.jpg';portoimgstr[2]=portofoldername+'porto3.jpg';portothumbimgstr[2]=portofoldername+'porto3.jpg';portolinkstr[2]='';portoclslinkstr[2]='';portotitarr[2]="";portodesarr[2]="";portoimgarr[3]=new Image();portoimgarr[3].c=0;portoimgarr[3].onload = portosecondcomplate;portoimgarr[3].src=portofoldername+'porto4.jpg';portoimgstr[3]=portofoldername+'porto4.jpg';portothumbimgstr[3]=portofoldername+'porto4.jpg';portolinkstr[3]='';portoclslinkstr[3]='';portotitarr[3]="";portodesarr[3]="";if((IEB==true)&&(scompat == "BackCompat" )){    portocwidth=300;    portocheight=225;}else{    portocwidth=300-2*(1);    portocheight=225-2*(1);}var portoicwidth=300-2*(1);var portoicheight=225-2*(1);portoDescCalcWidth=260;portoDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	portoDescCalcIcWidth=portoDescCalcWidth;	portoDescCalcIcHeight=portoDescCalcHeight;}else{    portoDescCalcIcWidth=portoDescCalcWidth-2*(2)-2*(3);    portoDescCalcIcHeight=portoDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+portocwidth+'px;height:'+portocheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+1+'px;border-color:#'+'000000'+';'+''+''+'">');document.write('<div id="portodv" style="position:relative;width:'+portoicwidth+'px;height:'+portoicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=portoFadeBitti()'+'></div>');for(i=0;i<4;i++){	if(0==0){portods=portods+portolinkstr[i];if(portolinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	portods=portods+'<div id="portodesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+portoDescCalcWidth+'px;height:'+portoDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	portods=portods+'<div style="position:absolute;left:0px;top:0px;width:'+portoDescCalcWidth+'px;height:'+portoDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.50'+';filter:alpha(opacity='+'50'+');-moz-opacity:'+'0.50'+';"></div>';	portods=portods+'<div style="position:relative;left:0px;top:0px;width:'+portoDescCalcIcWidth+'px;height:'+portoDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	portods=portods+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+portotitarr[i]+'</span><br />'+portodesarr[i];	portods=portods+'</div>';	portods=portods+'</div>';	if(0==0){portods=portods+portoclslinkstr[i];}	}document.write(''+portods);function portoShowCurrentDesc(){	if((portodescgoster==1)&&( (portotitarr[portorealcurrent].length>0) || (portodesarr[portorealcurrent].length>0)  ))	{		after_des=document.getElementById('portodesc'+portorealcurrent);		after_des.style.visibility="visible";		}}function portoHideCurrentDesc(){	before_des=document.getElementById('portodesc'+portovcurr);	before_des.style.visibility="hidden";}function portoHighlightCurrTumb(){	if((0==1)&&(0==0))	{		portobeforethumb=document.getElementById('portothumb'+portovcurr);		portoafterthumb=document.getElementById('portothumb'+portorealcurrent);		portobeforethumb.style.borderColor='999999';		portoafterthumb.style.borderColor='990000';	}}document.write('</div>');function portozindx(){	portoobjn.style.visibility="visible";	portoobjc.style.zIndex=2;	portoobjn.style.zIndex=3;    }function portoThumbOut(tobj,nm){	if((portovcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function portoThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function portoSonrakiClick(c,n){	portovcurr=c;	portovnext=n;			portoobjc=document.getElementById('portod'+portovcurr);	portoobjn=document.getElementById('portod'+portovnext);}function portoSonraki(){	portovcurr=portovnext;	portovnext=portovnext+1;		if(portovnext>=4)	{		portovnext=0;		portotam=1;	}		portoobjc=document.getElementById('portod'+portovcurr);	portoobjn=document.getElementById('portod'+portovnext);		      }function portosecondcomplate(){	this.c=1;}function portodevam(fm,pt){	if((portoimgarr[portovnext].c==1)&&(portoimgarr[portovcurr].c==1))	{		portotimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('portodevam("'+fm+'")',500);	}	var portocagain=1;	for(i=0;i<4;i++)	{		if(portoimgarr[i].c==1){}		else{portocagain=0;}	}	if(portocagain==1){portotam=1;}}function ThumbClick(clicked_img,tobj){	if(portojbtype==1){return;}	clearTimeout(portotimeo);	portoSonrakiClick(portorealcurrent,clicked_img);	if(portofademi==1)        {            if(IEB==true)            {		if(portotam==0)		{	    		portodevam("portodotrans",4000);		}		else		{			portodotrans();		}            }            else            {		if(portotam==0)		{    			portodevam("portobeftrans",4000);		}		else		{			portobeftrans();		}            }        }	else if(portofademi==2)	{		if(portotam==0)		{ 			portodevam("portoDoSlide",4000);		}		else		{			portoDoSlide();		}	}	else if(portofademi==3)	{		if(portotam==0)		{ 			portodevam("portoDoScrollUp",4000);		}		else		{			portoDoScrollUp();		}	}	else if(portofademi==4)	{		if(portotam==0)		{ 			portodevam("portoDoBlindX",4000);		}		else		{			portoDoBlindX();		}	}	else if(portofademi==5)	{		if(portotam==0)		{ 			portodevam("portoDoBlindY",4000);		}		else		{			portoDoBlindY();		}	}	}function portosl(){portofademi=1;portovcurr=0;portovnext=0;portovssdiv=null;stepc=20*(2);portodif=0.00;portoop=1.00;portodif=(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:'+portoicwidth+'px;height:'+portoicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="portoimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.portodotrans=portodotrans;this.portoinitte=portoinitte;this.portoinitte2=portoinitte2;this.portobeftrans=portobeftrans;this.portodotransff=portodotransff;}function portoFadeBitti(){	portojbtype=0;	portoShowCurrentDesc();	}function portodotrans(){	portojbtype=1;	portoHideCurrentDesc();	if(IEB==true){portovssdiv.filters[0].apply();}	portoobjc.style.visibility="hidden";	portoobjn.style.visibility="visible";	if(IEB==true){portovssdiv.filters[0].play();}	portorealcurrent=portovnext;	portoHighlightCurrTumb();	portoSonraki();			if(portotam==0){portodevam("portodotrans",((1000*2)+4000));}	else	{		portotimeo=setTimeout('portodotrans()',((1000*2)+4000));	} 	}function portodotransff(){	portoop=portoop-portodif;		if(portoop<(0.00)){portoop=0.00;}	portoobjc.style.opacity = portoop;	portoobjn.style.opacity = 1.00-portoop;	if(portoop>(0.00))	{		setTimeout('portodotransff()',50);	}	else	{		portoobjc.style.zIndex=2;		portoobjn.style.zIndex=3;		portorealcurrent=portovnext;		portoShowCurrentDesc();		portoHighlightCurrTumb();				portoSonraki();			        if(portotam==0){portodevam("portobeftrans",4000);}        	else {portotimeo=setTimeout('portobeftrans()',4000);}		portojbtype=0;  					}}function portobeftrans(){	portojbtype=1;	portoHideCurrentDesc();    	portoop=1.00;	portoobjc.style.visibility="visible";	portoobjn.style.visibility="visible";		portoobjc.style.zIndex=3;	portoobjn.style.zIndex=2;		portoobjc.style.opacity = 1.00;		portoobjn.style.opacity = 1.00;			portodotransff();	}function portoDoSlide(){	portojbtype=1;	portoHideCurrentDesc();	portokalan=portokalan-Math.ceil(portokalan/2);	portoobjc.style.left=""+(portokalan-portoicwidth)+"px";	portoobjn.style.left=""+portokalan+"px";		if(portokalan<=0)	{		portorealcurrent=portovnext;		portoShowCurrentDesc();		portoHighlightCurrTumb();    		portoSonraki();		portokalan=portoicwidth;		portoobjn.style.left=""+portokalan+"px";	        		portozindx();          		portojbtype=0;        		if(portotam==0){portodevam("portoDoSlide",4000);}		else {portotimeo=setTimeout('portoDoSlide()',4000);}	}	else	{		setTimeout('portoDoSlide()',50);    	} }function portoDoScrollUp(){	portojbtype=1;	portoHideCurrentDesc();	portokalan=portokalan-Math.ceil(portokalan/2);	portoobjc.style.top=""+(portokalan-portoicheight)+"px";	portoobjn.style.top=""+portokalan+"px";	    if(portokalan<=0)    {	portorealcurrent=portovnext;	portoShowCurrentDesc();	portoHighlightCurrTumb();        portoSonraki();        portokalan=portoicheight;	portoobjn.style.top=""+portokalan+"px";	        portozindx();                 	portojbtype=0;        if(portotam==0){portodevam('portoDoScrollUp',4000);}        else{portotimeo=setTimeout('portoDoScrollUp()',4000);}        }    else    {        setTimeout('portoDoScrollUp()',50);        }}function portoDoBlindX(){	portojbtype=1;	portoHideCurrentDesc();   	portokalan=portokalan-Math.ceil(portokalan/2);	portoobjc.style.left=""+(portoicwidth-portokalan)+"px";	portoobjn.style.left=""+portokalan+"px";	    if(portokalan<=0)    {		portorealcurrent=portovnext;		portoShowCurrentDesc();	portoHighlightCurrTumb();            portoSonraki();        portokalan=portoicwidth;	portoobjn.style.left=""+portokalan+"px";		    	        portozindx();	portojbtype=0;                  if(portotam==0){portodevam("portoDoBlindX",4000);}        else{portotimeo=setTimeout('portoDoBlindX()',4000);}    }    else    {        setTimeout('portoDoBlindX()',50);        }}function portoDoBlindY(){	portojbtype=1;	portoHideCurrentDesc();  	portokalan=portokalan-Math.ceil(portokalan/2);	portoobjc.style.top=""+(portoicheight-portokalan)+"px";	portoobjn.style.top=""+portokalan+"px";	    if(portokalan<=0)    {		portorealcurrent=portovnext;		portoShowCurrentDesc();portoHighlightCurrTumb();        portoSonraki();        portokalan=portoicheight;	    portoobjn.style.top=""+portokalan+"px";                portozindx();                 	portojbtype=0;        if(portotam==0){portodevam("portoDoBlindY",4000);}        else{portotimeo=setTimeout('portoDoBlindY()',4000);}        }    else    {        setTimeout('portoDoBlindY()',50);        } }function portoinitte2(){	portothumbs_obj=document.getElementById('portothumbsid');	portomoving_obj=document.getElementById('portomovingdiv');	portovssdiv=document.getElementById("portodv");	if(4>0)	{		portoobjc=document.getElementById('portod'+0);			portoobjc.style.visibility="visible";		}	if(4>1)	{		portovcurr=0;		portovnext=0;		portorealcurrent=0;        if(portofademi==0)        {			portovcurr=0;			portovnext=1;			portorealcurrent=0;			setTimeout('portodotrans()',4000);                }        else if(portofademi==1)        {            if(IEB==true)            {	    		portoSonraki();			portoShowCurrentDesc();			portoHighlightCurrTumb();	    		portodevam("portodotrans",4000);                       }            else            {	    		portoSonraki();			portoShowCurrentDesc();			portoHighlightCurrTumb();	    		portodevam("portobeftrans",4000);                        }        }         else if(portofademi==2)        {		portokalan=portoicwidth;     		portoSonraki();		portorealcurrent=0;		portoShowCurrentDesc();		portoHighlightCurrTumb();		portoobjn.style.left=""+portokalan+"px";          			portozindx();            		portodevam("portoDoSlide",4000);		   	                }        else if(portofademi==3)        {		portokalan=portoicheight;            		portoSonraki();		portorealcurrent=0;		portoShowCurrentDesc();		portoHighlightCurrTumb();		portoobjn.style.top=""+portokalan+"px";            			portozindx();                        		portodevam("portoDoScrollUp",4000);               }                  else if(portofademi==4)        {                        portokalan=portoicwidth;                        portoSonraki();		portorealcurrent=0;		portoShowCurrentDesc();portoHighlightCurrTumb();        	portoobjn.style.left=""+portokalan+"px";	            	            portozindx();                                   portodevam("portoDoBlindX",4000);                 }            else if(portofademi==5)        {                        portokalan=portoicheight;                        portoSonraki();		portorealcurrent=0;		portoShowCurrentDesc();portoHighlightCurrTumb();        	portoobjn.style.top=""+portokalan+"px";            	            portozindx();                                  portodevam("portoDoBlindY",4000);                 }												}}function portoinitte(){	i=0;	innertxt="";	for(i=0;i<4;i++)	{		innertxt=innertxt+dstr1+"portod"+i+dstr2+dstr23+portolinkstr[i]+dstr3+i+dstr4+portoimgstr[i]+dstr5+portoclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('portodv');	spage.innerHTML=""+innertxt;    setTimeout('portoinitte2()',100);}function portoBas(){        portos=new portosl();        portos.portoinitte();}setTimeout('portoBas()',100);