<!--//
var ALIAS = "";
var PASSWORD = "";
var GROUPS = "";
var ROLE = "";
var RANK = "";
cookies = document.cookie.split("; ");
for(z=0;z<cookies.length;z++){
cookie = cookies[z].split("=");
if (cookie[0] == 'ALIAS'){ALIAS = replaceChars(cookie[1]);}
if (cookie[0] == 'PASSWORD'){PASSWORD = replaceChars(cookie[1]);}
if (cookie[0] == 'GROUPS'){GROUPS = replaceChars(cookie[1]);}
if (cookie[0] == 'ROLE'){ROLE = replaceChars(cookie[1]);}
if (cookie[0] == 'RANK'){ROLE = replaceChars(cookie[1]);}
}
//&#233;
var div1_menu = Array("/index.html|Home Page");
var div2_menu = Array("/outdoors.html|Outdoors","/reception.html|Reception","/rooms.html|Rooms","/guest_lounge.html|Guest Lounge","/availability.html|Check Availability");
var div3_menu = Array("/fine_dining.html|Fine Dining","/casual_dining.html|Casual Dining","/bar.html|Alpen Bar","/menu.html|Menu","/specials.html|Specials");
var div4_menu = Array("/weddings.html|Weddings","/parties.html|Parties","/concerts.html|Concerts");
var div5_menu = Array();
var div6_menu = Array("/gallery/hotel.html|Hotel","/gallery/weddings.html|Weddings");
var div7_menu = Array("/live_cam/ski_beech.html|Ski Beech","/live_cam/lawn.html|Front Lawn");
var div8_menu = Array("/directions.html|Directions");
var div9_menu = Array("/hotel_reservations.html|Reservations");
var div10_menu = Array("/attractions.html|Attractions","/skiing.html|Skiing","/hiking.html|Walking/Hiking","/biking.html|Biking","/fishing.html|Fishing","/tennis.html|Tennis","/golf.html|Golf","/rafting.html|Rafting/Kayaking","/horseback-riding.html|Horseback Riding");
var ttl_menu = 10;
<!--//BEGIN_CUSTOMMENUGALLERY//-->
var divGALLERY_menu = Array("/gallery/concerts/index.html|Concerts","/gallery/weddings/index.html|Weddings","/gallery/autumnatoz/index.html|Autumn at Oz","/gallery/activities/index.html|Activities","/gallery/ski/index.html|Ski","/gallery/hotel/index.html|Hotel","/gallery/outdoors/index.html|Outdoors","/gallery/restaurantbar/index.html|Restaurant & Bar");
<!--//END_CUSTOMMENUGALLERY//-->
div6_menu = divGALLERY_menu;
var lin_menu = Array("/cgi/login.cgi?Prefs|Preferences","/cgi/login.cgi?Logout|Logout");
var lou_menu = Array("/cgi/login.cgi?Login|Login","/cgi/login.cgi?Help|Login Help");



