
/*


*/


/*


*/

//The Speed of the menu comeing downward
var speed=1
//The Main Menu's background Color
var MenuColor="333366"
//The Main Menu's Text Color
var MenuTextColor="CCCCFF"
//The Sub Menu's background Color
var SubMenuColor="333366"
//The Sub Menu's Text Color
var SubMenuTextColor="CCCCFF"

//The Main Menu's Visible Text
var Menumsg="       - M E N U -       "


//The Sub Menu's Visible Text
var msg=new Array()

//Edit this

msg[1]=" Accommodation "
msg[2]=" Prices "
msg[3]=" Area Map "
msg[4]=" Contact us "


//stop 

//The Links for each button. Be sure to line them up with the messages above.
function Linker(which){
var link=new Array(which)

//Edit This
link[1]="Accom.html"
link[2]="Prices.html"
link[3]="map.html"
link[4]="mailto:Lucasleisure@yahoo.co.uk"

//stop

location.href=link[which]

}

/*

 ******Don't Edit below this line******

*/

function TheMenu(){

var code="<table border=0 bgColor='" + MenuColor + "' width=150>"
code+="<tr>"
code+="<td style='cursor:n-resize;'"
code+=" onclick='TheSubMenus()'"
code+=" onMouseOver='MenuOver()' onMouseOut='MenuOut()'>"
code+="<center><font color='" + MenuTextColor + "' size=4>"
code+="<div id='a' style='border-style:inset;'> " + Menumsg + " </div>"
code+="</font></center></td></tr></table>"

document.all.TheMenu.innerHTML=code

}

function MenuOver(){
document.all.a.style.borderStyle="outset"
}
function MenuOut(){
document.all.a.style.borderStyle="inset"
}

function SubMenu1(){
var code="<table border=0 bgColor='" + SubMenuColor + "' width=150>"
code+="<tr>"
code+="<td style='cursor:crosshair;'"
code+=" onclick='Linker(1)'"
code+=" onMouseOver='Sub1()' onMouseOut='SwapSubBack()'>"
code+="<font color='" + SubMenuTextColor + "'>"
code+="<div id='S1' style='border-style:inset;'>" + msg[1] + "</div>"
code+="</font></td></tr></table>"

document.all.Sub1.innerHTML=code


if(document.all.Sub1.style.pixelTop<=-21){
document.all.Sub1.style.pixelTop+=20
Timer1=setTimeout("SubMenu1()",speed)
}else{
clearTimeout(Timer1)
}

}

function SubMenu2(){
var code="<table border=0 bgColor='" + SubMenuColor + "' width=150>"
code+="<tr>"
code+="<td style='cursor:crosshair;'"
code+=" onclick='Linker(2)'"
code+=" onMouseOver='Sub2()' onMouseOut='SwapSubBack()'>"
code+="<font color='" + SubMenuTextColor + "'>"
code+="<div id='S2' style='border-style:inset;'>" + msg[2] + "</div>"
code+="</font></td></tr></table>"

document.all.Sub2.innerHTML=code


if(document.all.Sub2.style.pixelTop<=-21){
document.all.Sub2.style.pixelTop+=20
Timer2=setTimeout("SubMenu2()",speed)
}else{
clearTimeout(Timer2)
}

}

function SubMenu3(){
var code="<table border=0 bgColor='" + SubMenuColor + "' width=150>"
code+="<tr>"
code+="<td style='cursor:crosshair;'"
code+=" onclick='Linker(3)'"
code+=" onMouseOver='Sub3()' onMouseOut='SwapSubBack()'>"
code+="<font color='" + SubMenuTextColor + "'>"
code+="<div id='S3' style='border-style:inset;'>" + msg[3] + "</div>"
code+="</font></td></tr></table>"

document.all.Sub3.innerHTML=code


if(document.all.Sub3.style.pixelTop<=-21){
document.all.Sub3.style.pixelTop+=20
Timer3=setTimeout("SubMenu3()",speed)
}else{
clearTimeout(Timer3)
}

}

function SubMenu4(){
var code="<table border=0 bgColor='" + SubMenuColor + "' width=150>"
code+="<tr>"
code+="<td style='cursor:crosshair;'"
code+=" onclick='Linker(4)'"
code+=" onMouseOver='Sub4()' onMouseOut='SwapSubBack()'>"
code+="<font color='" + SubMenuTextColor + "'>"
code+="<div id='S4' style='border-style:inset;'>" + msg[4] + "</div>"
code+="</font></td></tr></table>"

document.all.Sub4.innerHTML=code


if(document.all.Sub4.style.pixelTop<=-21){
document.all.Sub4.style.pixelTop+=20
Timer4=setTimeout("SubMenu4()",speed)
}else{
clearTimeout(Timer4)
}

}





function Sub1(){
document.all.S1.style.borderStyle="solid"
}
function Sub2(){
document.all.S2.style.borderStyle="solid"
}
function Sub3(){
document.all.S3.style.borderStyle="solid"
}
function Sub4(){
document.all.S4.style.borderStyle="solid"
}

function SwapSubBack(){
document.all.S1.style.borderStyle="inset"
document.all.S2.style.borderStyle="inset"
document.all.S3.style.borderStyle="inset"
document.all.S4.style.borderStyle="inset"

}
function TheSubMenus(){
SubMenu1()
SubMenu2()
SubMenu3()
SubMenu4()

}


