﻿/***********************************************
* 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
*
* Modifications by Ian McLean
* http://www.digitalink.com.au/
***********************************************/

// find out path of document
fullpath = window.location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1)
danumber = fullpath.split("/").length - 2

// following line required is required for dev2 server only
if ((window.location.hostname.indexOf("dev2.digitalink.com.au")) > -1) {
	danumber = danumber - 1
}

daPath = ""
for (var i=0; i<danumber;i++) {
	daPath += "../"
}


//-------------------------------------------------------------------------------------------
// 1st level menus

// written directly into html pages through GoLive templates



//-------------------------------------------------------------------------------------------
// 2nd level menus


var menu1=new Array()
menu1[1]='<a href="' + daPath + 'accommodation.html">Where to stay?</a>'
menu1[2]='<a href="' + daPath + 'http://www.tarraleahcottages.com" target="blank" onmouseover="submenu(this, event, menu10, \'100px\', \'#2f2f3b\');return true" onmouseout="subdynamichide(event);return true">Cottages at Tarraleah</a>'
menu1[3]='<a href="http://tarraleahlodge.com" target="blank">The Lodge</a>'
menu1[4]='<a href="' + daPath + 'accommodation/scholars.html">The Scholars House</a>'
menu1[5]='<a href="' + daPath + 'accommodation/caravan.html">Highland Caravan Park</a>'
menu1[6]='<a href="' + daPath + 'accommodation/enquiry.html">Enquiry</a>'


var menu2=new Array()
menu2[1]='<a href="' + daPath + 'activities.html">Wild & Mild</a>'
menu2[2]='<a href="' + daPath + 'activities/fishing.html">Fishing</a>'
menu2[3]='<a href="' + daPath + 'activities/golf.html">Golf</a>'
menu2[4]='<a href="' + daPath + 'activities/walks.html">Walks</a>'
menu2[5]='<a href="' + daPath + 'activities/wlifeflora.html">Wildlife &amp; Flora</a>'
menu2[6]='<a href="' + daPath + 'activities/birdwatching.html">Birding</a>'
menu2[7]='<a href="' + daPath + 'activities/kayaking_biking.html">Kayaking & Moutain Biking</a>'
menu2[8]='<a href="' + daPath + 'activities/gym.html">Gym, Squash & Pool</a>'
menu2[9]='<a href="' + daPath + 'activities/massagespa.html">Massage & Spa</a>'
menu2[10]='<a href="' + daPath + 'activities/starsafari.html">Luxury Tours</a>'
menu2[11]='<a href="' + daPath + 'activities/estateactiv.html">Estate Activities</a>'
menu2[12]='<a href="' + daPath + 'activities/children.html">Children</a>'
menu2[13]='<a href="' + daPath + 'activities/topten.html">Top ten things to do</a>'

var menu3=new Array()
menu3[1]='<a href="' + daPath + 'dining.html">Glorious Food</a>'
menu3[2]='<a href="' + daPath + 'dining/teezcafe.html">Teez Cafe &amp; Lookout</a>'
menu3[3]='<a href="' + daPath + 'dining/wildside.html">Wildside Resturant</a>'
menu3[4]='<a href="' + daPath + 'dining/highlanderarms.html">The Highlander Arms</a>'
menu3[5]='<a href="' + daPath + 'dining/picnic.html">Picnics &amp; Expeditions</a>'
menu3[6]='<a href="' + daPath + 'dining/wine.html">Wine</a>'
menu3[7]='<a href="' + daPath + 'dining/whisky.html">Whisky</a>'
menu3[8]='<a href="' + daPath + 'dining/puretas.html">Pure Tasmania ingredients</a>'

var menu4=new Array()
menu4[1]='<a href="' + daPath + 'facilities.html">Chocolate, Fuel & Cash</a>'
menu4[2]='<a href="' + daPath + 'facilities/fishingshop.html">Loomis Pro-Tackle Fishing Shop</a>'
menu4[3]='<a href="' + daPath + 'facilities/highlandstore.html">The Highland Store</a>'
menu4[4]='<a href="' + daPath + 'facilities/gifts.html">Craft, Art & Gifts</a>'

var menu5=new Array()
menu5[1]='<a href="' + daPath + 'functions.html">I do & You will</a>'
menu5[2]='<a href="' + daPath + 'functions/conferences.html">Conferences &amp; Meeting Rooms</a>'
menu5[3]='<a href="' + daPath + 'functions/wedding.html">Weddings & Special Days</a>'

var menu6=new Array()
menu6[1]='<a href="' + daPath + 'specials.html">Very Special</a>'
menu6[2]='<a href="' + daPath + 'specials/winter.html">Winter Wonderland</a>'
menu6[3]='<a href="' + daPath + 'specials/christmas.html">Christmas & New Year</a>'
menu6[4]='<a href="' + daPath + 'specials/easter.html">Easter</a>'
menu6[5]='<a href="' + daPath + 'specials/romance.html">Romance</a>'
menu6[6]='<a href="' + daPath + 'specials/indulge.html">Indulgence</a>'

var menu7=new Array()
menu7[1]='<a href="' + daPath + 'ourstory.html">Our Story</a>'
menu7[2]='<a href="' + daPath + 'story/ourpeople.html">Our People</a>'

var menu8=new Array()
menu8[1]='<a href="' + daPath + 'location.html">Getting There</a>'

var menu9=new Array()
menu9[1]='<a href="' + daPath + 'media/awards.html">Awards</a>'
menu9[2]='<a href="' + daPath + 'media/press.html">Press Releases</a>'



var menuwidth='165px' //default menu width
var menubgcolor='#FFDE99'  //menu bgcolor
var menubgcolor2='#3e3e4c' // bottom menu
var disappeardelay=400  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editing needed

