<!--
//	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(" <tr align='left'>");
  document.writeln("    <td>");
  document.writeln("      <iframe src='http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Beavers-Bend-Adventures/114984045246843#!/pages/Beavers-Bend-Adventures/114984045246843' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:25px'><a href='http://www.facebook.com/pages/Beavers-Bend-Adventures/114984045246843#!/pages/Beavers-Bend-Adventures/114984045246843?sk=app_4949752878'>Like us on FaceBook</a></iframe>")
  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='https://www.superinn.com/webview1.asp?dk=Beavers_Bend_Adventures&rd=ch' 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='photos.html' target='_self'>Photos</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("<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='Specials.html' target='_self'>Specials</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 - 2012");
  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("<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>");
}

function indextinybanner() {
  document.getElementById("tinybanner").innerHTML = "<br>";
}

//	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 addition = "Carson Creek";
      var sleeps = "8";
      var weekdayrate = "$265";
      var weekendrate = "$285";
      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 addition = "Lakewood Estates";
      var sleeps = "10";
      var weekdayrate = "$450";
      var weekendrate = "$450";
      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 addition = "Oak Ridge";
      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 "Bronco Lodge":
      var smallName = "BroncoLodge";
      var addition = "Northern Hills";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$345";
      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 "Castlewood Lodge":
      var smallName = "CastlewoodLodge";
      var addition = "Timber Creek Trails";
      var sleeps = "8";
      var weekdayrate = "$250";
      var weekendrate = "$285";
      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 addition = "Oak Ridge";
      var sleeps = "12";
      var weekdayrate = "$395";
      var weekendrate = "$425";
      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 addition = "Timber Creek Trails";
      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 addition = "Northern Hills";
      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 "Coyote Ridge":
      var smallName = "CoyoteRidge";
      var addition = "Northern Hills";
      var sleeps = "12";
      var weekdayrate = "$395";
      var weekendrate = "$425";
      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 addition = "Timber Creek Trails";
      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 addition = "Lakewood Estates";
      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 "Finchs Nest":
      var smallName = "FinchsNest";
      var addition = "Kaniatobe Trails";
      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 addition = "Oak Ridge";
      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 addition = "Northern Hills";
      var sleeps = "11";
      var weekdayrate = "$295";
      var weekendrate = "$330";
      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 addition = "Northern Hills";
      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 "Honey Bear":
      var smallName = "HoneyBear";
      var addition = "Northern Hills";
      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 "Lucky Duck Lodge":
      var smallName = "LuckyDuckLodge";
      var addition = "Oak Ridge";
      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 "Mountain Breeze":
      var smallName = "MountainBreeze";
      var addition = "Oak Ridge";
      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 "Peaceful Pines":
      var smallName = "PeacefulPines";
      var addition = "Carson Creek";
      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 "Red Dirt Lodge":
      var smallName = "RedDirtLodge";
      var addition = "Timber Creek Trails";
      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 "Running Bear Lodge":
      var smallName = "RunningBearLodge";
      var addition = "Kaniatobe Trails";
      var sleeps = "13";
      var weekdayrate = "$350";
      var weekendrate = "$350";
      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 Lodge":
      var smallName = "RustySpur";
      var addition = "Northern Hills";
      var sleeps = "12";
      var weekdayrate = "$345";
      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 "Stargazer":
      var smallName = "Stargazer";
      var addition = "Timber Creek Trails";
      var sleeps = "10";
      var weekdayrate = "$350";
      var weekendrate = "$365";
      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 addition = "Cedar Creek Estates";
      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 "Sundance Trail":
      var smallName = "SundanceTrail";
      var addition = "Lakewood Estates";
      var sleeps = "9";
      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;
    case "The Great Outdoors":
      var smallName = "TheGreatOutdoors";
      var addition = "Lakewood Estates";
      var sleeps = "18";
      var weekdayrate = "$625";
      var weekendrate = "$650";
      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 Haven":
      var smallName = "TheHaven";
      var addition = "Lakewood Estates";
      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 "Time Well Spent":
      var smallName = "TimeWellSpent";
      var addition = "Lakewood Estates";
      var sleeps = "10";
      var weekdayrate = "$345";
      var weekendrate = "$365";
      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 addition = "Oak Ridge";
      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 "Wisdom Creek":
      var smallName = "WisdomCreek";
      var addition = "Northern Hills";
      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 "Woodcreek Lodge":
      var smallName = "WoodcreekLodge";
      var addition = "Timber Creek Trails";
      var sleeps = "10";
      var weekdayrate = "$295";
      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 addition = "Carson Creek";
      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 addition = "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("<strong>" + addition + "</strong>");
  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();
  }


//-->

