<!--
var opacity=0
opacity0=0
opacity1=0
opacity2=0
opacity3=0
opacity4=0
currscr=0
prevcurr=0
intervalhide=0
intervalshow=0
scronoff=0;



function closeAll()
{
switch (currscr)
{
case 1:
  document.getElementById("subnav2").style.display = "none";
  document.getElementById("subnav3").style.display = "none";
  document.getElementById("subnav4").style.display = "none";
  break;
case 2:
  document.getElementById("subnav1").style.display = "none";
  document.getElementById("subnav3").style.display = "none";
  document.getElementById("subnav4").style.display = "none";
  break;
case 3:
  document.getElementById("subnav1").style.display = "none";
  document.getElementById("subnav2").style.display = "none";
  document.getElementById("subnav4").style.display = "none";
  break;
case 4:
  document.getElementById("subnav1").style.display = "none";
  document.getElementById("subnav2").style.display = "none";
  document.getElementById("subnav3").style.display = "none";
  break;
default:
  break;
}

}

function showSubnav(abc,n,v)
{
var target = document.getElementById(abc);

if (opacity1<v)
{
opacity1+=n;
opacitylvl=opacity1*100;
target.style.opacity=opacity1;
target.style.filter = 'alpha(opacity='+opacitylvl+')'; 
}
else
if (window.intervalshow)
{
clearInterval(intervalshow);
closeAll();
}
}

function hideSubnav(def,lll)
{
var target = document.getElementById(def);

if (opacity0>0.00)
{
opacity0-=lll;
opacitylvl=opacity0*100;
target.style.opacity=opacity0;
target.style.filter = 'alpha(opacity='+opacitylvl+')'; 
}
else
if (window.intervalhide)
{
clearInterval(intervalhide);
//closeAll();
target.style.display= "none";
}
}

function closesubs(subnow)
{
if (window.intervalhide)
{
clearInterval(intervalhide);
}
opacity0=1.00;

switch (currscr)
{
case 1:
  zyx='subnav1';
  document.getElementById("subnav1").style.zIndex = 1;
  break;
case 2:
  zyx='subnav2';
  document.getElementById("subnav2").style.zIndex = 1;
  break;
case 3:
  zyx='subnav3';
  document.getElementById("subnav3").style.zIndex = 1;
  break;
case 4:
  zyx='subnav4';
  document.getElementById("subnav4").style.zIndex = 1;
  break;
case 5:
  break;
default:
  break;
}

//setTimeout("hideScr(zyx,0.05)",1);

currscr=subnow;
intervalhide=setInterval("hideSubnav(zyx,0.10)",1);

//hideScr(zyx,0.05);
}

function showsub(subnow)
{
//if (currscr!=0)
//{
//closesubs();
//}

if (window.intervalshow)
{
clearInterval(intervalshow);
}

switch (subnow)
{
case 1:
  cba='subnav1';
  currscr=1;
  document.getElementById("subnav1").style.zIndex = 2;
  break;
case 2:
  cba='subnav2';
  currscr=2;
  document.getElementById("subnav2").style.zIndex = 2;
  break;
case 3:
  cba='subnav3';
  currscr=3;
  document.getElementById("subnav3").style.zIndex = 2;
  break;
case 4:
  cba='subnav4';
  currscr=4;
  document.getElementById("subnav4").style.zIndex = 2;
  break;
default:
  break;
}

document.getElementById(cba).style.display = 'block';
opacity1=0;
intervalshow=setInterval("showSubnav(cba,0.02,1.00)",1);

//currscr=subnow;
//setTimeout("showScr(cba,0.02,0.85);",10);
}

function showsubmenu(subnow)
{
if (currscr!=0 && currscr!=subnow)
{
prevcurr = currscr;
closesubs(subnow);
}

showsub(subnow);

}

function goHome()
{
if (currscr!=0)
{
closesubs();
}

}

function goHost()
{
window.open("http://www.my-linker.com/hop/bestwebhost","_blank") 
}




//-->