uagent = window.navigator.userAgent.toLowerCase();
IEB=(uagent.indexOf('msie') != -1)?true:false;
var scompat = document.compatMode;
var ac7intcomplate=0;
ac7imgarr=new Array();
ac7altarr=new Array();
ac7linkarr=new Array();
ac7targetarr=new Array();
ac7titarr=new Array();
ac7desarr=new Array();
ac7imgarr[0]="";
ac7altarr[0]="";
ac7linkarr[0]="";
ac7targetarr[0]="";
ac7titarr[0]="";
ac7desarr[0]="";
ac7imgarr[1]="bginfo.jpg";
ac7altarr[1]="KLIK DISINI!";
ac7linkarr[1]="javascript:newWindow('info.html','popup',707,707,'scrollbars=yes')";
ac7targetarr[1]="_self";
ac7titarr[1]="PENGUMUMAN PENTING !";
ac7desarr[1]='<div align="justify" class="info">Mulai 1 Februari 2010, Management GnE Indonesia menetapkan bahwa setiap GnE Crown & GnE Diamond diwajibkan dan dituntut untuk berkomitment pada bisnis GnE. Oleh karena itu, setiap GnE Crown & GnE Diamond yang menjalankan bisnis GnE tidak diperkenankan melakukan aktifitas bisnis lain yang mengganggu serta merusak bisnis GnE.<br><br><span class="info2">Untuk info selanjutnya silahkan klik pada kolom ini!</span></div>';
ac7imgarr[2]="bginfo.jpg";
ac7altarr[2]="KLIK DISINI!";
ac7linkarr[2]="campaign.php";
ac7targetarr[2]="_self";
ac7titarr[2]="GNE BANGKOK - PATTAYA CAMPAIGN 2010";
ac7desarr[2]='<div align="justify" class="info"><img src="upload_info/img/bangkok_pattaya.jpg" width="75" height="75" align="left" border="0"/>Jelajahi pesona Bangkok dengan mengunjungi kuil agung terkenal Grand Palace dan Emerald Buddha, nikmati sensasi menyenangkan negeri Siam dengan mengarungi sungai menuju Floating Market Chaopraya dan temukan keunikan budaya Thailand dengan menyaksikan Siam Niramit Show dan mengunjungi Sriracha Tiger & Crocodile Farm. <br><br><span class="info2">Info selanjutnya silahkan klik pada kolom ini!</span></div>';
var gnrated='';
var ac7stepcount=60;
var ac7currstep=10;
var ac7timeo=null;
var ac7horvert=0;
var ac7llllll=0;
var ac7lllllll=0;
var ac7llllllll=0;
var ac7ll=new Array();
var ac7lll=new Array();
var ac7llll=new Array();
var ac7startposx=new Array();
var ac7lllll=new Array();
var i=0;
var ac7lllllllll=0;
var ac7DescCalcLeftBir=0;
var ac7DescCalcLeft=0;
var ac7DescCalcWidth=0;
var ac7DescCalcHeight=0;
var ac7DescCalcIcWidth=0;
var ac7DescCalcIcHeight=0;
var ac7hpiece='';
var ac7ds="";
var ac7IEDescOpacity=100;
var ac7FFOpacity=1.0;
var ac7DescFadeEffectTimer=null;
var ac7AutoPlayTimer=null;
var ac7AutoPlayCurrent=1;
var ac7icerdemi=0;
function ac7WriteDesc()
{	
if(ac7linkarr[i].length>2)
{
	ac7ds=ac7ds+'<a href="'+ac7linkarr[i]+'" target="'+ac7targetarr[i]+'" style="text-decoration:none;">';
	}	
	ac7ds=ac7ds+'<div id="ac7adesc'+i+'" style="position:absolute;top:'+27+'px;left:0px;width:'+ac7DescCalcWidth+'px;height:'+ac7DescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="ac7outall()">';	
	ac7ds=ac7ds+'<div style="position:absolute;left:0px;top:0px;width:'+ac7DescCalcWidth+'px;height:'+ac7DescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'FFFFFF'+';opacity: '+0.11+';filter:alpha(opacity='+11+');" onMouseOut="ac7outall()"></div>';	ac7ds=ac7ds+'<div style="position:relative;left:0px;top:0px;width:'+ac7DescCalcIcWidth+';height:'+ac7DescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'FFFFFF'+';color:#'+'0000FF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="ac7outall()">';	
	ac7ds=ac7ds+'<span style="color:#'+'FF0000'+';font-family:'+'arial'+';font-style:'+'none'+';font-size: '+17+';font-weight:'+'normal'+';text-decoration:'+'underline'+';" onMouseOut="ac7outall()">'+ac7titarr[i]+'</span>';
	if(ac7titarr[i].length>0){ac7ds=ac7ds+'<br />';
	}	
	ac7ds=ac7ds+''+ac7desarr[i];
	ac7ds=ac7ds+'</div>';	ac7ds=ac7ds+'</div>';
	if(ac7linkarr[i].length>2){ac7ds=ac7ds+'</a>';
	}
	}
	function ac7init_doc(fstr,hormuvertmi)
	{
		ac7DescCalcLeftBir=5;		
		if((0==0)&&(ac7horvert==0))
		{	
		ac7DescCalcLeft=5+2;	
		}	
		else	
		{		
		ac7DescCalcLeft=5;	
	}	
	if(0==0)	
	{		
	ac7DescCalcWidth=616-5-5;	
	}	
	else	
	{	
	ac7DescCalcWidth=616-5-5;	
	}	
	if((ac7horvert==1)&&(0==1))
	{		
	ac7DescCalcHeight=150-27-5;	
	}	
	else	
	{		
	ac7DescCalcHeight=150-27-5;
	}	
	if((IEB==true)&&(scompat == "BackCompat" ))	
	{	
	ac7DescCalcIcWidth=ac7DescCalcWidth;		
	ac7DescCalcIcHeight=ac7DescCalcHeight;
	}	
	else	
	{	
	ac7DescCalcIcWidth=ac7DescCalcWidth-2*(2)-2*(3);	
	ac7DescCalcIcHeight=ac7DescCalcHeight-2*(2)-2*(3);	
	}
	ac7folderset=fstr;	
	var tmpleftpad=0;	
	var tmptoppad=0;	
	ac7hpiece=ac7hpiece+'<div style="position:relative;width:'+616+'px;height:'+150+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'FFFFFF'+';">';	
	ac7hpiece=ac7hpiece+'<div style="position:relative;width:'+616+'px;height:'+150+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="ac7outall()" onMouseOut="ac7mouse_divout()">';	
	if(0==1)	
	{		
	for(i=1;i<=2;i++) 		
	{			
	ac7WriteDesc();		
	}	
	}	
	for(i=1;i<=2;i++)	
	{		
	if(ac7horvert==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="ac7po'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="ac7mouse_over('+i+')" onMouseOut="ac7outall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+ac7linkarr[i]+'" target="'+ac7targetarr[i]+'"><img width="'+616+'" height="'+200+'" src="'+ac7folderset+ac7imgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+ac7altarr[i]+'"></img></a>';		
		if(0==0)		
		{	
		ac7ds="";		
		ac7WriteDesc();		
		gnrated=gnrated+ac7ds;	
		}		
		gnrated=gnrated+'</div></div>';	
		}	
		ac7hpiece=ac7hpiece+gnrated;	
		if(0==1)	
		{		
		ac7hpiece=ac7hpiece+ac7ds;	
		}	
		ac7hpiece=ac7hpiece+'</div>';	
		ac7hpiece=ac7hpiece+'</div>';	
		document.write(''+ac7hpiece);	
		setTimeout("ac7init_position("+parseInt(hormuvertmi)+")",50);
		}
		function ac7init_position(hv)
		{
			ac7horvert=hv;	
		for(i=1;i<=2;i++)	
		{	
		ac7ll[i]=document.getElementById('ac7po'+i);	
		ac7lll[i]=document.getElementById('ac7adesc'+i);		
		if((ac7ll[i]==null)||(ac7lll[i]==null))		
		{		
		setTimeout("ac7init_position("+parseInt(hv)+")",200);		 
		return;		
		}	
		}		
		if(ac7horvert==0)	
		{	
		ac7llllll=parseInt(     (616-((2-1)*2))     /(2));	
		
		ac7lllllll=ac7llllll+2;		
		ac7llllllll=parseInt(((616-616)/(2-1)));	
		}	
		else	
		{	
		ac7llllll=parseInt(     (280-((2-1)*2))     /(2));		
		ac7lllllll=ac7llllll+2;		
		ac7llllllll=parseInt(((280-200)/(2-1)));	
		}	
		for(i=1;i<=2;i++)	
		{	
		ac7ll[i]=document.getElementById('ac7po'+i);	
		sx=(ac7lllllll*(i-1))-2;		
		if(ac7horvert==0)		
		{		
		if(i==1)		
		{	
		ac7ll[i].style.left="0px";		
		}		
		else			
		{				
		ac7ll[i].style.left=""+sx+"px";		
		}		
		}	
		else	
		{	
		if(i==1)		
		{	
		ac7ll[i].style.top="0px";		
		}			
		else		
		{	
		ac7ll[i].style.top=""+sx+"px";		
		}	
		}	
		ac7startposx[i]=sx;	
		ac7lllll[i]=ac7startposx[i];		
		if(i==1)		
		{		
		ac7lll[i].style.left=""+ac7DescCalcLeftBir+"px";		
		}		
		else		
		{			
		ac7lll[i].style.left=""+ac7DescCalcLeft+"px";		
		}			
		}	
		ac7intcomplate=1;	
		if(1==1)	
		{		
		ac7DoAutoPlay();	
		}
		}
		function ac7DoAutoPlay()
		{	
		ac7mouse_over(ac7AutoPlayCurrent);
		ac7AutoPlayCurrent=ac7AutoPlayCurrent+1;	
		if(ac7AutoPlayCurrent>2)	
		{
			ac7AutoPlayCurrent=1;	
		}	
		ac7AutoPlayTimer=setTimeout("ac7DoAutoPlay()",12000);
		}
		function ac7do_FadeAnim()
		{	
		if(ac7lllllllll<1)	
		{		
		return;	
		}	
		ac7IEDescOpacity=ac7IEDescOpacity+5;	
		ac7FFOpacity=ac7FFOpacity+0.05;	
		if(IEB==true)	
		{	
		if(ac7IEDescOpacity>100)		
		{	
		ac7IEDescOpacity=100;		
		return;		
		}	
		}	
		else	
		{		
		if(ac7FFOpacity>1.00)		
		{		
		ac7FFOpacity=1.00;		
		return;		
		}	
		}	
		if(IEB==true)	
		{	
		ac7lll[ac7lllllllll].filters.item(0).opacity=ac7IEDescOpacity;	
		}	
		else	
		{	
		ac7lll[ac7lllllllll].style.opacity = ac7FFOpacity;	
		}	
		ac7DescFadeEffectTimer=setTimeout("ac7do_FadeAnim()",20);
		}
		function ac7do_anim()
		{
			if(ac7currstep<=0)	
		{	
		if(ac7lllllllll>=1)	
		{	
		if(ac7horvert==0)			
		{				
		if(ac7lllllllll==1)			
		{	
		ac7lll[ac7lllllllll].style.left=""+ac7DescCalcLeftBir+"px";				
		}			
		else			
		{	
		ac7lll[ac7lllllllll].style.left=""+ac7DescCalcLeft+"px";			
		}		
		}			
		else	
		
		{			
		if(0==0)				
		{					
		ac7lll[ac7lllllllll].style.left=""+(ac7DescCalcLeft+parseInt(ac7ll[ac7lllllllll].style.left))+"px";				
		var DesvertTop=0;				
		if((ac7lllllllll>1) &&(ac7lllllllll!=2)){DesvertTop=27+2;
		}
		else{DesvertTop=27;
		}	
		
		ac7lll[ac7lllllllll].style.top=""+(DesvertTop)+"px";			
		}		
		else			
		{		
		ac7lll[ac7lllllllll].style.left=""+(ac7DescCalcLeft)+"px";				
		ac7lll[ac7lllllllll].style.top=""+27+"px";				
		}		
		}	
		if((ac7titarr[ac7lllllllll].length>0)||(ac7desarr[ac7lllllllll].length>0))			
		{				
		if(2==2)			
		{					
		ac7IEDescOpacity=0;				
		ac7FFOpacity=0.00;				
		ac7do_FadeAnim();					
		ac7lll[ac7lllllllll].style.visibility="visible";			
		}			
		else			
		{			
		ac7lll[ac7lllllllll].style.visibility="visible";			
		}		
		}		
		else		
		{	
		ac7lll[ac7lllllllll].style.visibility="hidden";		
		}		
		}	
		return;	
		}	
		for(i=2;i<=2;i++)	
		{	
		ac7lllll[i] = parseInt(ac7lllll[i])+parseInt((ac7llll[i]-ac7lllll[i])/ac7currstep);		
		if(ac7horvert==0)		
		{		
		ac7ll[i].style.left=""+ac7lllll[i]+"px";		
		}	
		else		
		{	
		ac7ll[i].style.top=""+ac7lllll[i]+"px";		
		}
		}	
		if((2==1)&&(ac7lllllllll>=1))	
		{	
		var dtop=0;		
		if((ac7titarr[ac7lllllllll].length>0)||(ac7desarr[ac7lllllllll].length>0))	
		{    	
		ac7lll[ac7lllllllll].style.visibility="visible";      
		} 
		else       
		{         
		ac7lll[ac7lllllllll].style.visibility="hidden";       
		}
		dtop= 27+        parseInt(ac7DescCalcHeight-      ((ac7DescCalcHeight/ac7stepcount)*(ac7stepcount-(ac7currstep-1)))         );	
		ac7lll[ac7lllllllll].style.top=""+dtop+"px";	
		}	
		ac7currstep--;
		setTimeout("ac7do_anim()",10);
		}
		function ac7reposition(g)
		{	
		for(i=1;i<=2;i++)	
		{		
		if(i<=g)		
		{		
		if(i==1)		
		{
			ac7llll[i]=0;		
			}		
			else		
			{		
			ac7llll[i]=parseInt(((i-1)*ac7llllllll)-2);			
		}		
		}	
		else		
		{		
		oncekix=0;		
		for(j=1;j<(i-1);j++)		
		{		
		oncekix=oncekix+ac7llllllll;			
		}		
		if(ac7horvert==0)	
		{	
		ac7llll[i]=parseInt(((616)+(oncekix)));			
		}		
		else		
		{			
		ac7llll[i]=parseInt(((200)+(oncekix)));			
		}		
		}			
		}
		if((ac7horvert==0)&&(2==g))	
		{	
		var bul1=ac7llll[2]+2+616;	
		var bul2=616-bul1;		
		ac7llll[2]=ac7llll[2]+bul2;
		}	
		if((ac7horvert==1)&&(2==g))	
		{	
		var bul1=ac7llll[2]+2+200;		
		var bul2=200-bul1;	
		ac7llll[2]=ac7llll[2]+bul2;	
		}
		ac7currstep=ac7stepcount;	
		ac7do_anim();
		}
		function ac7mouse_over(g)
		{
			if(ac7intcomplate==0)
			{
				return;
			}
			if(g==ac7lllllllll)
			{
				return;
			}	
			ac7lllllllll=g;	
			clearTimeout(ac7timeo);	
			if(1==1)
			{
				if(ac7icerdemi==1)
				{
					clearTimeout(ac7AutoPlayTimer);
		}
		}	
		for(i=1;i<=2;i++)	
		{	
		if(i!=g)	
		{			
		ac7lll[i].style.visibility="hidden";		
		if(IEB==true)			
		{	
		ac7lll[i].filters.item(0).opacity=100;			
		}		
		else			
		{	
		ac7lll[i].style.opacity = 1.0;			
		}	
		}	}	ac7reposition(g);
		}
		function ac7outall()
		{	
		ac7icerdemi=1;	
		clearTimeout(ac7AutoPlayTimer);	
		clearTimeout(ac7timeo);
		}
		function ac7mouse_divout2()
		{	
		ac7icerdemi=0;	
		clearTimeout(ac7timeo);
		if(1==1)	
		{	
		clearTimeout(ac7AutoPlayTimer);		
		ac7AutoPlayCurrent=1;	
		ac7DoAutoPlay();	
		}	
		else	
		{
			for(i=1;i<=2;i++)	
			{	
			ac7lll[i].style.visibility="hidden";	
			}	
			for(i=1;i<=2;i++)	
			{	
			sx=(ac7lllllll*(i-1))-2;	
			if(i==1)	
			{	
			ac7llll[i]=0;		
			}	
			else	
			{		
			ac7llll[i]=sx;	
			}		
			}	
			ac7lllllllll=-1;
			ac7currstep=ac7stepcount;	
			ac7do_anim();	
			}
			}
			function ac7mouse_divout()
			{	
			clearTimeout(ac7timeo);	ac7timeo=setTimeout("ac7mouse_divout2()",300);
			}