uagent = window.navigator.userAgent.toLowerCase();

IEB=(uagent.indexOf('msie') != -1)?true:false;

var scompat = document.compatMode;

var ac3intcomplate=0;

ac3imgarr=new Array();

ac3altarr=new Array();

ac3linkarr=new Array();

ac3targetarr=new Array();

ac3titarr=new Array();

ac3desarr=new Array();

ac3imgarr[0]="";

ac3altarr[0]="";

ac3linkarr[0]="";

ac3targetarr[0]="";ac3titarr[0]="";

ac3desarr[0]="";

ac3imgarr[1]="ic-herbs-goldherbs.jpg";

ac3altarr[1]="ic-herbs-goldherbs.jpg";

ac3linkarr[1]="goldherbs.php";

ac3targetarr[1]="_self";

ac3titarr[1]="";

ac3desarr[1]="Herbal warisan Tiongkok untuk menjaga kesehatan tubuh, memperlambat penuaan dan meningkatkan daya tahan serta stamina tubuh...";


var gnrated='';

var ac3stepcount=20;

var ac3currstep=10;

var ac3timeo=null;

var ac3horvert=0;

var ac3llllll=0;

var ac3lllllll=0;

var ac3llllllll=0;

var ac3ll=new Array();

var ac3lll=new Array();

var ac3llll=new Array();

var ac3startposx=new Array();

var ac3lllll=new Array();

var i=0;

var ac3lllllllll=0;

var ac3DescCalcLeftBir=0;

var ac3DescCalcLeft=0;

var ac3DescCalcWidth=0;

var ac3DescCalcHeight=0;

var ac3DescCalcIcWidth=0;

var ac3DescCalcIcHeight=0;

var ac3hpiece='';

var ac3ds="";

var ac3IEDescOpacity=100;

var ac3FFOpacity=1.0;

var ac3DescFadeEffectTimer=null;

var ac3AutoPlayTimer=null;

var ac3AutoPlayCurrent=1;

var ac3icerdemi=0;

function ac3WriteDesc()

