function writeCoordinatorInfo()
{
       document.write("Membership Chair Lisa Sands <a href=\"mailto:lsands@austin.rr.com\">lsands@austin.rr.com</A> or Publicity Chair Carolyn Doolittle<a href=\"mailto:cadoolittle5@gmail.com\">cadoolittle5@gmail.com</A>")
}
function writeOutingsCoordinatorInfo()
{
   document.write("Judy Dunavant <a href=\"mailto:judy.dunavant@sbcglobal.net\"></a>");
 }

function writeUpcomingEvents()
{
   document.write("<br><a href=\"calendar.htm\"><font  size=\"-1\" color=\"336666\"><b>Happening This Month!</b></font></a>");
   document.write("<br><font  size=\"-2\" color=\"336666\"><b>Check our calendar for complete details</b>");
   
   // Start
   document.write("<BR><BR><B>During spring and summer, we have Wednesday evening</B> kayaking on Lady Bird Johnson Lake ");
   document.write("<BR><BR><B>Saturday Kayaking</B> - watch your email");
   document.write("<BR><B>Our next monthly meeting is February 28 so come join us.");

   document.write("<BR><BR><B><a href=\"tripreports.htm\">Click here</a> for latest trip reports!</B><BR>");
   
   document.write("<BR><BR><BR><B><center><font color=\"red\" size=\"+1\">Austin Canoe and Kayak Discount</font></center>");
   document.write("<center><img src=\"images\\Logos\\ACK_Logo_100x65.jpg\" width=\"100\" height=\"65\"></center>");
   document.write("<BR><center><a href=\"ackdiscount.htm\">Click here</a> for details!</B><BR></center>");
  
 
document.write("<BR><BR><B><center><font color=\"red\" size=\"+1\">Beginning January 1, membership is $20 each year.  What a bargain!</font></center></B>");
document.write("<BR><BR><B><center><font color=\"red\" size=\"+1\">Join early and your Yahoo group membership will remain uninterrupted!</font></center></B>");
//document.write("Current TOWN memberships from August 1 - December 31 are $10!<BR><BR>");

document.write("As a TOWN Member you will:<BR><BR>");
document.write("•	Be added to the TOWN Yahoo group. The Yahoo group will keep you up-to-date on planned and impromptu outings and help you to communicate with other TOWN members.<BR><BR>");
document.write("•	Receive a 10% discount at Austin Canoe and Kayak locations.  Note: discount excludes Hobie kayaks and Hobie accessories.<BR><BR>");
document.write("•	Be included in our electronic Membership Directory so that you may contact, or be contacted, by others with similar interests.<BR><BR>"); 
document.write("•	Be able to attend countless fun outings that happen throughout the year.<BR><BR>");

document.write("Download the membership application from this website link <a href=\"MergedMembershipLiability_0111.pdf\"> Membership Form and Liability Release</a> and mail it or complete one at our next meeting. The annual membership fee and a renewal are both $20.00 per person. BRAND NEW memberships for women joining after August 1st are $10. We accept cash or checks.<BR><BR>");

document.write("The membership fees support: our website, rental fee for our monthly meeting location, our guest speakers, the January holiday party, and many of our outings.<BR><BR>");

document.write("Whether you are a new TOWN member or a returning TOWN member, you'll have lots of fun, make new friends, and have new outdoor experiences. Join us!<BR><BR>"); 

document.write("Lisa Sands, Membership Chair<BR>")

   document.write("<BR><BR>");      
   //document.write("<BR><BR><BR><center><img src=\"images\\TownSticksSmall.gif\"></center>");
   // End
   
   document.write("</font>");
}


function writeNextMeetingDate()
{
   // 2012   
   //document.write("Tuesday, January 24 ");
   document.write("Tuesday, February 28 ");
   //document.write("Tuesday, March 27 ");
   //document.write("Tuesday, April 24 ");
   //document.write("Tuesday, May 22 ");
   //document.write("Tuesday, June 26 ");
   //document.write("Tuesday, July 24 ");
   //document.write("Tuesday, August 28 ");
   //document.write("Tuesday, September 25 ");
   //document.write("Tuesday, October 23 ");
   //document.write("Tuesday, November 27 ");
   //document.write("No meeting in December ");
    // 2013   
   //document.write("Tuesday, January 24 ");
   //document.write("Tuesday, February 28 ");
   //document.write("Tuesday, March 27 ");
   //document.write("Tuesday, April 24 ");
   //document.write("Tuesday, May 22 ");
   //document.write("Tuesday, June 26 ");
   //document.write("Tuesday, July 24 ");
   //document.write("Tuesday, August 28 ");
   //document.write("Tuesday, September 25 ");
   //document.write("Tuesday, October 23 ");
   //document.write("Tuesday, November 27 ");
   //document.write("No meeting in December ");
   
}

