//Contents for HOME
var menu1=new Array()
menu1[0]='<a href=http://www.mauscoach.com/index.html>Home</a>'

//Contents for BUSINESS COACHING
var menu2=new Array()
menu2[0]='<a href=http://www.mauscoach.com/business_coaching.html>Business Coaching</a>'
menu2[1]='<a href=http://www.mauscoach.com/business_coach_advantage.html>Is the MAUS Coach right for me?</a>'
menu2[2]='<a href=http://www.mauscoach.com/profitable_business_coaching.html>How is Business Coaching Profitable?</a>'
menu2[3]='<a href=http://www.mauscoach.com/why_exit_strategy.html>Why Exit Strategy?</a>'
menu2[4]='<a href=http://www.mauscoach.com/what_makes_business_coach.html>What makes a Great Business Coach?</a>'
menu2[5]='<a href=http://www.mauscoach.com/no_lockin_contracts.html>No Lock-in Contracts</a>'
menu2[6]='<a href=http://www.mauscoach.com/consultation_session.html>Consultation Session</a>'


//Contents for BECOME A COACH
var menu3=new Array()
menu3[0]='<a href=http://www.mauscoach.com/become_a_coach.html>Become a Coach</a>'
menu3[1]='<a href=http://www.mauscoach.com/best_of_breed.html>Best of Breed</a>'
menu3[2]='<a href=http://www.mauscoach.com/proven_systems.html>Proven Systems & Methodologies</a>'
menu3[3]='<a href=http://www.mauscoach.com/what_we_teach.html>What we Teach</a>'
menu3[4]='<a href=http://www.mauscoach.com/become_exit_strategist.html>Become an Exit Strategist</a>'
menu3[5]='<a href=http://www.mauscoach.com/whats_in_training.html>Whats involved in Training</a>'
menu3[6]='<a href=http://www.mauscoach.com/international_network.html>International Network</a>'
menu3[7]='<a href=http://www.mauscoach.com/coaching_testimonial.html>Coaching Testimonials</a>'
menu3[8]='<a href=http://www.mauscoach.com/faq.html>FAQ</a>'
menu3[9]='<a href=http://www.mauscoach.com/more_info_request.html>More Info Request</a>'


//Contents for PROGRAMS/SERVICES
var menu4=new Array()
menu4[0]='<a href=http://www.mauscoach.com/programs_services.html>Programs &amp; Services</a>'


//Contents for PRODUCTS
var menu5=new Array()
menu5[0]='<a href=http://www.mauscoach.com/products.html>Products</a>'
menu5[1]='<a href=http://www.mauscoach.com/quality_assurance/>Quality Assurance</a>'
menu5[2]='<a href=http://www.mauscoach.com/environmental_planner/>Environmental Planner</a>'
menu5[3]='<a href=http://www.mauscoach.com/download.html>Download Software</a>'
menu5[4]='<a href=http://www.mauscoach.com/business_planning.html>Business Planning</a>'
menu5[5]='<a href=http://www.mauscoach.com/human_resources.html>Human Resources</a>'
menu5[6]='<a href=http://www.mauscoach.com/consultancy_resources.html>Consultancy Resources</a>'
menu5[7]='<a href=http://www.mauscoach.com/business_broker.html>Business Broker</a>'
menu5[8]='<a href=http://www.mauscoach.com/compliance.html>Compliance Software</a>'
menu5[9]='<a href=http://www.mauscoach.com/order.html>Order</a>'
menu5[10]='<a href=http://www.mauscoach.com/special_offers.html>Special Offers</a>'
menu5[11]='<a href=http://www.mauscoach.com/upgrades.html>Upgrades</a>'
menu5[12]='<a href=http://www.mauscoach.com/software_testimonial.html>Software Testimonials</a>'
menu5[13]='<a href=http://www.mauscoach.com/system_requirement.html>Systems Requirements</a>'
menu5[14]='<a href=http://www.maus.com.au/help/support_centre.html target="_blank">Support Center</a>'

//Contents for CLIENTS
var menu6=new Array()
menu6[0]='<a href=http://www.mauscoach.com/clients.html>Clients</a>'
menu6[1]='<a href=http://www.mauscoach.com/max_programs.html>MAX Programs</a>'
menu6[2]='<a href=http://www.mauscoach.com/selling_the_answer.html>Considered Selling your Business?</a>'
menu6[3]='<a href=http://www.mauscoach.com/why_use_business_coach.html>Why use a Business Coach?</a>'

//Contents for FIND A COACH
var menu7=new Array()
menu7[0]='<a href=http://www.mauscoach.com/find_a_coach.html>Find a Business Coach</a>'
menu7[1]='<a href=http://www.mauscoach.com/find_a_coach.html#USA>United States Coaches</a>'
menu7[2]='<a href=http://www.mauscoach.com/find_a_coach.html#CAN>Canadian Coaches</a>'
//menu7[3]='<a href=http://www.mauscoach.com/find_a_coach/newyork.html>New York Coaches</a>'
//menu7[4]='<a href=http://www.mauscoach.com/find_a_coach/illinois.html>Illinois Coaches</a>'
//menu7[5]='<a href=http://www.mauscoach.com/find_a_coach/ontario.html>Ontario Coaches</a>'
//menu7[6]='<a href=http://www.mauscoach.com/find_a_coach/newbrunswick.html>New Brunswick Coaches</a>'
//menu7[7]='<a href=http://www.mauscoach.com/find_a_coach/texas.html>Texas Business Coaches</a>'
//menu7[8]='<a href=http://www.mauscoach.com/find_a_coach/alberta.html>Alberta Business Coaches</a>'


//Contents for RESOURCES
var menu8=new Array()
menu8[0]='<a href=http://www.mauscoach.com/resources.html>Resources</a>'
menu8[1]='<a href=http://www.mauscoach.com/mini_mba_program.html>FREE Mini MBA Program</a>'
menu8[2]='<a href=http://www.mauscoach.com/business_life_cycle.html>The Business Life Cycle</a>'
menu8[3]='<a href=http://www.mauscoach.com/business_improvement_tips.html>101 Business Improvement Tips</a>'
menu8[4]='<a href=http://www.mauscoach.com/business_management_tips.html>10 Business Management Tips</a>'
menu8[5]='<a href=http://www.mauscoach.com/maximize_value_business.html>How to Maximize your Business Value</a>'
menu8[6]='<a href=http://www.mauscoach.com/forum/>Discussion Forum</a>'
menu8[7]='<a href=http://www.mauscoach.com/blog/>Blog</a>'
menu8[8]='<a href=http://www.mauscoach.com/business_link_directory.html>Business Link Directory</a>'


//Contents for ABOUT US
var menu9=new Array()
menu9[0]='<a href=http://www.mauscoach.com/aboutus.html>About Us</a>'
menu9[1]='<a href=http://www.mauscoach.com/locations.html>Locations</a>'
menu9[2]='<a href=http://www.mauscoach.com/sitemap.html>Sitemap</a>'
menu9[3]='<a href=http://www.mauscoach.com/contactus.html>Contact Us</a>'

var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //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="-500px"
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 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 up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
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 true
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
