

function hostingtabs(highlight) {
	//changes the hosting chart tab color onload
	
switch (highlight)
{
case "standard":
  document.getElementById('tabL1').style.backgroundPosition="left top";
  document.getElementById('tabR1').style.backgroundPosition="right top";
  break
case "windows":
  document.getElementById('tabL2').style.backgroundPosition="left top";
  document.getElementById('tabR2').style.backgroundPosition="right top";
  break
case "dial":
  document.getElementById('tabL3').style.backgroundPosition="left top";
  document.getElementById('tabR3').style.backgroundPosition="right top";
  break
case "domains":
  document.getElementById('tabL4').style.backgroundPosition="left top";
  document.getElementById('tabR4').style.backgroundPosition="right top";
  break
case "email":
  document.getElementById('tabL5').style.backgroundPosition="left top";
  document.getElementById('tabR5').style.backgroundPosition="right top";
  break
}



}


/*

The slow way:

var li = document.getElementById('subnav1');

var links = li.getElementsByTagName('a');
// Now links is an array containing each A element.

for (var i in links) {
    links[i].style.color = '#5378af';
}

The fast way would be to replace the first two lines with just:

var links = document.getElementById('subnav1').getElementsByTagName('a');


*/