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 comanches=null;var comanchedescgoster=0;var comanchethumbgoster=0;var comanchecwidth=0;var comanchecheight=0;var comanchecalc=0;var comanchetam=0;var comanchekalan=0;var comanchekalany=0;var comanchets="";var comancheds="";var comanchejbtype=0;var comancherealcurrent=0;var comanchetimeo=null;comanchethumbs_obj=null;comanchemoving_obj=null;comancheTotalThumbWidth=0;comancheTotalThumbHeight=0;comancheMoveIcWidth=0;var TBW=0;var CursorStr="default";var comancheDescCalcWidth=0;var comancheDescCalcHeight=0;var comancheDescCalcIcWidth=0;var comancheDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;comancheimgarr=new Array();comanchethumbimgstr=new Array();comancheimgstr=new Array();comanchelinkstr=new Array();comancheclslinkstr=new Array();comanchetitarr=new Array();comanchedesarr=new Array();comancheimgarr[0]=new Image();comancheimgarr[0].c=0;comancheimgarr[0].onload = comanchesecondcomplate;comancheimgarr[0].src=comanchefoldername+'1.jpg';comancheimgstr[0]=comanchefoldername+'1.jpg';comanchethumbimgstr[0]=comanchefoldername+'1.jpg';comanchelinkstr[0]='';comancheclslinkstr[0]='';comanchetitarr[0]="";comanchedesarr[0]="";comancheimgarr[1]=new Image();comancheimgarr[1].c=0;comancheimgarr[1].onload = comanchesecondcomplate;comancheimgarr[1].src=comanchefoldername+'2.jpg';comancheimgstr[1]=comanchefoldername+'2.jpg';comanchethumbimgstr[1]=comanchefoldername+'2.jpg';comanchelinkstr[1]='';comancheclslinkstr[1]='';comanchetitarr[1]="";comanchedesarr[1]="";comancheimgarr[2]=new Image();comancheimgarr[2].c=0;comancheimgarr[2].onload = comanchesecondcomplate;comancheimgarr[2].src=comanchefoldername+'3.jpg';comancheimgstr[2]=comanchefoldername+'3.jpg';comanchethumbimgstr[2]=comanchefoldername+'3.jpg';comanchelinkstr[2]='';comancheclslinkstr[2]='';comanchetitarr[2]="";comanchedesarr[2]="";comancheimgarr[3]=new Image();comancheimgarr[3].c=0;comancheimgarr[3].onload = comanchesecondcomplate;comancheimgarr[3].src=comanchefoldername+'4.jpg';comancheimgstr[3]=comanchefoldername+'4.jpg';comanchethumbimgstr[3]=comanchefoldername+'4.jpg';comanchelinkstr[3]='';comancheclslinkstr[3]='';comanchetitarr[3]="";comanchedesarr[3]="";comancheimgarr[4]=new Image();comancheimgarr[4].c=0;comancheimgarr[4].onload = comanchesecondcomplate;comancheimgarr[4].src=comanchefoldername+'5.jpg';comancheimgstr[4]=comanchefoldername+'5.jpg';comanchethumbimgstr[4]=comanchefoldername+'5.jpg';comanchelinkstr[4]='';comancheclslinkstr[4]='';comanchetitarr[4]="";comanchedesarr[4]="";comancheimgarr[5]=new Image();comancheimgarr[5].c=0;comancheimgarr[5].onload = comanchesecondcomplate;comancheimgarr[5].src=comanchefoldername+'last.jpg';comancheimgstr[5]=comanchefoldername+'last.jpg';comanchethumbimgstr[5]=comanchefoldername+'last.jpg';comanchelinkstr[5]='';comancheclslinkstr[5]='';comanchetitarr[5]="";comanchedesarr[5]="";if((IEB==true)&&(scompat == "BackCompat" )){    comanchecwidth=400;    comanchecheight=300;}else{    comanchecwidth=400-2*(0);    comanchecheight=300-2*(0);}var comancheicwidth=400-2*(0);var comancheicheight=300-2*(0);comancheDescCalcWidth=260;comancheDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	comancheDescCalcIcWidth=comancheDescCalcWidth;	comancheDescCalcIcHeight=comancheDescCalcHeight;}else{    comancheDescCalcIcWidth=comancheDescCalcWidth-2*(2)-2*(3);    comancheDescCalcIcHeight=comancheDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+comanchecwidth+'px;height:'+comanchecheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="comanchedv" style="position:relative;width:'+comancheicwidth+'px;height:'+comancheicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=comancheFadeBitti()'+'></div>');for(i=0;i<6;i++){	if(0==0){comancheds=comancheds+comanchelinkstr[i];if(comanchelinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	comancheds=comancheds+'<div id="comanchedesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+comancheDescCalcWidth+'px;height:'+comancheDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	comancheds=comancheds+'<div style="position:absolute;left:0px;top:0px;width:'+comancheDescCalcWidth+'px;height:'+comancheDescCalcHeight+'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>';	comancheds=comancheds+'<div style="position:relative;left:0px;top:0px;width:'+comancheDescCalcIcWidth+'px;height:'+comancheDescCalcIcHeight+'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;">';	comancheds=comancheds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+comanchetitarr[i]+'</span><br />'+comanchedesarr[i];	comancheds=comancheds+'</div>';	comancheds=comancheds+'</div>';	if(0==0){comancheds=comancheds+comancheclslinkstr[i];}	}document.write(''+comancheds);function comancheShowCurrentDesc(){	if((comanchedescgoster==1)&&( (comanchetitarr[comancherealcurrent].length>0) || (comanchedesarr[comancherealcurrent].length>0)  ))	{		after_des=document.getElementById('comanchedesc'+comancherealcurrent);		after_des.style.visibility="visible";		}}function comancheHideCurrentDesc(){	before_des=document.getElementById('comanchedesc'+comanchevcurr);	before_des.style.visibility="hidden";}function comancheHighlightCurrTumb(){	if((0==1)&&(0==0))	{		comanchebeforethumb=document.getElementById('comanchethumb'+comanchevcurr);		comancheafterthumb=document.getElementById('comanchethumb'+comancherealcurrent);		comanchebeforethumb.style.borderColor='999999';		comancheafterthumb.style.borderColor='990000';	}}document.write('</div>');function comanchezindx(){	comancheobjn.style.visibility="visible";	comancheobjc.style.zIndex=2;	comancheobjn.style.zIndex=3;    }function comancheThumbOut(tobj,nm){	if((comanchevcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function comancheThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function comancheSonrakiClick(c,n){	comanchevcurr=c;	comanchevnext=n;			comancheobjc=document.getElementById('comanched'+comanchevcurr);	comancheobjn=document.getElementById('comanched'+comanchevnext);}function comancheSonraki(){	comanchevcurr=comanchevnext;	comanchevnext=comanchevnext+1;		if(comanchevnext>=6)	{		comanchevnext=0;		comanchetam=1;	}		comancheobjc=document.getElementById('comanched'+comanchevcurr);	comancheobjn=document.getElementById('comanched'+comanchevnext);		      }function comanchesecondcomplate(){	this.c=1;}function comanchedevam(fm,pt){	if((comancheimgarr[comanchevnext].c==1)&&(comancheimgarr[comanchevcurr].c==1))	{		comanchetimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('comanchedevam("'+fm+'")',500);	}	var comanchecagain=1;	for(i=0;i<6;i++)	{		if(comancheimgarr[i].c==1){}		else{comanchecagain=0;}	}	if(comanchecagain==1){comanchetam=1;}}function ThumbClick(clicked_img,tobj){	if(comanchejbtype==1){return;}	clearTimeout(comanchetimeo);	comancheSonrakiClick(comancherealcurrent,clicked_img);	if(comanchefademi==1)        {            if(IEB==true)            {		if(comanchetam==0)		{	    		comanchedevam("comanchedotrans",4000);		}		else		{			comanchedotrans();		}            }            else            {		if(comanchetam==0)		{    			comanchedevam("comanchebeftrans",4000);		}		else		{			comanchebeftrans();		}            }        }	else if(comanchefademi==2)	{		if(comanchetam==0)		{ 			comanchedevam("comancheDoSlide",4000);		}		else		{			comancheDoSlide();		}	}	else if(comanchefademi==3)	{		if(comanchetam==0)		{ 			comanchedevam("comancheDoScrollUp",4000);		}		else		{			comancheDoScrollUp();		}	}	else if(comanchefademi==4)	{		if(comanchetam==0)		{ 			comanchedevam("comancheDoBlindX",4000);		}		else		{			comancheDoBlindX();		}	}	else if(comanchefademi==5)	{		if(comanchetam==0)		{ 			comanchedevam("comancheDoBlindY",4000);		}		else		{			comancheDoBlindY();		}	}	}function comanchesl(){comanchefademi=1;comanchevcurr=0;comanchevnext=0;comanchevssdiv=null;stepc=20*(2);comanchedif=0.00;comancheop=1.00;comanchedif=(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:'+comancheicwidth+'px;height:'+comancheicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="comancheimg';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.comanchedotrans=comanchedotrans;this.comancheinitte=comancheinitte;this.comancheinitte2=comancheinitte2;this.comanchebeftrans=comanchebeftrans;this.comanchedotransff=comanchedotransff;}function comancheFadeBitti(){	comanchejbtype=0;	comancheShowCurrentDesc();	}function comanchedotrans(){	comanchejbtype=1;	comancheHideCurrentDesc();	if(IEB==true){comanchevssdiv.filters[0].apply();}	comancheobjc.style.visibility="hidden";	comancheobjn.style.visibility="visible";	if(IEB==true){comanchevssdiv.filters[0].play();}	comancherealcurrent=comanchevnext;	comancheHighlightCurrTumb();	comancheSonraki();			if(comanchetam==0){comanchedevam("comanchedotrans",((1000*2)+4000));}	else	{		comanchetimeo=setTimeout('comanchedotrans()',((1000*2)+4000));	} 	}function comanchedotransff(){	comancheop=comancheop-comanchedif;		if(comancheop<(0.00)){comancheop=0.00;}	comancheobjc.style.opacity = comancheop;	comancheobjn.style.opacity = 1.00-comancheop;	if(comancheop>(0.00))	{		setTimeout('comanchedotransff()',50);	}	else	{		comancheobjc.style.zIndex=2;		comancheobjn.style.zIndex=3;		comancherealcurrent=comanchevnext;		comancheShowCurrentDesc();		comancheHighlightCurrTumb();				comancheSonraki();			        if(comanchetam==0){comanchedevam("comanchebeftrans",4000);}        	else {comanchetimeo=setTimeout('comanchebeftrans()',4000);}		comanchejbtype=0;  					}}function comanchebeftrans(){	comanchejbtype=1;	comancheHideCurrentDesc();    	comancheop=1.00;	comancheobjc.style.visibility="visible";	comancheobjn.style.visibility="visible";		comancheobjc.style.zIndex=3;	comancheobjn.style.zIndex=2;		comancheobjc.style.opacity = 1.00;		comancheobjn.style.opacity = 1.00;			comanchedotransff();	}function comancheDoSlide(){	comanchejbtype=1;	comancheHideCurrentDesc();	comanchekalan=comanchekalan-Math.ceil(comanchekalan/2);	comancheobjc.style.left=""+(comanchekalan-comancheicwidth)+"px";	comancheobjn.style.left=""+comanchekalan+"px";		if(comanchekalan<=0)	{		comancherealcurrent=comanchevnext;		comancheShowCurrentDesc();		comancheHighlightCurrTumb();    		comancheSonraki();		comanchekalan=comancheicwidth;		comancheobjn.style.left=""+comanchekalan+"px";	        		comanchezindx();          		comanchejbtype=0;        		if(comanchetam==0){comanchedevam("comancheDoSlide",4000);}		else {comanchetimeo=setTimeout('comancheDoSlide()',4000);}	}	else	{		setTimeout('comancheDoSlide()',50);    	} }function comancheDoScrollUp(){	comanchejbtype=1;	comancheHideCurrentDesc();	comanchekalan=comanchekalan-Math.ceil(comanchekalan/2);	comancheobjc.style.top=""+(comanchekalan-comancheicheight)+"px";	comancheobjn.style.top=""+comanchekalan+"px";	    if(comanchekalan<=0)    {	comancherealcurrent=comanchevnext;	comancheShowCurrentDesc();	comancheHighlightCurrTumb();        comancheSonraki();        comanchekalan=comancheicheight;	comancheobjn.style.top=""+comanchekalan+"px";	        comanchezindx();                 	comanchejbtype=0;        if(comanchetam==0){comanchedevam('comancheDoScrollUp',4000);}        else{comanchetimeo=setTimeout('comancheDoScrollUp()',4000);}        }    else    {        setTimeout('comancheDoScrollUp()',50);        }}function comancheDoBlindX(){	comanchejbtype=1;	comancheHideCurrentDesc();   	comanchekalan=comanchekalan-Math.ceil(comanchekalan/2);	comancheobjc.style.left=""+(comancheicwidth-comanchekalan)+"px";	comancheobjn.style.left=""+comanchekalan+"px";	    if(comanchekalan<=0)    {		comancherealcurrent=comanchevnext;		comancheShowCurrentDesc();	comancheHighlightCurrTumb();            comancheSonraki();        comanchekalan=comancheicwidth;	comancheobjn.style.left=""+comanchekalan+"px";		    	        comanchezindx();	comanchejbtype=0;                  if(comanchetam==0){comanchedevam("comancheDoBlindX",4000);}        else{comanchetimeo=setTimeout('comancheDoBlindX()',4000);}    }    else    {        setTimeout('comancheDoBlindX()',50);        }}function comancheDoBlindY(){	comanchejbtype=1;	comancheHideCurrentDesc();  	comanchekalan=comanchekalan-Math.ceil(comanchekalan/2);	comancheobjc.style.top=""+(comancheicheight-comanchekalan)+"px";	comancheobjn.style.top=""+comanchekalan+"px";	    if(comanchekalan<=0)    {		comancherealcurrent=comanchevnext;		comancheShowCurrentDesc();comancheHighlightCurrTumb();        comancheSonraki();        comanchekalan=comancheicheight;	    comancheobjn.style.top=""+comanchekalan+"px";                comanchezindx();                 	comanchejbtype=0;        if(comanchetam==0){comanchedevam("comancheDoBlindY",4000);}        else{comanchetimeo=setTimeout('comancheDoBlindY()',4000);}        }    else    {        setTimeout('comancheDoBlindY()',50);        } }function comancheinitte2(){	comanchethumbs_obj=document.getElementById('comanchethumbsid');	comanchemoving_obj=document.getElementById('comanchemovingdiv');	comanchevssdiv=document.getElementById("comanchedv");	if(6>0)	{		comancheobjc=document.getElementById('comanched'+0);			comancheobjc.style.visibility="visible";		}	if(6>1)	{		comanchevcurr=0;		comanchevnext=0;		comancherealcurrent=0;        if(comanchefademi==0)        {			comanchevcurr=0;			comanchevnext=1;			comancherealcurrent=0;			setTimeout('comanchedotrans()',4000);                }        else if(comanchefademi==1)        {            if(IEB==true)            {	    		comancheSonraki();			comancheShowCurrentDesc();			comancheHighlightCurrTumb();	    		comanchedevam("comanchedotrans",4000);                       }            else            {	    		comancheSonraki();			comancheShowCurrentDesc();			comancheHighlightCurrTumb();	    		comanchedevam("comanchebeftrans",4000);                        }        }         else if(comanchefademi==2)        {		comanchekalan=comancheicwidth;     		comancheSonraki();		comancherealcurrent=0;		comancheShowCurrentDesc();		comancheHighlightCurrTumb();		comancheobjn.style.left=""+comanchekalan+"px";          			comanchezindx();            		comanchedevam("comancheDoSlide",4000);		   	                }        else if(comanchefademi==3)        {		comanchekalan=comancheicheight;            		comancheSonraki();		comancherealcurrent=0;		comancheShowCurrentDesc();		comancheHighlightCurrTumb();		comancheobjn.style.top=""+comanchekalan+"px";            			comanchezindx();                        		comanchedevam("comancheDoScrollUp",4000);               }                  else if(comanchefademi==4)        {                        comanchekalan=comancheicwidth;                        comancheSonraki();		comancherealcurrent=0;		comancheShowCurrentDesc();comancheHighlightCurrTumb();        	comancheobjn.style.left=""+comanchekalan+"px";	            	            comanchezindx();                                   comanchedevam("comancheDoBlindX",4000);                 }            else if(comanchefademi==5)        {                        comanchekalan=comancheicheight;                        comancheSonraki();		comancherealcurrent=0;		comancheShowCurrentDesc();comancheHighlightCurrTumb();        	comancheobjn.style.top=""+comanchekalan+"px";            	            comanchezindx();                                  comanchedevam("comancheDoBlindY",4000);                 }												}}function comancheinitte(){	i=0;	innertxt="";	for(i=0;i<6;i++)	{		innertxt=innertxt+dstr1+"comanched"+i+dstr2+dstr23+comanchelinkstr[i]+dstr3+i+dstr4+comancheimgstr[i]+dstr5+comancheclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('comanchedv');	spage.innerHTML=""+innertxt;    setTimeout('comancheinitte2()',100);}function comancheBas(){        comanches=new comanchesl();        comanches.comancheinitte();}setTimeout('comancheBas()',100);
