<!--
//	My functions here

function commonPageHeader (){
  //  Write the page header for every page on the site
  document.writeln("<table id='pageHeader' width='950' border='0' align='center' cellpadding='0' cellspacing='0' bordercolor='#FFFFFF'>");
  document.writeln(" <tr>");
  document.writeln("    <td colspan='2' bgcolor='#EDCD68'>");
  document.writeln("      <table id='Table_01' width=950 height=288 border=0 cellpadding=0 cellspacing=0>");
  document.writeln("        <tr>");
  document.writeln("          <td><img src='images/BeaversBendAdventurehead2_01.gif' width=726 height=138 alt='' /></td>");
  document.writeln("          <td><img src='images/BeaversBendAdventurehead2_02.gif' width=224 height=138 alt='' /></td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td><img src='images/BeaversBendAdventurehead2_03.gif' width=726 height=150 alt='' /></td>");
  document.writeln("          <td><img src='images/BeaversBendAdventureheadan.gif' width=224 height=150 alt='' /></td>");
  document.writeln("        </tr>");
  document.writeln("      </table>");
  document.writeln("    </td>");
  document.writeln(" </tr>");
  document.writeln(" <tr>");
  document.writeln("    <td>");
  document.writeln("      <hr>")
  document.writeln("    </td>");
  document.writeln(" </tr>")
  document.writeln("</table>");
 }

function commonNavBar (){
  //  Write the Navigation menu for every page on the site
  document.writeln("<table height='100%' width='160' valign='top' bgcolor='#EDCD68' background='images/gradientbackground.jpg' border=0>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='index.html' target='_self'>Home</a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='http://www.webervations.com/magic-scripts/resbook.asp?memberid=BeaversBendAdventure' target='_blank'>Availability Calendar</a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='cabinrental.html' target='_self'>Cabins</a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='concierge.html' target='_self'>Concierge Services </a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='maps.html' target='_self'>Maps</a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='contactus.html' target='_self'>Contact Us </a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='faq.html' target='_self'>F.A.Q's</a>");
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='area_attractions.html' target='_self'>Area Attractions </a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='cabinpolicies.html' target='_self'>Rental Policies</a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='http://www.thegirlsgonewine.com' target='_blank'>Winery</a><a href='index.html'>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("<tr bordercolor='#FFFFFF'><td background='button/buttonback.jpg' height='35' valign='top' align='left'>")
  document.writeln("<table width='160' height='29' border='0' cellpadding='3' cellspacing='0'><tr><td>");
  document.writeln("<a class='nav' href='links.html' target='_self'>Links </a>")
  document.writeln("</td></tr></table>")
  document.writeln("</td></tr>")
  document.writeln("</table>")
}

function commonPageFooter (){
  //  Write the page Footer for every page on the site
  document.writeln("<hr>");
  document.writeln("<span class='normaltext'>");
  document.writeln("<table id='pageFooter' width=100% border='0' align='center' cellpadding='0' cellspacing='0' bordercolor='#FFFFFF'>");
  document.writeln(" <tr>");
  document.writeln("    <td width=30% align='left'> ");
  document.writeln("      Copyright Beavers Bend Adventures - 2010");
  document.writeln("    </td>");
  document.writeln("    <td width=40% align='center'> ");
  document.writeln("      ");
  document.writeln("    </td>");
  document.writeln("    <td width=30% align='right'> ");
  document.writeln("      Website management by <a class='viamedia' href='http://www.viamediainc.com'>Via Media Inc.</a>");
  document.writeln("      &nbsp");
  document.writeln("    </td>");
  document.writeln(" </tr>");
  document.writeln("</table>");
  document.writeln("<hr>");
  document.writeln("</span>");
}

