var NS4 = (document.layers) ? 1 : 0;
var IE4 = (document.all) ? 1 : 0;
var NS6 = (document.getElementById && !document.all)?1:0;
var timeName = 'A';
var documentLoaded = 0 ;

function styleOn(sTarget) {
          if (IE4) { eval(sTarget+'.style.visibility="visible"'); }
          if (NS4) { eval('document.'+sTarget+'.visibility="visible"'); }
  	  if (NS6) { document.getElementById(sTarget).style.visibility="visible"; }
}

function styleOff(sTarget) {
          if (IE4) { eval(sTarget+'.style.visibility="hidden"'); }
          if (NS4) { eval('document.'+sTarget+'.visibility="hidden"'); }
  	  if (NS6) { document.getElementById(sTarget).style.visibility="hidden"; }
}


function buttonOff() {
       	styleOff("homehot");
       	styleOff("securityhot");
       	styleOff("abouthot");
       	styleOff("teachershot");
       	styleOff("searchhot");
       	styleOff("faqhot");
       	styleOff("contacthot");
       	styleOff("booksOver");
       	styleOff("businessOver");
       	styleOff("computersOver");
       	styleOff("familyOver");
       	styleOff("healthOver");
       	styleOff("miscOver");
       	styleOff("shoppingOver");
}

function homeOn() {
	buttonOff();
	styleOn("homehot");
}

function aboutOn() {
	buttonOff();
	styleOn("abouthot");
}

function teachersOn() {
	buttonOff();
	styleOn("teachershot");
}

function securityOn() {
	buttonOff();
	styleOn("securityhot");
}

function searchOn() {
	buttonOff();
	styleOn("searchhot");
}

function faqOn() {
	buttonOff();
	styleOn("faqhot");
}

function contactOn() {
	buttonOff();
	styleOn("contacthot");
}

function booksOn() {
	buttonOff();
	styleOn("booksOver");
}

function businessOn() {
	buttonOff();
	styleOn("businessOver");
}

function computersOn() {
	buttonOff();
	styleOn("computersOver");
}

function familyOn() {
	buttonOff();
	styleOn("familyOver");
}

function healthOn() {
	buttonOff();
	styleOn("healthOver");
}

function miscOn() {
	buttonOff();
	styleOn("miscOver");
}

function shoppingOn() {
	buttonOff();
	styleOn("shoppingOver");
}
