/***********************************************
* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var menu1=new Array()
menu1[0]='<a href="../education.aspx">Education Solutions Home</a>'
menu1[1]='<a href="../pdf/cps.pdf" target="_blank">eInstruction Student Response System (CPS)</a>'
menu1[2]='<a href="../pdf/Interwrite_Pad.pdf" target="_blank">Interactive SchoolPad</a>'
menu1[3]='<a href="../pdf/Interwrite_Board.pdf" target="_blank">Interactive SchoolBoard</a>'
menu1[4]='<a href="../education_distance_learning.aspx">Video Conferencing</a>'
menu1[5]='<a href="../education_computers.aspx">Computers</a>'
menu1[6]='<a href="../education_profdev.aspx">Professional Development</a>'
menu1[7]='<a href="../network_cabling.aspx">Cabling</a>'
menu1[8]='<a href="../camera_solutions.aspx">CCTV</a>'
menu1[9]='<a href="../education_resources.aspx">Resources</a>'
menu1[10]='<a href="../education_contacts.aspx">Contacts</a>'

var menu2=new Array()
menu2[0]='<a href="../solutions_by_industry.aspx">Solutions by Industry Home</a>'
menu2[1]='<a href="../architectural_engineering.aspx">Architectural / Engineering</a>'
menu2[2]='<a href="../automotive_manufacturing.aspx">Automotive / Manufacturing</a>'
menu2[3]='<a href="../construction.aspx">Construction</a>'
menu2[4]='<a href="../education.aspx">Education</a>'
menu2[5]='<a href="../general_business.aspx">General Business</a>'
menu2[6]='<a href="../government.aspx">Government</a>'
menu2[7]='<a href="http://its.inline.com">Intelligent Transportation Systems</a>'
menu2[8]='<a href="../legal.aspx">Legal</a>'
menu2[9]='<a href="../pharmacy.aspx">Pharmacy Point of Sale</a>'
menu2[10]='<a href="../real_estate.aspx">Real Estate</a>'
menu2[11]='<a href="../restaurant.aspx">Restaurant Point of Sale</a>'
menu2[12]='<a href="../retail.aspx">Retail Point of Sale</a>'

var menu3=new Array()
menu3[0]='<a href="../solutions_by_technology.aspx">Solutions by Technology Home</a>'
menu3[1]='<a href="../camera_solutions.aspx">Camera Solutions</a>'
menu3[2]='<a href="../document_imaging.aspx">Document Imaging</a>'
menu3[3]='<a href="../government_fiber_optic.aspx">Fiber Optic Networks</a>'
menu3[4]='<a href="http://its.inline.com">Intelligent Transportation Systems</a>'
menu3[5]='<a href="../internet.aspx">Internet / Data Center</a>'
menu3[6]='<a href="../invaultpro">InVaultPro Webinar</a>'
menu3[7]='<a href="../microsoft.aspx">Microsoft Solutions</a>'
menu3[8]='<a href="../incare.aspx">Monitoring and Reporting</a>'
menu3[9]='<a href="../network_cabling.aspx">Network Cabling / Infrastructure</a>'
menu3[10]='<a href="../networking.aspx">Networking</a>'
menu3[11]='<a href="../pcs_servers.aspx">PCs / Servers</a>'
menu3[12]='<a href="../pharmacy.aspx">Pharmacy Point of Sale</a>'
menu3[13]='<a href="../phone_service.aspx">Phone Service</a>'
menu3[14]='<a href="../phone_systems.aspx">Phone Systems</a>'
menu3[15]='<a href="../restaurant.aspx">Restaurant Point of Sale</a>'
menu3[16]='<a href="../retail.aspx">Retail Point of Sale</a>'
menu3[17]='<a href="../software_web.aspx">Software and Web Development</a>'
menu3[18]='<a href="../storage.aspx">Storage</a>'
menu3[19]='<a href="../video_conferencing.aspx">Video Conferencing</a>'
menu3[20]='<a href="../virtualization.aspx">Virtualization</a>'
menu3[21]='<a href="../government_wireless_networks.aspx">Wireless Networks</a>'

var menu4=new Array()
menu4[0]='<a href="../company_info.aspx">Company Information Home</a>'
menu4[1]='<a href="../the_inline_team.aspx">The InLine Team</a>'
menu4[2]='<a href="../our_clients.aspx">Our Clients</a>'
menu4[3]='<a href="../newsletter.aspx">Newsletter</a>'
menu4[4]='<a href="../careers_at_inline.aspx">Careers at InLine</a>'
menu4[5]='<a href="../warranty_information.aspx">Warranty Information</a>'
menu4[6]='<a href="../contact.aspx">Contact Us</a>'

var menu5=new Array()
menu5[0]='<a href="../support.aspx">Support Home</a>'
menu5[1]='<a href="https://connect.inline.com/support" target="_blank">Customer Support Portal</a>'
menu5[2]='<a href="http://www.inline.com/livesupport" target="_blank">Livesupport</a>'
//menu5[3]='<a href="../support_spam_filter.aspx">Spam Filter Address Removal</a>'
//menu5[4]='<a href="http://www.inline.com/livesupport" target="_blank">Livesupport</a>'
		
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=5 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editing needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}