<!--
var profile = new Image()
var services = new Image()
var products = new Image()
var community = new Image()
var contact = new Image()
var pointer = new Image()

profile.src = 'images/menu/menu_profile_on,gif'
services.src = 'images/menu/menu_services_on,gif'
products.src = 'images/menu/menu_products_on,gif'
community.src = 'images/menu/menu_community_on,gif'
contact.src = 'images/menu/menu_contact_on,gif'
pointer.src = 'images/menu/menu_drop_right,gif'

function imgswap(name, type)  
{
		eval("document." + name + ".src = 'images/menu/menu_" + name + type + ".gif'");
}

/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/
var spacer1 = '';
var spacer2 = '';

if (document.all){
    spacer1 = '&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;';
		spacer2 = '&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;';	 
}

var submenu=new Array()

//Set subMenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.

submenu[0]=''

submenu[1]= spacer1 +'&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;<img src="images/menu/menu_drop_right.gif" alt="">&nbsp\;&nbsp\;<a href="services.asp?cid=1" class="menuLink">Web Design</a>&nbsp\;&nbsp\;|&nbsp\;&nbsp\;<a href="services.asp?cid=2" class="menuLink">Intranets</a>&nbsp\;&nbsp\;|&nbsp\;&nbsp\;<a href="services.asp?cid=3" class="menuLink">Database Design</a>'

submenu[2]=spacer2 +'&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;<img src="images/menu/menu_drop_right.gif" alt="">&nbsp\;&nbsp\;<a href="products.asp?cid=1" class="menuLink">Computers</a>&nbsp\;&nbsp\;|&nbsp\;&nbsp\;<a href="products.asp?cid=2" class="menuLink">Upgrades</a>&nbsp\;&nbsp\;|&nbsp\;&nbsp\;<a href="products.asp?cid=3" class="menuLink">Hardware</a>'
 
submenu[3]=''

submenu[4]=''

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("linkSpace") : document.all? document.all.linkSpace : document.layers? document.layer1.document.layer2 : ""

function showit(which){
resetImages()
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which];
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function resetImages() { 
		imgswap('services', '_off');
		imgswap('products', '_off');
		return false;
}
//-->
