// JavaScript Document
//Contents for menu 1
var menu1=new Array()
menu1[0]='&nbsp;&nbsp;<a href="http://rhemais.com" target=_parent">Rhema IS</a><br>'
menu1[3]='&nbsp;&nbsp;<a href="http://rhemais.com"target="_parent">Rhema IS</a><br>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='&nbsp;&nbsp;<a href="http://rhemais.com" target=_blank">Rhema Information Services</a><br>'
menu2[1]='&nbsp;&nbsp;<a href="http://rhemais.com/gaming.html" TARGET="_parent">Rhemais Gaming</a><br>'
menu2[2]='&nbsp;&nbsp;<a href="http://rhemais.com/staffing.html" TARGET="_parent">Rhemais Staffing</a><br>'
menu2[3]='&nbsp;&nbsp;<a href="http://rhemais.com/network.html" TARGET="_parent">Rhemais Networking</a><br>'
		
//Contents for menu 3
var menu3=new Array()
menu3[0]='&nbsp;&nbsp;<a href="http://rhemais.com/about.html" TARGET="_parent">About Us</a><br>'
menu3[1]='&nbsp;&nbsp;<a href="http://rhemais.com/tps.html" TARGET="_parent">Third Party Services</a><br>'

		
//Contents for menu 4
var menu4=new Array()
menu4[0]='&nbsp;&nbsp;<a href="http://rhemais.com/church.html" TARGET="_parent">Church Services</a><br>'
menu4[1]='&nbsp;&nbsp;<a href="http://rhemais.com/remote.html" TARGET="_parent">Remote Services</a><br>'
menu4[2]='&nbsp;&nbsp;<a href="http://rhemais.com/netsetup.html" TARGET="_parent">Network Setup</a><br>'
menu4[3]='&nbsp;&nbsp;<a href="http://rhemais.com/netmaintenance.html" TARGET="_parent">Network Maintenance</a><br>'
menu4[4]='&nbsp;&nbsp;<a href="http://rhemais.com/netsecurity.html" TARGET="_parent">Network Security</a><br>'
menu4[6]='&nbsp;&nbsp;<a href="http://rhemais.com/program.html" TARGET="_parent">Database Programming</a><br>'
menu4[7]='&nbsp;&nbsp;<a href="http://rhemais.com/pcSales.html" TARGET="_parent">PC Sales and Repair</a><br>'

		
//Contents for menu 5
var menu5=new Array()
menu5[1]='&nbsp;&nbsp;<a href="http://rhemais.com/gaming.html" TARGET="_parent">Gamers</a><br>'
menu5[2]='&nbsp;&nbsp;<a href="http://rhemais.com/partner.html" TARGET="_parent">Sponsors</a><br>'
menu5[4]='&nbsp;&nbsp;<a href="http://rhemais.com/gamersales.html" TARGET="_parnet">Gamer PC Sales</a><br>'

		
//Contents for menu 6
var menu6=new Array()
menu6[0]='&nbsp;&nbsp;<a href="http://rhemais.com/contact.html" TARGET="_parent">Contact Us</a><br>'
menu6[1]='&nbsp;&nbsp;<a href="http://rhemais.com/support/open.php" TARGET="_parent">Support Ticket</a><br>'
menu6[2]='&nbsp;&nbsp;<a href="http://rhemais.com/support/view.php" TARGET="_parent">View Ticket</a><br>'

		
//Contents for menu 7
var menu7=new Array()
menu7[0]='&nbsp;&nbsp;<a href="http://rhemais.com/staffing.html" TARGET="_parent">Staffing</a><br>'
menu7[1]='&nbsp;&nbsp;<a href="http://rhemais.com/contract.html" TARGET="_parent">Contract Work</a><br>'
menu7[2]='&nbsp;&nbsp;<a href="http://rhemais.com/ccmail" TARGET="_parent">Newsletter</a><br>'


//Contents for menu 8
var menu8=new Array()
menu8[0]='&nbsp;&nbsp;<a href="http://rhemais.com/remotemonitoring.html" TARGET="_parent">Monitoring</a><br>'
menu8[1]='&nbsp;&nbsp;<a href="http://rhemais.com/remotebackup.html" TARGET="_parent">Backup</a><br>'
menu8[2]='&nbsp;&nbsp;<a href="http://rhemais.com/remotearchiving.html" TARGET="_parent">Archiving</a><br>'


//Contents for menu 9
var menu9=new Array()
menu9[0]='&nbsp;&nbsp;<a href="http://rhemais.com/netsetup.html" TARGET="_parent">Setup</a><br>'
menu9[1]='&nbsp;&nbsp;<a href="http://rhemais.com/netmaintenance.html" TARGET="_parent">Maintenance</a><br>'
menu9[2]='&nbsp;&nbsp;<a href="http://rhemais.com/netsecurity.html" TARGET="_parent">Security</a><br>'


//Contents for menu 10
var menu10=new Array()
menu10[0]='&nbsp;&nbsp;<a href="http://rhemais.com/pcsales.html" TARGET="_parent">PC Sales</a><br>'
menu10[1]='&nbsp;&nbsp;<a href="http://rhemais.com/breakfix.html" TARGET="_parent">Break-Fix</a><br>'
menu10[2]='&nbsp;&nbsp;<a href="http://rhemais.com/pmi.html" TARGET="_parent">Preventive Maintenance</a><br>'


//Contents for menu 11
var menu11=new Array()
menu11[0]='&nbsp;&nbsp;<a href="http://rhemais.com/database.html" TARGET="_parent">Database Programming</a><br>'


//Contents for menu 12
var menu12=new Array()
menu12[0]='&nbsp;&nbsp;<a href="http://rhemais.com/churchaudio.html" TARGET="_parent">Audio / Video</a><br>'
menu12[1]='&nbsp;&nbsp;<a href="http://rhemais.com/churchtransctipts.html" TARGET="_parent">Transcription</a><br>'
menu12[2]='&nbsp;&nbsp;<a href="http://rhemais.com/churchnotes.html" TARGET="_parent">Study Notes</a><br>'

//Contents for menu 15
var menu15=new Array()
menu15[0]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Gaming computers</a><br>'
menu15[1]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Gaming accessories</a><br>'
menu15[2]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Business computers</a><br>'
menu15[3]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Home computers</a><br>'
menu15[4]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Mobile computers</a><br>'
menu15[5]='&nbsp;&nbsp;<a href="http://rhemais.com/store" TARGET="_parent">Security computers</a><br>'


var menuwidth='100px' //default menu width
var menubgcolor='#ffffff'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" 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
if (menuwidth!=""){
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 < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
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)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
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")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"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)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
