// JavaScript Document

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]='<a class="submenu" href="/facilities/index.shtml">Meeting Facilities</a> | <a class="submenu" href="/facilities/guestrooms.shtml">Guest Rooms</a>  |  <a class="submenu" href="/facilities/grounds.shtml">Grounds</a>'

submenu[1]='<a class="submenu" href="/meeting-planner/index.shtml">Planner</a> | <a class="submenu" href="/meeting-planner/rfq.shtml">Request a Quote</a>'

submenu[2]='<a class="submenu" href="/location/index.shtml">Location/Directions</a> | <a class="submenu" href="/location/transportation.shtml">Transportation</a> | <a class="submenu" href="/location/nearby-attractions.shtml">Nearby Attractions</a>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}


function breadcrumbs(){
    sURL = new String;
    bits = new Object;
    var x = 0;
    var stop = 0;
    var output = "<A HREF=\"/\">Home</A> | ";

    sURL = location.href;
    sURL = sURL.slice(8,sURL.length);
    chunkStart = sURL.indexOf("/");
    sURL = sURL.slice(chunkStart+1,sURL.length)

    while(!stop){
      chunkStart = sURL.indexOf("/");
      if (chunkStart != -1){
        bits[x] = sURL.slice(0,chunkStart)
        sURL = sURL.slice(chunkStart+1,sURL.length);
      }else{
        stop = 1;
      }
      x++;
    }

    for(var i in bits){
      output += "<A HREF=\"";
      for(y=1;y<x-i;y++){
        output += "../";
      }
      output += bits[i] + "/\">" + bits[i] + "</A> | ";
    }
    document.write(output + document.title);
  }
  
  
  var SubjectLine='Sending you a link: '+top.document.title; 
var BodyText='I thought you would find this page of value: '+top.location.href;

var Message='<A CLASS=contact HREF="mailto:?SUBJECT='+escape(SubjectLine)+'&BODY='+escape(BodyText)+'" OnMouseOver="status=\'Email This Page to a Friend\'; return true;" TITLE="Email This Page"><img src=/images/emailButton.png border=0><\/A>';

var MessageIE='<A HREF="mailto:?SUBJECT='+(SubjectLine)+'&BODY='+(BodyText)+'" OnMouseOver="status=\'Email This Page to a Friend\'; return true;" TITLE="Email This Page"><img src=/images/emailButton.png border=0><\/A>';

if(document.all) { document.write(MessageIE); }

else { document.write(Message); }


function printit(){  
if (window.print) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
}
}
</script>
</td>
      <td valign="top" align="right"><SCRIPT Language="Javascript">  
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
    document.write('<form><input type="image" alt="Print this page" title="Print this page" value="Print this Page" name="Print" src="/images/printButton.png" onClick="printit()"></form>');        
}

