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 therapies=null;var therapiedescgoster=0;var therapiethumbgoster=0;var therapiecwidth=0;var therapiecheight=0;var therapiecalc=0;var therapietam=0;var therapiekalan=0;var therapiekalany=0;var therapiets="";var therapieds="";var therapiejbtype=0;var therapierealcurrent=0;var therapietimeo=null;therapiethumbs_obj=null;therapiemoving_obj=null;therapieTotalThumbWidth=0;therapieTotalThumbHeight=0;therapieMoveIcWidth=0;var TBW=0;var CursorStr="default";var therapieDescCalcWidth=0;var therapieDescCalcHeight=0;var therapieDescCalcIcWidth=0;var therapieDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;therapieimgarr=new Array();therapiethumbimgstr=new Array();therapieimgstr=new Array();therapielinkstr=new Array();therapieclslinkstr=new Array();therapietitarr=new Array();therapiedesarr=new Array();therapieimgarr[0]=new Image();therapieimgarr[0].c=0;therapieimgarr[0].onload = therapiesecondcomplate;therapieimgarr[0].src=therapiefoldername+'eyes_1.jpg';therapieimgstr[0]=therapiefoldername+'eyes_1.jpg';therapiethumbimgstr[0]=therapiefoldername+'eyes_1.jpg';therapielinkstr[0]='';therapieclslinkstr[0]='';therapietitarr[0]="";therapiedesarr[0]="";therapieimgarr[1]=new Image();therapieimgarr[1].c=0;therapieimgarr[1].onload = therapiesecondcomplate;therapieimgarr[1].src=therapiefoldername+'eyes_2.jpg';therapieimgstr[1]=therapiefoldername+'eyes_2.jpg';therapiethumbimgstr[1]=therapiefoldername+'eyes_2.jpg';therapielinkstr[1]='';therapieclslinkstr[1]='';therapietitarr[1]="";therapiedesarr[1]="";if((IEB==true)&&(scompat == "BackCompat" )){    therapiecwidth=586;    therapiecheight=148;}else{    therapiecwidth=586-2*(0);    therapiecheight=148-2*(0);}var therapieicwidth=586-2*(0);var therapieicheight=148-2*(0);therapieDescCalcWidth=260;therapieDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	therapieDescCalcIcWidth=therapieDescCalcWidth;	therapieDescCalcIcHeight=therapieDescCalcHeight;}else{    therapieDescCalcIcWidth=therapieDescCalcWidth-2*(2)-2*(3);    therapieDescCalcIcHeight=therapieDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+therapiecwidth+'px;height:'+therapiecheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="therapiedv" style="position:relative;width:'+therapieicwidth+'px;height:'+therapieicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=therapieFadeBitti()'+'></div>');for(i=0;i<2;i++){	if(0==0){therapieds=therapieds+therapielinkstr[i];if(therapielinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	therapieds=therapieds+'<div id="therapiedesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+therapieDescCalcWidth+'px;height:'+therapieDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	therapieds=therapieds+'<div style="position:absolute;left:0px;top:0px;width:'+therapieDescCalcWidth+'px;height:'+therapieDescCalcHeight+'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>';	therapieds=therapieds+'<div style="position:relative;left:0px;top:0px;width:'+therapieDescCalcIcWidth+'px;height:'+therapieDescCalcIcHeight+'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;">';	therapieds=therapieds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+therapietitarr[i]+'</span><br />'+therapiedesarr[i];	therapieds=therapieds+'</div>';	therapieds=therapieds+'</div>';	if(0==0){therapieds=therapieds+therapieclslinkstr[i];}	}document.write(''+therapieds);function therapieShowCurrentDesc(){	if((therapiedescgoster==1)&&( (therapietitarr[therapierealcurrent].length>0) || (therapiedesarr[therapierealcurrent].length>0)  ))	{		after_des=document.getElementById('therapiedesc'+therapierealcurrent);		after_des.style.visibility="visible";		}}function therapieHideCurrentDesc(){	before_des=document.getElementById('therapiedesc'+therapievcurr);	before_des.style.visibility="hidden";}function therapieHighlightCurrTumb(){	if((0==1)&&(0==0))	{		therapiebeforethumb=document.getElementById('therapiethumb'+therapievcurr);		therapieafterthumb=document.getElementById('therapiethumb'+therapierealcurrent);		therapiebeforethumb.style.borderColor='999999';		therapieafterthumb.style.borderColor='990000';	}}document.write('</div>');function therapiezindx(){	therapieobjn.style.visibility="visible";	therapieobjc.style.zIndex=2;	therapieobjn.style.zIndex=3;    }function therapieThumbOut(tobj,nm){	if((therapievcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function therapieThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function therapieSonrakiClick(c,n){	therapievcurr=c;	therapievnext=n;			therapieobjc=document.getElementById('therapied'+therapievcurr);	therapieobjn=document.getElementById('therapied'+therapievnext);}function therapieSonraki(){	therapievcurr=therapievnext;	therapievnext=therapievnext+1;		if(therapievnext>=2)	{		therapievnext=0;		therapietam=1;	}		therapieobjc=document.getElementById('therapied'+therapievcurr);	therapieobjn=document.getElementById('therapied'+therapievnext);		      }function therapiesecondcomplate(){	this.c=1;}function therapiedevam(fm,pt){	if((therapieimgarr[therapievnext].c==1)&&(therapieimgarr[therapievcurr].c==1))	{		therapietimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('therapiedevam("'+fm+'")',500);	}	var therapiecagain=1;	for(i=0;i<2;i++)	{		if(therapieimgarr[i].c==1){}		else{therapiecagain=0;}	}	if(therapiecagain==1){therapietam=1;}}function ThumbClick(clicked_img,tobj){	if(therapiejbtype==1){return;}	clearTimeout(therapietimeo);	therapieSonrakiClick(therapierealcurrent,clicked_img);	if(therapiefademi==1)        {            if(IEB==true)            {		if(therapietam==0)		{	    		therapiedevam("therapiedotrans",3000);		}		else		{			therapiedotrans();		}            }            else            {		if(therapietam==0)		{    			therapiedevam("therapiebeftrans",3000);		}		else		{			therapiebeftrans();		}            }        }	else if(therapiefademi==2)	{		if(therapietam==0)		{ 			therapiedevam("therapieDoSlide",3000);		}		else		{			therapieDoSlide();		}	}	else if(therapiefademi==3)	{		if(therapietam==0)		{ 			therapiedevam("therapieDoScrollUp",3000);		}		else		{			therapieDoScrollUp();		}	}	else if(therapiefademi==4)	{		if(therapietam==0)		{ 			therapiedevam("therapieDoBlindX",3000);		}		else		{			therapieDoBlindX();		}	}	else if(therapiefademi==5)	{		if(therapietam==0)		{ 			therapiedevam("therapieDoBlindY",3000);		}		else		{			therapieDoBlindY();		}	}	}function therapiesl(){therapiefademi=1;therapievcurr=0;therapievnext=0;therapievssdiv=null;stepc=20*(2);therapiedif=0.00;therapieop=1.00;therapiedif=(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:'+therapieicwidth+'px;height:'+therapieicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="therapieimg';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.therapiedotrans=therapiedotrans;this.therapieinitte=therapieinitte;this.therapieinitte2=therapieinitte2;this.therapiebeftrans=therapiebeftrans;this.therapiedotransff=therapiedotransff;}function therapieFadeBitti(){	therapiejbtype=0;	therapieShowCurrentDesc();	}function therapiedotrans(){	therapiejbtype=1;	therapieHideCurrentDesc();	if(IEB==true){therapievssdiv.filters[0].apply();}	therapieobjc.style.visibility="hidden";	therapieobjn.style.visibility="visible";	if(IEB==true){therapievssdiv.filters[0].play();}	therapierealcurrent=therapievnext;	therapieHighlightCurrTumb();	therapieSonraki();			if(therapietam==0){therapiedevam("therapiedotrans",((1000*2)+3000));}	else	{		therapietimeo=setTimeout('therapiedotrans()',((1000*2)+3000));	} 	}function therapiedotransff(){	therapieop=therapieop-therapiedif;		if(therapieop<(0.00)){therapieop=0.00;}	therapieobjc.style.opacity = therapieop;	therapieobjn.style.opacity = 1.00-therapieop;	if(therapieop>(0.00))	{		setTimeout('therapiedotransff()',50);	}	else	{		therapieobjc.style.zIndex=2;		therapieobjn.style.zIndex=3;		therapierealcurrent=therapievnext;		therapieShowCurrentDesc();		therapieHighlightCurrTumb();				therapieSonraki();			        if(therapietam==0){therapiedevam("therapiebeftrans",3000);}        	else {therapietimeo=setTimeout('therapiebeftrans()',3000);}		therapiejbtype=0;  					}}function therapiebeftrans(){	therapiejbtype=1;	therapieHideCurrentDesc();    	therapieop=1.00;	therapieobjc.style.visibility="visible";	therapieobjn.style.visibility="visible";		therapieobjc.style.zIndex=3;	therapieobjn.style.zIndex=2;		therapieobjc.style.opacity = 1.00;		therapieobjn.style.opacity = 1.00;			therapiedotransff();	}function therapieDoSlide(){	therapiejbtype=1;	therapieHideCurrentDesc();	therapiekalan=therapiekalan-Math.ceil(therapiekalan/2);	therapieobjc.style.left=""+(therapiekalan-therapieicwidth)+"px";	therapieobjn.style.left=""+therapiekalan+"px";		if(therapiekalan<=0)	{		therapierealcurrent=therapievnext;		therapieShowCurrentDesc();		therapieHighlightCurrTumb();    		therapieSonraki();		therapiekalan=therapieicwidth;		therapieobjn.style.left=""+therapiekalan+"px";	        		therapiezindx();          		therapiejbtype=0;        		if(therapietam==0){therapiedevam("therapieDoSlide",3000);}		else {therapietimeo=setTimeout('therapieDoSlide()',3000);}	}	else	{		setTimeout('therapieDoSlide()',50);    	} }function therapieDoScrollUp(){	therapiejbtype=1;	therapieHideCurrentDesc();	therapiekalan=therapiekalan-Math.ceil(therapiekalan/2);	therapieobjc.style.top=""+(therapiekalan-therapieicheight)+"px";	therapieobjn.style.top=""+therapiekalan+"px";	    if(therapiekalan<=0)    {	therapierealcurrent=therapievnext;	therapieShowCurrentDesc();	therapieHighlightCurrTumb();        therapieSonraki();        therapiekalan=therapieicheight;	therapieobjn.style.top=""+therapiekalan+"px";	        therapiezindx();                 	therapiejbtype=0;        if(therapietam==0){therapiedevam('therapieDoScrollUp',3000);}        else{therapietimeo=setTimeout('therapieDoScrollUp()',3000);}        }    else    {        setTimeout('therapieDoScrollUp()',50);        }}function therapieDoBlindX(){	therapiejbtype=1;	therapieHideCurrentDesc();   	therapiekalan=therapiekalan-Math.ceil(therapiekalan/2);	therapieobjc.style.left=""+(therapieicwidth-therapiekalan)+"px";	therapieobjn.style.left=""+therapiekalan+"px";	    if(therapiekalan<=0)    {		therapierealcurrent=therapievnext;		therapieShowCurrentDesc();	therapieHighlightCurrTumb();            therapieSonraki();        therapiekalan=therapieicwidth;	therapieobjn.style.left=""+therapiekalan+"px";		    	        therapiezindx();	therapiejbtype=0;                  if(therapietam==0){therapiedevam("therapieDoBlindX",3000);}        else{therapietimeo=setTimeout('therapieDoBlindX()',3000);}    }    else    {        setTimeout('therapieDoBlindX()',50);        }}function therapieDoBlindY(){	therapiejbtype=1;	therapieHideCurrentDesc();  	therapiekalan=therapiekalan-Math.ceil(therapiekalan/2);	therapieobjc.style.top=""+(therapieicheight-therapiekalan)+"px";	therapieobjn.style.top=""+therapiekalan+"px";	    if(therapiekalan<=0)    {		therapierealcurrent=therapievnext;		therapieShowCurrentDesc();therapieHighlightCurrTumb();        therapieSonraki();        therapiekalan=therapieicheight;	    therapieobjn.style.top=""+therapiekalan+"px";                therapiezindx();                 	therapiejbtype=0;        if(therapietam==0){therapiedevam("therapieDoBlindY",3000);}        else{therapietimeo=setTimeout('therapieDoBlindY()',3000);}        }    else    {        setTimeout('therapieDoBlindY()',50);        } }function therapieinitte2(){	therapiethumbs_obj=document.getElementById('therapiethumbsid');	therapiemoving_obj=document.getElementById('therapiemovingdiv');	therapievssdiv=document.getElementById("therapiedv");	if(2>0)	{		therapieobjc=document.getElementById('therapied'+0);			therapieobjc.style.visibility="visible";		}	if(2>1)	{		therapievcurr=0;		therapievnext=0;		therapierealcurrent=0;        if(therapiefademi==0)        {			therapievcurr=0;			therapievnext=1;			therapierealcurrent=0;			setTimeout('therapiedotrans()',3000);                }        else if(therapiefademi==1)        {            if(IEB==true)            {	    		therapieSonraki();			therapieShowCurrentDesc();			therapieHighlightCurrTumb();	    		therapiedevam("therapiedotrans",3000);                       }            else            {	    		therapieSonraki();			therapieShowCurrentDesc();			therapieHighlightCurrTumb();	    		therapiedevam("therapiebeftrans",3000);                        }        }         else if(therapiefademi==2)        {		therapiekalan=therapieicwidth;     		therapieSonraki();		therapierealcurrent=0;		therapieShowCurrentDesc();		therapieHighlightCurrTumb();		therapieobjn.style.left=""+therapiekalan+"px";          			therapiezindx();            		therapiedevam("therapieDoSlide",3000);		   	                }        else if(therapiefademi==3)        {		therapiekalan=therapieicheight;            		therapieSonraki();		therapierealcurrent=0;		therapieShowCurrentDesc();		therapieHighlightCurrTumb();		therapieobjn.style.top=""+therapiekalan+"px";            			therapiezindx();                        		therapiedevam("therapieDoScrollUp",3000);               }                  else if(therapiefademi==4)        {                        therapiekalan=therapieicwidth;                        therapieSonraki();		therapierealcurrent=0;		therapieShowCurrentDesc();therapieHighlightCurrTumb();        	therapieobjn.style.left=""+therapiekalan+"px";	            	            therapiezindx();                                   therapiedevam("therapieDoBlindX",3000);                 }            else if(therapiefademi==5)        {                        therapiekalan=therapieicheight;                        therapieSonraki();		therapierealcurrent=0;		therapieShowCurrentDesc();therapieHighlightCurrTumb();        	therapieobjn.style.top=""+therapiekalan+"px";            	            therapiezindx();                                  therapiedevam("therapieDoBlindY",3000);                 }												}}function therapieinitte(){	i=0;	innertxt="";	for(i=0;i<2;i++)	{		innertxt=innertxt+dstr1+"therapied"+i+dstr2+dstr23+therapielinkstr[i]+dstr3+i+dstr4+therapieimgstr[i]+dstr5+therapieclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('therapiedv');	spage.innerHTML=""+innertxt;    setTimeout('therapieinitte2()',100);}function therapieBas(){        therapies=new therapiesl();        therapies.therapieinitte();}setTimeout('therapieBas()',100);