var menu = Array();
var isdivopen =0;
var isdivactive = "";
var active_menu = "";
var active_open = "";
var spd = 25;
var spdAlpha = 7;
var fancy = 1;
if (navigator.appVersion.toUpperCase().split("MSIE 6.").length == 2){fancy = 0;}
//document.write(navigator.appVersion.toUpperCase().split("MSIE 6.").length);
var topCnt = 10;
var shadow_alpha = 30;
var shadow_size = 4;
//var debug = 0;
function showMenu(who){
if (who == active_menu){return;}
active_menu = who;
document.getElementById(who).innerHTML = "";
topCnt = topCnt+1;
document.getElementById(who).style.zIndex = topCnt;
showMenuAnimated(who,0);
}//////////////////////////////////////////////////////////////////
function closeMenu(who,step){
if (!who){return;}

for(m = 1;m <= ttl_menu;m++){
if (who == "div"+m){menu = eval("div"+m+"_menu");}
}
//if (who == "div1"){menu = div1_menu;}
//if (who == "div2"){menu = div2_menu;}
//if (who == "div3"){menu = div3_menu;}
//if (who == "div4"){menu = div4_menu;}
//if (who == "div5"){menu = div5_menu;}
//if (who == "div6"){menu = div6_menu;}

if (menu.length == 0){
document.getElementById(who).innerHTML = "";
return;
}


if (step < 0){
document.getElementById(who).innerHTML = "";
return;
}else{
document.getElementById(who).innerHTML = "";
per = Math.round((step*100)/menu.length);
perd = per/100;
//alert(per);
///////
per2 = shadow_alpha;
perd2 = shadow_alpha/100;
var shadColor = "#3A0402";
var shadSize = shadow_size;
var shadl = "";
var shadr = "";
var shadlb = "";
var shadrb = "";
if (fancy == 1){
shadl = "<td width="+shadSize+" style=\"background-image:url('/fade_l.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadl = "<td></td>";
shadr = "<td width="+shadSize+" style=\"background-image:url('/fade_r.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadlb = "<td width="+shadSize+" style=\"background-image:url('/fade_lc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadrb = "<td width="+shadSize+" style=\"background-image:url('/fade_rc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
}else{
shadl = "<td width=\"1\" height=\"1\" class=\"SHADOWOFF\">&nbsp;</td>";
shadr = "<td width=\""+shadSize+"\" class=\"SHADOW\">&nbsp;</td>";
}

for(var x=0;x<step;x++){
////////////document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\" style=\"xxxfilter:alpha(opacity="+per+");-moz-opacity:"+perd+";opacity:"+perd+";\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\" style=\"xxxfilter:alpha(opacity="+per+");-moz-opacity:"+perd+";opacity:"+perd+";\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}else{
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU\"><a class=\"NSMENU\" href=\""+menu[x].split("|")[0]+"\">"+menu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}
}
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadlb+"<td style=\"background-image:url('/fade_b.png');\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=5 border=0></td>"+shadrb+"</tr></table>\n";
}else{
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=\"7\" height=\"5\" class=\"SHADOWOFF\">&nbsp;</td><td height=\""+shadSize+"\" class=\"SHADOW\">&nbsp;</td>"+shadr+"</tr></table>\n";
}
/////////////
step = Math.round(step)-1;
//if (step >= 0){
setTimeout("closeMenu('"+who+"',"+step+");",spd);
//}
}
}//////////////////////////////////
function showMenuAnimated(who,y){
var topid = 0;
var showmenu = Array();
for(m = 1;m <= ttl_menu;m++){
if (who == "div"+m){
topid = m;
showmenu = eval("div"+m+"_menu");}
}
if (showmenu.length == 0){
for(m = 1;m <= ttl_menu;m++){
if ((who != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}
active_open = "";
return;}
if (y > showmenu.length){
for(m = 1;m <= ttl_menu;m++){
if ((who != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}
active_open = "";
}else{
active_open = who;
document.getElementById(who).innerHTML = "";
per = Math.round((y*100)/showmenu.length);
perd = per/100;
per2 = shadow_alpha;
perd2 = shadow_alpha/100;
var shadColor = "#3A0402";
var shadSize = shadow_size;
//var shadSize = Math.floor(shadow_size*perd);
var shadl = "";
var shadr = "";
var shadlb = "";
var shadrb = "";
if (fancy == 1){
shadl = "<td width="+shadSize+" style=\"background-image:url('/fade_l.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadl = "<td></td>";
shadr = "<td width="+shadSize+" style=\"background-image:url('/fade_r.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadlb = "<td width="+shadSize+" class=SHADB style=\"background-image:url('/fade_lc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
shadrb = "<td width="+shadSize+" class=SHADB style=\"border:none;background-image:url('/fade_rc2.png');\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=5 border=\"0\"></td>";
}else{
shadl = "<td class=\"SHADOWOFF\" width=\"1\" height=\"1\">&nbsp;</td>";
//shadr = "<td width="+shadSize+" bgcolor="+shadColor+" style=\"xxxfilter:alpha(opacity="+per2+");-moz-opacity:"+perd2+";opacity:"+perd2+";\"><img src=\"/cgi/trans.gif\" width=\""+shadSize+"\" height=1 border=\"0\"></td>";
shadr = "<td class=\"SHADOW\" width=\""+shadSize+"\">&nbsp;</td>";
}
for(var x=0;x<y;x++){
if (fancy == 1){
var modl = "";
if ("/"+bpn == showmenu[x].split("|")[0]){modl = "A";}
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td class=\"NSMENU"+modl+"\"><a class=\"NSMENU"+modl+"\" href=\""+showmenu[x].split("|")[0]+"\">"+showmenu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}else{
var mod = "";
if (thisnav == topid+"."+(x+1)){mod = "A";}
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadl+"<td title=\""+(topid+"."+(x+1)+"="+thisnav)+"\" class=\"NSMENU"+mod+"\"><a class=\"NSMENU"+mod+"\" href=\""+showmenu[x].split("|")[0]+"\">"+showmenu[x].split("|")[1]+"</a></td>"+shadr+"</tr></table>\n";
}
}
if (fancy == 1){
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr>"+shadlb+"<td class=SHADB style=\"background-image:url('/fade_b.png');\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=5 border=0></td>"+shadrb+"</tr></table>\n";
}else{
//document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=7><img src=/cgi/trans.gif width=7 height=5 border=0></td><td bgcolor="+shadColor+" style=\"xxxfilter:alpha(opacity="+per2+");-moz-opacity:"+perd2+";opacity:"+perd2+";\"><img src=\"/cgi/trans.gif\" height="+shadSize+" width=1 border=0></td>"+shadr+"</tr></table>\n";
document.getElementById(who).innerHTML += "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td class=\"SHADOWOFF\" width=\"7\" height=\""+shadSize+"\">&nbsp;</td><td class=\"SHADOW\">&nbsp;</td>"+shadr+"</tr></table>\n";
}
y = y+1;
setTimeout("showMenuAnimated('"+who+"',"+y+");",spd);
}
}//////////////////////////////////////////////////////////////////
function getActiveDiv(objt){
var actDiv = "";
if ((objt.nodeName == "DIV")){
actDiv = objt.id;
}
if (!actDiv){
chk = objt.parentNode;
var found = 0;
while(found != 1){
if (!chk){found = 1;}
if ((chk)&&(chk.nodeName == "DIV")){
found = 1;
actDiv = chk.id;
}
if (!found){chk = chk.parentNode;}
}
}
return actDiv;
}////////////////////////////////
function getActiveTD(objt){
var actTD = "";
if ((objt.nodeName == "TD")){
actTD = objt.id;
}
if (!actTD){
chk = objt.parentNode;
var found = 0;
while(found != 1){
if (!chk){found = 1;}
if ((chk)&&(chk.nodeName == "TD")){
found = 1;
actTD = chk.id;
}
if (!found){chk = chk.parentNode;}
}
}
return actTD;
}////////////////////////////////
function mmove(e){
var objt;
if (!e){
objt = window.event.srcElement;
}else{
objt = e.target;
}
var activeDiv = "";
var activeTD = "";
//if (debug == 1){document.forms['foo'].elements['activeDiv'].value = "well";document.forms['foo'].elements['activeTD'].value = "well";}
if (objt){
activeDiv = getActiveDiv(objt);
activeTD = getActiveTD(objt);
}
//if (debug == 1){document.forms['foo'].elements['activeDiv'].value = activeDiv;document.forms['foo'].elements['activeTD'].value = activeTD;}
//if (active_menu){return;}
if (activeTD.split("_")[1] != active_menu){
activeTD = activeTD.split("_")[1];
if (activeTD){
showMenu(activeTD);
return;
}
}
var closer = 0;
if (activeDiv){
if (active_menu != activeDiv){closer = 1;}
}
if ((!activeDiv)&&(!activeTD)){closer = 1;}
if (closer == 1){



for(m = 1;m <= ttl_menu;m++){
if ((active_menu)&&(active_menu != "div"+m)&&(document.getElementById("div"+m).innerHTML)){document.getElementById("div"+m).innerHTML = "";}
}



//if ((active_menu)&&(active_menu != "div1")&&(document.getElementById('div1').innerHTML)){document.getElementById('div1').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div2")&&(document.getElementById('div2').innerHTML)){document.getElementById('div2').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div3")&&(document.getElementById('div3').innerHTML)){document.getElementById('div3').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div4")&&(document.getElementById('div4').innerHTML)){document.getElementById('div4').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div5")&&(document.getElementById('div5').innerHTML)){document.getElementById('div5').innerHTML = "";}
//if ((active_menu)&&(active_menu != "div6")&&(document.getElementById('div6').innerHTML)){document.getElementById('div6').innerHTML = "";}


for(m = 1;m <= ttl_menu;m++){
if (active_menu == "div"+m){closeMenu("div"+m,eval("div"+m+"_menu.length"));}
}

//if (active_menu == "div1"){closeMenu('div1',div1_menu.length);}
//if (active_menu == "div2"){closeMenu('div2',div2_menu.length);}
//if (active_menu == "div3"){closeMenu('div3',div3_menu.length);}
//if (active_menu == "div4"){closeMenu('div4',div4_menu.length);}
//if (active_menu == "div5"){closeMenu('div5',div5_menu.length);}
//if (active_menu == "div6"){closeMenu('div6',div6_menu.length);}
active_menu = "";
}
}///////////////////////////////////
function isdefined( variable){
return (typeof(window[variable]) == "undefined")?  false: true;
}///////////////////////////////////////////////////////////////////////
var hoverDivLast = "";
function hoverDiv(who){
return;
if (document.all){
if (hoverDivLast){document.all("TD"+hoverDivLast).style.backgroundColor = '#FFFFFF';}
document.all("TD"+who).style.backgroundColor = '#FAFAFA';
} else if (!document.all && document.getElementById) {      
if (hoverDivLast){document.getElementById("TD"+hoverDivLast).style.backgroundColor = '#FFFFFF';}
document.getElementById("TD"+who).style.backgroundColor = '#FAFAFA';
}
hoverDivLast = who;
}///////////////////////////////////////////////////////////////////////
function showCalendarEvent(msg){
document.all(msg).style.visibility = 'visible';
raiseDivAlpha(msg,10);
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function hideCalendarEvent(msg){
document.all(msg).style.visibility = 'hidden';
//alert(document.getElementById(msg).innerHTML);
}///////////////////////////////////////////////////////////////////////
function copyDiv(FROM,TO){
if (isdivactive == FROM){return;}
if (isdivactive){
if (document.all){
//alert("MARK"+isdivactive);
//document.all("TD"+isdivactive).style.backgroundColor = '#FFFFFF';
document.all("MARK"+isdivactive).src = '/markoff.gif';
} else if (!document.all && document.getElementById) {      
//document.getElementById("TD"+isdivactive).style.backgroundColor = '#FFFFFF';
document.getElementById("MARK"+isdivactive).src = '/markoff.gif';
}
}
isdivactive = FROM;
isdivopen = 1;
if (document.all){
document.all(TO).filters.alpha.opacity = 0;
//document.all("TD"+FROM).style.backgroundColor = '#DDDDDD';
document.all("MARK"+FROM).src = '/mark.gif';
} else if (!document.all && document.getElementById) {      
document.getElementById(TO).style.MozOpacity = 0;
//document.getElementById("TD"+FROM).style.backgroundColor = '#DDDDDD';
document.getElementById("MARK"+FROM).src = '/mark.gif';
}
document.getElementById(TO).innerHTML = document.getElementById(FROM).innerHTML;
raiseDivAlpha("SIDEBAR",10);
}///////////////////////////////////////////////////////////////////
function raiseDivAlpha(WHO,AT){
AT = Math.floor(AT)+spdAlpha;
var ATM = AT/100;
if (document.all){
document.all(WHO).filters.alpha.opacity = AT;
} else if (!document.all && document.getElementById) {      
document.getElementById(WHO).style.MozOpacity = ATM;
}
if (AT < 100){
setTimeout("raiseDivAlpha('"+WHO+"','"+AT+"');",10);
}else{
isdivopen = 0;
}
}///////////////////////////////////////////////////////////////////
function replaceChars(entry) {
out = "+"; // replace this
add = " "; // with this
temp = "" + entry; // temporary holder
while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add + 
temp.substring((pos + out.length), temp.length));
}
return temp;
}////////////////////////////////////////////////////////
function WriteFLA(swf,wdth,hgth,nme,img){
document.write("<div id=fla style='position:relative;z-index:1;'><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+wdth+"' HEIGHT='"+hgth+"' id='"+nme+"' ALIGN=''>");
document.write("<PARAM NAME=movie VALUE='"+swf+"'>");
document.write("<EMBED src='"+swf+"' quality=high wmode=transparent bgcolor=#FFFFFF WIDTH='"+wdth+"' HEIGHT='"+hgth+"' NAME='"+nme+"' ALIGN='' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'>");
document.write("<PARAM NAME=quality VALUE=high><param name=wmode value=transparent><PARAM NAME=bgcolor VALUE=#FFFFFF></EMBED></OBJECT></div>");
}////////////////////////////////////////////////////////
function loadSlide(winname){
document.getElementById(winname).innerHTML = "<iframe scrolling='no' src='/pod/homeshotslide.html' frameborder=0 style='width:500px;height:400px;border:solid 0px black;'></iframe>";
}////////////////////////////////////////////////////////
function daySelectOptions(days){
CUR = new Date;
var from = Math.round(CUR.getTime()/1000);
months = Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
//var content = "<option value=\""+from+"\">"+months[CUR.getMonth()]+" "+CUR.getDate()+" "+CUR.getYear();
var content = "";
for(x=1;x<=days;x++){
var fromli = from+(x*86400);
var thisdate = new Date();
thisdate.setTime(fromli*1000);
content = ""+content+"<option value=\""+fromli+"\">"+months[thisdate.getMonth()]+" "+thisdate.getDate()+" "+thisdate.getYear();
}
return content;
}////////////////////////////////////////////////////////
//-->