// JavaScript Document

<!--
<!--
 browserName = navigator.appName; browserVer = parseInt ( navigator.appVersion ); version = "n2";
 if ( browserName == "Netscape" && browserVer >= 3 ) version = "n3";
 if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) version = "e4";
 if ( version == "n3" || version == "e4" ) 
 {       
    	ms_on = new Image ( 149, 33 );
        ms_on.src = "images-nav/binn_on.gif";

        lodge_on = new Image ( 149, 48 );
        lodge_on.src = "images-nav/blodge_on.gif";
        
        vr_on = new Image ( 149, 48 );
        vr_on.src = "images-nav/brooms_on.gif";
        
        rat_on = new Image ( 149, 33 );
        rat_on.src = "images-nav/brates_on.gif";
        
        reserve_on = new Image ( 149, 48 );
        reserve_on.src = "images-nav/breserve_on.gif";
        
        bfast_on = new Image ( 149, 33 );
        bfast_on.src = "images-nav/bbreakfast_on.gif";

        neh_on = new Image ( 149, 33 );
        neh_on.src = "images-nav/bvillage_on.gif";
        
        act_on = new Image ( 149, 33 );
        act_on.src = "images-nav/bactivities_on.gif";
        
        gall_on = new Image ( 149, 33 );
        gall_on.src = "images-nav/bgallery_on.gif";
        
        groups_on = new Image ( 149, 48 );
        groups_on.src = "images-nav/bgroups_on.gif";
        
        contact_on = new Image ( 149, 33 );
        contact_on.src = "images-nav/bcontact_on.gif";
        
        dir_on = new Image ( 149, 33 );
        dir_on.src = "images-nav/bdirections_on.gif";
        
        
     	ms_off = new Image ( 149, 33 );
        ms_off.src = "images-nav/binn.gif";

        lodge_off = new Image ( 149, 48 );
        lodge_off.src = "images-nav/blodge.gif";
        
        vr_off = new Image ( 149, 48 );
        vr_off.src = "images-nav/brooms.gif";
        
        rat_off = new Image ( 149, 33 );
        rat_off.src = "images-nav/brates.gif";
        
        reserve_off = new Image ( 149, 48 );
        reserve_off.src = "images-nav/breserve.gif";
        
        bfast_off = new Image ( 149, 33 );
        bfast_off.src = "images-nav/bbreakfast.gif";

        neh_off = new Image ( 149, 33 );
        neh_off.src = "images-nav/bvillage.gif";
        
        act_off = new Image ( 149, 33 );
        act_off.src = "images-nav/bactivities.gif";
        
        gall_off = new Image ( 149, 33 );
        gall_off.src = "images-nav/bgallery.gif";
        
        groups_off = new Image ( 149, 48 );
        groups_off.src = "images-nav/bgroups.gif";
        
        contact_off = new Image ( 149, 33 );
        contact_off.src = "images-nav/bcontact.gif";
        
        dir_off = new Image ( 149, 33 );
        dir_off.src = "images-nav/bdirections.gif";
      
        
} 
function button_on ( imgName )
 {          if ( version == "n3" || version == "e4" )      
    {               
  butOn = eval ( imgName + "_on.src" );          
       document [imgName].src = butOn;              
 } 
} function button_off ( imgName )
 {      
    if ( version == "n3" || version == "e4" )       
  {                
 butOff = eval ( imgName + "_off.src" );      
        document [imgName].src = butOff;           
     } 
 } 

 // -->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->