function writeHeader(newWin,newTitle) {
 newWin.document.writeln("<html><head><title>" + newTitle + "</title>");
 //newWin.document.writeln("<script src='js/commonscripts.js'>");
 //newWin.document.writeln("// Common scripts we use in several pages");
 //newWin.document.writeln("</script>");
 newWin.document.writeln("<style type='text/css'>");
 newWin.document.writeln(" <!--");
 newWin.document.write("body {");
 newWin.document.write(" 	background-image: url();");
 newWin.document.write("	background-color: #EDCD68;");
 newWin.document.write("	margin-left: 0px;");
 newWin.document.write("	margin-top: 0px;");
 newWin.document.write("	margin-right: 0px;");
 newWin.document.write("	margin-bottom: 0px;");
 newWin.document.write("}");
 newWin.document.write("a {");
 newWin.document.write("	font-family: Verdana, Arial, Helvetica, sans-serif;");
 newWin.document.write("	font-size: 12px;");
 newWin.document.write("	color: #FFFFFF;");
 newWin.document.write("	font-weight: bold;");
 newWin.document.write("}");
 newWin.document.write("a:link {");
 newWin.document.write("	text-decoration: none;");
 newWin.document.write("}");
 newWin.document.write("a:visited {");
 newWin.document.write("	text-decoration: none;");
 newWin.document.write("	color: #FFFFFF;");
 newWin.document.write("}");
 newWin.document.write("a:hover {");
 newWin.document.write("	text-decoration: underline;");
 newWin.document.write("	color: #99FF00;");
 newWin.document.write("}");
 newWin.document.write("a:active {");
 newWin.document.write("	text-decoration: none;");
 newWin.document.write("	color: #FFFFFF;");
 newWin.document.write("}");
 newWin.document.write(".style7 {");
 newWin.document.write("	font-family: Georgia, 'Times New Roman', Times, serif;");
 newWin.document.write("	font-size: 16px;");
 newWin.document.write("	font-style: italic;");
 newWin.document.write("}");
 newWin.document.write(".style8 {");
 newWin.document.write("	font-family: Georgia, 'Times New Roman', Times, serif;");
 newWin.document.write("	font-weight: bold;");
 newWin.document.write("	font-style: italic;");
 newWin.document.write("	font-size: 14px;");
 newWin.document.write("}");
 newWin.document.write(".style9 {");
 newWin.document.write("	font-family: Georgia, 'Times New Roman', Times, serif;");
 newWin.document.write("	font-size: 14px;");
 newWin.document.write("}");
 newWin.document.write(".style10 {");
 newWin.document.write("	font-family: Verdana, Arial, Helvetica, sans-serif;");
 newWin.document.write("	font-weight: bold;");
 newWin.document.write("}");
 newWin.document.write(".style11 {");
 newWin.document.write("	font-family: Verdana, Arial, Helvetica, sans-serif;");
 newWin.document.write("	font-size: 16px;");
 newWin.document.write("	font-weight: bold;");
 newWin.document.write("	color: #40574E;");
 newWin.document.write("}");
 newWin.document.write(".style12 {");
 newWin.document.write("	font-family: Arial, Helvetica, sans-serif;");
 newWin.document.write("	font-style: italic;");
 newWin.document.write("	font-size: 12px;");
 newWin.document.write("}");
 newWin.document.write("a {");
 newWin.document.write("	font-family: Verdana, Arial, Helvetica, sans-serif;");
 newWin.document.write("	font-size: 12px;");
 newWin.document.write("}");
 newWin.document.write("-->");
 newWin.document.write("</style>");
 newWin.document.write("</head>");
}

//  Build a cabin object
function Cabin(cabinName) {
  if(cabinName == null) {cabinName="none";}
  var specialLine1="";
  var specialLine2="";
  var smallName="";
  switch (cabinName) {
    case "Copper Pines":
      var smallName = "CopperPines";
      var sleeps = "7";
      var weekdayrate = "$280";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Coyote Ridge":
      var smallName = "CoyoteRidge";
      var sleeps = "12";
      var weekdayrate = "$350";
      var weekendrate = "$375";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    default:
      var smallName = "None";
      var sleeps = "0";
      var weekdayrate = "$000";
      var weekendrate = "$000";
      var cabinURL = "none.htm";
      var cabinPic = "none.jpg";
      var pets = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
  }
}

