uagent = window.navigator.userAgent.toLowerCase();
IEB=(uagent.indexOf('msie') != -1)?true:false;
var scompat = document.compatMode;
var ac4intcomplate=0;
ac4imgarr=new Array();
ac4altarr=new Array();
ac4linkarr=new Array();
ac4targetarr=new Array();
ac4titarr=new Array();
ac4desarr=new Array();
ac4imgarr[0]="";
ac4altarr[0]="";
ac4linkarr[0]="";
ac4targetarr[0]="";
ac4titarr[0]="";
ac4desarr[0]="";
ac4imgarr[1]="ic-biofir-all.jpg";
ac4altarr[1]="";
ac4linkarr[1]="biofir.php";
ac4targetarr[1]="_self";
ac4titarr[1]="";
ac4desarr[1]="Bio Far Infra Red adalah gelombang elektromagnetik yang digunakan sebagai therapy modern dan merupakan terobosan baru dalam dunia kesehatan ...";
ac4imgarr[2]="ic-biofir-white.jpg";
ac4altarr[2]="";
ac4linkarr[2]="biofir.php";
ac4targetarr[2]="_self";
ac4titarr[2]="";
ac4desarr[2]="merupakan seri kalung kesehatan Bio FIR yang berfungsi untuk membantu melancarkan peredaran darah dan kesehatan tubuh...";
ac4imgarr[3]="ic-biofir-black.jpg";
ac4altarr[3]="";
ac4linkarr[3]="biofir.php";
ac4targetarr[3]="_self";
ac4titarr[3]="";
ac4desarr[3]="seri kalung kesehatan berwarna hitam ini memiliki memiliki manfaat yang sangat baik untuk memelihara kesehatan tubuh...";
var gnrated='';
var ac4stepcount=20;
var ac4currstep=10;
var ac4timeo=null;
var ac4horvert=0;
var ac4llllll=0;
var ac4lllllll=0;
var ac4llllllll=0;
var ac4ll=new Array();
var ac4lll=new Array();
var ac4llll=new Array();
var ac4startposx=new Array();
var ac4lllll=new Array();
var i=0;
var ac4lllllllll=0;
var ac4DescCalcLeftBir=0;
var ac4DescCalcLeft=0;
var ac4DescCalcWidth=0;
var ac4DescCalcHeight=0;
var ac4DescCalcIcWidth=0;
var ac4DescCalcIcHeight=0;
var ac4hpiece='';
var ac4ds="";
var ac4IEDescOpacity=100;
var ac4FFOpacity=1.0;
var ac4DescFadeEffectTimer=null;
var ac4AutoPlayTimer=null;
var ac4AutoPlayCurrent=1;
var ac4icerdemi=0;
function ac4WriteDesc()
{	
if(ac4linkarr[i].length>2){ac4ds=ac4ds+'<a href="'+ac4linkarr[i]+'" target="'+ac4targetarr[i]+'" style="text-decoration:none;">';
}	
ac4ds=ac4ds+'<div id="ac4adesc'+i+'" style="position:absolute;top:'+177+'px;left:0px;width:'+ac4DescCalcWidth+'px;height:'+ac4DescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="ac4outall()">';	
ac4ds=ac4ds+'<div style="position:absolute;left:0px;top:0px;width:'+ac4DescCalcWidth+'px;height:'+ac4DescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'FFFFFF'+';opacity: '+0.11+';filter:alpha(opacity='+11+');" onMouseOut="ac4outall()"></div>';	ac4ds=ac4ds+'<div style="position:relative;left:0px;top:0px;width:'+ac4DescCalcIcWidth+';height:'+ac4DescCalcIcHeight+'px;text-align:'+'center'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'008000'+';color:#'+'800000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="ac4outall()">';	
ac4ds=ac4ds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="ac4outall()">'+ac4titarr[i]+'</span>';	
if(ac4titarr[i].length>0){ac4ds=ac4ds+'<br />';
}	
ac4ds=ac4ds+''+ac4desarr[i];
ac4ds=ac4ds+'</div>';	
ac4ds=ac4ds+'</div>';
if(ac4linkarr[i].length>2){ac4ds=ac4ds+'</a>';
}
}
function ac4init_doc(fstr,hormuvertmi)
{	
ac4DescCalcLeftBir=0;	
if((0==0)&&(ac4horvert==0))	
{	
ac4DescCalcLeft=0+2;	
}	
else	
{	
ac4DescCalcLeft=0;	
}	
if(0==0)
{	
ac4DescCalcWidth=199-0-0;	
}	
else
{	
ac4DescCalcWidth=199-0-0;	
}
if((ac4horvert==1)&&(0==1))
{	
ac4DescCalcHeight=357-177-0;	
}
else
{	
ac4DescCalcHeight=357-177-0;	
}	
if((IEB==true)&&(scompat == "BackCompat" ))	
{		
ac4DescCalcIcWidth=ac4DescCalcWidth;	
ac4DescCalcIcHeight=ac4DescCalcHeight;	
}	
else	
{	
ac4DescCalcIcWidth=ac4DescCalcWidth-2*(0)-2*(3);	
ac4DescCalcIcHeight=ac4DescCalcHeight-2*(0)-2*(3);
}	
ac4folderset=fstr;	
var tmpleftpad=0;	
var tmptoppad=0;	
ac4hpiece=ac4hpiece+'<div style="position:relative;width:'+199+'px;height:'+357+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'FFFFFF'+';">';	
ac4hpiece=ac4hpiece+'<div style="position:relative;width:'+199+'px;height:'+357+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="ac4outall()" onMouseOut="ac4mouse_divout()">';	
if(0==1)	
{		
for(i=1;i<=3;i++) 	
{		
ac4WriteDesc();		
}	
}	
for(i=1;i<=3;i++)	
{	
if(ac4horvert==0)		
{		
if(i==1){tmpleftpad=0;
}
else{tmpleftpad=2;
}			
tmptoppad=0;		
}		
else	
{	
tmpleftpad=0;			
if(i==1){tmptoppad=0;
}
else{tmptoppad=2;
}		
}		
gnrated=gnrated+'<div id="ac4po'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="ac4mouse_over('+i+')" onMouseOut="ac4outall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+ac4linkarr[i]+'" target="'+ac4targetarr[i]+'"><img width="'+199+'" height="'+357+'" src="'+ac4folderset+ac4imgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+ac4altarr[i]+'"></img></a>';		
if(0==0)	
{	
ac4ds="";			
ac4WriteDesc();			
gnrated=gnrated+ac4ds;		
}	
gnrated=gnrated+'</div></div>';	
}
ac4hpiece=ac4hpiece+gnrated;	
if(0==1)	
{	
ac4hpiece=ac4hpiece+ac4ds;
}	
ac4hpiece=ac4hpiece+'</div>';	
ac4hpiece=ac4hpiece+'</div>';
document.write(''+ac4hpiece);	
setTimeout("ac4init_position("+parseInt(hormuvertmi)+")",50);
}
function ac4init_position(hv)
{	
ac4horvert=hv;	for(i=1;i<=3;i++)	
{		
ac4ll[i]=document.getElementById('ac4po'+i);	
ac4lll[i]=document.getElementById('ac4adesc'+i);	
if((ac4ll[i]==null)||(ac4lll[i]==null))		
{		  
setTimeout("ac4init_position("+parseInt(hv)+")",200);		   
return;		
}
}	
if(ac4horvert==0)	
{	
ac4llllll=parseInt(     (199-((3-1)*2))     /(3));		
ac4lllllll=ac4llllll+2;		ac4llllllll=parseInt(((199-199)/(3-1)));	
}	
else	
{	
ac4llllll=parseInt(     (280-((3-1)*2))     /(3));	
ac4lllllll=ac4llllll+2;		
ac4llllllll=parseInt(((280-357)/(3-1)));	
}	
for(i=1;i<=3;i++)	
{	
ac4ll[i]=document.getElementById('ac4po'+i);		
sx=(ac4lllllll*(i-1))-2;		
if(ac4horvert==0)		
{			
if(i==1)		
{	
ac4ll[i].style.left="0px";		
}		
else		
{	
ac4ll[i].style.left=""+sx+"px";		
}	
}	
else	
{	
if(i==1)	
{		
ac4ll[i].style.top="0px";		
}			
else		
{		
ac4ll[i].style.top=""+sx+"px";		
}	
}		
ac4startposx[i]=sx;	
ac4lllll[i]=ac4startposx[i];	
if(i==1)	
{	
ac4lll[i].style.left=""+ac4DescCalcLeftBir+"px";	
}	
else	
{		
ac4lll[i].style.left=""+ac4DescCalcLeft+"px";	
}			
}	
ac4intcomplate=1;	
if(1==1)	
{	
ac4DoAutoPlay();
}
}
function ac4DoAutoPlay()
{	
ac4mouse_over(ac4AutoPlayCurrent);	
ac4AutoPlayCurrent=ac4AutoPlayCurrent+1;
if(ac4AutoPlayCurrent>3)	
{	
ac4AutoPlayCurrent=1;	
}	
ac4AutoPlayTimer=setTimeout("ac4DoAutoPlay()",9000);
}
function ac4do_FadeAnim()
{	
if(ac4lllllllll<1)	
{	
return;	}	
ac4IEDescOpacity=ac4IEDescOpacity+5;	
ac4FFOpacity=ac4FFOpacity+0.05;	
if(IEB==true)	
{	
if(ac4IEDescOpacity>100)	
{		
ac4IEDescOpacity=100;		
return;	
}	
}	
else	
{	
if(ac4FFOpacity>1.00)		
{			
ac4FFOpacity=1.00;		
return;		
}	
}	
if(IEB==true)
{	
ac4lll[ac4lllllllll].filters.item(0).opacity=ac4IEDescOpacity;	
}
else	
{	
ac4lll[ac4lllllllll].style.opacity = ac4FFOpacity;	
}
ac4DescFadeEffectTimer=setTimeout("ac4do_FadeAnim()",20);
}
function ac4do_anim()
{	
if(ac4currstep<=0)	
{	
if(ac4lllllllll>=1)		
{		
if(ac4horvert==0)		
{	
if(ac4lllllllll==1)		
{					
ac4lll[ac4lllllllll].style.left=""+ac4DescCalcLeftBir+"px";			
}			
else				
{					
ac4lll[ac4lllllllll].style.left=""+ac4DescCalcLeft+"px";				
}		
}		
else	
{				
if(0==0)				
{	
ac4lll[ac4lllllllll].style.left=""+(ac4DescCalcLeft+parseInt(ac4ll[ac4lllllllll].style.left))+"px";					
var DesvertTop=0;					
if((ac4lllllllll>1) &&(ac4lllllllll!=3)){DesvertTop=177+2;
}
else{DesvertTop=177;
}				
ac4lll[ac4lllllllll].style.top=""+(DesvertTop)+"px";			
}				
else				
{					
ac4lll[ac4lllllllll].style.left=""+(ac4DescCalcLeft)+"px";				
ac4lll[ac4lllllllll].style.top=""+177+"px";			
}	
}			
if((ac4titarr[ac4lllllllll].length>0)||(ac4desarr[ac4lllllllll].length>0))		
{		
if(1==2)			
{				
ac4IEDescOpacity=0;			
ac4FFOpacity=0.00;					
ac4do_FadeAnim();	
ac4lll[ac4lllllllll].style.visibility="visible";			
}			
else			
{	
ac4lll[ac4lllllllll].style.visibility="visible";				
}	
}		
else	
{			
ac4lll[ac4lllllllll].style.visibility="hidden";			
}	
}		
return;	
}	
for(i=2;i<=3;i++)	
{	
ac4lllll[i] = parseInt(ac4lllll[i])+parseInt((ac4llll[i]-ac4lllll[i])/ac4currstep);		
if(ac4horvert==0)		
{		
ac4ll[i].style.left=""+ac4lllll[i]+"px";		
}		
else	
{		
ac4ll[i].style.top=""+ac4lllll[i]+"px";	
}	
}	
if((1==1)&&(ac4lllllllll>=1))	
{	
var dtop=0;		
if((ac4titarr[ac4lllllllll].length>0)||(ac4desarr[ac4lllllllll].length>0))	
{    
ac4lll[ac4lllllllll].style.visibility="visible";     
}     
else     
{          
ac4lll[ac4lllllllll].style.visibility="hidden";      
}	
dtop= 177+        parseInt(ac4DescCalcHeight-      ((ac4DescCalcHeight/ac4stepcount)*(ac4stepcount-(ac4currstep-1)))         );	
ac4lll[ac4lllllllll].style.top=""+dtop+"px";	
}	
ac4currstep--;	setTimeout("ac4do_anim()",20);
}
function ac4reposition(g)
{	
for(i=1;i<=3;i++)	
{	
if(i<=g)		
{	
if(i==1)		
{		
ac4llll[i]=0;		
}		
else	
{		
ac4llll[i]=parseInt(((i-1)*ac4llllllll)-2);		
}		
}		
else
{		
oncekix=0;		
for(j=1;j<(i-1);j++)			
{				
oncekix=oncekix+ac4llllllll;			
}	
if(ac4horvert==0)		
{	
ac4llll[i]=parseInt(((199)+(oncekix)));			
}		
else	
{		
ac4llll[i]=parseInt(((357)+(oncekix)));			
}		
}			
}	
if((ac4horvert==0)&&(3==g))	
{	
var bul1=ac4llll[3]+2+199;		
var bul2=199-bul1;		
ac4llll[3]=ac4llll[3]+bul2;	
}
if((ac4horvert==1)&&(3==g))	
{		
var bul1=ac4llll[3]+2+357;		
var bul2=357-bul1;		
ac4llll[3]=ac4llll[3]+bul2;	
}	
ac4currstep=ac4stepcount;	
ac4do_anim();
}
function ac4mouse_over(g)
{	
if(ac4intcomplate==0)
{
	return;
}	
if(g==ac4lllllllll)
{
	return;
	}	
ac4lllllllll=g;	
clearTimeout(ac4timeo);	
if(1==1)
{
	if(ac4icerdemi==1)
{
	clearTimeout(ac4AutoPlayTimer);
}
}	
for(i=1;i<=3;i++)
{	
if(i!=g)		
{	
ac4lll[i].style.visibility="hidden";			
if(IEB==true)		
{			
ac4lll[i].filters.item(0).opacity=100;			
}		
else		
{		
ac4lll[i].style.opacity = 1.0;			
}	
}
}
ac4reposition(g);
}
function ac4outall()
{
	ac4icerdemi=1;	
	clearTimeout(ac4AutoPlayTimer);	clearTimeout(ac4timeo);
	}
	function ac4mouse_divout2()
	{
		ac4icerdemi=0;	
		clearTimeout(ac4timeo);	if(1==1)	
{	
clearTimeout(ac4AutoPlayTimer);		
ac4AutoPlayCurrent=1;	
ac4DoAutoPlay();	
}	
else
{	for(i=1;i<=3;i++)
{	
ac4lll[i].style.visibility="hidden";	
}	
for(i=1;i<=3;i++)	
{
	sx=(ac4lllllll*(i-1))-2;	
	if(i==1)	
	{		
	ac4llll[i]=0;	
	}	
	else	
	{			
	ac4llll[i]=sx;	
	}		
	}
	ac4lllllllll=-1;	
	ac4currstep=ac4stepcount;	
	ac4do_anim();	
	}
	}
	function ac4mouse_divout()
	{	
	clearTimeout(ac4timeo);	ac4timeo=setTimeout("ac4mouse_divout2()",300);
	}
