$=function(sId){return document.getElementById(sId);}
function setS(obj,st,val){$(obj).style[st]=val;}

//Contents for menu 1
//var menu1=new Array()
//	menu1[0]='<a href="#">Request a Service Call</a>'
//	menu1[1]='<a href="#" onMouseover="dms(this, event, menu11)" onMouseout="dhs()">Contact Us</a>'
//		// Contact Us - SSI
//		var menu11=new Array()
//			menu11[0]='<a href="#">Sales</a>'
//			menu11[1]='<a href="#">Support</a>'
//var menu2=new Array()
//	menu2[0]='<a href="#">Sample Lease</a>'
//	menu2[1]='<a href="#">Sales</a>'
//	menu2[2]='<a href="#">Service</a>'
//		 // Web Design - Premier
//		 var menu22=new Array()
//			menu22[0]='<a href="#">Warranty</a>'
//			menu22[1]='<a href="#">Personal Computer</a>'
//			menu22[2]='<a href="#">Network</a>'
//	menu2[3]='<a href="#">Web Design</a>'
//	menu2[4]='<a href="#">Request a Service Call</a>'
//	menu2[5]='<a href="#">Brochures</a>'
//	menu2[5]='<a href="#" onMouseover="dms(this, event, menu25)" onMouseout="dhs()">Contact Us</a>'
		// Contact Us - Premier
//		var menu25=new Array()
//			menu25[0]='<a href="#">Sales</a>'
//			menu25[1]='<a href="#">Service</a>'
//			menu25[2]='<a href="#">Web Services</a>'
//var menu3=new Array()
//	menu3[0]='<a href="#" onMouseover="dms(this, event, menu30)" onMouseout="dhs()">Contact Us</a>'
//		// Contact Us - VisionQuest
//		var menu30=new Array()
//			menu30[0]='<a href="#">Meeting Room Rentals</a>'
//			menu30[1]='<a href="#">Class Information</a>'
//var menu4=new Array()
//	menu4[0]='<a href="#" onMouseover="dms(this, event, menu40)" onMouseout="dhs()">Software Systems, Inc.</a>'
//		// Contact Us - SSI
//		var menu40=new Array()
//			menu40[0]='<a href="#">Sales</a>'
//			menu40[1]='<a href="#">Support</a>'
//	menu4[1]='<a href="#" onMouseover="dms(this, event, menu41)" onMouseout="dhs()">Premier Computer Services</a>'
//		// Contact Us - Premier
//		var menu41=new Array()
//			menu41[0]='<a href="#">Sales</a>'
//			menu41[1]='<a href="#">Service</a>'
//			menu41[2]='<a href="#">Web Services</a>'
//	menu4[2]='<a href="#" onMouseover="dms(this, event, menu42)" onMouseout="dhs()">VisionQuest Training Center</a>'
//		// Contact Us - VisionQuest
//		var menu42=new Array()
//			menu42[0]='<a href="#">Meeting Room Rentals</a>'
//			menu42[1]='<a href="#">Class Information</a>'



var mw='195px' //default menu width
var dd=250  //menu disappear speed onMouseout (in miliseconds)
var hm0=true //hide menu when user clicks within menu?
if (navigator.appName == "Microsoft Internet Explorer")
	var smoff=5; //submenu y offset
else
	var smoff=10

var a1=document.all
var a2=document.getElementById&&!document.all
document.write('<div id="dropmenudiv" class="menu sub" style="width:'+mw+';" onmouseover="ch()" onmouseout="xa(event)"></div>');
document.write('<div id="dropmenudivs" class="menu sub" style="width:'+mw+';" onmouseover="chs()" onmouseout="xas(event)"></div>');
function dm(obj, e, mc){if (window.event) event.cancelBubble=true;else if (e.stopPropagation) e.stopPropagation();ch();dmo=$("dropmenudiv");dmo.innerHTML=mc.join("");sm1(dmo, ay(obj) + obj.offsetHeight, ax(obj) - 1);return false;}
function dms(obj, e, mc){if (window.event) event.cancelBubble=true;else if(e.stopPropagation) e.stopPropagation();chs();dmos=$("dropmenudivs");dmos.innerHTML=mc.join("");sm1(dmos, ay(obj) + smoff, ax(obj) + obj.offsetWidth - 1);return false;}
function xas(e){if(a1&&!dmos.contains(e.toElement)){dhs();dh()}else if(a2&&e.currentTarget!= e.relatedTarget&& !aa2(e.currentTarget, e.relatedTarget)){dhs();dh()}}
function ax(z){var a = 0;if(z.offsetParent) while(z.offsetParent){a+=z.offsetLeft;z=z.offsetParent;}else if(z.x) a+=z.x;return a;}
function ay(z){var a = 0;if(z.offsetParent) while(z.offsetParent){a+=z.offsetTop;z=z.offsetParent;}else if(z.y) a+=z.y;return a;}
function aa2(a, b){while(b.parentNode) if((b = b.parentNode) == a) return true;return false;}
function xa(e){if(a1&&!dmo.contains(e.toElement)) dh();else if(a2&&e.currentTarget!=e.relatedTarget&& !aa2(e.currentTarget,e.relatedTarget)) dh()}
function hm(e){if(typeof dmo!="undefined") dmo.style["visibility"] = "hidden";hms(e);}
function chs(){if(typeof z0!="undefined") clearTimeout(z0);if(typeof z0s!="undefined") clearTimeout(z0s)}
function dh(){z0=setTimeout("hm()",dd)}
function hms(e){if (typeof dmos!="undefined") dmos.style["visibility"] = "hidden";}
function dhs(){z0s=setTimeout("hms()",dd)}
function ch(){if (typeof z0!="undefined") clearTimeout(z0)}
function sm1(obj, mx1, nj){obj.style['width']=mw;obj.style['visibility']="visible";obj.style["top"] = mx1 + "px";obj.style["left"] = nj + "px";}
if(hm0) document.onclick=hm
function over(obj){
obj.style['backgroundColor'] ="lightblue";
obj.style['color'] = "black";
}