﻿function doMenu()
{
	document.write('<div class="navContainer" id="divBasic" onmouseover="turnon(\'divBasic\');hilight(\'basics\');" onmouseout="turnoff(\'divBasic\');lightoff(\'basics\')">');
	document.write('	<a href="basics1_1.html">Quick KCC Facts</a>');
	document.write('	<a href="basics1_2.html">College Publications</a>');
	document.write('	<a href="basics1_2.html" style="padding-left:20px;">Academic Catalog</a>');
	document.write('	<a href="basics1_2_1.html" style="padding-left:20px;">Student Handbook</a>');
	document.write('	<a href="basics1_2_2.html" style="padding-left:20px;">Schedule</a>');
	document.write('	<a href="basics1_3.html">Bookstore</a>');
	document.write('	<a href="basics1_4.html">Web Portal</a>');
	document.write('</div>');
	document.write('<div class="navContainer" id="divSvcs" onmouseover="turnon(\'divSvcs\');hilight(\'services\');" onmouseout="turnoff(\'divSvcs\');lightoff(\'services\')">');
	document.write('	<a href="services2_1.html">Academic Advising</a>');
	document.write('	<a href="services2_2.html">Admissions</a>');
	document.write('	<a href="services2_3.html">Athletics</a>');
	document.write('	<a href="services2_4.html">College Life</a>');
	document.write('	<a href="services2_5.html">Customer Service Center</a>');
	document.write('	<a href="services2_6.html">Financial Aid</a>');
	document.write('	<a href="services2_7.html">Student Employment Services</a>');
	document.write('	<a href="services2_8.html">Support Services</a>');
	document.write('	<a href="services2_9.html">Testing and Assessment</a>');
	document.write('</div>');
	document.write('<div class="navContainer" id="divSuccess" onmouseover="turnon(\'divSuccess\');hilight(\'success\');" onmouseout="turnoff(\'divSuccess\');lightoff(\'success\')">');
	document.write('	<a href="success3_1.html">Syllabus</a>');
	document.write('	<a href="success3_2.html">Classroom Instruction</a>');
	document.write('	<a href="success3_3.html">Tips for Success</a>');
	document.write('	<a href="success3_4.html">The Learning Place</a>');
	document.write('	<a href="success3_4.html#lrc">Learning Resource Center</a>');
	document.write('	<a href="success3_4.html#tutor">Tutoring</a>');
	document.write('</div>');
	document.write('<div class="navContainer" id="divWrapup" onmouseover="turnon(\'divWrapup\');hilight(\'wrapup\');" onmouseout="turnoff(\'divWrapup\');lightoff(\'wrapup\')">');
	document.write('	<a href="wrapup4_1.html">Ask the Experts</a>');
	document.write('	<a href="wrapup4_2.html">Enter to Win</a>');
	document.write('	<a href="wrapup4_3.html">Contact Us</a>');
	document.write('</div>');
}

function getObj(name)
	{
	  if (document.getElementById)
	  {
	  	this.obj = document.getElementById(name);
		this.style = document.getElementById(name).style;
	  }
	  else if (document.all)
	  {
		this.obj = document.all[name];
		this.style = document.all[name].style;
	  }
	  else if (document.layers)
	  {
	   	this.obj = document.layers[name];
	   	this.style = document.layers[name];
	  }
	}

function turnon(theTag)
	{
	  var x = new getObj(theTag);
	  x.style.visibility = "visible";
	}

function turnoff(theTag)
	{
  	  var x = new getObj(theTag);
  	  x.style.visibility = "hidden";
	}
		
function hilight(theTag)
{
  var x = new getObj(theTag);
  x.style.background = "#a4c5f5";
//  x.style.color = "#fff";
}

function lightoff(theTag)
{
  var x = new getObj(theTag);
  x.style.background = "";
//  x.style.color = "";
}
