/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.chapmanspeakhotel.co.za/index-e.htm"><DIV CLASS="white10">home</DIV></a>'
menu1[1]='<a href="http://www.chapmanspeakhotel.co.za/location-e.htm"><DIV CLASS="white10">location, map, directions</DIV></a>'
//menu1[2]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">services</DIV></a>'
//menu1[3]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    shuttle/transfers</DIV></a>'
//menu1[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    car hire</DIV></a>'
//menu1[5]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    laundry</DIV></a>'
//menu1[6]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    creche</DIV></a>'
//menu1[7]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    business centre</DIV></a>'
menu1[8]='<a href="http://www.chapmanspeakhotel.co.za/abouthoutbay-e.htm"><DIV CLASS="white10">about Hout Bay</DIV></a>'
//menu1[9]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">weather in Cape Town</DIV></a>'
menu1[10]='<a href="http://www.chapmanspeakhotel.co.za/gallery-e.htm"><DIV CLASS="white10">image gallery</DIV></a>'
//menu1[11]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">the team</DIV></a>'
menu1[12]='<a href="http://www.chapmanspeakhotel.co.za/history-e.htm"><DIV CLASS="white10">history and character</DIV></a>'
//menu1[13]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">guestbook</DIV></a>'
//menu1[14]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">guides for tourists</DIV></a>'
menu1[15]='<a href="http://www.chapmanspeakhotel.co.za/pressnews-e.htm"><DIV CLASS="white10">press and news</DIV></a>'
//menu1[16]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">awards</DIV></a>'
//menu1[17]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">paia</DIV></a>'
menu1[18]='<a href="http://www.chapmanspeakhotel.co.za/social-e.htm"><DIV CLASS="white10">social responsibility</DIV></a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="https://www.nightsbridge.co.za/bridge/Search?bbid=14098" target="_blank"><DIV CLASS="white10">view availability</DIV></a>'
menu2[1]='<a href="http://www.chapmanspeakhotel.co.za/roomrates-e.htm"><DIV CLASS="white10">room rates</DIV></a>'
menu2[2]='<a href="http://www.chapmanspeakhotel.co.za/seaview-e.htm"><DIV CLASS="white10">sea view room</DIV></a>'
menu2[3]='<a href="http://www.chapmanspeakhotel.co.za/penthouse-e.htm"><DIV CLASS="white10">penthouse suite</DIV></a>'
menu2[4]='<a href="http://www.chapmanspeakhotel.co.za/mountain-e.htm"><DIV CLASS="white10">mountain view room</DIV></a>'
menu2[5]='<a href="http://www.chapmanspeakhotel.co.za/original-e.htm"><DIV CLASS="white10">original room</DIV></a>'
//menu2[6]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">original courtyard room</DIV></a>'
//menu2[7]='<a href="http://www.chapmanspeakhotel.co.za/packages-e.htm"><DIV CLASS="white10">packages</DIV></a>'
//menu2[8]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    romantic weekender</DIV></a>'
//menu2[9]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    winter weekender</DIV></a>'
//menu2[10]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    whale watcher</DIV></a>'
//menu2[11]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    discover the peninsula</DIV></a>'
//menu2[12]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    pampered and indulged</DIV></a>'
//menu2[13]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    experience the ocean</DIV></a>'
//menu2[14]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    father and son (fishing)</DIV></a>'
//menu2[15]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    discover wine</DIV></a>'
//menu2[16]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    hiking weekend</DIV></a>'
//menu2[17]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    golf getaway</DIV></a>'
//menu2[18]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    other</DIV></a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="http://www.chapmanspeakhotel.co.za/conferencing-e.htm"><DIV CLASS="white10">conferencing</DIV></a>'
//menu3[1]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">conference facilities</DIV></a>'
//menu3[2]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">business centre</DIV></a>'
//menu3[3]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">team building</DIV></a>'
//menu3[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">business in Cape Town</DIV></a>'
	
