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 dentists=null;var dentistdescgoster=0;var dentistthumbgoster=0;var dentistcwidth=0;var dentistcheight=0;var dentistcalc=0;var dentisttam=0;var dentistkalan=0;var dentistkalany=0;var dentistts="";var dentistds="";var dentistjbtype=0;var dentistrealcurrent=0;var dentisttimeo=null;dentistthumbs_obj=null;dentistmoving_obj=null;dentistTotalThumbWidth=0;dentistTotalThumbHeight=0;dentistMoveIcWidth=0;var TBW=0;var CursorStr="default";var dentistDescCalcWidth=0;var dentistDescCalcHeight=0;var dentistDescCalcIcWidth=0;var dentistDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;dentistimgarr=new Array();dentistthumbimgstr=new Array();dentistimgstr=new Array();dentistlinkstr=new Array();dentistclslinkstr=new Array();dentisttitarr=new Array();dentistdesarr=new Array();dentistimgarr[0]=new Image();dentistimgarr[0].c=0;dentistimgarr[0].onload = dentistsecondcomplate;dentistimgarr[0].src=dentistfoldername+'pic1.jpg';dentistimgstr[0]=dentistfoldername+'pic1.jpg';dentistthumbimgstr[0]=dentistfoldername+'pic1.jpg';dentistlinkstr[0]='';dentistclslinkstr[0]='';dentisttitarr[0]="";dentistdesarr[0]="";dentistimgarr[1]=new Image();dentistimgarr[1].c=0;dentistimgarr[1].onload = dentistsecondcomplate;dentistimgarr[1].src=dentistfoldername+'pic2.jpg';dentistimgstr[1]=dentistfoldername+'pic2.jpg';dentistthumbimgstr[1]=dentistfoldername+'pic2.jpg';dentistlinkstr[1]='';dentistclslinkstr[1]='';dentisttitarr[1]="";dentistdesarr[1]="";dentistimgarr[2]=new Image();dentistimgarr[2].c=0;dentistimgarr[2].onload = dentistsecondcomplate;dentistimgarr[2].src=dentistfoldername+'pic3.jpg';dentistimgstr[2]=dentistfoldername+'pic3.jpg';dentistthumbimgstr[2]=dentistfoldername+'pic3.jpg';dentistlinkstr[2]='';dentistclslinkstr[2]='';dentisttitarr[2]="";dentistdesarr[2]="";dentistimgarr[3]=new Image();dentistimgarr[3].c=0;dentistimgarr[3].onload = dentistsecondcomplate;dentistimgarr[3].src=dentistfoldername+'pic4.jpg';dentistimgstr[3]=dentistfoldername+'pic4.jpg';dentistthumbimgstr[3]=dentistfoldername+'pic4.jpg';dentistlinkstr[3]='';dentistclslinkstr[3]='';dentisttitarr[3]="";dentistdesarr[3]="";dentistimgarr[4]=new Image();dentistimgarr[4].c=0;dentistimgarr[4].onload = dentistsecondcomplate;dentistimgarr[4].src=dentistfoldername+'pic5.jpg';dentistimgstr[4]=dentistfoldername+'pic5.jpg';dentistthumbimgstr[4]=dentistfoldername+'pic5.jpg';dentistlinkstr[4]='';dentistclslinkstr[4]='';dentisttitarr[4]="";dentistdesarr[4]="";dentistimgarr[5]=new Image();dentistimgarr[5].c=0;dentistimgarr[5].onload = dentistsecondcomplate;dentistimgarr[5].src=dentistfoldername+'pic6.jpg';dentistimgstr[5]=dentistfoldername+'pic6.jpg';dentistthumbimgstr[5]=dentistfoldername+'pic6.jpg';dentistlinkstr[5]='';dentistclslinkstr[5]='';dentisttitarr[5]="";dentistdesarr[5]="";dentistimgarr[6]=new Image();dentistimgarr[6].c=0;dentistimgarr[6].onload = dentistsecondcomplate;dentistimgarr[6].src=dentistfoldername+'pic7.jpg';dentistimgstr[6]=dentistfoldername+'pic7.jpg';dentistthumbimgstr[6]=dentistfoldername+'pic7.jpg';dentistlinkstr[6]='';dentistclslinkstr[6]='';dentisttitarr[6]="";dentistdesarr[6]="";dentistimgarr[7]=new Image();dentistimgarr[7].c=0;dentistimgarr[7].onload = dentistsecondcomplate;dentistimgarr[7].src=dentistfoldername+'pic8.jpg';dentistimgstr[7]=dentistfoldername+'pic8.jpg';dentistthumbimgstr[7]=dentistfoldername+'pic8.jpg';dentistlinkstr[7]='';dentistclslinkstr[7]='';dentisttitarr[7]="";dentistdesarr[7]="";dentistimgarr[8]=new Image();dentistimgarr[8].c=0;dentistimgarr[8].onload = dentistsecondcomplate;dentistimgarr[8].src=dentistfoldername+'pic9.jpg';dentistimgstr[8]=dentistfoldername+'pic9.jpg';dentistthumbimgstr[8]=dentistfoldername+'pic9.jpg';dentistlinkstr[8]='';dentistclslinkstr[8]='';dentisttitarr[8]="";dentistdesarr[8]="";dentistimgarr[9]=new Image();dentistimgarr[9].c=0;dentistimgarr[9].onload = dentistsecondcomplate;dentistimgarr[9].src=dentistfoldername+'pic10.jpg';dentistimgstr[9]=dentistfoldername+'pic10.jpg';dentistthumbimgstr[9]=dentistfoldername+'pic10.jpg';dentistlinkstr[9]='';dentistclslinkstr[9]='';dentisttitarr[9]="";dentistdesarr[9]="";if((IEB==true)&&(scompat == "BackCompat" )){    dentistcwidth=210;    dentistcheight=210;}else{    dentistcwidth=210-2*(0);    dentistcheight=210-2*(0);}var dentisticwidth=210-2*(0);var dentisticheight=210-2*(0);dentistDescCalcWidth=260;dentistDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	dentistDescCalcIcWidth=dentistDescCalcWidth;	dentistDescCalcIcHeight=dentistDescCalcHeight;}else{    dentistDescCalcIcWidth=dentistDescCalcWidth-2*(2)-2*(3);    dentistDescCalcIcHeight=dentistDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+dentistcwidth+'px;height:'+dentistcheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'FFFFFF'+';'+''+''+'">');document.write('<div id="dentistdv" style="position:relative;width:'+dentisticwidth+'px;height:'+dentisticheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=dentistFadeBitti()'+'></div>');for(i=0;i<10;i++){	if(0==0){dentistds=dentistds+dentistlinkstr[i];if(dentistlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	dentistds=dentistds+'<div id="dentistdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+dentistDescCalcWidth+'px;height:'+dentistDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	dentistds=dentistds+'<div style="position:absolute;left:0px;top:0px;width:'+dentistDescCalcWidth+'px;height:'+dentistDescCalcHeight+'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>';	dentistds=dentistds+'<div style="position:relative;left:0px;top:0px;width:'+dentistDescCalcIcWidth+'px;height:'+dentistDescCalcIcHeight+'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;">';	dentistds=dentistds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+dentisttitarr[i]+'</span><br />'+dentistdesarr[i];	dentistds=dentistds+'</div>';	dentistds=dentistds+'</div>';	if(0==0){dentistds=dentistds+dentistclslinkstr[i];}	}document.write(''+dentistds);function dentistShowCurrentDesc(){	if((dentistdescgoster==1)&&( (dentisttitarr[dentistrealcurrent].length>0) || (dentistdesarr[dentistrealcurrent].length>0)  ))	{		after_des=document.getElementById('dentistdesc'+dentistrealcurrent);		after_des.style.visibility="visible";		}}function dentistHideCurrentDesc(){	before_des=document.getElementById('dentistdesc'+dentistvcurr);	before_des.style.visibility="hidden";}function dentistHighlightCurrTumb(){	if((0==1)&&(0==0))	{		dentistbeforethumb=document.getElementById('dentistthumb'+dentistvcurr);		dentistafterthumb=document.getElementById('dentistthumb'+dentistrealcurrent);		dentistbeforethumb.style.borderColor='999999';		dentistafterthumb.style.borderColor='990000';	}}document.write('</div>');function dentistzindx(){	dentistobjn.style.visibility="visible";	dentistobjc.style.zIndex=2;	dentistobjn.style.zIndex=3;    }function dentistThumbOut(tobj,nm){	if((dentistvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function dentistThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function dentistSonrakiClick(c,n){	dentistvcurr=c;	dentistvnext=n;			dentistobjc=document.getElementById('dentistd'+dentistvcurr);	dentistobjn=document.getElementById('dentistd'+dentistvnext);}function dentistSonraki(){	dentistvcurr=dentistvnext;	dentistvnext=dentistvnext+1;		if(dentistvnext>=10)	{		dentistvnext=0;		dentisttam=1;	}		dentistobjc=document.getElementById('dentistd'+dentistvcurr);	dentistobjn=document.getElementById('dentistd'+dentistvnext);		      }function dentistsecondcomplate(){	this.c=1;}function dentistdevam(fm,pt){	if((dentistimgarr[dentistvnext].c==1)&&(dentistimgarr[dentistvcurr].c==1))	{		dentisttimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('dentistdevam("'+fm+'")',500);	}	var dentistcagain=1;	for(i=0;i<10;i++)	{		if(dentistimgarr[i].c==1){}		else{dentistcagain=0;}	}	if(dentistcagain==1){dentisttam=1;}}function ThumbClick(clicked_img,tobj){	if(dentistjbtype==1){return;}	clearTimeout(dentisttimeo);	dentistSonrakiClick(dentistrealcurrent,clicked_img);	if(dentistfademi==1)        {            if(IEB==true)            {		if(dentisttam==0)		{	    		dentistdevam("dentistdotrans",4000);		}		else		{			dentistdotrans();		}            }            else            {		if(dentisttam==0)		{    			dentistdevam("dentistbeftrans",4000);		}		else		{			dentistbeftrans();		}            }        }	else if(dentistfademi==2)	{		if(dentisttam==0)		{ 			dentistdevam("dentistDoSlide",4000);		}		else		{			dentistDoSlide();		}	}	else if(dentistfademi==3)	{		if(dentisttam==0)		{ 			dentistdevam("dentistDoScrollUp",4000);		}		else		{			dentistDoScrollUp();		}	}	else if(dentistfademi==4)	{		if(dentisttam==0)		{ 			dentistdevam("dentistDoBlindX",4000);		}		else		{			dentistDoBlindX();		}	}	else if(dentistfademi==5)	{		if(dentisttam==0)		{ 			dentistdevam("dentistDoBlindY",4000);		}		else		{			dentistDoBlindY();		}	}	}function dentistsl(){dentistfademi=1;dentistvcurr=0;dentistvnext=0;dentistvssdiv=null;stepc=20*(2);dentistdif=0.00;dentistop=1.00;dentistdif=(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:'+dentisticwidth+'px;height:'+dentisticheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="dentistimg';dstr4='" src="slideshow/';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.dentistdotrans=dentistdotrans;this.dentistinitte=dentistinitte;this.dentistinitte2=dentistinitte2;this.dentistbeftrans=dentistbeftrans;this.dentistdotransff=dentistdotransff;}function dentistFadeBitti(){	dentistjbtype=0;	dentistShowCurrentDesc();	}function dentistdotrans(){	dentistjbtype=1;	dentistHideCurrentDesc();	if(IEB==true){dentistvssdiv.filters[0].apply();}	dentistobjc.style.visibility="hidden";	dentistobjn.style.visibility="visible";	if(IEB==true){dentistvssdiv.filters[0].play();}	dentistrealcurrent=dentistvnext;	dentistHighlightCurrTumb();	dentistSonraki();			if(dentisttam==0){dentistdevam("dentistdotrans",((1000*2)+4000));}	else	{		dentisttimeo=setTimeout('dentistdotrans()',((1000*2)+4000));	} 	}function dentistdotransff(){	dentistop=dentistop-dentistdif;		if(dentistop<(0.00)){dentistop=0.00;}	dentistobjc.style.opacity = dentistop;	dentistobjn.style.opacity = 1.00-dentistop;	if(dentistop>(0.00))	{		setTimeout('dentistdotransff()',50);	}	else	{		dentistobjc.style.zIndex=2;		dentistobjn.style.zIndex=3;		dentistrealcurrent=dentistvnext;		dentistShowCurrentDesc();		dentistHighlightCurrTumb();				dentistSonraki();			        if(dentisttam==0){dentistdevam("dentistbeftrans",4000);}        	else {dentisttimeo=setTimeout('dentistbeftrans()',4000);}		dentistjbtype=0;  					}}function dentistbeftrans(){	dentistjbtype=1;	dentistHideCurrentDesc();    	dentistop=1.00;	dentistobjc.style.visibility="visible";	dentistobjn.style.visibility="visible";		dentistobjc.style.zIndex=3;	dentistobjn.style.zIndex=2;		dentistobjc.style.opacity = 1.00;		dentistobjn.style.opacity = 1.00;			dentistdotransff();	}function dentistDoSlide(){	dentistjbtype=1;	dentistHideCurrentDesc();	dentistkalan=dentistkalan-Math.ceil(dentistkalan/2);	dentistobjc.style.left=""+(dentistkalan-dentisticwidth)+"px";	dentistobjn.style.left=""+dentistkalan+"px";		if(dentistkalan<=0)	{		dentistrealcurrent=dentistvnext;		dentistShowCurrentDesc();		dentistHighlightCurrTumb();    		dentistSonraki();		dentistkalan=dentisticwidth;		dentistobjn.style.left=""+dentistkalan+"px";	        		dentistzindx();          		dentistjbtype=0;        		if(dentisttam==0){dentistdevam("dentistDoSlide",4000);}		else {dentisttimeo=setTimeout('dentistDoSlide()',4000);}	}	else	{		setTimeout('dentistDoSlide()',50);    	} }function dentistDoScrollUp(){	dentistjbtype=1;	dentistHideCurrentDesc();	dentistkalan=dentistkalan-Math.ceil(dentistkalan/2);	dentistobjc.style.top=""+(dentistkalan-dentisticheight)+"px";	dentistobjn.style.top=""+dentistkalan+"px";	    if(dentistkalan<=0)    {	dentistrealcurrent=dentistvnext;	dentistShowCurrentDesc();	dentistHighlightCurrTumb();        dentistSonraki();        dentistkalan=dentisticheight;	dentistobjn.style.top=""+dentistkalan+"px";	        dentistzindx();                 	dentistjbtype=0;        if(dentisttam==0){dentistdevam('dentistDoScrollUp',4000);}        else{dentisttimeo=setTimeout('dentistDoScrollUp()',4000);}        }    else    {        setTimeout('dentistDoScrollUp()',50);        }}function dentistDoBlindX(){	dentistjbtype=1;	dentistHideCurrentDesc();   	dentistkalan=dentistkalan-Math.ceil(dentistkalan/2);	dentistobjc.style.left=""+(dentisticwidth-dentistkalan)+"px";	dentistobjn.style.left=""+dentistkalan+"px";	    if(dentistkalan<=0)    {		dentistrealcurrent=dentistvnext;		dentistShowCurrentDesc();	dentistHighlightCurrTumb();            dentistSonraki();        dentistkalan=dentisticwidth;	dentistobjn.style.left=""+dentistkalan+"px";		    	        dentistzindx();	dentistjbtype=0;                  if(dentisttam==0){dentistdevam("dentistDoBlindX",4000);}        else{dentisttimeo=setTimeout('dentistDoBlindX()',4000);}    }    else    {        setTimeout('dentistDoBlindX()',50);        }}function dentistDoBlindY(){	dentistjbtype=1;	dentistHideCurrentDesc();  	dentistkalan=dentistkalan-Math.ceil(dentistkalan/2);	dentistobjc.style.top=""+(dentisticheight-dentistkalan)+"px";	dentistobjn.style.top=""+dentistkalan+"px";	    if(dentistkalan<=0)    {		dentistrealcurrent=dentistvnext;		dentistShowCurrentDesc();dentistHighlightCurrTumb();        dentistSonraki();        dentistkalan=dentisticheight;	    dentistobjn.style.top=""+dentistkalan+"px";                dentistzindx();                 	dentistjbtype=0;        if(dentisttam==0){dentistdevam("dentistDoBlindY",4000);}        else{dentisttimeo=setTimeout('dentistDoBlindY()',4000);}        }    else    {        setTimeout('dentistDoBlindY()',50);        } }function dentistinitte2(){	dentistthumbs_obj=document.getElementById('dentistthumbsid');	dentistmoving_obj=document.getElementById('dentistmovingdiv');	dentistvssdiv=document.getElementById("dentistdv");	if(10>0)	{		dentistobjc=document.getElementById('dentistd'+0);			dentistobjc.style.visibility="visible";		}	if(10>1)	{		dentistvcurr=0;		dentistvnext=0;		dentistrealcurrent=0;        if(dentistfademi==0)        {			dentistvcurr=0;			dentistvnext=1;			dentistrealcurrent=0;			setTimeout('dentistdotrans()',4000);                }        else if(dentistfademi==1)        {            if(IEB==true)            {	    		dentistSonraki();			dentistShowCurrentDesc();			dentistHighlightCurrTumb();	    		dentistdevam("dentistdotrans",4000);                       }            else            {	    		dentistSonraki();			dentistShowCurrentDesc();			dentistHighlightCurrTumb();	    		dentistdevam("dentistbeftrans",4000);                        }        }         else if(dentistfademi==2)        {		dentistkalan=dentisticwidth;     		dentistSonraki();		dentistrealcurrent=0;		dentistShowCurrentDesc();		dentistHighlightCurrTumb();		dentistobjn.style.left=""+dentistkalan+"px";          			dentistzindx();            		dentistdevam("dentistDoSlide",4000);		   	                }        else if(dentistfademi==3)        {		dentistkalan=dentisticheight;            		dentistSonraki();		dentistrealcurrent=0;		dentistShowCurrentDesc();		dentistHighlightCurrTumb();		dentistobjn.style.top=""+dentistkalan+"px";            			dentistzindx();                        		dentistdevam("dentistDoScrollUp",4000);               }                  else if(dentistfademi==4)        {                        dentistkalan=dentisticwidth;                        dentistSonraki();		dentistrealcurrent=0;		dentistShowCurrentDesc();dentistHighlightCurrTumb();        	dentistobjn.style.left=""+dentistkalan+"px";	            	            dentistzindx();                                   dentistdevam("dentistDoBlindX",4000);                 }            else if(dentistfademi==5)        {                        dentistkalan=dentisticheight;                        dentistSonraki();		dentistrealcurrent=0;		dentistShowCurrentDesc();dentistHighlightCurrTumb();        	dentistobjn.style.top=""+dentistkalan+"px";            	            dentistzindx();                                  dentistdevam("dentistDoBlindY",4000);                 }												}}function dentistinitte(){	i=0;	innertxt="";	for(i=0;i<10;i++)	{		innertxt=innertxt+dstr1+"dentistd"+i+dstr2+dstr23+dentistlinkstr[i]+dstr3+i+dstr4+dentistimgstr[i]+dstr5+dentistclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('dentistdv');	spage.innerHTML=""+innertxt;    setTimeout('dentistinitte2()',100);}function dentistBas(){        dentists=new dentistsl();        dentists.dentistinitte();}setTimeout('dentistBas()',100);
