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 shadess=null;var shadesdescgoster=0;var shadesthumbgoster=0;var shadescwidth=0;var shadescheight=0;var shadescalc=0;var shadestam=0;var shadeskalan=0;var shadeskalany=0;var shadests="";var shadesds="";var shadesjbtype=0;var shadesrealcurrent=0;var shadestimeo=null;shadesthumbs_obj=null;shadesmoving_obj=null;shadesTotalThumbWidth=0;shadesTotalThumbHeight=0;shadesMoveIcWidth=0;var TBW=0;var CursorStr="default";var shadesDescCalcWidth=0;var shadesDescCalcHeight=0;var shadesDescCalcIcWidth=0;var shadesDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;shadesimgarr=new Array();shadesthumbimgstr=new Array();shadesimgstr=new Array();shadeslinkstr=new Array();shadesclslinkstr=new Array();shadestitarr=new Array();shadesdesarr=new Array();shadesimgarr[0]=new Image();shadesimgarr[0].c=0;shadesimgarr[0].onload = shadessecondcomplate;shadesimgarr[0].src=shadesfoldername+'wovenwoodshades1.jpg';shadesimgstr[0]=shadesfoldername+'wovenwoodshades1.jpg';shadesthumbimgstr[0]=shadesfoldername+'wovenwoodshades1.jpg';shadeslinkstr[0]='';shadesclslinkstr[0]='';shadestitarr[0]="";shadesdesarr[0]="";shadesimgarr[1]=new Image();shadesimgarr[1].c=0;shadesimgarr[1].onload = shadessecondcomplate;shadesimgarr[1].src=shadesfoldername+'wovenwoodshades2.jpg';shadesimgstr[1]=shadesfoldername+'wovenwoodshades2.jpg';shadesthumbimgstr[1]=shadesfoldername+'wovenwoodshades2.jpg';shadeslinkstr[1]='';shadesclslinkstr[1]='';shadestitarr[1]="";shadesdesarr[1]="";shadesimgarr[2]=new Image();shadesimgarr[2].c=0;shadesimgarr[2].onload = shadessecondcomplate;shadesimgarr[2].src=shadesfoldername+'wovenwoodshades3.jpg';shadesimgstr[2]=shadesfoldername+'wovenwoodshades3.jpg';shadesthumbimgstr[2]=shadesfoldername+'wovenwoodshades3.jpg';shadeslinkstr[2]='';shadesclslinkstr[2]='';shadestitarr[2]="";shadesdesarr[2]="";shadesimgarr[3]=new Image();shadesimgarr[3].c=0;shadesimgarr[3].onload = shadessecondcomplate;shadesimgarr[3].src=shadesfoldername+'wovenwoodshades4.jpg';shadesimgstr[3]=shadesfoldername+'wovenwoodshades4.jpg';shadesthumbimgstr[3]=shadesfoldername+'wovenwoodshades4.jpg';shadeslinkstr[3]='';shadesclslinkstr[3]='';shadestitarr[3]="";shadesdesarr[3]="";shadesimgarr[4]=new Image();shadesimgarr[4].c=0;shadesimgarr[4].onload = shadessecondcomplate;shadesimgarr[4].src=shadesfoldername+'wovenwoodshades5.jpg';shadesimgstr[4]=shadesfoldername+'wovenwoodshades5.jpg';shadesthumbimgstr[4]=shadesfoldername+'wovenwoodshades5.jpg';shadeslinkstr[4]='';shadesclslinkstr[4]='';shadestitarr[4]="";shadesdesarr[4]="";shadesimgarr[5]=new Image();shadesimgarr[5].c=0;shadesimgarr[5].onload = shadessecondcomplate;shadesimgarr[5].src=shadesfoldername+'wovenwoodshades.jpg';shadesimgstr[5]=shadesfoldername+'wovenwoodshades.jpg';shadesthumbimgstr[5]=shadesfoldername+'wovenwoodshades.jpg';shadeslinkstr[5]='';shadesclslinkstr[5]='';shadestitarr[5]="";shadesdesarr[5]="";if((IEB==true)&&(scompat == "BackCompat" )){    shadescwidth=210;    shadescheight=120;}else{    shadescwidth=210-2*(0);    shadescheight=120-2*(0);}var shadesicwidth=210-2*(0);var shadesicheight=120-2*(0);shadesDescCalcWidth=260;shadesDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	shadesDescCalcIcWidth=shadesDescCalcWidth;	shadesDescCalcIcHeight=shadesDescCalcHeight;}else{    shadesDescCalcIcWidth=shadesDescCalcWidth-2*(2)-2*(3);    shadesDescCalcIcHeight=shadesDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+shadescwidth+'px;height:'+shadescheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="shadesdv" style="position:relative;width:'+shadesicwidth+'px;height:'+shadesicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=3,enabled=false);'+'"'+' onfilterchange=shadesFadeBitti()'+'></div>');for(i=0;i<6;i++){	if(0==0){shadesds=shadesds+shadeslinkstr[i];if(shadeslinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	shadesds=shadesds+'<div id="shadesdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+shadesDescCalcWidth+'px;height:'+shadesDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	shadesds=shadesds+'<div style="position:absolute;left:0px;top:0px;width:'+shadesDescCalcWidth+'px;height:'+shadesDescCalcHeight+'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>';	shadesds=shadesds+'<div style="position:relative;left:0px;top:0px;width:'+shadesDescCalcIcWidth+'px;height:'+shadesDescCalcIcHeight+'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;">';	shadesds=shadesds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+shadestitarr[i]+'</span><br />'+shadesdesarr[i];	shadesds=shadesds+'</div>';	shadesds=shadesds+'</div>';	if(0==0){shadesds=shadesds+shadesclslinkstr[i];}	}document.write(''+shadesds);function shadesShowCurrentDesc(){	if((shadesdescgoster==1)&&( (shadestitarr[shadesrealcurrent].length>0) || (shadesdesarr[shadesrealcurrent].length>0)  ))	{		after_des=document.getElementById('shadesdesc'+shadesrealcurrent);		after_des.style.visibility="visible";		}}function shadesHideCurrentDesc(){	before_des=document.getElementById('shadesdesc'+shadesvcurr);	before_des.style.visibility="hidden";}function shadesHighlightCurrTumb(){	if((0==1)&&(0==0))	{		shadesbeforethumb=document.getElementById('shadesthumb'+shadesvcurr);		shadesafterthumb=document.getElementById('shadesthumb'+shadesrealcurrent);		shadesbeforethumb.style.borderColor='999999';		shadesafterthumb.style.borderColor='990000';	}}document.write('</div>');function shadeszindx(){	shadesobjn.style.visibility="visible";	shadesobjc.style.zIndex=2;	shadesobjn.style.zIndex=3;    }function shadesThumbOut(tobj,nm){	if((shadesvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function shadesThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function shadesSonrakiClick(c,n){	shadesvcurr=c;	shadesvnext=n;			shadesobjc=document.getElementById('shadesd'+shadesvcurr);	shadesobjn=document.getElementById('shadesd'+shadesvnext);}function shadesSonraki(){	shadesvcurr=shadesvnext;	shadesvnext=shadesvnext+1;		if(shadesvnext>=6)	{		shadesvnext=0;		shadestam=1;	}		shadesobjc=document.getElementById('shadesd'+shadesvcurr);	shadesobjn=document.getElementById('shadesd'+shadesvnext);		      }function shadessecondcomplate(){	this.c=1;}function shadesdevam(fm,pt){	if((shadesimgarr[shadesvnext].c==1)&&(shadesimgarr[shadesvcurr].c==1))	{		shadestimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('shadesdevam("'+fm+'")',500);	}	var shadescagain=1;	for(i=0;i<6;i++)	{		if(shadesimgarr[i].c==1){}		else{shadescagain=0;}	}	if(shadescagain==1){shadestam=1;}}function ThumbClick(clicked_img,tobj){	if(shadesjbtype==1){return;}	clearTimeout(shadestimeo);	shadesSonrakiClick(shadesrealcurrent,clicked_img);	if(shadesfademi==1)        {            if(IEB==true)            {		if(shadestam==0)		{	    		shadesdevam("shadesdotrans",4000);		}		else		{			shadesdotrans();		}            }            else            {		if(shadestam==0)		{    			shadesdevam("shadesbeftrans",4000);		}		else		{			shadesbeftrans();		}            }        }	else if(shadesfademi==2)	{		if(shadestam==0)		{ 			shadesdevam("shadesDoSlide",4000);		}		else		{			shadesDoSlide();		}	}	else if(shadesfademi==3)	{		if(shadestam==0)		{ 			shadesdevam("shadesDoScrollUp",4000);		}		else		{			shadesDoScrollUp();		}	}	else if(shadesfademi==4)	{		if(shadestam==0)		{ 			shadesdevam("shadesDoBlindX",4000);		}		else		{			shadesDoBlindX();		}	}	else if(shadesfademi==5)	{		if(shadestam==0)		{ 			shadesdevam("shadesDoBlindY",4000);		}		else		{			shadesDoBlindY();		}	}	}function shadessl(){shadesfademi=1;shadesvcurr=0;shadesvnext=0;shadesvssdiv=null;stepc=20*(3);shadesdif=0.00;shadesop=1.00;shadesdif=(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:'+shadesicwidth+'px;height:'+shadesicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="shadesimg';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.shadesdotrans=shadesdotrans;this.shadesinitte=shadesinitte;this.shadesinitte2=shadesinitte2;this.shadesbeftrans=shadesbeftrans;this.shadesdotransff=shadesdotransff;}function shadesFadeBitti(){	shadesjbtype=0;	shadesShowCurrentDesc();	}function shadesdotrans(){	shadesjbtype=1;	shadesHideCurrentDesc();	if(IEB==true){shadesvssdiv.filters[0].apply();}	shadesobjc.style.visibility="hidden";	shadesobjn.style.visibility="visible";	if(IEB==true){shadesvssdiv.filters[0].play();}	shadesrealcurrent=shadesvnext;	shadesHighlightCurrTumb();	shadesSonraki();			if(shadestam==0){shadesdevam("shadesdotrans",((1000*3)+4000));}	else	{		shadestimeo=setTimeout('shadesdotrans()',((1000*3)+4000));	} 	}function shadesdotransff(){	shadesop=shadesop-shadesdif;		if(shadesop<(0.00)){shadesop=0.00;}	shadesobjc.style.opacity = shadesop;	shadesobjn.style.opacity = 1.00-shadesop;	if(shadesop>(0.00))	{		setTimeout('shadesdotransff()',50);	}	else	{		shadesobjc.style.zIndex=2;		shadesobjn.style.zIndex=3;		shadesrealcurrent=shadesvnext;		shadesShowCurrentDesc();		shadesHighlightCurrTumb();				shadesSonraki();			        if(shadestam==0){shadesdevam("shadesbeftrans",4000);}        	else {shadestimeo=setTimeout('shadesbeftrans()',4000);}		shadesjbtype=0;  					}}function shadesbeftrans(){	shadesjbtype=1;	shadesHideCurrentDesc();    	shadesop=1.00;	shadesobjc.style.visibility="visible";	shadesobjn.style.visibility="visible";		shadesobjc.style.zIndex=3;	shadesobjn.style.zIndex=2;		shadesobjc.style.opacity = 1.00;		shadesobjn.style.opacity = 1.00;			shadesdotransff();	}function shadesDoSlide(){	shadesjbtype=1;	shadesHideCurrentDesc();	shadeskalan=shadeskalan-Math.ceil(shadeskalan/3);	shadesobjc.style.left=""+(shadeskalan-shadesicwidth)+"px";	shadesobjn.style.left=""+shadeskalan+"px";		if(shadeskalan<=0)	{		shadesrealcurrent=shadesvnext;		shadesShowCurrentDesc();		shadesHighlightCurrTumb();    		shadesSonraki();		shadeskalan=shadesicwidth;		shadesobjn.style.left=""+shadeskalan+"px";	        		shadeszindx();          		shadesjbtype=0;        		if(shadestam==0){shadesdevam("shadesDoSlide",4000);}		else {shadestimeo=setTimeout('shadesDoSlide()',4000);}	}	else	{		setTimeout('shadesDoSlide()',50);    	} }function shadesDoScrollUp(){	shadesjbtype=1;	shadesHideCurrentDesc();	shadeskalan=shadeskalan-Math.ceil(shadeskalan/3);	shadesobjc.style.top=""+(shadeskalan-shadesicheight)+"px";	shadesobjn.style.top=""+shadeskalan+"px";	    if(shadeskalan<=0)    {	shadesrealcurrent=shadesvnext;	shadesShowCurrentDesc();	shadesHighlightCurrTumb();        shadesSonraki();        shadeskalan=shadesicheight;	shadesobjn.style.top=""+shadeskalan+"px";	        shadeszindx();                 	shadesjbtype=0;        if(shadestam==0){shadesdevam('shadesDoScrollUp',4000);}        else{shadestimeo=setTimeout('shadesDoScrollUp()',4000);}        }    else    {        setTimeout('shadesDoScrollUp()',50);        }}function shadesDoBlindX(){	shadesjbtype=1;	shadesHideCurrentDesc();   	shadeskalan=shadeskalan-Math.ceil(shadeskalan/3);	shadesobjc.style.left=""+(shadesicwidth-shadeskalan)+"px";	shadesobjn.style.left=""+shadeskalan+"px";	    if(shadeskalan<=0)    {		shadesrealcurrent=shadesvnext;		shadesShowCurrentDesc();	shadesHighlightCurrTumb();            shadesSonraki();        shadeskalan=shadesicwidth;	shadesobjn.style.left=""+shadeskalan+"px";		    	        shadeszindx();	shadesjbtype=0;                  if(shadestam==0){shadesdevam("shadesDoBlindX",4000);}        else{shadestimeo=setTimeout('shadesDoBlindX()',4000);}    }    else    {        setTimeout('shadesDoBlindX()',50);        }}function shadesDoBlindY(){	shadesjbtype=1;	shadesHideCurrentDesc();  	shadeskalan=shadeskalan-Math.ceil(shadeskalan/3);	shadesobjc.style.top=""+(shadesicheight-shadeskalan)+"px";	shadesobjn.style.top=""+shadeskalan+"px";	    if(shadeskalan<=0)    {		shadesrealcurrent=shadesvnext;		shadesShowCurrentDesc();shadesHighlightCurrTumb();        shadesSonraki();        shadeskalan=shadesicheight;	    shadesobjn.style.top=""+shadeskalan+"px";                shadeszindx();                 	shadesjbtype=0;        if(shadestam==0){shadesdevam("shadesDoBlindY",4000);}        else{shadestimeo=setTimeout('shadesDoBlindY()',4000);}        }    else    {        setTimeout('shadesDoBlindY()',50);        } }function shadesinitte2(){	shadesthumbs_obj=document.getElementById('shadesthumbsid');	shadesmoving_obj=document.getElementById('shadesmovingdiv');	shadesvssdiv=document.getElementById("shadesdv");	if(6>0)	{		shadesobjc=document.getElementById('shadesd'+0);			shadesobjc.style.visibility="visible";		}	if(6>1)	{		shadesvcurr=0;		shadesvnext=0;		shadesrealcurrent=0;        if(shadesfademi==0)        {			shadesvcurr=0;			shadesvnext=1;			shadesrealcurrent=0;			setTimeout('shadesdotrans()',4000);                }        else if(shadesfademi==1)        {            if(IEB==true)            {	    		shadesSonraki();			shadesShowCurrentDesc();			shadesHighlightCurrTumb();	    		shadesdevam("shadesdotrans",4000);                       }            else            {	    		shadesSonraki();			shadesShowCurrentDesc();			shadesHighlightCurrTumb();	    		shadesdevam("shadesbeftrans",4000);                        }        }         else if(shadesfademi==2)        {		shadeskalan=shadesicwidth;     		shadesSonraki();		shadesrealcurrent=0;		shadesShowCurrentDesc();		shadesHighlightCurrTumb();		shadesobjn.style.left=""+shadeskalan+"px";          			shadeszindx();            		shadesdevam("shadesDoSlide",4000);		   	                }        else if(shadesfademi==3)        {		shadeskalan=shadesicheight;            		shadesSonraki();		shadesrealcurrent=0;		shadesShowCurrentDesc();		shadesHighlightCurrTumb();		shadesobjn.style.top=""+shadeskalan+"px";            			shadeszindx();                        		shadesdevam("shadesDoScrollUp",4000);               }                  else if(shadesfademi==4)        {                        shadeskalan=shadesicwidth;                        shadesSonraki();		shadesrealcurrent=0;		shadesShowCurrentDesc();shadesHighlightCurrTumb();        	shadesobjn.style.left=""+shadeskalan+"px";	            	            shadeszindx();                                   shadesdevam("shadesDoBlindX",4000);                 }            else if(shadesfademi==5)        {                        shadeskalan=shadesicheight;                        shadesSonraki();		shadesrealcurrent=0;		shadesShowCurrentDesc();shadesHighlightCurrTumb();        	shadesobjn.style.top=""+shadeskalan+"px";            	            shadeszindx();                                  shadesdevam("shadesDoBlindY",4000);                 }												}}function shadesinitte(){	i=0;	innertxt="";	for(i=0;i<6;i++)	{		innertxt=innertxt+dstr1+"shadesd"+i+dstr2+dstr23+shadeslinkstr[i]+dstr3+i+dstr4+shadesimgstr[i]+dstr5+shadesclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('shadesdv');	spage.innerHTML=""+innertxt;    setTimeout('shadesinitte2()',100);}function shadesBas(){        shadess=new shadessl();        shadess.shadesinitte();}setTimeout('shadesBas()',100);