<!--
var caution = false
var caution1 = false
var caution2 = false
var caution3 = false


function setCookie(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		((secure) ? "; secure" : "")
	if (!caution || (name + "=" + escape(value)).length <= 4000)
		document.cookie = curCookie
	else
		if (confirm("Cookie exceeds 4KB and will be cut!"))
			document.cookie = curCookie
}
function setCookie1(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		((secure) ? "; secure" : "")
	if (!caution1 || (name + "=" + escape(value)).length <= 4000)
		document.cookie = curCookie
	else
		if (confirm("Cookie exceeds 4KB and will be cut!"))
			document.cookie = curCookie
}

function setCookie2(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		((secure) ? "; secure" : "")
	if (!caution2 || (name + "=" + escape(value)).length <= 4000)
		document.cookie = curCookie
	else
		if (confirm("Cookie exceeds 4KB and will be cut!"))
			document.cookie = curCookie
}

function setCookie3(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +
		((expires) ? "; expires=" + expires.toGMTString() : "") +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		((secure) ? "; secure" : "")
	if (!caution3 || (name + "=" + escape(value)).length <= 4000)
		document.cookie = curCookie
	else
		if (confirm("Cookie exceeds 4KB and will be cut!"))
			document.cookie = curCookie
}


function getCookie(name) {
	var prefix = name + "="
	var cookieStartIndex = document.cookie.indexOf(prefix)
	if (cookieStartIndex == -1)
		return null
	var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
	if (cookieEndIndex == -1)
		cookieEndIndex = document.cookie.length
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}
function getCookie1(name) {
	var prefix = name + "="
	var cookieStartIndex = document.cookie.indexOf(prefix)
	if (cookieStartIndex == -1)
		return null
	var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
	if (cookieEndIndex == -1)
		cookieEndIndex = document.cookie.length
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}

function getCookie2(name) {
	var prefix = name + "="
	var cookieStartIndex = document.cookie.indexOf(prefix)
	if (cookieStartIndex == -1)
		return null
	var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
	if (cookieEndIndex == -1)
		cookieEndIndex = document.cookie.length
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}

function getCookie3(name) {
	var prefix = name + "="
	var cookieStartIndex = document.cookie.indexOf(prefix)
	if (cookieStartIndex == -1)
		return null
	var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
	if (cookieEndIndex == -1)
		cookieEndIndex = document.cookie.length
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}


function deleteCookie(name, path, domain) {
	if (getCookie(name)) {
		document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		"; expires=Thu, 01-Jan-70 00:00:01 GMT"
	}
}
function deleteCookie1(name, path, domain) {
	if (getCookie1(name)) {
		document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		"; expires=Thu, 01-Jan-70 00:00:01 GMT"
	}
}

function deleteCookie2(name, path, domain) {
	if (getCookie2(name)) {
		document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		"; expires=Thu, 01-Jan-70 00:00:01 GMT"
	}
}

function deleteCookie3(name, path, domain) {
	if (getCookie3(name)) {
		document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		"; expires=Thu, 01-Jan-70 00:00:01 GMT"
	}
}



function fixDate(date) {
	var base = new Date(0)
	var skew = base.getTime()
	if (skew > 0)
		date.setTime(date.getTime() - skew)
}
function item(parent, text, depth) {
	this.parent = parent 
	this.text = text 
	this.depth = depth 
}
function makeArray(length) {
	this.length = length 
}
function fixDate1(date) {
	var base = new Date(0)
	var skew = base.getTime()
	if (skew > 0)
		date.setTime(date.getTime() - skew)
}

function fixDate2(date) {
	var base = new Date(0)
	var skew = base.getTime()
	if (skew > 0)
		date.setTime(date.getTime() - skew)
}
function fixDate3(date) {
	var base = new Date(0)
	var skew = base.getTime()
	if (skew > 0)
		date.setTime(date.getTime() - skew)
}
function item1(parent, text, depth) {
	this.parent = parent 
	this.text = text 
	this.depth = depth 
}

function item2(parent, text, depth) {
	this.parent = parent 
	this.text = text 
	this.depth = depth 
}
function item3(parent, text, depth) {
	this.parent = parent 
	this.text = text 
	this.depth = depth 
}
function makeArray1(length) {
	this.length = length 
}

function makeArray2(length) {
	this.length = length 
}
function makeArray3(length) {
	this.length = length 
}

