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 floats=null;var floatdescgoster=0;var floatthumbgoster=0;var floatcwidth=0;var floatcheight=0;var floatcalc=0;var floattam=0;var floatkalan=0;var floatkalany=0;var floatts="";var floatds="";var floatjbtype=0;var floatrealcurrent=0;var floattimeo=null;floatthumbs_obj=null;floatmoving_obj=null;floatTotalThumbWidth=0;floatTotalThumbHeight=0;floatMoveIcWidth=0;var TBW=0;var CursorStr="default";var floatDescCalcWidth=0;var floatDescCalcHeight=0;var floatDescCalcIcWidth=0;var floatDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;floatimgarr=new Array();floatthumbimgstr=new Array();floatimgstr=new Array();floatlinkstr=new Array();floatclslinkstr=new Array();floattitarr=new Array();floatdesarr=new Array();floatimgarr[0]=new Image();floatimgarr[0].c=0;floatimgarr[0].onload = floatsecondcomplate;floatimgarr[0].src=floatfoldername+'template1.jpg';floatimgstr[0]=floatfoldername+'template1.jpg';floatthumbimgstr[0]=floatfoldername+'template1.jpg';floatlinkstr[0]='';floatclslinkstr[0]='';floattitarr[0]="";floatdesarr[0]="";floatimgarr[1]=new Image();floatimgarr[1].c=0;floatimgarr[1].onload = floatsecondcomplate;floatimgarr[1].src=floatfoldername+'template2.jpg';floatimgstr[1]=floatfoldername+'template2.jpg';floatthumbimgstr[1]=floatfoldername+'template2.jpg';floatlinkstr[1]='';floatclslinkstr[1]='';floattitarr[1]="";floatdesarr[1]="";floatimgarr[2]=new Image();floatimgarr[2].c=0;floatimgarr[2].onload = floatsecondcomplate;floatimgarr[2].src=floatfoldername+'template3.jpg';floatimgstr[2]=floatfoldername+'template3.jpg';floatthumbimgstr[2]=floatfoldername+'template3.jpg';floatlinkstr[2]='';floatclslinkstr[2]='';floattitarr[2]="";floatdesarr[2]="";floatimgarr[3]=new Image();floatimgarr[3].c=0;floatimgarr[3].onload = floatsecondcomplate;floatimgarr[3].src=floatfoldername+'template4.jpg';floatimgstr[3]=floatfoldername+'template4.jpg';floatthumbimgstr[3]=floatfoldername+'template4.jpg';floatlinkstr[3]='';floatclslinkstr[3]='';floattitarr[3]="";floatdesarr[3]="";floatimgarr[4]=new Image();floatimgarr[4].c=0;floatimgarr[4].onload = floatsecondcomplate;floatimgarr[4].src=floatfoldername+'template5.jpg';floatimgstr[4]=floatfoldername+'template5.jpg';floatthumbimgstr[4]=floatfoldername+'template5.jpg';floatlinkstr[4]='';floatclslinkstr[4]='';floattitarr[4]="";floatdesarr[4]="";floatimgarr[5]=new Image();floatimgarr[5].c=0;floatimgarr[5].onload = floatsecondcomplate;floatimgarr[5].src=floatfoldername+'template6.jpg';floatimgstr[5]=floatfoldername+'template6.jpg';floatthumbimgstr[5]=floatfoldername+'template6.jpg';floatlinkstr[5]='';floatclslinkstr[5]='';floattitarr[5]="";floatdesarr[5]="";floatimgarr[6]=new Image();floatimgarr[6].c=0;floatimgarr[6].onload = floatsecondcomplate;floatimgarr[6].src=floatfoldername+'template7.jpg';floatimgstr[6]=floatfoldername+'template7.jpg';floatthumbimgstr[6]=floatfoldername+'template7.jpg';floatlinkstr[6]='';floatclslinkstr[6]='';floattitarr[6]="";floatdesarr[6]="";floatimgarr[7]=new Image();floatimgarr[7].c=0;floatimgarr[7].onload = floatsecondcomplate;floatimgarr[7].src=floatfoldername+'template8.jpg';floatimgstr[7]=floatfoldername+'template8.jpg';floatthumbimgstr[7]=floatfoldername+'template8.jpg';floatlinkstr[7]='';floatclslinkstr[7]='';floattitarr[7]="";floatdesarr[7]="";if((IEB==true)&&(scompat == "BackCompat" )){    floatcwidth=960;    floatcheight=211;}else{    floatcwidth=960-2*(0);    floatcheight=211-2*(0);}var floaticwidth=960-2*(0);var floaticheight=211-2*(0);floatDescCalcWidth=260;floatDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	floatDescCalcIcWidth=floatDescCalcWidth;	floatDescCalcIcHeight=floatDescCalcHeight;}else{    floatDescCalcIcWidth=floatDescCalcWidth-2*(2)-2*(3);    floatDescCalcIcHeight=floatDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+floatcwidth+'px;height:'+floatcheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="floatdv" style="position:relative;width:'+floaticwidth+'px;height:'+floaticheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=floatFadeBitti()'+'></div>');for(i=0;i<8;i++){	if(0==0){floatds=floatds+floatlinkstr[i];if(floatlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	floatds=floatds+'<div id="floatdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+floatDescCalcWidth+'px;height:'+floatDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	floatds=floatds+'<div style="position:absolute;left:0px;top:0px;width:'+floatDescCalcWidth+'px;height:'+floatDescCalcHeight+'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>';	floatds=floatds+'<div style="position:relative;left:0px;top:0px;width:'+floatDescCalcIcWidth+'px;height:'+floatDescCalcIcHeight+'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;">';	floatds=floatds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+floattitarr[i]+'</span><br />'+floatdesarr[i];	floatds=floatds+'</div>';	floatds=floatds+'</div>';	if(0==0){floatds=floatds+floatclslinkstr[i];}	}document.write(''+floatds);function floatShowCurrentDesc(){	if((floatdescgoster==1)&&( (floattitarr[floatrealcurrent].length>0) || (floatdesarr[floatrealcurrent].length>0)  ))	{		after_des=document.getElementById('floatdesc'+floatrealcurrent);		after_des.style.visibility="visible";		}}function floatHideCurrentDesc(){	before_des=document.getElementById('floatdesc'+floatvcurr);	before_des.style.visibility="hidden";}function floatHighlightCurrTumb(){	if((0==1)&&(0==0))	{		floatbeforethumb=document.getElementById('floatthumb'+floatvcurr);		floatafterthumb=document.getElementById('floatthumb'+floatrealcurrent);		floatbeforethumb.style.borderColor='999999';		floatafterthumb.style.borderColor='990000';	}}document.write('</div>');function floatzindx(){	floatobjn.style.visibility="visible";	floatobjc.style.zIndex=2;	floatobjn.style.zIndex=3;    }function floatThumbOut(tobj,nm){	if((floatvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function floatThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function floatSonrakiClick(c,n){	floatvcurr=c;	floatvnext=n;			floatobjc=document.getElementById('floatd'+floatvcurr);	floatobjn=document.getElementById('floatd'+floatvnext);		if(floatfademi!=1)	{		floatobjc.style.visibility="visible";			floatobjn.style.visibility="visible";		}		}function floatSonraki(){	floatvcurr=floatvnext;	floatvnext=floatvnext+1;		if(floatvnext>=8)	{		floatvnext=0;		floattam=1;	}		floatobjc=document.getElementById('floatd'+floatvcurr);	floatobjn=document.getElementById('floatd'+floatvnext);		      }function floatsecondcomplate(){	this.c=1;}function floatdevam(fm,pt){	if((floatimgarr[floatvnext].c==1)&&(floatimgarr[floatvcurr].c==1))	{		floattimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('floatdevam("'+fm+'")',500);	}	var floatcagain=1;	for(i=0;i<8;i++)	{		if(floatimgarr[i].c==1){}		else{floatcagain=0;}	}	if(floatcagain==1){floattam=1;}}function ThumbClick(clicked_img,tobj){	if(floatjbtype==1){return;}	clearTimeout(floattimeo);	floatSonrakiClick(floatrealcurrent,clicked_img);	if(floatfademi==1)        {            if(IEB==true)            {		if(floattam==0)		{	    		floatdevam("floatdotrans",4000);		}		else		{			floatdotrans();		}            }            else            {		if(floattam==0)		{    			floatdevam("floatbeftrans",4000);		}		else		{			floatbeftrans();		}            }        }	else if(floatfademi==2)	{		if(floattam==0)		{ 			floatdevam("floatDoSlide",4000);		}		else		{			floatDoSlide();		}	}	else if(floatfademi==3)	{		if(floattam==0)		{ 			floatdevam("floatDoScrollUp",4000);		}		else		{			floatDoScrollUp();		}	}	else if(floatfademi==4)	{		if(floattam==0)		{ 			floatdevam("floatDoBlindX",4000);		}		else		{			floatDoBlindX();		}	}	else if(floatfademi==5)	{		if(floattam==0)		{ 			floatdevam("floatDoBlindY",4000);		}		else		{			floatDoBlindY();		}	}	}function floatsl(){floatfademi=1;floatvcurr=0;floatvnext=0;floatvssdiv=null;stepc=20*(2);floatdif=0.00;floatop=1.00;floatdif=(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:'+floaticwidth+'px;height:'+floaticheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="floatimg';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.floatdotrans=floatdotrans;this.floatinitte=floatinitte;this.floatinitte2=floatinitte2;this.floatbeftrans=floatbeftrans;this.floatdotransff=floatdotransff;}function floatFadeBitti(){	floatjbtype=0;	floatShowCurrentDesc();	}function floatdotrans(){	floatjbtype=1;	floatHideCurrentDesc();	if(IEB==true){floatvssdiv.filters[0].apply();}	floatobjc.style.visibility="hidden";	floatobjn.style.visibility="visible";	if(IEB==true){floatvssdiv.filters[0].play();}	floatrealcurrent=floatvnext;	floatHighlightCurrTumb();	floatSonraki();			if(floattam==0){floatdevam("floatdotrans",((1000*2)+4000));}	else	{		floattimeo=setTimeout('floatdotrans()',((1000*2)+4000));	} 	}function floatdotransff(){	floatop=floatop-floatdif;		if(floatop<(0.00)){floatop=0.00;}	floatobjc.style.opacity = floatop;	floatobjn.style.opacity = 1.00-floatop;	if(floatop>(0.00))	{		setTimeout('floatdotransff()',50);	}	else	{		floatobjc.style.zIndex=2;		floatobjn.style.zIndex=3;		floatrealcurrent=floatvnext;		floatShowCurrentDesc();		floatHighlightCurrTumb();				floatSonraki();			        if(floattam==0){floatdevam("floatbeftrans",4000);}        	else {floattimeo=setTimeout('floatbeftrans()',4000);}		floatjbtype=0;  					}}function floatbeftrans(){	floatjbtype=1;	floatHideCurrentDesc();    	floatop=1.00;	floatobjc.style.visibility="visible";	floatobjn.style.visibility="visible";		floatobjc.style.zIndex=3;	floatobjn.style.zIndex=2;		floatobjc.style.opacity = 1.00;		floatobjn.style.opacity = 1.00;			floatdotransff();	}function floatDoSlide(){	floatjbtype=1;	floatHideCurrentDesc();	floatkalan=floatkalan-Math.ceil(floatkalan/2);	floatobjc.style.left=""+(floatkalan-floaticwidth)+"px";	floatobjn.style.left=""+floatkalan+"px";		if(floatkalan<=0)	{		floatrealcurrent=floatvnext;		floatShowCurrentDesc();		floatHighlightCurrTumb();    		floatSonraki();		floatkalan=floaticwidth;		floatobjn.style.left=""+floatkalan+"px";	        		floatzindx();          		floatjbtype=0;        		if(floattam==0){floatdevam("floatDoSlide",4000);}		else {floattimeo=setTimeout('floatDoSlide()',4000);}	}	else	{		setTimeout('floatDoSlide()',50);    	} }function floatDoScrollUp(){	floatjbtype=1;	floatHideCurrentDesc();	floatkalan=floatkalan-Math.ceil(floatkalan/2);	floatobjc.style.top=""+(floatkalan-floaticheight)+"px";	floatobjn.style.top=""+floatkalan+"px";	    if(floatkalan<=0)    {	floatrealcurrent=floatvnext;	floatShowCurrentDesc();	floatHighlightCurrTumb();        floatSonraki();        floatkalan=floaticheight;	floatobjn.style.top=""+floatkalan+"px";	        floatzindx();                 	floatjbtype=0;        if(floattam==0){floatdevam('floatDoScrollUp',4000);}        else{floattimeo=setTimeout('floatDoScrollUp()',4000);}        }    else    {        setTimeout('floatDoScrollUp()',50);        }}function floatDoBlindX(){	floatjbtype=1;	floatHideCurrentDesc();   	floatkalan=floatkalan-Math.ceil(floatkalan/2);	floatobjc.style.left=""+(floaticwidth-floatkalan)+"px";	floatobjn.style.left=""+floatkalan+"px";	    if(floatkalan<=0)    {		floatrealcurrent=floatvnext;		floatShowCurrentDesc();	floatHighlightCurrTumb();            floatSonraki();        floatkalan=floaticwidth;	floatobjn.style.left=""+floatkalan+"px";		    	        floatzindx();	floatjbtype=0;                  if(floattam==0){floatdevam("floatDoBlindX",4000);}        else{floattimeo=setTimeout('floatDoBlindX()',4000);}    }    else    {        setTimeout('floatDoBlindX()',50);        }}function floatDoBlindY(){	floatjbtype=1;	floatHideCurrentDesc();  	floatkalan=floatkalan-Math.ceil(floatkalan/2);	floatobjc.style.top=""+(floaticheight-floatkalan)+"px";	floatobjn.style.top=""+floatkalan+"px";	    if(floatkalan<=0)    {		floatrealcurrent=floatvnext;		floatShowCurrentDesc();floatHighlightCurrTumb();        floatSonraki();        floatkalan=floaticheight;	    floatobjn.style.top=""+floatkalan+"px";                floatzindx();                 	floatjbtype=0;        if(floattam==0){floatdevam("floatDoBlindY",4000);}        else{floattimeo=setTimeout('floatDoBlindY()',4000);}        }    else    {        setTimeout('floatDoBlindY()',50);        } }function floatinitte2(){	floatthumbs_obj=document.getElementById('floatthumbsid');	floatmoving_obj=document.getElementById('floatmovingdiv');	floatvssdiv=document.getElementById("floatdv");	if(8>0)	{		floatobjc=document.getElementById('floatd'+0);			floatobjc.style.visibility="visible";		}	if(8>1)	{		floatvcurr=0;		floatvnext=0;		floatrealcurrent=0;        if(floatfademi==0)        {			floatvcurr=0;			floatvnext=1;			floatrealcurrent=0;			setTimeout('floatdotrans()',4000);                }        else if(floatfademi==1)        {            if(IEB==true)            {	    		floatSonraki();			floatShowCurrentDesc();			floatHighlightCurrTumb();	    		floatdevam("floatdotrans",4000);                       }            else            {	    		floatSonraki();			floatShowCurrentDesc();			floatHighlightCurrTumb();	    		floatdevam("floatbeftrans",4000);                        }        }         else if(floatfademi==2)        {		floatkalan=floaticwidth;     		floatSonraki();		floatrealcurrent=0;		floatShowCurrentDesc();		floatHighlightCurrTumb();		floatobjn.style.left=""+floatkalan+"px";          			floatzindx();            		floatdevam("floatDoSlide",4000);		   	                }        else if(floatfademi==3)        {		floatkalan=floaticheight;            		floatSonraki();		floatrealcurrent=0;		floatShowCurrentDesc();		floatHighlightCurrTumb();		floatobjn.style.top=""+floatkalan+"px";            			floatzindx();                        		floatdevam("floatDoScrollUp",4000);               }                  else if(floatfademi==4)        {                        floatkalan=floaticwidth;                        floatSonraki();		floatrealcurrent=0;		floatShowCurrentDesc();floatHighlightCurrTumb();        	floatobjn.style.left=""+floatkalan+"px";	            	            floatzindx();                                   floatdevam("floatDoBlindX",4000);                 }            else if(floatfademi==5)        {                        floatkalan=floaticheight;                        floatSonraki();		floatrealcurrent=0;		floatShowCurrentDesc();floatHighlightCurrTumb();        	floatobjn.style.top=""+floatkalan+"px";            	            floatzindx();                                  floatdevam("floatDoBlindY",4000);                 }												}}function floatinitte(){	i=0;	innertxt="";	for(i=0;i<8;i++)	{		innertxt=innertxt+dstr1+"floatd"+i+dstr2+dstr23+floatlinkstr[i]+dstr3+i+dstr4+floatimgstr[i]+dstr5+floatclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('floatdv');	spage.innerHTML=""+innertxt;    setTimeout('floatinitte2()',100);}function floatBas(){        floats=new floatsl();        floats.floatinitte();}setTimeout('floatBas()',100);