//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.chapmanspeakhotel.co.za/banqueting-e.htm"><DIV CLASS="white10">banqueting and parties</DIV></a>'
menu4[1]='<a href="http://www.chapmanspeakhotel.co.za/restaurant-e.htm"><DIV CLASS="white10">restaurant</DIV></a>'
menu4[2]='<a href="http://www.chapmanspeakhotel.co.za/cigarbar-e.htm"><DIV CLASS="white10">cigar bar and lounge</DIV></a>'
//menu4[3]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">events</DIV></a>'
//menu4[4]='<a href="http://www.chapmanspeakhotel.co.za/newyearsevemenu-e.htm"><DIV CLASS="white10">new years eve menu</DIV></a>'
//menu4[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    winter menu</DIV></a>'
//menu4[5]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    gourmet dinner</DIV></a>'
//menu4[6]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    dinner dance</DIV></a>'
//menu4[7]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    wine tasting</DIV></a>'
//menu4[8]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    whisky tasting</DIV></a>'
//menu4[9]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    other</DIV></a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="http://www.chapmanspeakhotel.co.za/facilities-e.htm"><DIV CLASS="white10">facilities</DIV></a>'
//menu5[1]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">pool</DIV></a>'
//menu5[2]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">fitness centre</DIV></a>'
//menu5[3]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">massages and treatments</DIV></a>'
//menu5[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">wellness centres and spas</DIV></a>'
menu5[5]='<a href="http://www.chapmanspeakhotel.co.za/beaches-e.htm"><DIV CLASS="white10">beaches</DIV></a>'
//menu5[6]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Hout Bay</DIV></a>'
//menu5[7]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Llandudno</DIV></a>'
//menu5[8]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Sandy Bay</DIV></a>'
//menu5[9]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Noordhoek</DIV></a>'
//menu5[10]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Camps Bay</DIV></a>'
//menu5[11]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Glen Beach</DIV></a>'
//menu5[12]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Clifton</DIV></a>'
//menu5[13]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Fish Hoek</DIV></a>'
//menu5[14]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">    Muizenberg</DIV></a>'

//Contents for menu 6
var menu6=new Array()
//menu6[0]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">travel desk</DIV></a>'
//menu6[1]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">day trips and helicopter flips</DIV></a>'
//menu6[2]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">tour and taxi operators</DIV></a>'
menu6[3]='<a href="http://www.chapmanspeakhotel.co.za/discoverhoutbay-e.htm"><DIV CLASS="white10">discover Hout Bay</DIV></a>'
//menu6[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">Discover Cape Town</DIV></a>'
menu6[5]='<a href="http://www.chapmanspeakhotel.co.za/discovercapetown-e.htm"><DIV CLASS="white10">discover Cape Town and surrounds</DIV></a>'
menu6[6]='<a href="http://www.chapmanspeakhotel.co.za/discoverwestcape-e.htm"><DIV CLASS="white10">discover the Western Cape</DIV></a>'
menu6[7]='<a href="http://www.chapmanspeakhotel.co.za/worldcup-e.htm"><DIV CLASS="white10">FIFA world cup 2010</DIV></a>'
menu6[8]='<a href="http://www.chapmanspeakhotel.co.za/airport-e.htm"><DIV CLASS="white10">airport information</DIV></a>'
menu6[9]='<a href="http://www.chapmanspeakhotel.co.za/theatres-e.htm"><DIV CLASS="white10">theatres and shows</DIV></a>'
menu6[10]='<a href="http://www.chapmanspeakhotel.co.za/shopping-e.htm"><DIV CLASS="white10">shopping</DIV></a>'
//menu6[11]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">wining and dining</DIV></a>'
menu6[12]='<a href="http://www.chapmanspeakhotel.co.za/activities-e.htm"><DIV CLASS="white10">activities and sports</DIV></a>'
menu6[13]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">Cape Town events calendar</DIV></a>'

//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="http://www.chapmanspeakhotel.co.za/contact-e.htm"><DIV CLASS="white10">phones and addresses</DIV></a>'
menu7[1]='<a href="http://www.chapmanspeakhotel.co.za/location-e.htm"><DIV CLASS="white10">location, map, directions</DIV></a>'
menu7[2]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">the team</DIV></a>'
//menu7[3]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">guest feedback</DIV></a>'
//menu7[4]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">career opportunities</DIV></a>'
//menu7[5]='<a href="http://www.chapmanspeakhotel.co.za/underconstruction-e.htm"><DIV CLASS="white10">newsletters</DIV></a>'

var menuwidth='200px' //default menu width
var menubgcolor='#49CCD4'  //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+';text-align:left" 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"
dropmenuobj.style.top=dropmenuobj.y+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
