// JavaScript Document
<!--
  	/*   	   var menu1=new Array()
	   menu1[0]='<a  href="/search.php?xargs=&amp;terms=Free+Internet+Dating">Free Internet Dating<\/a>'
	     	   	   menu1[1]='<a href="/search.php?xargs=&amp;terms=Dating+Website">Dating Website<\/a>'
	     	   	   menu1[2]='<a href="/search.php?xargs=&amp;terms=Online+Dating">Online Dating<\/a>'
	     	   	   menu1[3]='<a href="/search.php?xargs=&amp;terms=Personals">Personals<\/a>'
	     	   	   menu1[4]='<a href="/search.php?xargs=&amp;terms=Singles">Singles<\/a>'
	     	   	   menu1[5]='<a href="/search.php?xargs=&amp;terms=Chat+Rooms">Chat Rooms<\/a>'*/
	       	   	   var menu2=new Array()
	<!--   menu2[0]='<a  href="http://csistmichaelschurch.org/gallery.html">New cars<\/a>'-->
	     	   	   menu2[1]='<a href="#">History<\/a>'
	     	   	   menu2[2]='<a href="http://csistmichaelschurch.org/office-bearers.html">Office Bearers<\/a>'
	     	   	   menu2[3]='<a href="#">Our Branch<\/a>'

				   var menu3=new Array()
	   menu3[0]='<a  href="#">Mens Ministry<\/a>'
	     	   	   menu3[1]='<a href="womens.html">Womens Ministry<\/a>'
	     	   	   menu3[2]='<a href="http://csistmichaelschurch.org/youth.html">Youth Ministry<\/a>'
				   menu3[3]='<a href="http://csistmichaelschurch.org/sundayclass.html">Children Ministry<\/a>'
	     	   	   menu3[4]='<a href="#">Medical Ministry<\/a>'
	     	   	   menu3[5]='<a href="#">Tailoring<\/a>'
	     	   	   

	       	   	   var menu4=new Array()
	 			   menu4[0]='<a  href="#">Audio<\/a>'
	     	   	   menu4[1]='<a href="http://csistmichaelschurch.org/video.html">video<\/a>'
	     	   	  
				  var menu6=new Array()
	   menu6[0]='<a  href="#">Weekly Report<\/a>'
	     	   	   menu6[1]='<a href="http://csistmichaelschurch.org/birthday.html">Birthday List<\/a>'
	     	   	   menu6[2]='<a href="http://csistmichaelschurch.org/wedding.html">Marriage List<\/a>'
				   menu6[3]='<a href="http://csistmichaelschurch.org/pastor-desk.html">Pastor Desk<\/a>'
				   menu6[4]='<a href="http://csistmichaelschurch.org/election-results.html">2011 Pastorate Committee<\/a>'

				  
				  
				  
				  
				  
				  
				  
				  
	       	   	   var menu5=new Array()
	   menu5[0]='<a  href="/search.php?xargs=&amp;terms=Careers">Careers<\/a>'
	     	   	   menu5[1]='<a href="http://csistmichaelschurch.org/gallery.html">Business Opportunities<\/a>'
	     	   	   menu5[2]='<a href="http://csistmichaelschurch.org/gallery.html">Make Money<\/a>'
	     	   	   menu5[3]='<a href="http://csistmichaelschurch.org/gallery.html">Human Resources<\/a>'
	     	   	   menu5[4]='<a href="http://csistmichaelschurch.org/gallery.html">Home Business<\/a>'
	     	   	   menu5[5]='<a href="http://csistmichaelschurch.org/gallery.html">Work from home<\/a>'
	     	   	   menu5[6]='<a href="http://csistmichaelschurch.org/gallery.html">Online Education<\/a>'
	       	   	   
	       	   	   var menu7=new Array()
	   menu7[0]='<a  href="/search.php?xargs=&amp;terms=Spam+Filter">Spam Filter<\/a>'
	     	   	   menu7[1]='<a href="/search.php?xargs=&amp;terms=Popup+Blocker">Popup Blocker<\/a>'
	     	   	   menu7[2]='<a href="/search.php?xargs=&amp;terms=Parental+Control">Parental Control<\/a>'
	     	   	   menu7[3]='<a href="/search.php?xargs=&amp;terms=Web+Hosting">Web Hosting<\/a>'
	     	   	   menu7[4]='<a href="/search.php?xargs=&amp;terms=Domain+Names">Domain Names<\/a>'
	     	   	   menu7[5]='<a href="/search.php?xargs=&amp;terms=Internet+Service">Internet Service<\/a>'
	     	   	   menu7[6]='<a href="/search.php?xargs=&amp;terms=Web+Design">Web Design<\/a>'
	       	   	   var menu8=new Array()
	   menu8[0]='<a  href="/search.php?xargs=&amp;terms=Computers">Computers<\/a>'
	     	   	   menu8[1]='<a href="/search.php?xargs=&amp;terms=Mobile+Phones">Mobile Phones<\/a>'
	     	   	   menu8[2]='<a href="/search.php?xargs=&amp;terms=Digital+Cameras">Digital Cameras<\/a>'
	     	   	   menu8[3]='<a href="/search.php?xargs=&amp;terms=Laptops">Laptops<\/a>'
	     	   	   menu8[4]='<a href="/search.php?xargs=&amp;terms=LCD+TV">LCD TV<\/a>'
	     	   	   menu8[5]='<a href="/search.php?xargs=&amp;terms=Home+Theatre">Home Theatre<\/a>'
	     	   	   menu8[6]='<a href="/search.php?xargs=&amp;terms=Video+Games">Video Games<\/a>'
	     	   	   menu8[7]='<a href="/search.php?xargs=&amp;terms=MP3+Players">MP3 Players<\/a>'
	       	   	   var menu9=new Array()
	   menu9[0]='<a  href="/search.php?xargs=&amp;terms=Business+Opportunties">Business Opportunties<\/a>'
	     	   	   menu9[1]='<a href="/search.php?xargs=&amp;terms=Business+Schools">Business Schools<\/a>'
	     	   	   menu9[2]='<a href="/search.php?xargs=&amp;terms=Investing">Investing<\/a>'
	     	   	   menu9[3]='<a href="/search.php?xargs=&amp;terms=Business+Insurance">Business Insurance<\/a>'
	     	   	   menu9[4]='<a href="/search.php?xargs=&amp;terms=Business+Credit+Cards">Business Credit Cards<\/a>'
	     	   	   menu9[5]='<a href="/search.php?xargs=&amp;terms=Business+News">Business News<\/a>'
	       	   	   var menu10=new Array()
	   menu10[0]='<a  href="/search.php?xargs=&amp;terms=Discount+Travel">Discount Travel<\/a>'
	     	   	   menu10[1]='<a href="/search.php?xargs=&amp;terms=Timeshare">Timeshare<\/a>'
	     	   	   menu10[2]='<a href="/search.php?xargs=&amp;terms=Cruises">Cruises<\/a>'
	     	   	   menu10[3]='<a href="/search.php?xargs=&amp;terms=Car+Rentals">Car Rentals<\/a>'
	     	   	   menu10[4]='<a href="/search.php?xargs=&amp;terms=Romantic+Getaways">Romantic Getaways<\/a>'
	     	   	   menu10[5]='<a href="/search.php?xargs=&amp;terms=Travel+Insurance">Travel Insurance<\/a>'
	     	   	   menu10[6]='<a href="/search.php?xargs=&amp;terms=Golf+Vacation">Golf Vacation<\/a>'
	     	   	   menu10[7]='<a href="/search.php?xargs=&amp;terms=Hotels">Hotels<\/a>'
	       	   	   var menu11=new Array()
	   menu11[0]='<a  href="/search.php?xargs=&amp;terms=Lawyers">Lawyers<\/a>'
	     	   	   menu11[1]='<a href="/search.php?xargs=&amp;terms=Offshore+Lawyers">Offshore Lawyers<\/a>'
	     	   	   menu11[2]='<a href="/search.php?xargs=&amp;terms=Intellectual+Property">Intellectual Property<\/a>'
	     	   	   menu11[3]='<a href="/search.php?xargs=&amp;terms=Incorporate">Incorporate<\/a>'
	     	   	   menu11[4]='<a href="/search.php?xargs=&amp;terms=Attorneys">Attorneys<\/a>'
	     	   	   menu11[5]='<a href="/search.php?xargs=&amp;terms=DWI+Attorneys">DWI Attorneys<\/a>'
	     	   	   menu11[6]='<a href="/search.php?xargs=&amp;terms=Divorce+Lawyer">Divorce Lawyer<\/a>'
	     	   	   menu11[7]='<a href="/search.php?xargs=&amp;terms=Surveillance">Surveillance<\/a>'
	       	   	   var menu12=new Array()
	   menu12[0]='<a  href="/search.php?xargs=&amp;terms=Gifts">Gifts<\/a>'
	     	   	   menu12[1]='<a href="/search.php?xargs=&amp;terms=Computers">Computers<\/a>'
	     	   	   menu12[2]='<a href="/search.php?xargs=&amp;terms=Toys">Toys<\/a>'
	     	   	   menu12[3]='<a href="/search.php?xargs=&amp;terms=DVD">DVD<\/a>'
	     	   	   menu12[4]='<a href="/search.php?xargs=&amp;terms=Electronics">Electronics<\/a>'
	     	   	   menu12[5]='<a href="/search.php?xargs=&amp;terms=Flowers">Flowers<\/a>'
	     	   	   menu12[6]='<a href="/search.php?xargs=&amp;terms=Jewelry">Jewelry<\/a>'
	     

var disappeardelay=500  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=1 //horizontal offset of menu from default location. (0-5 is a good value)

/////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: 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)
}
//-->