function makeDatabase() {
	outline = new makeArray(5) 
	outline[0] = new item(true, '', 0)
	outline[3] = new item(false, '<A HREF="club_room.html" class=top-nav>Club Rooms</A>', 1)
	outline[4] = new item(false, '<A HREF="delux_room.html" class=top-nav>Deluxe Rooms</A>', 1)
	outline[1] = new item(false, '<A HREF="penthouse_suite.html" class=top-nav>Bristol Suite</A>', 1)
	outline[2] = new item(false, '<A HREF="mexican_suit.html" class=top-nav>Mexican
                          Suite</A>', 1)
	setStates()
	setImages()
	
}
function makeDatabase1() {
	
	outline1 = new makeArray1(5)
	outline1[0] = new item(true, '', 0)
	outline1[1] = new item(false, '<A HREF="palmyra.html" class=top-nav>Palmyra</A>', 1)
	outline1[2] = new item(false, '<A HREF="zaffran.html" class=top-nav>Zaffran</A>', 1)
	outline1[3] = new item(false, '<A HREF="silk_route.html" class=top-nav>The Silk Route</A>', 1)
	outline1[4] = new item(false, '<A HREF="hunters_bar.html" class=top-nav>The Hunters Bar</A>', 1)
	setStates1()
	setImages1()
}

function makeDatabase2() {
	
	outline2 = new makeArray2(9)
	
	outline2[0] = new item(true, '', 0)
	outline2[1] = new item(false, '<A HREF="regent_park.html" class=top-nav>The Regent Park</A>', 1)
	outline2[2] = new item(false, '<A HREF="pool_side.html" class=top-nav>Pool Side</A>', 1)
	outline2[3] = new item(false, '<A HREF="regent.html" class=top-nav>The Regent</A>', 1)
	outline2[4] = new item(false, '<A HREF="monarch.html" class=top-nav>The Monarch</A>', 1)
	//outline2[5] = new item(false, '<A HREF="bristol_club.html" class=top-nav>The Bristol Club</A>', 1)
	outline2[5] = new item(false, '<A HREF="sovereign.html" class=top-nav>Sovereign</A>', 1)
	outline2[6] = new item(false, '<A HREF="victoria.html" class=top-nav>Victoria</A>', 1)
	outline2[7] = new item(false, '<A HREF="edmonton_hall.html" class=top-nav>Edmonton Hall 1 & 2</A>', 1)
	outline2[8] = new item(false, '<A HREF="ballroom.html" class=top-nav>The Ball Room</A>', 1)
	//outline2[10] = new item(false, '<A HREF="hyde_park.html" class=top-nav>The Hyde Park</A>', 1)
	setStates2()
	setImages2()
}

function makeDatabase3() {
	
	outline3 = new makeArray3(2)
	
	outline3[0] = new item(true, '', 0)
	outline3[1] = new item(false, '<A HREF="peppers.html" class=top-nav>Peppers</A>', 1)
	setStates3()
	setImages3()
}




function setStates() {
	var storedValue = getCookie("outline")
	
	if (!storedValue) {
		for (var i = 0; i < outline.length; ++i) {
			if (outline[i].depth == 0)
				outline[i].state = true
			else
				outline[i].state = false
		}
	} else {
		for (var i = 0; i < outline.length; ++i) {
			if (storedValue.charAt(i) == '1')
				outline[i].state = true
			else
				outline[i].state = false
		}
	}
}

function setStates1() {
	var storedValue = getCookie1("outline1")
	
	if (!storedValue) {
		for (var i = 0; i < outline1.length; ++i) {
			if (outline1[i].depth == 0)
				outline1[i].state = true
			else
				outline1[i].state = false
		}
	} else {
		for (var i = 0; i < outline1.length; ++i) {
			if (storedValue.charAt(i) == '1')
				outline1[i].state = true
			else
				outline1[i].state = false
		}
	}
}

function setStates2() {
	var storedValue = getCookie2("outline2")
	
	if (!storedValue) {
		for (var i = 0; i < outline2.length; ++i) {
			if (outline2[i].depth == 0)
				outline2[i].state = true
			else
				outline2[i].state = false
		}
	} else {
		for (var i = 0; i < outline2.length; ++i) {
			if (storedValue.charAt(i) == '1')
				outline2[i].state = true
			else
				outline2[i].state = false
		}
	}
}

function setStates3() {
	var storedValue = getCookie3("outline3")
	
	if (!storedValue) {
		for (var i = 0; i < outline3.length; ++i) {
			if (outline3[i].depth == 0)
				outline3[i].state = true
			else
				outline3[i].state = false
		}
	} else {
		for (var i = 0; i < outline3.length; ++i) {
			if (storedValue.charAt(i) == '1')
				outline3[i].state = true
			else
				outline3[i].state = false
		}
	}
}



function setImages() {
	for (var i = 0; i < outline.length; ++i) {
		if (outline[i].state)
			if (outline[i].parent) 
				if (outline[i + 1].state) 
					outline[i].pic = '<font class=top-nav3><A  HREF="javascript:toggle(' + i + ')"><IMG SRC="gifs/arrow-down.gif" BORDER=0>Accommodation</A></font>'
				else 
					outline[i].pic = '<font class=top-nav3><A  HREF="javascript:toggle(' + i + ')"><IMG SRC="gifs/arrow-right.gif" BORDER=0>Accommodation</A></font>'
			else 
				outline[i].pic = '<font class=top-nav3><IMG SRC="gifs/arrow-right-child.gif" BORDER=0>'
	}
}


function setImages1() {
	for (var i = 0; i < outline1.length; ++i) {
		if (outline1[i].state)
			if (outline1[i].parent) 
				if (outline1[i + 1].state) 
					outline1[i].pic = '<font class=top-nav3><A HREF="javascript:toggle1(' + i + ')"><IMG SRC="gifs/arrow-down.gif" BORDER=0>Restaurants</A></Font>'
				else 
					outline1[i].pic = '<font class=top-nav3><A HREF="javascript:toggle1(' + i + ')"><IMG SRC="gifs/arrow-right.gif" BORDER=0>Restaurants</A></Font>'
			else 
				outline1[i].pic = '<font class=top-nav3><IMG SRC="gifs/arrow-right-child.gif" BORDER=0>'
	}
}


function setImages2() {
	for (var i = 0; i < outline2.length; ++i) {
		if (outline2[i].state)
			if (outline2[i].parent) 
				if (outline2[i + 1].state) 
					outline2[i].pic = '<font class=top-nav3><A HREF="javascript:toggle2(' + i + ')"><IMG SRC="gifs/arrow-down.gif" BORDER=0>Meetings & Events</A></Font>'
				else 
					outline2[i].pic = '<font class=top-nav3><A HREF="javascript:toggle2(' + i + ')"><IMG SRC="gifs/arrow-right.gif" BORDER=0>Meetings & Events</A></Font>'
			else 
				outline2[i].pic = '<font class=top-nav3><IMG SRC="gifs/arrow-right-child.gif" BORDER=0>'
	}
}


function setImages3() {
	for (var i = 0; i < outline3.length; ++i) {
		if (outline3[i].state)
			if (outline3[i].parent) 
				if (outline3[i + 1].state) 
					outline3[i].pic = '<font class=top-nav3><A HREF="javascript:toggle3(' + i + ')"><IMG SRC="gifs/arrow-down.gif" BORDER=0>Night Club</A></Font>'
				else 
					outline3[i].pic = '<font class=top-nav3><A HREF="javascript:toggle3(' + i + ')"><IMG SRC="gifs/arrow-right.gif" BORDER=0>Night Club</A></Font>'
			else 
				outline3[i].pic = '<font class=top-nav3><IMG SRC="gifs/arrow-right-child.gif" BORDER=0>'
	}
}

function toggle(num) {
	for (var i = num + 1; i < outline.length && outline[i].depth >= outline[num].depth + 1; ++i) {
		if (outline[i].depth == outline[num].depth + 1)
			outline[i].state = !outline[i].state 
	}
	setStorage()
	history.go(0)
}
	function toggle1(num) {
	for (var i = num + 1; i < outline1.length && outline1[i].depth >= outline1[num].depth + 1; ++i) {
		if (outline1[i].depth == outline1[num].depth + 1)
			outline1[i].state = !outline1[i].state 
	}
	setStorage1()
	history.go(0)
}

function toggle2(num) {
	for (var i = num + 1; i < outline2.length && outline2[i].depth >= outline2[num].depth + 1; ++i) {
		if (outline2[i].depth == outline2[num].depth + 1)
			outline2[i].state = !outline2[i].state 
	}
	setStorage2()
	history.go(0)
}
	function toggle3(num) {
	for (var i = num + 1; i < outline3.length && outline3[i].depth >= outline3[num].depth + 1; ++i) {
		if (outline3[i].depth == outline3[num].depth + 1)
			outline3[i].state = !outline3[i].state 
	}
	setStorage3()
	history.go(0)
}

function setStorage() {
	var text = ""
	for (var i = 0; i < outline.length; ++i) {
		text += (outline[i].state) ? "1" : "0"
	}
	setCookie("outline",text)
	}
function setStorage1() {
	var text = ""
	for (var i = 0; i < outline1.length; ++i) {
		text += (outline1[i].state) ? "1" : "0"
	}
	setCookie1("outline1", text)
}
function setStorage2() {
	var text = ""
	for (var i = 0; i < outline2.length; ++i) {
		text += (outline2[i].state) ? "1" : "0"
	}
	setCookie("outline2", text)
	}
function setStorage3() {
	var text = ""
	for (var i = 0; i < outline3.length; ++i) {
		text += (outline3[i].state) ? "1" : "0"
	}
	setCookie1("outline3", text)
}
makeDatabase()
makeDatabase1()
makeDatabase2()
makeDatabase3()

// -->

