uagent = window.navigator.userAgent.toLowerCase();
IEB=(uagent.indexOf('msie') != -1)?true:false;
var scompat = document.compatMode;
var vnetintcomplate=0;
vnetimgarr=new Array();
vnetaltarr=new Array();
vnetlinkarr=new Array();
vnettargetarr=new Array();
vnettitarr=new Array();
vnetdesarr=new Array();
vnetimgarr[0]="";
vnetaltarr[0]="";
vnetlinkarr[0]="";
vnettargetarr[0]="";
vnettitarr[0]="";
vnetdesarr[0]="";
vnetimgarr[1]="/tfgw_menu/tfgw-dc.png";
vnetaltarr[1]="";
vnetlinkarr[1]="services.php";
vnettargetarr[1]="_self";
vnettitarr[1]="<b style='font-size:20px; '>the better way</b>";
vnetdesarr[1]="to host your business";
vnetimgarr[2]="/tfgw_menu/tfgw-phone.png";
vnetaltarr[2]="";
vnetlinkarr[2]="services.php";
vnettargetarr[2]="_self";
vnettitarr[2]="<b style='font-size:20px; '>comunication</b>";
vnetdesarr[2]="happens";
vnetimgarr[3]="/tfgw_menu/tfgw-consulting.png";
vnetaltarr[3]="";
vnetlinkarr[3]="services.php";
vnettargetarr[3]="_self";
vnettitarr[3]="<b style='font-size:20px; '>the way</b>";
vnetdesarr[3]="to grow your business ";
var gnrated='';
var vnetstepcount=10;
var vnetcurrstep=10;
var vnettimeo=null;
var vnethorvert=0;
var vnetllllll=0;
var vnetlllllll=0;
var vnetllllllll=0;
var vnetll=new Array();
var vnetlll=new Array();
var vnetllll=new Array();
var vnetstartposx=new Array();
var vnetlllll=new Array();
var i=0;
var vnetlllllllll=0;
var vnetDescCalcLeftBir=0;
var vnetDescCalcLeft=0;
var vnetDescCalcWidth=0;
var vnetDescCalcHeight=0;
var vnetDescCalcIcWidth=0;
var vnetDescCalcIcHeight=0;
var vnethpiece='';
var vnetds="";
var vnetIEDescOpacity=100;
var vnetFFOpacity=1.0;
var vnetDescFadeEffectTimer=null;
var vnetAutoPlayTimer=null;
var vnetAutoPlayCurrent=1;
var vneticerdemi=0;
function vnetWriteDesc(){
	if(vnetlinkarr[i].length>2){
vnetds=vnetds+'<a href="'+vnetlinkarr[i]+'" target="'+vnettargetarr[i]+'" style="text-decoration:none; ">';
}
	vnetds=vnetds+'<div id="vnetadesc'+i+'" style="position:absolute; top:'+115+'px; left:0px; width:'+vnetDescCalcWidth+'px; height:'+vnetDescCalcHeight+'px; visibility:hidden; overflow:hidden; cursor:pointer; filter:alpha(opacity=100); opacity:1.00; " onMouseOut="vnetoutall()">';
	vnetds=vnetds+'<div style="position:absolute; left:0px; top:0px; width:'+vnetDescCalcWidth+'px; height:'+vnetDescCalcHeight+'px; border-style:solid; border-width:0px; border-color:#000000; background-color:#'+'000000'+'; opacity: '+0.50+'; filter:alpha(opacity='+50+'); " onMouseOut="vnetoutall()"></div>'; 
	vnetds=vnetds+'<div style="position:relative; left:0px; top:0px; width:'+vnetDescCalcIcWidth+'; height:'+vnetDescCalcIcHeight+'px; text-align:'+'left'+'; overflow:hidden; padding:'+10+'px; border-style:'+'solid'+'; border-width:'+0+'px; border-color:#'+'990000'+'; color:#'+'FFFFFF'+'; font-family:'+'arial'+'; font-style:'+'normal'+'; font-size: '+13+'; font-weight:'+'normal'+'; text-decoration:'+'none'+'; opacity: 1.0; filter:alpha(opacity=100); " onMouseOut="vnetoutall()">';
	vnetds=vnetds+'<span style="color:#'+'FFFFFF'+'; font-family:'+'arial'+'; font-style:'+'normal'+'; font-size: '+20+'; font-weight:'+'normal'+'; text-decoration:'+'none'+'; " onMouseOut="vnetoutall()">'+vnettitarr[i]+'</span>';
	if(vnettitarr[i].length>0){
		vnetds=vnetds+'<br />';
	}
	vnetds=vnetds+''+vnetdesarr[i];
	vnetds=vnetds+'</div>';
	vnetds=vnetds+'</div>';
	if(vnetlinkarr[i].length>2){
		vnetds=vnetds+'</a>';
	}
}
function vnetinit_doc(fstr,hormuvertmi){
	vnetDescCalcLeftBir=0;
		if((0==0)&&(vnethorvert==0))	{
		vnetDescCalcLeft=0+0;
	}
	else	{
		vnetDescCalcLeft=0;
	}
	if(0==0)	{
		vnetDescCalcWidth=400-0-0;
	}
	else	{
		vnetDescCalcWidth=957-0-0;
	}
	if((vnethorvert==1)&&(0==1))	{
		vnetDescCalcHeight=173-115-0;
	}
	else	{
		vnetDescCalcHeight=173-115-0;
	}
	if((IEB==true)&&(scompat == "BackCompat" ))	{
		vnetDescCalcIcWidth=vnetDescCalcWidth;
		vnetDescCalcIcHeight=vnetDescCalcHeight;
	}
	else	{
		vnetDescCalcIcWidth=vnetDescCalcWidth-2*(0)-2*(10);
		vnetDescCalcIcHeight=vnetDescCalcHeight-2*(0)-2*(10);
	}
	vnetfolderset=fstr;
	var tmpleftpad=0;
	var tmptoppad=0;
	vnethpiece=vnethpiece+'<div style="position:relative; width:'+957+'px; height:'+173+'px; border-style:solid; border-width:'+0+'px; border-color:#'+'FFFFFF'+'; ">';
	vnethpiece=vnethpiece+'<div style="position:relative; width:'+957+'px; height:'+173+'px; overflow:hidden; border-style:solid; border-width:0px; border-color:#FFFFFF; cursor:default; " onMouseOver="vnetoutall()" onMouseOut="vnetmouse_divout()">';
	if(0==1)	{
		for(i=1;
i<=3;
i++) 		{
			vnetWriteDesc();
		}
	}
	for(i=1;
i<=3;
i++)	{
		if(vnethorvert==0)		{
			if(i==1){
tmpleftpad=0;
}
else{
tmpleftpad=0;
}
			tmptoppad=0;
		}
		else		{
			tmpleftpad=0;
			if(i==1){
tmptoppad=0;
}
else{
tmptoppad=0;
}
		}
		gnrated=gnrated+'<div id="vnetpo'+i+'" style="position:absolute; left:0px; top:0px; " onMouseOver="vnetmouse_over('+i+')" onMouseOut="vnetoutall()"><div style="background-color:#FFFFFF; padding-left:'+tmpleftpad+'px; padding-top:'+tmptoppad+'px; "><a href="'+vnetlinkarr[i]+'" target="'+vnettargetarr[i]+'"><img width="'+400+'" height="'+173+'" src="'+vnetfolderset+vnetimgarr[i]+'" style="border-style:solid; border-width:0px; " TITLE="'+vnetaltarr[i]+'"></img></a>';
		if(0==0)		{
			vnetds="";
			vnetWriteDesc();
			gnrated=gnrated+vnetds;
		}
		gnrated=gnrated+'</div></div>';
	}
	vnethpiece=vnethpiece+gnrated;
	if(0==1)	{
		vnethpiece=vnethpiece+vnetds;
	}
	vnethpiece=vnethpiece+'</div>';
	vnethpiece=vnethpiece+'</div>';
	document.write(''+vnethpiece);
	setTimeout("vnetinit_position("+parseInt(hormuvertmi)+")",50);
}
function vnetinit_position(hv){
	vnethorvert=hv;
	for(i=1; i<=3; i++)	{
		vnetll[i]=document.getElementById('vnetpo'+i);
		vnetlll[i]=document.getElementById('vnetadesc'+i);
		if((vnetll[i]==null)||(vnetlll[i]==null))		{
		    setTimeout("vnetinit_position("+parseInt(hv)+")",200);
		    return;
		}
	}
		if(vnethorvert==0)	{
		vnetllllll=parseInt(     (957-((3-1)*0))     /(3));
		vnetlllllll=vnetllllll+0;
		vnetllllllll=parseInt(((957-400)/(3-1)));
	}
	else	{
		vnetllllll=parseInt(     (280-((3-1)*0))     /(3));
		vnetlllllll=vnetllllll+0;
		vnetllllllll=parseInt(((280-173)/(3-1)));
	}
	for(i=1; i<=3; i++)	{
		vnetll[i]=document.getElementById('vnetpo'+i);
		sx=(vnetlllllll*(i-1))-0;
		if(vnethorvert==0)		{
			if(i==1)			{
				vnetll[i].style.left="0px";
			}
			else			{
				vnetll[i].style.left=""+sx+"px";
			}
		}
		else		{
			if(i==1)			{
				vnetll[i].style.top="0px";
			}
			else			{
				vnetll[i].style.top=""+sx+"px";
			}
		}
		vnetstartposx[i]=sx;
		vnetlllll[i]=vnetstartposx[i];
		if(i==1)		{
			vnetlll[i].style.left=""+vnetDescCalcLeftBir+"px";
		}
		else		{
			vnetlll[i].style.left=""+vnetDescCalcLeft+"px";
		}
			}
	vnetintcomplate=1;
	if(0==1)	{
		vnetDoAutoPlay();
	}
}
function vnetDoAutoPlay(){
	vnetmouse_over(vnetAutoPlayCurrent);
	vnetAutoPlayCurrent=vnetAutoPlayCurrent+1;
	if(vnetAutoPlayCurrent>3)	{
		vnetAutoPlayCurrent=1;
	}
	vnetAutoPlayTimer=setTimeout("vnetDoAutoPlay()",4000);
}
function vnetdo_FadeAnim(){
	if(vnetlllllllll<1)	{
		return;
	}
	vnetIEDescOpacity=vnetIEDescOpacity+5;
	vnetFFOpacity=vnetFFOpacity+0.05;
	if(IEB==true)	{
		if(vnetIEDescOpacity>100)		{
			vnetIEDescOpacity=100;
			return;
		}
	}
	else	{
		if(vnetFFOpacity>1.00)		{
			vnetFFOpacity=1.00;
			return;
		}
	}
	if(IEB==true)	{
		vnetlll[vnetlllllllll].filters.item(0).opacity=vnetIEDescOpacity;
	}
	else	{
		vnetlll[vnetlllllllll].style.opacity = vnetFFOpacity;
	}
	vnetDescFadeEffectTimer=setTimeout("vnetdo_FadeAnim()",20);
}
function vnetdo_anim(){
	if(vnetcurrstep<=0)	{
		if(vnetlllllllll>=1)		{
			if(vnethorvert==0)			{
				if(vnetlllllllll==1)				{
					vnetlll[vnetlllllllll].style.left=""+vnetDescCalcLeftBir+"px";
				}
				else				{
					vnetlll[vnetlllllllll].style.left=""+vnetDescCalcLeft+"px";
				}
			}
			else			{
				if(0==0)				{
					vnetlll[vnetlllllllll].style.left=""+(vnetDescCalcLeft+parseInt(vnetll[vnetlllllllll].style.left))+"px";
					var DesvertTop=0;
					if((vnetlllllllll>1) &&(vnetlllllllll!=3)){
DesvertTop=115+0;
}
else{
DesvertTop=115;
}
					vnetlll[vnetlllllllll].style.top=""+(DesvertTop)+"px";
				}
				else				{
					vnetlll[vnetlllllllll].style.left=""+(vnetDescCalcLeft)+"px";
					vnetlll[vnetlllllllll].style.top=""+115+"px";
				}
			}
			if((vnettitarr[vnetlllllllll].length>0)||(vnetdesarr[vnetlllllllll].length>0))			{
				if(2==2)				{
					vnetIEDescOpacity=0;
					vnetFFOpacity=0.00;
					vnetdo_FadeAnim();
					vnetlll[vnetlllllllll].style.visibility="visible";
				}
				else				{
					vnetlll[vnetlllllllll].style.visibility="visible";
				}
			}
			else			{
				vnetlll[vnetlllllllll].style.visibility="hidden";
			}
		}
		return;
	}
	for(i=2;
i<=3;
i++)	{
		vnetlllll[i] = parseInt(vnetlllll[i])+parseInt((vnetllll[i]-vnetlllll[i])/vnetcurrstep);
		if(vnethorvert==0)		{
			vnetll[i].style.left=""+vnetlllll[i]+"px";
		}
		else		{
			vnetll[i].style.top=""+vnetlllll[i]+"px";
		}
	}
	if((2==1)&&(vnetlllllllll>=1))	{
		var dtop=0;
		if((vnettitarr[vnetlllllllll].length>0)||(vnetdesarr[vnetlllllllll].length>0))		{
    		vnetlll[vnetlllllllll].style.visibility="visible";
        }
        else        {
            vnetlll[vnetlllllllll].style.visibility="hidden";
        }
		dtop= 115+        parseInt(vnetDescCalcHeight-      ((vnetDescCalcHeight/vnetstepcount)*(vnetstepcount-(vnetcurrstep-1)))         );
		vnetlll[vnetlllllllll].style.top=""+dtop+"px";
	}
	vnetcurrstep--;
	setTimeout("vnetdo_anim()",10);
}
function vnetreposition(g){
	for(i=1;
i<=3;
i++)	{
		if(i<=g)		{
			if(i==1)			{
				vnetllll[i]=0;
			}
			else			{
				vnetllll[i]=parseInt(((i-1)*vnetllllllll)-0);
			}
		}
		else		{
			oncekix=0;
			for(j=1; j<(i-1); j++)			{
				oncekix=oncekix+vnetllllllll;
			}
			if(vnethorvert==0)			{
				vnetllll[i]=parseInt(((400)+(oncekix)));
			}
			else			{
				vnetllll[i]=parseInt(((173)+(oncekix)));
			}
		}
			}
	if((vnethorvert==0)&&(3==g))	{
		var bul1=vnetllll[3]+0+400;
		var bul2=957-bul1;
		vnetllll[3]=vnetllll[3]+bul2;
	}
	if((vnethorvert==1)&&(3==g))	{
		var bul1=vnetllll[3]+0+173;
		var bul2=173-bul1;
		vnetllll[3]=vnetllll[3]+bul2;
	}
	vnetcurrstep=vnetstepcount;
	vnetdo_anim();
}
function vnetmouse_over(g){
	if(vnetintcomplate==0){
return;
}
	if(g==vnetlllllllll){
return;
}
	vnetlllllllll=g;
	clearTimeout(vnettimeo);
	if(0==1){
if(vneticerdemi==1){
clearTimeout(vnetAutoPlayTimer);
}
}
	for(i=1; i<=3; i++)	{
		if(i!=g)		{
			vnetlll[i].style.visibility="hidden";
			if(IEB==true)			{
				vnetlll[i].filters.item(0).opacity=100;
			}
			else			{
				vnetlll[i].style.opacity = 1.0;
			}
		}
	}
	vnetreposition(g);
}
function vnetoutall(){
	vneticerdemi=1;
	clearTimeout(vnetAutoPlayTimer);
	clearTimeout(vnettimeo);
}
function vnetmouse_divout2(){
	vneticerdemi=0;
	clearTimeout(vnettimeo);
	if(0==1)	{
		clearTimeout(vnetAutoPlayTimer);
		vnetAutoPlayCurrent=1;
		vnetDoAutoPlay();
	}
	else	{
	for(i=1; i<=3; i++)	{
		vnetlll[i].style.visibility="hidden";
	}
	for(i=1; i<=3; i++)	{
		sx=(vnetlllllll*(i-1))-0;
		if(i==1)		{
			vnetllll[i]=0;
		} else	{
			vnetllll[i]=sx;
		}
	}
	vnetlllllllll=-1;
	vnetcurrstep=vnetstepcount;
	vnetdo_anim();
	}
}
function vnetmouse_divout(){
	clearTimeout(vnettimeo);
	vnettimeo=setTimeout("vnetmouse_divout2()",300);
}


