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 res2s=null;var res2descgoster=0;var res2thumbgoster=0;var res2cwidth=0;var res2cheight=0;var res2calc=0;var res2tam=0;var res2kalan=0;var res2kalany=0;var res2ts="";var res2ds="";var res2jbtype=0;var res2realcurrent=0;var res2timeo=null;res2thumbs_obj=null;res2moving_obj=null;res2TotalThumbWidth=0;res2TotalThumbHeight=0;res2MoveIcWidth=0;var TBW=0;var CursorStr="default";var res2DescCalcWidth=0;var res2DescCalcHeight=0;var res2DescCalcIcWidth=0;var res2DescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;res2imgarr=new Array();res2thumbimgstr=new Array();res2imgstr=new Array();res2linkstr=new Array();res2clslinkstr=new Array();res2titarr=new Array();res2desarr=new Array();res2imgarr[0]=new Image();res2imgarr[0].c=0;res2imgarr[0].onload = res2secondcomplate;res2imgarr[0].src=res2foldername+'res2a.jpg';res2imgstr[0]=res2foldername+'res2a.jpg';res2thumbimgstr[0]=res2foldername+'res2a.jpg';res2linkstr[0]='';res2clslinkstr[0]='';res2titarr[0]="";res2desarr[0]="";res2imgarr[1]=new Image();res2imgarr[1].c=0;res2imgarr[1].onload = res2secondcomplate;res2imgarr[1].src=res2foldername+'res2b.jpg';res2imgstr[1]=res2foldername+'res2b.jpg';res2thumbimgstr[1]=res2foldername+'res2b.jpg';res2linkstr[1]='';res2clslinkstr[1]='';res2titarr[1]="";res2desarr[1]="";res2imgarr[2]=new Image();res2imgarr[2].c=0;res2imgarr[2].onload = res2secondcomplate;res2imgarr[2].src=res2foldername+'res2c.jpg';res2imgstr[2]=res2foldername+'res2c.jpg';res2thumbimgstr[2]=res2foldername+'res2c.jpg';res2linkstr[2]='';res2clslinkstr[2]='';res2titarr[2]="";res2desarr[2]="";res2imgarr[3]=new Image();res2imgarr[3].c=0;res2imgarr[3].onload = res2secondcomplate;res2imgarr[3].src=res2foldername+'res2d.jpg';res2imgstr[3]=res2foldername+'res2d.jpg';res2thumbimgstr[3]=res2foldername+'res2d.jpg';res2linkstr[3]='';res2clslinkstr[3]='';res2titarr[3]="";res2desarr[3]="";res2imgarr[4]=new Image();res2imgarr[4].c=0;res2imgarr[4].onload = res2secondcomplate;res2imgarr[4].src=res2foldername+'res2e.jpg';res2imgstr[4]=res2foldername+'res2e.jpg';res2thumbimgstr[4]=res2foldername+'res2e.jpg';res2linkstr[4]='';res2clslinkstr[4]='';res2titarr[4]="";res2desarr[4]="";res2imgarr[5]=new Image();res2imgarr[5].c=0;res2imgarr[5].onload = res2secondcomplate;res2imgarr[5].src=res2foldername+'res2f.jpg';res2imgstr[5]=res2foldername+'res2f.jpg';res2thumbimgstr[5]=res2foldername+'res2f.jpg';res2linkstr[5]='';res2clslinkstr[5]='';res2titarr[5]="";res2desarr[5]="";if((IEB==true)&&(scompat == "BackCompat" )){    res2cwidth=400;    res2cheight=452;}else{    res2cwidth=400-2*(0);    res2cheight=452-2*(0);}var res2icwidth=400-2*(0);var res2icheight=452-2*(0);res2DescCalcWidth=260;res2DescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	res2DescCalcIcWidth=res2DescCalcWidth;	res2DescCalcIcHeight=res2DescCalcHeight;}else{    res2DescCalcIcWidth=res2DescCalcWidth-2*(2)-2*(3);    res2DescCalcIcHeight=res2DescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+res2cwidth+'px;height:'+res2cheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="res2dv" style="position:relative;width:'+res2icwidth+'px;height:'+res2icheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=res2FadeBitti()'+'></div>');for(i=0;i<6;i++){	if(0==0){res2ds=res2ds+res2linkstr[i];if(res2linkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	res2ds=res2ds+'<div id="res2desc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+res2DescCalcWidth+'px;height:'+res2DescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	res2ds=res2ds+'<div style="position:absolute;left:0px;top:0px;width:'+res2DescCalcWidth+'px;height:'+res2DescCalcHeight+'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>';	res2ds=res2ds+'<div style="position:relative;left:0px;top:0px;width:'+res2DescCalcIcWidth+'px;height:'+res2DescCalcIcHeight+'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;">';	res2ds=res2ds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+res2titarr[i]+'</span><br />'+res2desarr[i];	res2ds=res2ds+'</div>';	res2ds=res2ds+'</div>';	if(0==0){res2ds=res2ds+res2clslinkstr[i];}	}document.write(''+res2ds);function res2ShowCurrentDesc(){	if((res2descgoster==1)&&( (res2titarr[res2realcurrent].length>0) || (res2desarr[res2realcurrent].length>0)  ))	{		after_des=document.getElementById('res2desc'+res2realcurrent);		after_des.style.visibility="visible";		}}function res2HideCurrentDesc(){	before_des=document.getElementById('res2desc'+res2vcurr);	before_des.style.visibility="hidden";}function res2HighlightCurrTumb(){	if((0==1)&&(0==0))	{		res2beforethumb=document.getElementById('res2thumb'+res2vcurr);		res2afterthumb=document.getElementById('res2thumb'+res2realcurrent);		res2beforethumb.style.borderColor='999999';		res2afterthumb.style.borderColor='990000';	}}document.write('</div>');function res2zindx(){	res2objn.style.visibility="visible";	res2objc.style.zIndex=2;	res2objn.style.zIndex=3;    }function res2ThumbOut(tobj,nm){	if((res2vcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function res2ThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function res2SonrakiClick(c,n){	res2vcurr=c;	res2vnext=n;			res2objc=document.getElementById('res2d'+res2vcurr);	res2objn=document.getElementById('res2d'+res2vnext);}function res2Sonraki(){	res2vcurr=res2vnext;	res2vnext=res2vnext+1;		if(res2vnext>=6)	{		res2vnext=0;		res2tam=1;	}		res2objc=document.getElementById('res2d'+res2vcurr);	res2objn=document.getElementById('res2d'+res2vnext);		      }function res2secondcomplate(){	this.c=1;}function res2devam(fm,pt){	if((res2imgarr[res2vnext].c==1)&&(res2imgarr[res2vcurr].c==1))	{		res2timeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('res2devam("'+fm+'")',500);	}	var res2cagain=1;	for(i=0;i<6;i++)	{		if(res2imgarr[i].c==1){}		else{res2cagain=0;}	}	if(res2cagain==1){res2tam=1;}}function ThumbClick(clicked_img,tobj){	if(res2jbtype==1){return;}	clearTimeout(res2timeo);	res2SonrakiClick(res2realcurrent,clicked_img);	if(res2fademi==1)        {            if(IEB==true)            {		if(res2tam==0)		{	    		res2devam("res2dotrans",4000);		}		else		{			res2dotrans();		}            }            else            {		if(res2tam==0)		{    			res2devam("res2beftrans",4000);		}		else		{			res2beftrans();		}            }        }	else if(res2fademi==2)	{		if(res2tam==0)		{ 			res2devam("res2DoSlide",4000);		}		else		{			res2DoSlide();		}	}	else if(res2fademi==3)	{		if(res2tam==0)		{ 			res2devam("res2DoScrollUp",4000);		}		else		{			res2DoScrollUp();		}	}	else if(res2fademi==4)	{		if(res2tam==0)		{ 			res2devam("res2DoBlindX",4000);		}		else		{			res2DoBlindX();		}	}	else if(res2fademi==5)	{		if(res2tam==0)		{ 			res2devam("res2DoBlindY",4000);		}		else		{			res2DoBlindY();		}	}	}function res2sl(){res2fademi=1;res2vcurr=0;res2vnext=0;res2vssdiv=null;stepc=20*(2);res2dif=0.00;res2op=1.00;res2dif=(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:'+res2icwidth+'px;height:'+res2icheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="res2img';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.res2dotrans=res2dotrans;this.res2initte=res2initte;this.res2initte2=res2initte2;this.res2beftrans=res2beftrans;this.res2dotransff=res2dotransff;}function res2FadeBitti(){	res2jbtype=0;	res2ShowCurrentDesc();	}function res2dotrans(){	res2jbtype=1;	res2HideCurrentDesc();	if(IEB==true){res2vssdiv.filters[0].apply();}	res2objc.style.visibility="hidden";	res2objn.style.visibility="visible";	if(IEB==true){res2vssdiv.filters[0].play();}	res2realcurrent=res2vnext;	res2HighlightCurrTumb();	res2Sonraki();			if(res2tam==0){res2devam("res2dotrans",((1000*2)+4000));}	else	{		res2timeo=setTimeout('res2dotrans()',((1000*2)+4000));	} 	}function res2dotransff(){	res2op=res2op-res2dif;		if(res2op<(0.00)){res2op=0.00;}	res2objc.style.opacity = res2op;	res2objn.style.opacity = 1.00-res2op;	if(res2op>(0.00))	{		setTimeout('res2dotransff()',50);	}	else	{		res2objc.style.zIndex=2;		res2objn.style.zIndex=3;		res2realcurrent=res2vnext;		res2ShowCurrentDesc();		res2HighlightCurrTumb();				res2Sonraki();			        if(res2tam==0){res2devam("res2beftrans",4000);}        	else {res2timeo=setTimeout('res2beftrans()',4000);}		res2jbtype=0;  					}}function res2beftrans(){	res2jbtype=1;	res2HideCurrentDesc();    	res2op=1.00;	res2objc.style.visibility="visible";	res2objn.style.visibility="visible";		res2objc.style.zIndex=3;	res2objn.style.zIndex=2;		res2objc.style.opacity = 1.00;		res2objn.style.opacity = 1.00;			res2dotransff();	}function res2DoSlide(){	res2jbtype=1;	res2HideCurrentDesc();	res2kalan=res2kalan-Math.ceil(res2kalan/2);	res2objc.style.left=""+(res2kalan-res2icwidth)+"px";	res2objn.style.left=""+res2kalan+"px";		if(res2kalan<=0)	{		res2realcurrent=res2vnext;		res2ShowCurrentDesc();		res2HighlightCurrTumb();    		res2Sonraki();		res2kalan=res2icwidth;		res2objn.style.left=""+res2kalan+"px";	        		res2zindx();          		res2jbtype=0;        		if(res2tam==0){res2devam("res2DoSlide",4000);}		else {res2timeo=setTimeout('res2DoSlide()',4000);}	}	else	{		setTimeout('res2DoSlide()',50);    	} }function res2DoScrollUp(){	res2jbtype=1;	res2HideCurrentDesc();	res2kalan=res2kalan-Math.ceil(res2kalan/2);	res2objc.style.top=""+(res2kalan-res2icheight)+"px";	res2objn.style.top=""+res2kalan+"px";	    if(res2kalan<=0)    {	res2realcurrent=res2vnext;	res2ShowCurrentDesc();	res2HighlightCurrTumb();        res2Sonraki();        res2kalan=res2icheight;	res2objn.style.top=""+res2kalan+"px";	        res2zindx();                 	res2jbtype=0;        if(res2tam==0){res2devam('res2DoScrollUp',4000);}        else{res2timeo=setTimeout('res2DoScrollUp()',4000);}        }    else    {        setTimeout('res2DoScrollUp()',50);        }}function res2DoBlindX(){	res2jbtype=1;	res2HideCurrentDesc();   	res2kalan=res2kalan-Math.ceil(res2kalan/2);	res2objc.style.left=""+(res2icwidth-res2kalan)+"px";	res2objn.style.left=""+res2kalan+"px";	    if(res2kalan<=0)    {		res2realcurrent=res2vnext;		res2ShowCurrentDesc();	res2HighlightCurrTumb();            res2Sonraki();        res2kalan=res2icwidth;	res2objn.style.left=""+res2kalan+"px";		    	        res2zindx();	res2jbtype=0;                  if(res2tam==0){res2devam("res2DoBlindX",4000);}        else{res2timeo=setTimeout('res2DoBlindX()',4000);}    }    else    {        setTimeout('res2DoBlindX()',50);        }}function res2DoBlindY(){	res2jbtype=1;	res2HideCurrentDesc();  	res2kalan=res2kalan-Math.ceil(res2kalan/2);	res2objc.style.top=""+(res2icheight-res2kalan)+"px";	res2objn.style.top=""+res2kalan+"px";	    if(res2kalan<=0)    {		res2realcurrent=res2vnext;		res2ShowCurrentDesc();res2HighlightCurrTumb();        res2Sonraki();        res2kalan=res2icheight;	    res2objn.style.top=""+res2kalan+"px";                res2zindx();                 	res2jbtype=0;        if(res2tam==0){res2devam("res2DoBlindY",4000);}        else{res2timeo=setTimeout('res2DoBlindY()',4000);}        }    else    {        setTimeout('res2DoBlindY()',50);        } }function res2initte2(){	res2thumbs_obj=document.getElementById('res2thumbsid');	res2moving_obj=document.getElementById('res2movingdiv');	res2vssdiv=document.getElementById("res2dv");	if(6>0)	{		res2objc=document.getElementById('res2d'+0);			res2objc.style.visibility="visible";		}	if(6>1)	{		res2vcurr=0;		res2vnext=0;		res2realcurrent=0;        if(res2fademi==0)        {			res2vcurr=0;			res2vnext=1;			res2realcurrent=0;			setTimeout('res2dotrans()',4000);                }        else if(res2fademi==1)        {            if(IEB==true)            {	    		res2Sonraki();			res2ShowCurrentDesc();			res2HighlightCurrTumb();	    		res2devam("res2dotrans",4000);                       }            else            {	    		res2Sonraki();			res2ShowCurrentDesc();			res2HighlightCurrTumb();	    		res2devam("res2beftrans",4000);                        }        }         else if(res2fademi==2)        {		res2kalan=res2icwidth;     		res2Sonraki();		res2realcurrent=0;		res2ShowCurrentDesc();		res2HighlightCurrTumb();		res2objn.style.left=""+res2kalan+"px";          			res2zindx();            		res2devam("res2DoSlide",4000);		   	                }        else if(res2fademi==3)        {		res2kalan=res2icheight;            		res2Sonraki();		res2realcurrent=0;		res2ShowCurrentDesc();		res2HighlightCurrTumb();		res2objn.style.top=""+res2kalan+"px";            			res2zindx();                        		res2devam("res2DoScrollUp",4000);               }                  else if(res2fademi==4)        {                        res2kalan=res2icwidth;                        res2Sonraki();		res2realcurrent=0;		res2ShowCurrentDesc();res2HighlightCurrTumb();        	res2objn.style.left=""+res2kalan+"px";	            	            res2zindx();                                   res2devam("res2DoBlindX",4000);                 }            else if(res2fademi==5)        {                        res2kalan=res2icheight;                        res2Sonraki();		res2realcurrent=0;		res2ShowCurrentDesc();res2HighlightCurrTumb();        	res2objn.style.top=""+res2kalan+"px";            	            res2zindx();                                  res2devam("res2DoBlindY",4000);                 }												}}function res2initte(){	i=0;	innertxt="";	for(i=0;i<6;i++)	{		innertxt=innertxt+dstr1+"res2d"+i+dstr2+dstr23+res2linkstr[i]+dstr3+i+dstr4+res2imgstr[i]+dstr5+res2clslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('res2dv');	spage.innerHTML=""+innertxt;    setTimeout('res2initte2()',100);}function res2Bas(){        res2s=new res2sl();        res2s.res2initte();}setTimeout('res2Bas()',100);