function writeFeaturedEvent()
{
   //document.write("<B>Friday - Sunday, June 10-12 Campout at Palmetto State Park</B><BR> ");
   //document.write("Come join us for a campout at Palmetto SP and watch the kayaks and canoes ");
   //document.write("from the Texas Water Safari come through the park on their way to the coast.  ");
   //document.write("The park also has interesting hiking and boats for ");
   //document.write("rent for use on the small lake. Please RSVP to Amelia at ameliatx@hotmail.com.");
}   

function writeBuyGear()
{
  //document.write("<B>TOWN CAPS NOW AVAILABLE!</B><BR> ");
  //document.write("Fast drying all weather ball cap with the words \"Texas Outdoors-Woman Network - Austin\" printed on them.  The quality is very good, the cap is tan, the bill is dark green, and the print is matching green.  <BR>Cost $15/each in cash or check made out to <BR>Austin TOWN<BR>P. O. Box 300494<BR>Austin, TX 78703<BR> or call 257-3460 today. ");
}

function writeResources()
{
   // creates left side listing
   // Start
   document.write("<font size=\"-2\" color=\"336666\"><br><br>");
   document.write("<a href=\"faq.htm\"><b>Frequently Asked Questions</b></a><br><br>");
   document.write("<a href=\"newsletters.htm\"><b>Archived Newsletters</b></a><br><br>");
   document.write("<a href=\"tripreports.htm\"><b>Trip Reports</b></a><br><br>");
   document.write("<a href=\"past_speakers.htm\"><b>Speakers at Monthly Meetings</b></a><br><br>");
   document.write("<a href=\"alcohol_policy.htm\"><b>TOWN Austin Alcohol Policy</b></a><br><br>");
   document.write("<a href=\"merchandise.htm\"><b>Purchase TOWN Merchandise at Cafe Press</b></a><br><br>");
   document.write("<a target=_blank href=\"MergedMembershipLiability_0111.pdf\"><b>Membership Application</b></a><br><br>");
   //document.write("<a href=\"meeting2.html\"><b>Monthly meeting location - LCRA Red Bud Center</b></a><br><br>");
   //document.write("<a href=\"meeting.htm\"><b>Monthly meeting location - LCRA</b></a><br><br>");
   document.write("<a href=\"photos.htm\"><b>Photos</b></a><br><br>");
   document.write("<a href=\"FinancialGuidelines.htm\"><b>Financial Guidelines for Outings</b></a><br><br>");
   document.write("<a href=\"taxIDNumber.htm\"><b>Use of TaxFree ID Number</b></a><br><br>");
   document.write("<a href=\"checklist.htm\"><b>Outing Checklist Form</b></a><br><br>");
   document.write("<a target=_blank href=\"OutingWaiver.pdf\"><b>Outing Sign-In Liability Release Form</b></a><br><br>");
   document.write("<a href=\"groups.htm\"><b>Yahoo Groups (E-group)</b></a><br><br>");
   document.write("<a href=\"links.htm\"><b>Links</b></a><br><br>");
   document.write("<a href=\"ByLaws_112311.pdf\"><b>TOWN Bylaws</b></a><br><br>");
   document.write("<a href=\"history.htm\"><b>History</b></a><br><br>");
   document.write("<a href=\"OfficerDuties_2010.pdf\"><b>Board Member Duties, 2010</b></a><br><br>");
   document.write("<a href=\"futout.htm\"><b>Future Outings</b></a><br><br>");
   document.write("<a href=\"chapters.htm\"><b>Other TOWN Chapters</b></a><br><br>");
   document.write("<a href=\"song.htm\"><b>Our TOWN Song</b></a><br><br>");
   //document.write("<a href=\"reidiscount.htm\"><b>REI Discount Information</b></a><br><br>");
   document.write("<a href=\"letterbox.htm\"><b>Letterboxing</b></a><br><br>");
   //document.write("<a href=\"MergedMembershipLiability.pdf\"><b>TestingApp</b></a><br><br>");
   //document.write("<img src=\"images\\townlogo_small.jpg\">");
   document.write("<center><img src=\"images\\TownSticksSmall.gif\"></center>");
   
   // End
}