//	Build a cabin info table item that can be used anywhere
function buildItem(cabinName,newWin) {
  if(newWin == null) {newWin=window.self;}
  var specialLine1="";
  var specialLine2="";
  switch(cabinName)
  {
    case "Bear Feet Retreat":
      var smallName = "BearFeetRetreat";
      var sleeps = "8";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Best Kept Secret":
      var smallName = "BestKeptSecret";
      var sleeps = "10";
      var weekdayrate = "$395";
      var weekendrate = "$395";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Big Bass Lodge":
      var smallName = "BigBassLodge";
      var sleeps = "18";
      var weekdayrate = "$545";
      var weekendrate = "$595";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Buck Fever":
      var smallName = "BuckFever";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Chimney Rock Lodge":
      var smallName = "ChimneyRockLodge";
      var sleeps = "10";
      var weekdayrate = "$375";
      var weekendrate = "$375";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;  
    case "Cinnamon Bear":
      var smallName = "CinnamonBear";
      var sleeps = "8";
      var weekdayrate = "$235";
      var weekendrate = "$265";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Copper Pines":
      var smallName = "CopperPines";
      var sleeps = "7";
      var weekdayrate = "$280";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Cottage":
      var smallName = "TheCottage";
      var sleeps = "4";
      var weekdayrate = "$175";
      var weekendrate = "$175";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Coyote Ridge":
      var smallName = "CoyoteRidge";
      var sleeps = "12";
      var weekdayrate = "$375";
      var weekendrate = "$395";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Creekside Lodge":
      var smallName = "CreeksideLodge";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$345";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Dreamcatcher":
      var smallName = "TheDreamcatcher";
      var sleeps = "8";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Eagles Nest":
      var smallName = "EaglesNest";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Finchs Nest":
      var smallName = "FinchsNest";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$325";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Four Seasons Lodge":
      var smallName = "FourSeasonsLodge";
      var sleeps = "12";
      var weekdayrate = "$475";
      var weekendrate = "$495";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Hacienda Hideaway":
      var smallName = "HaciendaHideaway";
      var sleeps = "11";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Heavenly Ridge":
      var smallName = "HeavenlyRidge";
      var sleeps = "10";
      var weekdayrate = "$275";
      var weekendrate = "$310";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "High Country Lodge":
      var smallName = "HighCountryLodge";
      var sleeps = "8";
      var weekdayrate = "$325";
      var weekendrate = "$350";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Honey Bear":
      var smallName = "HoneyBear";
      var sleeps = "4";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Little Lake Cabin":
      var smallName = "LittleLakeCabin";
      var sleeps = "10";
      var weekdayrate = "$245";
      var weekendrate = "$245";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Lucky Duck Lodge":
      var smallName = "LuckyDuckLodge";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Manor":
      var smallName = "TheManor";
      var sleeps = "12";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Moonshine Ridge":
      var smallName = "MoonshineRidge";
      var sleeps = "12";
      var weekdayrate = "$295";
      var weekendrate = "$325";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Peaceful Pines":
      var smallName = "PeacefulPines";
      var sleeps = "6";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Rusty Spur":
      var smallName = "RustySpur";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break
    case "Sugar Bear Lodge":
      var smallName = "SugarBearLodge";
      var sleeps = "4";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Winding Creek Lodge":
      var smallName = "WindingCreekLodge";
      var sleeps = "16";
      var weekdayrate = "$545";
      var weekendrate = "$595";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Woodcreek Lodge":
      var smallName = "WoodcreekLodge";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$345";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Woodmist":
      var smallName = "Woodmist";
      var sleeps = "12";
      var weekdayrate = "$335";
      var weekendrate = "$355";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
  default:
      var smallName = "None";
      var sleeps = "0";
      var weekdayrate = "$000";
      var weekendrate = "$000";
      var cabinURL = "none.htm";
      var cabinPic = "none.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
  }
  newWin.document.write("<td><table border=1 align='center'><tr><td align='center' valign='middle'>");
  newWin.document.write("<a href=" + cabinURL + " class='pic'>");
  newWin.document.write("<img src='" + cabinPic + "' width='216' height='162' border='2'>");
  newWin.document.write("</a></td></tr><tr><td align='left' valign='top' bgcolor='#CCCCCC'>");
  newWin.document.write("<span class='smallcabinnametext'>" + cabinName + "</span>");
  newWin.document.write("<span class='cabinpagepricetext'>");
  if(special)
  {
	  newWin.document.writeln(specialLine1 + "<br>");
  }
  else
  {
    newWin.document.writeln("<br>");
  }
  newWin.document.write("Sleeps up to " + sleeps + " people");
  if(special)
  {
	  newWin.document.writeln(specialLine2 + "<br>");
  }
  else
  {
    newWin.document.writeln("<br>");
  }

  if(pets)
  {
	  newWin.document.write("<img src='images/dog31.gif' width='47' height='36' align='left'>");
  }
  
  if(atv)
  {
    newWin.document.write("<img src='images/atv.gif' width='47' height='36' align='left'>");
  }
  
	if(weekdayrate == weekendrate)
	{
		newWin.document.writeln(weekdayrate + " per Night");
		newWin.document.writeln("<br><br>");
	}
	else
	{
		newWin.document.writeln(weekdayrate + "/night &nbsp;&nbsp;&nbsp; Mon &ndash; Thur");
		newWin.document.writeln("<br>");
		newWin.document.writeln(weekendrate + "/night &nbsp;&nbsp;&nbsp; Fri &ndash; Sun");
	}
  newWin.document.writeln("</span>");
  newWin.document.writeln("<div align='right'>");
  newWin.document.writeln("<a href=drivingdirections.html?"+smallName+" TARGET='_blank'>Driving directions</a>");
  newWin.document.writeln("</div>");
  newWin.document.write("</td>");  
  newWin.document.write("</table>"); 
}

