if (document.images)
{
  homeoff= new Image(55,46);
  homeoff.src="../images/home.gif";
  
  homeon= new Image(55,46);
  homeon.src="../images/home2.gif";
  
  portoff= new Image(75,46);
  portoff.src="../images/port.gif";
  
  porton= new Image(75,46); 
  porton.src="../images/port2.gif";
  
  soluoff= new Image(75,46);
  soluoff.src="../images/solu.gif";
  
  soluon= new Image(75,46);
  soluon.src="../images/solu2.gif";
  
  aboutoff= new Image(75,46);
  aboutoff.src="../images/about.gif";
  
  abouton= new Image(75,46);
  abouton.src="../images/about2.gif";
  
  blogoff= new Image(55,46); 
  blogoff.src="../images/blog.gif";
  
  blogon= new Image(55,46);
  blogon.src="../images/blog2.gif";
}

function hovertab(tab){
	if(document.images){
      newsrc = eval(tab + "on.src");
      document.getElementById(tab).src = newsrc;
	}
}
function offtab(tab){
	if(document.images){
      newsrc = eval(tab + "off.src");
      document.getElementById(tab).src = newsrc;
	}
}
function hl(thing, id){
	document.getElementById(id).src = '../images/' + thing + '2.gif';
}
function bw(thing, id){
	document.getElementById(id).src = '../images/' + thing + '.gif';
}
function foc(id){
	document.getElementById(id).className = 'foc';
}
function nofoc(id){
	document.getElementById(id).className = 'nofoc';
}