////////////////////////////////////////////
//
// Format and write the date
//
///////////////////////////////////////////
function writeDate()
{
   var today    = new Date();
   var day      = "";
   var month    = "";
   var sMinutes = "";
   var sHours   = "";
   
   switch( today.getDay() )
   {
      case 0: day = "Sunday ";
         break;
      case 1: day = "Monday ";
         break;
      case 2: day = "Tuesday ";
         break;
      case 3: day = "Wednesday ";
         break;
      case 4: day = "Thursday ";
         break;
      case 5: day = "Friday ";
         break;
      case 6: day = "Saturday ";
         break;
   }
   
   switch( today.getMonth() )
   {
      case 0: month = "January ";
         break;
      case 1: month = "February ";
         break;
      case 2: month = "March ";
         break;
      case 3: month = "April ";
         break;
      case 4: month = "May ";
         break;
      case 5: month = "June ";
         break;
      case 6: month = "July ";
         break;
      case 7: month = "August ";
         break;
      case 8: month = "September ";
         break;
      case 9: month = "October ";
         break;
      case 10: month = "November ";
         break;
      case 11: month = "December ";
         break;
   }
   
   // Format hours
   var ampm = " PM";
   if( today.getHours() >= 12 )
   {
   
      sHours = today.getHours() - 12;
      if( sHours == 0 )
         sHours = 12;
   }
   else
   {
      sHours = today.getHours();
      // Adjust so midnite shows as 12AM
      if( sHours == 0 )
         sHours = 12;
      ampm = " AM";
   }
  
   // Format minutes to 2 places
   var minutes = today.getMinutes();
   if( minutes < 10 )
   {
      sMinutes = "0" + minutes;
   }
   else
   {
      sMinutes = minutes;
   }
   
   var todayString = day + "&nbsp;" + month + today.getDate() + ", " + today.getYear() + " &nbsp;&nbsp;" + sHours + ":" + sMinutes + ampm;
   document.write(todayString);
}
 
function mouseOver(element)
{
   element.bgColor = "#9fa189";
}

function mouseOut(element)
{
   element.bgColor = "#336666";
}

// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)
// See:  http://www.msc.cornell.edu/~houle/javascript/randomizer.html
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};
// end central randomizer.


// Get a random picture name
function showRandomPic()
{
   var randomNum = rand(10);  // Get random number between 1 and 10
//   var randomNum = rand(7);  // Get random number between 1 and 7
//   var randomNum = rand(6);  // Get random number between 1 and 6
   var picName = "";
   switch( randomNum )
   {
      case 1:
         picName = "images/photos/2007/Speakers2007/dog_resize.jpg";
         break;
      case 2:
         picName = "images/photos/2006/Kayaking2006/kayaking360_resize.jpg";
         break;
      case 3:
         picName = "images/photos/2007/BOW/Janice.jpg";
         break;
      case 4:
         picName = "images/photos/2006/LakeSommerville042106/100_0580_resize.jpg";
         break;
      case 5:
         picName = "images/photos/2008/McKinneyFallsSP_Feb/group_resize.jpg";
         break;
      case 6:
         picName = "images/photos/2006/McKinneyRoughs2006/HPIM0156_resize.jpg";
         break;
      case 7:
	  	picName = "images/photos/2011/March/BrazosBendSP/BrazosBendAlligatorSize";
         //picName = "images/photos/2006/WineWildflowers042206/Winetour001_resize.jpg";
         break;
      case 8:
         picName = "images/photos/2006/Padre_island2006/Padre_snorkelers_resize.jpg";
         break;
      case 9:
         picName = "images/photos/2006/SeaKayakSym040106/group_shot_resize.jpg";
         break;
      case 10:
	     picName = "images/photos/2011/Feb/HikeDoeskinRanch/Orig_resize.jpg";
         break;
   }
   //alert(picName);
   //return picName;
   document.write("<img src=\"" + picName + "\" vspace=\"2\" border=\"0\" align=\"middle\">");
}
