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 heliodents=null;var heliodentdescgoster=0;var heliodentthumbgoster=0;var heliodentcwidth=0;var heliodentcheight=0;var heliodentcalc=0;var heliodenttam=0;var heliodentkalan=0;var heliodentkalany=0;var heliodentts="";var heliodentds="";var heliodentjbtype=0;var heliodentrealcurrent=0;var heliodenttimeo=null;heliodentthumbs_obj=null;heliodentmoving_obj=null;heliodentTotalThumbWidth=0;heliodentTotalThumbHeight=0;heliodentMoveIcWidth=0;var TBW=0;var CursorStr="default";var heliodentDescCalcWidth=0;var heliodentDescCalcHeight=0;var heliodentDescCalcIcWidth=0;var heliodentDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;heliodentimgarr=new Array();heliodentthumbimgstr=new Array();heliodentimgstr=new Array();heliodentlinkstr=new Array();heliodentclslinkstr=new Array();heliodenttitarr=new Array();heliodentdesarr=new Array();heliodentimgarr[0]=new Image();heliodentimgarr[0].c=0;heliodentimgarr[0].onload = heliodentsecondcomplate;heliodentimgarr[0].src=heliodentfoldername+'smile.jpg';heliodentimgstr[0]=heliodentfoldername+'smile.jpg';heliodentthumbimgstr[0]=heliodentfoldername+'smile.jpg';heliodentlinkstr[0]='';heliodentclslinkstr[0]='';heliodenttitarr[0]="";heliodentdesarr[0]="";heliodentimgarr[1]=new Image();heliodentimgarr[1].c=0;heliodentimgarr[1].onload = heliodentsecondcomplate;heliodentimgarr[1].src=heliodentfoldername+'aparaty.jpg';heliodentimgstr[1]=heliodentfoldername+'aparaty.jpg';heliodentthumbimgstr[1]=heliodentfoldername+'aparaty.jpg';heliodentlinkstr[1]='';heliodentclslinkstr[1]='';heliodenttitarr[1]="";heliodentdesarr[1]="";heliodentimgarr[2]=new Image();heliodentimgarr[2].c=0;heliodentimgarr[2].onload = heliodentsecondcomplate;heliodentimgarr[2].src=heliodentfoldername+'gabinet.jpg';heliodentimgstr[2]=heliodentfoldername+'gabinet.jpg';heliodentthumbimgstr[2]=heliodentfoldername+'gabinet.jpg';heliodentlinkstr[2]='';heliodentclslinkstr[2]='';heliodenttitarr[2]="";heliodentdesarr[2]="";heliodentimgarr[3]=new Image();heliodentimgarr[3].c=0;heliodentimgarr[3].onload = heliodentsecondcomplate;heliodentimgarr[3].src=heliodentfoldername+'ubytki.jpg';heliodentimgstr[3]=heliodentfoldername+'ubytki.jpg';heliodentthumbimgstr[3]=heliodentfoldername+'ubytki.jpg';heliodentlinkstr[3]='';heliodentclslinkstr[3]='';heliodenttitarr[3]="";heliodentdesarr[3]="";heliodentimgarr[4]=new Image();heliodentimgarr[4].c=0;heliodentimgarr[4].onload = heliodentsecondcomplate;heliodentimgarr[4].src=heliodentfoldername+'hollywood.jpg';heliodentimgstr[4]=heliodentfoldername+'hollywood.jpg';heliodentthumbimgstr[4]=heliodentfoldername+'hollywood.jpg';heliodentlinkstr[4]='';heliodentclslinkstr[4]='';heliodenttitarr[4]="";heliodentdesarr[4]="";if((IEB==true)&&(scompat == "BackCompat" )){    heliodentcwidth=612;    heliodentcheight=307;}else{    heliodentcwidth=612-2*(0);    heliodentcheight=307-2*(0);}var heliodenticwidth=612-2*(0);var heliodenticheight=307-2*(0);heliodentDescCalcWidth=260;heliodentDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	heliodentDescCalcIcWidth=heliodentDescCalcWidth;	heliodentDescCalcIcHeight=heliodentDescCalcHeight;}else{    heliodentDescCalcIcWidth=heliodentDescCalcWidth-2*(2)-2*(3);    heliodentDescCalcIcHeight=heliodentDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+heliodentcwidth+'px;height:'+heliodentcheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="heliodentdv" style="position:relative;width:'+heliodenticwidth+'px;height:'+heliodenticheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=heliodentFadeBitti()'+'></div>');for(i=0;i<5;i++){	if(0==0){heliodentds=heliodentds+heliodentlinkstr[i];if(heliodentlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	heliodentds=heliodentds+'<div id="heliodentdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+heliodentDescCalcWidth+'px;height:'+heliodentDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	heliodentds=heliodentds+'<div style="position:absolute;left:0px;top:0px;width:'+heliodentDescCalcWidth+'px;height:'+heliodentDescCalcHeight+'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>';	heliodentds=heliodentds+'<div style="position:relative;left:0px;top:0px;width:'+heliodentDescCalcIcWidth+'px;height:'+heliodentDescCalcIcHeight+'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;">';	heliodentds=heliodentds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+heliodenttitarr[i]+'</span><br />'+heliodentdesarr[i];	heliodentds=heliodentds+'</div>';	heliodentds=heliodentds+'</div>';	if(0==0){heliodentds=heliodentds+heliodentclslinkstr[i];}	}document.write(''+heliodentds);function heliodentShowCurrentDesc(){	if((heliodentdescgoster==1)&&( (heliodenttitarr[heliodentrealcurrent].length>0) || (heliodentdesarr[heliodentrealcurrent].length>0)  ))	{		after_des=document.getElementById('heliodentdesc'+heliodentrealcurrent);		after_des.style.visibility="visible";		}}function heliodentHideCurrentDesc(){	before_des=document.getElementById('heliodentdesc'+heliodentvcurr);	before_des.style.visibility="hidden";}function heliodentHighlightCurrTumb(){	if((0==1)&&(0==0))	{		heliodentbeforethumb=document.getElementById('heliodentthumb'+heliodentvcurr);		heliodentafterthumb=document.getElementById('heliodentthumb'+heliodentrealcurrent);		heliodentbeforethumb.style.borderColor='999999';		heliodentafterthumb.style.borderColor='990000';	}}document.write('</div>');function heliodentzindx(){	heliodentobjn.style.visibility="visible";	heliodentobjc.style.zIndex=2;	heliodentobjn.style.zIndex=3;    }function heliodentThumbOut(tobj,nm){	if((heliodentvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function heliodentThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function heliodentSonrakiClick(c,n){	heliodentvcurr=c;	heliodentvnext=n;			heliodentobjc=document.getElementById('heliodentd'+heliodentvcurr);	heliodentobjn=document.getElementById('heliodentd'+heliodentvnext);		if(heliodentfademi!=1)	{		heliodentobjc.style.visibility="visible";			heliodentobjn.style.visibility="visible";		}		}function heliodentSonraki(){	heliodentvcurr=heliodentvnext;	heliodentvnext=heliodentvnext+1;		if(heliodentvnext>=5)	{		heliodentvnext=0;		heliodenttam=1;	}		heliodentobjc=document.getElementById('heliodentd'+heliodentvcurr);	heliodentobjn=document.getElementById('heliodentd'+heliodentvnext);		      }function heliodentsecondcomplate(){	this.c=1;}function heliodentdevam(fm,pt){	if((heliodentimgarr[heliodentvnext].c==1)&&(heliodentimgarr[heliodentvcurr].c==1))	{		heliodenttimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('heliodentdevam("'+fm+'")',500);	}	var heliodentcagain=1;	for(i=0;i<5;i++)	{		if(heliodentimgarr[i].c==1){}		else{heliodentcagain=0;}	}	if(heliodentcagain==1){heliodenttam=1;}}function ThumbClick(clicked_img,tobj){	if(heliodentjbtype==1){return;}	clearTimeout(heliodenttimeo);	heliodentSonrakiClick(heliodentrealcurrent,clicked_img);	if(heliodentfademi==1)        {            if(IEB==true)            {		if(heliodenttam==0)		{	    		heliodentdevam("heliodentdotrans",4000);		}		else		{			heliodentdotrans();		}            }            else            {		if(heliodenttam==0)		{    			heliodentdevam("heliodentbeftrans",4000);		}		else		{			heliodentbeftrans();		}            }        }	else if(heliodentfademi==2)	{		if(heliodenttam==0)		{ 			heliodentdevam("heliodentDoSlide",4000);		}		else		{			heliodentDoSlide();		}	}	else if(heliodentfademi==3)	{		if(heliodenttam==0)		{ 			heliodentdevam("heliodentDoScrollUp",4000);		}		else		{			heliodentDoScrollUp();		}	}	else if(heliodentfademi==4)	{		if(heliodenttam==0)		{ 			heliodentdevam("heliodentDoBlindX",4000);		}		else		{			heliodentDoBlindX();		}	}	else if(heliodentfademi==5)	{		if(heliodenttam==0)		{ 			heliodentdevam("heliodentDoBlindY",4000);		}		else		{			heliodentDoBlindY();		}	}	}function heliodentsl(){heliodentfademi=1;heliodentvcurr=0;heliodentvnext=0;heliodentvssdiv=null;stepc=20*(2);heliodentdif=0.00;heliodentop=1.00;heliodentdif=(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:'+heliodenticwidth+'px;height:'+heliodenticheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="heliodentimg';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.heliodentdotrans=heliodentdotrans;this.heliodentinitte=heliodentinitte;this.heliodentinitte2=heliodentinitte2;this.heliodentbeftrans=heliodentbeftrans;this.heliodentdotransff=heliodentdotransff;}function heliodentFadeBitti(){	heliodentjbtype=0;	heliodentShowCurrentDesc();	}function heliodentdotrans(){	heliodentjbtype=1;	heliodentHideCurrentDesc();	if(IEB==true){heliodentvssdiv.filters[0].apply();}	heliodentobjc.style.visibility="hidden";	heliodentobjn.style.visibility="visible";	if(IEB==true){heliodentvssdiv.filters[0].play();}	heliodentrealcurrent=heliodentvnext;	heliodentHighlightCurrTumb();	heliodentSonraki();			if(heliodenttam==0){heliodentdevam("heliodentdotrans",((1000*2)+4000));}	else	{		heliodenttimeo=setTimeout('heliodentdotrans()',((1000*2)+4000));	} 	}function heliodentdotransff(){	heliodentop=heliodentop-heliodentdif;		if(heliodentop<(0.00)){heliodentop=0.00;}	heliodentobjc.style.opacity = heliodentop;	heliodentobjn.style.opacity = 1.00-heliodentop;	if(heliodentop>(0.00))	{		setTimeout('heliodentdotransff()',50);	}	else	{		heliodentobjc.style.zIndex=2;		heliodentobjn.style.zIndex=3;		heliodentrealcurrent=heliodentvnext;		heliodentShowCurrentDesc();		heliodentHighlightCurrTumb();				heliodentSonraki();			        if(heliodenttam==0){heliodentdevam("heliodentbeftrans",4000);}        	else {heliodenttimeo=setTimeout('heliodentbeftrans()',4000);}		heliodentjbtype=0;  					}}function heliodentbeftrans(){	heliodentjbtype=1;	heliodentHideCurrentDesc();    	heliodentop=1.00;	heliodentobjc.style.visibility="visible";	heliodentobjn.style.visibility="visible";		heliodentobjc.style.zIndex=3;	heliodentobjn.style.zIndex=2;		heliodentobjc.style.opacity = 1.00;		heliodentobjn.style.opacity = 1.00;			heliodentdotransff();	}function heliodentDoSlide(){	heliodentjbtype=1;	heliodentHideCurrentDesc();	heliodentkalan=heliodentkalan-Math.ceil(heliodentkalan/2);	heliodentobjc.style.left=""+(heliodentkalan-heliodenticwidth)+"px";	heliodentobjn.style.left=""+heliodentkalan+"px";		if(heliodentkalan<=0)	{		heliodentrealcurrent=heliodentvnext;		heliodentShowCurrentDesc();		heliodentHighlightCurrTumb();    		heliodentSonraki();		heliodentkalan=heliodenticwidth;		heliodentobjn.style.left=""+heliodentkalan+"px";	        		heliodentzindx();          		heliodentjbtype=0;        		if(heliodenttam==0){heliodentdevam("heliodentDoSlide",4000);}		else {heliodenttimeo=setTimeout('heliodentDoSlide()',4000);}	}	else	{		setTimeout('heliodentDoSlide()',50);    	} }function heliodentDoScrollUp(){	heliodentjbtype=1;	heliodentHideCurrentDesc();	heliodentkalan=heliodentkalan-Math.ceil(heliodentkalan/2);	heliodentobjc.style.top=""+(heliodentkalan-heliodenticheight)+"px";	heliodentobjn.style.top=""+heliodentkalan+"px";	    if(heliodentkalan<=0)    {	heliodentrealcurrent=heliodentvnext;	heliodentShowCurrentDesc();	heliodentHighlightCurrTumb();        heliodentSonraki();        heliodentkalan=heliodenticheight;	heliodentobjn.style.top=""+heliodentkalan+"px";	        heliodentzindx();                 	heliodentjbtype=0;        if(heliodenttam==0){heliodentdevam('heliodentDoScrollUp',4000);}        else{heliodenttimeo=setTimeout('heliodentDoScrollUp()',4000);}        }    else    {        setTimeout('heliodentDoScrollUp()',50);        }}function heliodentDoBlindX(){	heliodentjbtype=1;	heliodentHideCurrentDesc();   	heliodentkalan=heliodentkalan-Math.ceil(heliodentkalan/2);	heliodentobjc.style.left=""+(heliodenticwidth-heliodentkalan)+"px";	heliodentobjn.style.left=""+heliodentkalan+"px";	    if(heliodentkalan<=0)    {		heliodentrealcurrent=heliodentvnext;		heliodentShowCurrentDesc();	heliodentHighlightCurrTumb();            heliodentSonraki();        heliodentkalan=heliodenticwidth;	heliodentobjn.style.left=""+heliodentkalan+"px";		    	        heliodentzindx();	heliodentjbtype=0;                  if(heliodenttam==0){heliodentdevam("heliodentDoBlindX",4000);}        else{heliodenttimeo=setTimeout('heliodentDoBlindX()',4000);}    }    else    {        setTimeout('heliodentDoBlindX()',50);        }}function heliodentDoBlindY(){	heliodentjbtype=1;	heliodentHideCurrentDesc();  	heliodentkalan=heliodentkalan-Math.ceil(heliodentkalan/2);	heliodentobjc.style.top=""+(heliodenticheight-heliodentkalan)+"px";	heliodentobjn.style.top=""+heliodentkalan+"px";	    if(heliodentkalan<=0)    {		heliodentrealcurrent=heliodentvnext;		heliodentShowCurrentDesc();heliodentHighlightCurrTumb();        heliodentSonraki();        heliodentkalan=heliodenticheight;	    heliodentobjn.style.top=""+heliodentkalan+"px";                heliodentzindx();                 	heliodentjbtype=0;        if(heliodenttam==0){heliodentdevam("heliodentDoBlindY",4000);}        else{heliodenttimeo=setTimeout('heliodentDoBlindY()',4000);}        }    else    {        setTimeout('heliodentDoBlindY()',50);        } }function heliodentinitte2(){	heliodentthumbs_obj=document.getElementById('heliodentthumbsid');	heliodentmoving_obj=document.getElementById('heliodentmovingdiv');	heliodentvssdiv=document.getElementById("heliodentdv");	if(5>0)	{		heliodentobjc=document.getElementById('heliodentd'+0);			heliodentobjc.style.visibility="visible";		}	if(5>1)	{		heliodentvcurr=0;		heliodentvnext=0;		heliodentrealcurrent=0;        if(heliodentfademi==0)        {			heliodentvcurr=0;			heliodentvnext=1;			heliodentrealcurrent=0;			setTimeout('heliodentdotrans()',4000);                }        else if(heliodentfademi==1)        {            if(IEB==true)            {	    		heliodentSonraki();			heliodentShowCurrentDesc();			heliodentHighlightCurrTumb();	    		heliodentdevam("heliodentdotrans",4000);                       }            else            {	    		heliodentSonraki();			heliodentShowCurrentDesc();			heliodentHighlightCurrTumb();	    		heliodentdevam("heliodentbeftrans",4000);                        }        }         else if(heliodentfademi==2)        {		heliodentkalan=heliodenticwidth;     		heliodentSonraki();		heliodentrealcurrent=0;		heliodentShowCurrentDesc();		heliodentHighlightCurrTumb();		heliodentobjn.style.left=""+heliodentkalan+"px";          			heliodentzindx();            		heliodentdevam("heliodentDoSlide",4000);		   	                }        else if(heliodentfademi==3)        {		heliodentkalan=heliodenticheight;            		heliodentSonraki();		heliodentrealcurrent=0;		heliodentShowCurrentDesc();		heliodentHighlightCurrTumb();		heliodentobjn.style.top=""+heliodentkalan+"px";            			heliodentzindx();                        		heliodentdevam("heliodentDoScrollUp",4000);               }                  else if(heliodentfademi==4)        {                        heliodentkalan=heliodenticwidth;                        heliodentSonraki();		heliodentrealcurrent=0;		heliodentShowCurrentDesc();heliodentHighlightCurrTumb();        	heliodentobjn.style.left=""+heliodentkalan+"px";	            	            heliodentzindx();                                   heliodentdevam("heliodentDoBlindX",4000);                 }            else if(heliodentfademi==5)        {                        heliodentkalan=heliodenticheight;                        heliodentSonraki();		heliodentrealcurrent=0;		heliodentShowCurrentDesc();heliodentHighlightCurrTumb();        	heliodentobjn.style.top=""+heliodentkalan+"px";            	            heliodentzindx();                                  heliodentdevam("heliodentDoBlindY",4000);                 }												}}function heliodentinitte(){	i=0;	innertxt="";	for(i=0;i<5;i++)	{		innertxt=innertxt+dstr1+"heliodentd"+i+dstr2+dstr23+heliodentlinkstr[i]+dstr3+i+dstr4+heliodentimgstr[i]+dstr5+heliodentclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('heliodentdv');	spage.innerHTML=""+innertxt;    setTimeout('heliodentinitte2()',100);}function heliodentBas(){        heliodents=new heliodentsl();        heliodents.heliodentinitte();}setTimeout('heliodentBas()',100);