uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var product1intcomplate=0;product1imgarr=new Array();product1altarr=new Array();product1linkarr=new Array();product1targetarr=new Array();product1titarr=new Array();product1desarr=new Array();product1imgarr[0]="";product1altarr[0]="";product1linkarr[0]="";product1targetarr[0]="";product1titarr[0]="";product1desarr[0]="";product1imgarr[1]="F-TG0101.jpg";product1altarr[1]="";product1linkarr[1]="http://www.jingteahc.com/au/product-wu-long-tea.html";product1targetarr[1]="_self";product1titarr[1]="Wu-Long Diet Tea";product1desarr[1]="Wu-Long diet tea is an unique combination of ingredients working synergistically for efficient weight reduction. Experts agree regular consumption of Wu-Long tea contributes to healthy body figure maintenance; Oprah Winfrey and Rachael Ray enjoy 3 times a day or more. This Chinese secret has been used for centuries as a way to skyrocket energy and combat obesity...";product1imgarr[2]="F-TG0202.jpg";product1altarr[2]="";product1linkarr[2]="http://www.jingteahc.com/au/product-okinawan-tea.html";product1targetarr[2]="_self";product1titarr[2]="Okinawan Green Tea";product1desarr[2]="Okinawan people are known to be the leanest, healthiest in the world. This island boasts the highest percentage of centenarians of anywhere on earth. Obesity, diabetes and heart disease are virtually nonexistent in Okinawa. Scientists now believe that their unbelievable good health may be directly related to the fact that they consume a type of tea daily. This tea is Okinawan Tea. ... ";product1imgarr[3]="F-TG0401.jpg";product1altarr[3]="";product1linkarr[3]="http://www.jingteahc.com/au/product-gu-lan-tea.html";product1targetarr[3]="_self";product1titarr[3]="Gu-Lan Ancient Diet Tea";product1desarr[3]="During the period of the ancient Silk Road, traders prepared a tea by using spices sourced from all over East Asia to keep themselves healthy and energetic, free from illness and disease in the harsh environment and irregular high fat diet on their journey to the West. Modern scientists discovered the tea is rich in health-promoting nutrients, which may be the answers to the questions on man kind’s obesity and ageing...";product1imgarr[4]="F-TG0601.jpg";product1altarr[4]="";product1linkarr[4]="http://www.jingteahc.com/au/product-dus-tea.html";product1targetarr[4]="_self";product1titarr[4]="Du's Ancient Diet Tea";product1desarr[4]="Du's tree belongs to an ancient plant class and is over 2 million years old. The tree is commonly referred to as 'The Living Fossil' by modern geologists. The leaves and bark from the Du's tree has been recorded in 'Herbal Canon' and 'Compendium of Material Medical' as being 'The Rare Healing Materials'. Modern scientists discovered they have health benefits, which may be the answers to human ageing...";var gnrated='';var product1stepcount=20;var product1currstep=10;var product1timeo=null;var product1horvert=0;var product1llllll=0;var product1lllllll=0;var product1llllllll=0;var product1ll=new Array();var product1lll=new Array();var product1llll=new Array();var product1startposx=new Array();var product1lllll=new Array();var i=0;var product1lllllllll=0;var product1DescCalcLeftBir=0;var product1DescCalcLeft=0;var product1DescCalcWidth=0;var product1DescCalcHeight=0;var product1DescCalcIcWidth=0;var product1DescCalcIcHeight=0;var product1hpiece='';var product1ds="";var product1IEDescOpacity=100;var product1FFOpacity=1.0;var product1DescFadeEffectTimer=null;var product1AutoPlayTimer=null;var product1AutoPlayCurrent=1;var product1icerdemi=0;function product1WriteDesc(){	if(product1linkarr[i].length>2){product1ds=product1ds+'<a href="'+product1linkarr[i]+'" target="'+product1targetarr[i]+'" style="text-decoration:none;">';}	product1ds=product1ds+'<div id="product1adesc'+i+'" style="position:absolute;top:'+3+'px;left:0px;width:'+product1DescCalcWidth+'px;height:'+product1DescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="product1outall()">';	product1ds=product1ds+'<div style="position:absolute;left:0px;top:0px;width:'+product1DescCalcWidth+'px;height:'+product1DescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'E5EDC9'+';opacity: '+0.00+';filter:alpha(opacity='+0+');" onMouseOut="product1outall()"></div>';	product1ds=product1ds+'<div style="position:relative;left:0px;top:0px;width:'+product1DescCalcIcWidth+';height:'+product1DescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+2+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'E5EDC9'+';color:#'+'000000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+11+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="product1outall()">';	product1ds=product1ds+'<span style="color:#'+'800000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+12+';font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="product1outall()">'+product1titarr[i]+'</span>';	if(product1titarr[i].length>0){product1ds=product1ds+'<br />';}			product1ds=product1ds+''+product1desarr[i];	product1ds=product1ds+'</div>';	product1ds=product1ds+'</div>';	if(product1linkarr[i].length>2){product1ds=product1ds+'</a>';}}function product1init_doc(fstr,hormuvertmi){	product1DescCalcLeftBir=138;		if((0==0)&&(product1horvert==0))	{		product1DescCalcLeft=138+2;	}	else	{		product1DescCalcLeft=138;	}	if(0==0)	{		product1DescCalcWidth=440-138-2;	}	else	{		product1DescCalcWidth=550-138-2;	}	if((product1horvert==1)&&(0==1))	{		product1DescCalcHeight=136-3-16;	}	else	{		product1DescCalcHeight=136-3-16;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		product1DescCalcIcWidth=product1DescCalcWidth;		product1DescCalcIcHeight=product1DescCalcHeight;	}	else	{		product1DescCalcIcWidth=product1DescCalcWidth-2*(0)-2*(2);		product1DescCalcIcHeight=product1DescCalcHeight-2*(0)-2*(2);	}	product1folderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	product1hpiece=product1hpiece+'<div style="position:relative;width:'+550+'px;height:'+136+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'E5EDC9'+';">';	product1hpiece=product1hpiece+'<div style="position:relative;width:'+550+'px;height:'+136+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="product1outall()" onMouseOut="product1mouse_divout()">';	if(0==1)	{		for(i=1;i<=4;i++) 		{			product1WriteDesc();		}	}	for(i=1;i<=4;i++)	{		if(product1horvert==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="product1po'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="product1mouse_over('+i+')" onMouseOut="product1outall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+product1linkarr[i]+'" target="'+product1targetarr[i]+'"><img width="'+440+'" height="'+136+'" src="'+product1folderset+product1imgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+product1altarr[i]+'"></img></a>';		if(0==0)		{			product1ds="";			product1WriteDesc();			gnrated=gnrated+product1ds;		}		gnrated=gnrated+'</div></div>';	}	product1hpiece=product1hpiece+gnrated;	if(0==1)	{		product1hpiece=product1hpiece+product1ds;	}	product1hpiece=product1hpiece+'</div>';	product1hpiece=product1hpiece+'</div>';	document.write(''+product1hpiece);	setTimeout("product1init_position("+parseInt(hormuvertmi)+")",50);}function product1init_position(hv){	product1horvert=hv;	for(i=1;i<=4;i++)	{		product1ll[i]=document.getElementById('product1po'+i);		product1lll[i]=document.getElementById('product1adesc'+i);		if((product1ll[i]==null)||(product1lll[i]==null))		{		    setTimeout("product1init_position("+parseInt(hv)+")",200);		    return;		}	}		if(product1horvert==0)	{		product1llllll=parseInt(     (550-((4-1)*2))     /(4));		product1lllllll=product1llllll+2;		product1llllllll=parseInt(((550-440)/(4-1)));	}	else	{		product1llllll=parseInt(     (280-((4-1)*2))     /(4));		product1lllllll=product1llllll+2;		product1llllllll=parseInt(((280-136)/(4-1)));	}	for(i=1;i<=4;i++)	{		product1ll[i]=document.getElementById('product1po'+i);		sx=(product1lllllll*(i-1))-2;		if(product1horvert==0)		{			if(i==1)			{				product1ll[i].style.left="0px";			}			else			{				product1ll[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				product1ll[i].style.top="0px";			}			else			{				product1ll[i].style.top=""+sx+"px";			}		}		product1startposx[i]=sx;		product1lllll[i]=product1startposx[i];		if(i==1)		{			product1lll[i].style.left=""+product1DescCalcLeftBir+"px";		}		else		{			product1lll[i].style.left=""+product1DescCalcLeft+"px";		}			}	product1intcomplate=1;	if(0==1)	{		product1DoAutoPlay();	}}function product1DoAutoPlay(){	product1mouse_over(product1AutoPlayCurrent);	product1AutoPlayCurrent=product1AutoPlayCurrent+1;	if(product1AutoPlayCurrent>4)	{		product1AutoPlayCurrent=1;	}	product1AutoPlayTimer=setTimeout("product1DoAutoPlay()",4000);}function product1do_FadeAnim(){	if(product1lllllllll<1)	{		return;	}	product1IEDescOpacity=product1IEDescOpacity+5;	product1FFOpacity=product1FFOpacity+0.05;	if(IEB==true)	{		if(product1IEDescOpacity>100)		{			product1IEDescOpacity=100;			return;		}	}	else	{		if(product1FFOpacity>1.00)		{			product1FFOpacity=1.00;			return;		}	}	if(IEB==true)	{		product1lll[product1lllllllll].filters.item(0).opacity=product1IEDescOpacity;	}	else	{		product1lll[product1lllllllll].style.opacity = product1FFOpacity;	}	product1DescFadeEffectTimer=setTimeout("product1do_FadeAnim()",20);}function product1do_anim(){	if(product1currstep<=0)	{		if(product1lllllllll>=1)		{			if(product1horvert==0)			{				if(product1lllllllll==1)				{					product1lll[product1lllllllll].style.left=""+product1DescCalcLeftBir+"px";				}				else				{					product1lll[product1lllllllll].style.left=""+product1DescCalcLeft+"px";				}			}			else			{				if(0==0)				{					product1lll[product1lllllllll].style.left=""+(product1DescCalcLeft+parseInt(product1ll[product1lllllllll].style.left))+"px";					var DesvertTop=0;					if((product1lllllllll>1) &&(product1lllllllll!=4)){DesvertTop=3+2;}else{DesvertTop=3;}					product1lll[product1lllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					product1lll[product1lllllllll].style.left=""+(product1DescCalcLeft)+"px";					product1lll[product1lllllllll].style.top=""+3+"px";				}			}			if((product1titarr[product1lllllllll].length>0)||(product1desarr[product1lllllllll].length>0))			{				if(2==2)				{					product1IEDescOpacity=0;					product1FFOpacity=0.00;					product1do_FadeAnim();					product1lll[product1lllllllll].style.visibility="visible";				}				else				{					product1lll[product1lllllllll].style.visibility="visible";				}			}			else			{				product1lll[product1lllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=4;i++)	{		product1lllll[i] = parseInt(product1lllll[i])+parseInt((product1llll[i]-product1lllll[i])/product1currstep);		if(product1horvert==0)		{			product1ll[i].style.left=""+product1lllll[i]+"px";		}		else		{			product1ll[i].style.top=""+product1lllll[i]+"px";		}	}	if((2==1)&&(product1lllllllll>=1))	{		var dtop=0;		if((product1titarr[product1lllllllll].length>0)||(product1desarr[product1lllllllll].length>0))		{    		product1lll[product1lllllllll].style.visibility="visible";        }        else        {            product1lll[product1lllllllll].style.visibility="hidden";        }		dtop= 3+        parseInt(product1DescCalcHeight-      ((product1DescCalcHeight/product1stepcount)*(product1stepcount-(product1currstep-1)))         );		product1lll[product1lllllllll].style.top=""+dtop+"px";	}	product1currstep--;	setTimeout("product1do_anim()",20);}function product1reposition(g){	for(i=1;i<=4;i++)	{		if(i<=g)		{			if(i==1)			{				product1llll[i]=0;			}			else			{				product1llll[i]=parseInt(((i-1)*product1llllllll)-2);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+product1llllllll;			}			if(product1horvert==0)			{				product1llll[i]=parseInt(((440)+(oncekix)));			}			else			{				product1llll[i]=parseInt(((136)+(oncekix)));			}		}			}	if((product1horvert==0)&&(4==g))	{		var bul1=product1llll[4]+2+440;		var bul2=550-bul1;		product1llll[4]=product1llll[4]+bul2;	}	if((product1horvert==1)&&(4==g))	{		var bul1=product1llll[4]+2+136;		var bul2=136-bul1;		product1llll[4]=product1llll[4]+bul2;	}	product1currstep=product1stepcount;	product1do_anim();}function product1mouse_over(g){	if(product1intcomplate==0){return;}	if(g==product1lllllllll){return;}	product1lllllllll=g;	clearTimeout(product1timeo);	if(0==1){if(product1icerdemi==1){clearTimeout(product1AutoPlayTimer);}}	for(i=1;i<=4;i++)	{		if(i!=g)		{			product1lll[i].style.visibility="hidden";			if(IEB==true)			{				product1lll[i].filters.item(0).opacity=100;			}			else			{				product1lll[i].style.opacity = 1.0;			}		}	}	product1reposition(g);}function product1outall(){	product1icerdemi=1;	clearTimeout(product1AutoPlayTimer);	clearTimeout(product1timeo);}function product1mouse_divout2(){	product1icerdemi=0;	clearTimeout(product1timeo);	if(0==1)	{		clearTimeout(product1AutoPlayTimer);		product1AutoPlayCurrent=1;		product1DoAutoPlay();	}	else	{	for(i=1;i<=4;i++)	{		product1lll[i].style.visibility="hidden";	}	for(i=1;i<=4;i++)	{		sx=(product1lllllll*(i-1))-2;		if(i==1)		{			product1llll[i]=0;		}		else		{			product1llll[i]=sx;		}			}	product1lllllllll=-1;	product1currstep=product1stepcount;	product1do_anim();	}}function product1mouse_divout(){	clearTimeout(product1timeo);	product1timeo=setTimeout("product1mouse_divout2()",300);}