function makeqlist()  {
  pass++;
  if (pass >= quoteList.length) {pass=1;}
  opac = min;
  document.getElementById("cabinquotes").innerHTML = "''" + quoteList[pass] + "''";
  fadein();
}

function fadein(){
  
  opac+=fde;
  if(opac>max) {
    setTimeout('fadeout()', 2000);
    return;
  }
 
  document.getElementById("cabinquotes").style.filter = "alpha(opacity="+opac+")";
  document.getElementById("cabinquotes").style.opacity = (opac / 100);
  setTimeout('fadein()', tme);
}

function fadeout(){
  opac-=fde;
  if(opac<min) {
    setTimeout('makeqlist()',500)
    return;
  }
  document.getElementById("cabinquotes").style.filter = "alpha(opacity="+opac+")";
  document.getElementById("cabinquotes").style.opacity = (opac / 100);
  setTimeout('fadeout()', tme);
}

function OpenTour(startView){
  w=640;
  h=480;
  // Adjust for header junk
  w+=32;
  h+=96;
  wleft = (screen.width - w) / 2;
  wtop = (screen.height - h) / 2;
  // IE5 and other old browsers might allow a window that is
  // partially offscreen or wider than the screen. Fix that.
  // (Newer browsers fix this for us, but let's be thorough.)
  if (wleft < 0) {
    w = screen.width;
    wleft = 0;
  }
  if (wtop < 0) {
    h = screen.height;
    wtop = 0;
  }
  var win = window.open(startView,"tourWindow",
    'width=' + w + ', height=' + h + ', ' +
    'left=' + wleft + ', top=' + wtop + ', ' +
    'location=no, menubar=no, ' +
    'status=no, toolbar=no, scrollbars=no, resizable=no');
  // Just in case width and height are ignored
  win.resizeTo(w, h);
  // Just in case left and top are ignored
  win.moveTo(wleft, wtop);
  win.focus();
  }