{

	if(ac3linkarr[i].length>2){ac3ds=ac3ds+'<a href="'+ac3linkarr[i]+'" target="'+ac3targetarr[i]+'" style="text-decoration:none;">';

	}	

	ac3ds=ac3ds+'<div id="ac3adesc'+i+'" style="position:absolute;top:'+177+'px;left:0px;width:'+ac3DescCalcWidth+'px;height:'+ac3DescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="ac3outall()">';	

	ac3ds=ac3ds+'<div style="position:absolute;left:0px;top:0px;width:'+ac3DescCalcWidth+'px;height:'+ac3DescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'FFFFFF'+';opacity: '+0.11+';filter:alpha(opacity='+11+');" onMouseOut="ac3outall()"></div>';	ac3ds=ac3ds+'<div style="position:relative;left:0px;top:0px;width:'+ac3DescCalcIcWidth+';height:'+ac3DescCalcIcHeight+'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="ac3outall()">';	

	ac3ds=ac3ds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="ac3outall()">'+ac3titarr[i]+'</span>';	if(ac3titarr[i].length>0){ac3ds=ac3ds+'<br />';

	}	

	ac3ds=ac3ds+''+ac3desarr[i];

	ac3ds=ac3ds+'</div>';

	ac3ds=ac3ds+'</div>';	

	if(ac3linkarr[i].length>2)

	{

		ac3ds=ac3ds+'</a>';

		}

		}

		function ac3init_doc(fstr,hormuvertmi){	ac3DescCalcLeftBir=0;	

	if((0==0)&&(ac3horvert==0))	

	{	

	ac3DescCalcLeft=0+2;	

	}	

	else

	{		

	ac3DescCalcLeft=0;	

	}	

	if(0==0)	

	{

		ac3DescCalcWidth=199-0-0;	

	}	

	else

	{		

	ac3DescCalcWidth=199-0-0;	

	}	

	if((ac3horvert==1)&&(0==1))	

	{		

	ac3DescCalcHeight=357-177-0;

	}

	else

	{	

	ac3DescCalcHeight=357-177-0;	

	}	

	if((IEB==true)&&(scompat == "BackCompat" ))	

	{		

	ac3DescCalcIcWidth=ac3DescCalcWidth;

	ac3DescCalcIcHeight=ac3DescCalcHeight;

	}	

	else	

	{		

	ac3DescCalcIcWidth=ac3DescCalcWidth-2*(0)-2*(3);	

	ac3DescCalcIcHeight=ac3DescCalcHeight-2*(0)-2*(3);	

	}	

	ac3folderset=fstr;	

	var tmpleftpad=0;	

	var tmptoppad=0;	

	ac3hpiece=ac3hpiece+'<div style="position:relative;width:'+199+'px;height:'+357+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'FFFFFF'+';">';	ac3hpiece=ac3hpiece+'<div style="position:relative;width:'+199+'px;height:'+357+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="ac3outall()" onMouseOut="ac3mouse_divout()">';	

	if(0==1)	

	{	

	for(i=1;i<=1;i++) 		

	{	

	ac3WriteDesc();	

	}	

	}

	for(i=1;i<=1;i++)

	{	

	if(ac3horvert==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="ac3po'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="ac3mouse_over('+i+')" onMouseOut="ac3outall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+ac3linkarr[i]+'" target="'+ac3targetarr[i]+'"><img width="'+199+'" height="'+357+'" src="'+ac3folderset+ac3imgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+ac3altarr[i]+'"></img></a>';		

	if(0==0)	

	{			

	ac3ds="";			

	ac3WriteDesc();		

	gnrated=gnrated+ac3ds;		

	}	

	gnrated=gnrated+'</div></div>';	

	}	

	ac3hpiece=ac3hpiece+gnrated;	

	if(0==1)	

	{	

	ac3hpiece=ac3hpiece+ac3ds;

	}

	ac3hpiece=ac3hpiece+'</div>';	

	ac3hpiece=ac3hpiece+'</div>';	

	document.write(''+ac3hpiece);	

	setTimeout("ac3init_position("+parseInt(hormuvertmi)+")",50);

	}

	function ac3init_position(hv){	ac3horvert=hv;	

	for(i=1;i<=1;i++)	

	{

		ac3ll[i]=document.getElementById('ac3po'+i);		

	ac3lll[i]=document.getElementById('ac3adesc'+i);	

	if((ac3ll[i]==null)||(ac3lll[i]==null))	

	{		

	setTimeout("ac3init_position("+parseInt(hv)+")",200);		 

	return;		

	}

	}		

	if(ac3horvert==0)	

	{		ac3llllll=parseInt(     (199-((3-1)*2))     /(3));	

	ac3lllllll=ac3llllll+2;		

	ac3llllllll=parseInt(((199-199)/(3-1)));	

	}	

	else	

	{	

	ac3llllll=parseInt(     (280-((3-1)*2))     /(3));	

	ac3lllllll=ac3llllll+2;		

	ac3llllllll=parseInt(((280-357)/(3-1)));	

	}	

	for(i=1;i<=1;i++)	

	{		

	ac3ll[i]=document.getElementById('ac3po'+i);	

	sx=(ac3lllllll*(i-1))-2;		

	if(ac3horvert==0)	

	{		

	if(i==1)		

	{	

	ac3ll[i].style.left="0px";		

	}	

	else		

	{		

	ac3ll[i].style.left=""+sx+"px";			

	}	

	}		

	else	

	{			

	if(i==1)		

	{			

	ac3ll[i].style.top="0px";		

	}

	else			

	{		

	ac3ll[i].style.top=""+sx+"px";			

	}		

	}

	ac3startposx[i]=sx;		

	ac3lllll[i]=ac3startposx[i];	

	if(i==1)	

	{	

	ac3lll[i].style.left=""+ac3DescCalcLeftBir+"px";	

	}		

	else	

	{			

	ac3lll[i].style.left=""+ac3DescCalcLeft+"px";		

	}		

	}	

	ac3intcomplate=1;	

	if(1==1)	

	{	

	ac3DoAutoPlay();	

	}

	}

	function ac3DoAutoPlay()

	{

		ac3mouse_over(ac3AutoPlayCurrent);	

		ac3AutoPlayCurrent=ac3AutoPlayCurrent+1;	

	if(ac3AutoPlayCurrent>3)	

	{	

	ac3AutoPlayCurrent=1;

	}

	ac3AutoPlayTimer=setTimeout("ac3DoAutoPlay()",9000);

	}

	function ac3do_FadeAnim()

	{	

	if(ac3lllllllll<1)	

	{	

	return;

	}

	ac3IEDescOpacity=ac3IEDescOpacity+5;

	ac3FFOpacity=ac3FFOpacity+0.05;	

	if(IEB==true)	

	{		

	if(ac3IEDescOpacity>100)	

	{	

	ac3IEDescOpacity=100;		

	return;		

	}	

	}	

	else

	{	

	if(ac3FFOpacity>1.00)		

	{			ac3FFOpacity=1.00;		

	return;	

	}

	}	

	if(IEB==true)	

	{	

	ac3lll[ac3lllllllll].filters.item(0).opacity=ac3IEDescOpacity;

	}	

	else	

	{	

	ac3lll[ac3lllllllll].style.opacity = ac3FFOpacity;	

	}

	ac3DescFadeEffectTimer=setTimeout("ac3do_FadeAnim()",20);

	}

	function ac3do_anim()

	{

		if(ac3currstep<=0)	

		{	

	if(ac3lllllllll>=1)		

	{		

	if(ac3horvert==0)			

	{	

	if(ac3lllllllll==1)			

	{		

	ac3lll[ac3lllllllll].style.left=""+ac3DescCalcLeftBir+"px";		

	}			

	else	

	{				

	ac3lll[ac3lllllllll].style.left=""+ac3DescCalcLeft+"px";			

	}		

	}		

	else		

	{		

	if(0==0)			

	{			

	ac3lll[ac3lllllllll].style.left=""+(ac3DescCalcLeft+parseInt(ac3ll[ac3lllllllll].style.left))+"px";			

	var DesvertTop=0;				

	if((ac3lllllllll>1) &&(ac3lllllllll!=3)){DesvertTop=177+2;

	}

	else{DesvertTop=177;}		

	ac3lll[ac3lllllllll].style.top=""+(DesvertTop)+"px";			

	}		

	else			

	{			

	ac3lll[ac3lllllllll].style.left=""+(ac3DescCalcLeft)+"px";		

	ac3lll[ac3lllllllll].style.top=""+177+"px";			

	}		

	}	

	if((ac3titarr[ac3lllllllll].length>0)||(ac3desarr[ac3lllllllll].length>0))		

	{		

	if(1==2)			

	{			

	ac3IEDescOpacity=0;				

	ac3FFOpacity=0.00;				

	ac3do_FadeAnim();				

	ac3lll[ac3lllllllll].style.visibility="visible";			

	}				

	else

	{	

	ac3lll[ac3lllllllll].style.visibility="visible";			

	}		

	}		

	else			

	{			

	ac3lll[ac3lllllllll].style.visibility="hidden";		

	}	

	}	

	return;	

	}	

	for(i=2;i<=1;i++)	

	{		

	ac3lllll[i] = parseInt(ac3lllll[i])+parseInt((ac3llll[i]-ac3lllll[i])/ac3currstep);	

	if(ac3horvert==0)	

	{			

	ac3ll[i].style.left=""+ac3lllll[i]+"px";	

	}	

	else	

	{	

	ac3ll[i].style.top=""+ac3lllll[i]+"px";		

	}

	}

	if((1==1)&&(ac3lllllllll>=1))	

	{	

	var dtop=0;		

	if((ac3titarr[ac3lllllllll].length>0)||(ac3desarr[ac3lllllllll].length>0))	

	{    

	ac3lll[ac3lllllllll].style.visibility="visible";    

	}       

	else     

	{     

	ac3lll[ac3lllllllll].style.visibility="hidden";     

	}		dtop= 177+        parseInt(ac3DescCalcHeight-      ((ac3DescCalcHeight/ac3stepcount)*(ac3stepcount-(ac3currstep-1)))         );	

	ac3lll[ac3lllllllll].style.top=""+dtop+"px";	

	}	

	ac3currstep--;	

	setTimeout("ac3do_anim()",20);

	}

	function ac3reposition(g){	

	for(i=1;i<=1;i++)	

	{	

	if(i<=g)	

	{		

	if(i==1)		

	{	

	ac3llll[i]=0;		

	}		

	else	

	{			

	ac3llll[i]=parseInt(((i-1)*ac3llllllll)-2);		

	}		

	}		

	else	

	{	

	oncekix=0;		

	for(j=1;j<(i-1);j++)	

	{		

	oncekix=oncekix+ac3llllllll;	

	}	

	if(ac3horvert==0)	

	{			

	ac3llll[i]=parseInt(((199)+(oncekix)));		

	}	

	else		

	{	

	ac3llll[i]=parseInt(((357)+(oncekix)));		

	}	

	}			

	}	

	if((ac3horvert==0)&&(3==g))

	{		

	var bul1=ac3llll[3]+2+199;	

	var bul2=199-bul1;		

	ac3llll[3]=ac3llll[3]+bul2;	

	}	

	if((ac3horvert==1)&&(3==g))

	{	

	var bul1=ac3llll[3]+2+357;		

	var bul2=357-bul1;		

	ac3llll[3]=ac3llll[3]+bul2;	}	

	ac3currstep=ac3stepcount;

	ac3do_anim();

	}

	function ac3mouse_over(g)

	{	

	if(ac3intcomplate==0)

	{

		return;

	}	

	if(g==ac3lllllllll)

	{

		return;}

	ac3lllllllll=g;	

	clearTimeout(ac3timeo);	

	if(1==1)

	{

		if(ac3icerdemi==1)

		{

			clearTimeout(ac3AutoPlayTimer);

		}

		}

		for(i=1;i<=1;i++)	

	{	

	if(i!=g)	

	{	

	ac3lll[i].style.visibility="hidden";		

	if(IEB==true)		

	{	

	ac3lll[i].filters.item(0).opacity=100;		

	}	

	else		

	{		

	ac3lll[i].style.opacity = 1.0;		

	}	

	}	

	}	

	ac3reposition(g);

	}

	function ac3outall()

	{

		ac3icerdemi=1;	

		clearTimeout(ac3AutoPlayTimer);	

		clearTimeout(ac3timeo);

	}

	function ac3mouse_divout2()

	{	

	ac3icerdemi=0;	

	clearTimeout(ac3timeo);

	if(1==1)

	{	

	clearTimeout(ac3AutoPlayTimer);	

	ac3AutoPlayCurrent=1;		

	ac3DoAutoPlay();

	}	

	else	

	{

		for(i=1;i<=1;i++)

	{	

	ac3lll[i].style.visibility="hidden";

	}	

	for(i=1;i<=1;i++)	

	{	

	sx=(ac3lllllll*(i-1))-2;	

	if(i==1)	

	{	

	ac3llll[i]=0;	

	}		

	else		

	{		

	ac3llll[i]=sx;		

	}		

	}	

	ac3lllllllll=-1;

	ac3currstep=ac3stepcount;	

	ac3do_anim();

	}

	}

	function ac3mouse_divout()

	{	

	clearTimeout(ac3timeo);	

	ac3timeo=setTimeout("ac3mouse_divout2()",300);

	}
