﻿/***********************************************
* 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 + 'who_overview.html">Overview</a>'


var menu2=new Array()
menu2[1]='<a href="' + daPath + 'what_overview.html">Overview</a>'
menu2[2]='<a href="' + daPath + 'what_testimonials.html">Testimonials</a>'


var menu3=new Array()
menu3[1]='<a href="' + daPath + 'services_overview.html">Buyers Agency Service</a>'
menu3[2]='<a href="' + daPath + 'services_vendor.html">Vendor Advocacy Service</a>'
menu3[3]='<a href="' + daPath + 'services_project.html">Project Management</a>'


var menu4=new Array()
menu4[1]='<a href="' + daPath + 'options_overview.html">Fees Overview</a>'
menu4[2]='<a href="' + daPath + 'option_one.html">Option 1 - The Full Deal</a>'
menu4[3]='<a href="' + daPath + 'option_two.html">Option 2 - Assess and Secure</a>'
menu4[4]='<a href="' + daPath + 'option_three.html">Option 3 - Auction Representation</a>'
menu4[5]='<a href="' + daPath + 'option_four.html">Option 4 - Service by Negotiation</a>'


var menu5=new Array()
menu5[1]='<a href="' + daPath + 'news_property.html">Tasmania Property News</a>'
menu5[2]='<a href="' + daPath + 'news_living.html">Living in Tasmania</a>'
menu5[3]='<a href="' + daPath + 'news_links.html">Links</a>'


var menu6=new Array()
menu6[1]='<a href="' + daPath + 'contact_request.html">Request for Information</a>'
menu6[2]='<a href="' + daPath + 'contact_details.html">Contact Details</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