//	Build a cabin info table item that can be used anywhere
function buildRentItem(cabinName,newWin) {
  if(newWin == null) {newWin=window.self;}
  var specialLine1="";
  var specialLine2="";
  switch(cabinName)
  {
    case "Bear Feet Retreat":
      var smallName = "BearFeetRetreat";
      var sleeps = "8";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Big Bass Lodge":
      var smallName = "BigBassLodge";
      var sleeps = "18";
      var weekdayrate = "$545";
      var weekendrate = "$595";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Buck Fever":
      var smallName = "BuckFever";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
      case "Cinnamon Bear":
      var smallName = "CinnamonBear";
      var sleeps = "8";
      var weekdayrate = "$235";
      var weekendrate = "$265";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Copper Pines":
      var smallName = "CopperPines";
      var sleeps = "7";
      var weekdayrate = "$280";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Cottage":
      var smallName = "TheCottage";
      var sleeps = "4";
      var weekdayrate = "$175";
      var weekendrate = "$175";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Coyote Ridge":
      var smallName = "CoyoteRidge";
      var sleeps = "12";
      var weekdayrate = "$375";
      var weekendrate = "$395";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Creekside Lodge":
      var smallName = "CreeksideLodge";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$345";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Dreamcatcher":
      var smallName = "TheDreamcatcher";
      var sleeps = "8";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Eagles Nest":
      var smallName = "EaglesNest";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Finchs Nest":
      var smallName = "FinchsNest";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$325";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Four Seasons Lodge":
      var smallName = "FourSeasonsLodge";
      var sleeps = "12";
      var weekdayrate = "$475";
      var weekendrate = "$495";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Hacienda Hideaway":
      var smallName = "HaciendaHideaway";
      var sleeps = "11";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Heavenly Ridge":
      var smallName = "HeavenlyRidge";
      var sleeps = "10";
      var weekdayrate = "$275";
      var weekendrate = "$310";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "High Country Lodge":
      var smallName = "HighCountryLodge";
      var sleeps = "8";
      var weekdayrate = "$325";
      var weekendrate = "$350";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Honey Bear":
      var smallName = "HoneyBear";
      var sleeps = "4";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Little Lake Cabin":
      var smallName = "LittleLakeCabin";
      var sleeps = "10";
      var weekdayrate = "$245";
      var weekendrate = "$245";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Lucky Duck Lodge":
      var smallName = "LuckyDuckLodge";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "The Manor":
      var smallName = "TheManor";
      var sleeps = "12";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = true;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
	case "Moonshine Ridge":
      var smallName = "MoonshineRidge";
      var sleeps = "12";
      var weekdayrate = "$295";
      var weekendrate = "$325";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Peaceful Pines":
      var smallName = "PeacefulPines";
      var sleeps = "6";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Rusty Spur":
      var smallName = "RustySpur";
      var sleeps = "10";
      var weekdayrate = "$295";
      var weekendrate = "$295";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break
    case "Sugar Bear Lodge":
      var smallName = "SugarBearLodge";
      var sleeps = "4";
      var weekdayrate = "$225";
      var weekendrate = "$250";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Winding Creek Lodge":
      var smallName = "WindingCreekLodge";
      var sleeps = "16";
      var weekdayrate = "$545";
      var weekendrate = "$595";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = true;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Woodcreek Lodge":
      var smallName = "WoodcreekLodge";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$345";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
    case "Woodmist":
      var smallName = "Woodmist";
      var sleeps = "13";
      var weekdayrate = "$335";
      var weekendrate = "$355";
      var cabinURL = smallName + ".html";
      var cabinPic = "Cabins/" + smallName + "/" + smallName + "_small.jpg";
      var pets = false;
      var atv = false;
      var special=false;
      var specialLine1 = "";
      var specialLine2 = "";
      break;
  default:
      var smallName = "None";
      var sleeps = "0";
      var weekdayrate = "$000";
      var weekendrate = "$000";
      var cabinURL = "none.htm";
      var cabinPic = "none.jpg";
      var pets = false;
      var atv = false;
      var special = false;
      var specialLine1 = "";
      var specialLine2 = "";
  }
  //newWin.document.write("<img src='" + cabinPic + "' width='216' height='162' border='2'>");
  newWin.document.write("<tr><td align='left' valign='top' bgcolor='#CCCCCC'>");
  newWin.document.write("<span class='smallcabinnametext'>" + cabinName + "</span>");
  newWin.document.write("<span class='cabinpagepricetext'>");
  if(special)
  {
	  newWin.document.writeln(specialLine1 + "<br>");
  }
  else
  {
    newWin.document.writeln("<br>");
  }
  newWin.document.write("Sleeps up to " + sleeps + " people");
  if(special)
  {
	  newWin.document.writeln(specialLine2 + "<br>");
  }
  else
  {
    newWin.document.writeln("<br>");
  }

  if(pets)
  {
	  newWin.document.write("<img src='images/dog31.gif' width='47' height='36' align='left'>");
  }
  if(atv)
  {
    newWin.document.write("<img src='images/atv.gif' width='47' height='36' align='left'>");
  }
	if(weekdayrate == weekendrate)
	{
		newWin.document.writeln(weekdayrate + " per Night");
		newWin.document.writeln("<br><br>");
	}
	else
	{
		newWin.document.writeln(weekdayrate + " Mon &ndash; Thur");
		newWin.document.writeln("<br>");
		newWin.document.writeln(weekendrate + " Fri &ndash; Sun");
	}
  newWin.document.writeln("</span>");
  //newWin.document.write("</td></tr>");
  //newWin.document.write("</table></td>"); 
}

//-->
