// JavaScript Document
function swap(cell) {
<!-- Race info tab for Bellingham Youth Tri -->
if (cell.id == "raceinfo"){
document.getElementById('results').className='';
document.getElementById('raceinfo').className='cur';
document.getElementById('faq').className='';
document.getElementById('volunteer').className='';
document.getElementById("main").innerHTML = "<img src='../images/challenging_fun_for_all.gif' width='300' height='21' /><img src='../images/race_images/bell_youth_tri_racephoto.jpg' height='179' width='258' hspace='2' vspace='6' border='1' align='right' /><br />The Bellingham Youth Triathlon has been initiating kids to the sport of triathlon since 1999.<br /><br />We work hard to create an environment of accomplishment for everyone involved. Each participant is awarded a medal as they cross the finish line.<br /><br />We encourage everyone to stay for the prize drawing at the finish where pretty much everyone wins something fun.";
}
if (cell.id == "results"){
<!-- Results tab for Bellingham Youth Tri -->
document.getElementById('results').className='cur';
document.getElementById('raceinfo').className='';
document.getElementById('faq').className='';
document.getElementById('volunteer').className='';
document.getElementById("main").innerHTML = "<img src='../images/past_results.gif' width='212' height='21' /><img src='../images/race_images/bell_youth_tri_racephoto.jpg' height='179' width='258' hspace='2' vspace='6' border='1' align='right' /><br /><br />&bull; <a href='../../pages/Race_Results/1999-bellingham-youth-triathlon.pdf'>1999 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2000-bellingham-youth-triathlon.pdf'>2000 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2001-bellingham-youth-triathlon.pdf'>2001 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2002-bellingham-youth-triathlon.pdf'>2002 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2003_Youth_Tri.pdf'>2003 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2004-bellingham-youth-triathlon.pdf'>2004 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2005-bellingham-youth-triathlon.pdf'>2005 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2006-youthtri-div1.pdf'>2006 Division 1 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2007-youthtri-div1.pdf'>2007 Division 1 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2008-youthtri-div1.pdf'>2008 Division 1 (PDF)</a><br />&bull; <a href='../../pages/Race_Results/2009-youthtri-div1.pdf'>2009 Division 1 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2010-youthtri-div1.pdf'>2010 Division 1 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2011-youthtri-div1.pdf'>2011 Division 1 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2006-youthtri-div2.pdf'>2006 Division 2 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2007-youthtri-div2.pdf'>2007 Division 2 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2008-youthtri-div2.pdf'>2008 Division 2 (PDF)</a><br />&bull; <a href='../../pages/Race_Results/2009-youthtri-div2.pdf'>2009 Division 2 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2010-youthtri-div2.pdf'>2010 Division 2 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2011-youthtri-div2.pdf'>2011 Division 2 (PDF)</a><br /><br />&bull; <a href='../../pages/Race_Results/2006-youthtri-div3.pdf'>2006 Division 3 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2007-youthtri-div3.pdf'>2007 Division 3 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2008-youthtri-div3.pdf'>2008 Division 3 (PDF)</a><br />&bull; <a href='../../pages/Race_Results/2009-youthtri-div3.pdf'>2009 Division 3 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2010-youthtri-div3.pdf'>2010 Division 3 (PDF)</a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bull; <a href='../../pages/Race_Results/2011-youthtri-div3.pdf'>2011 Division 3 (PDF)</a>";
}
<!-- FAQ tab for Bellingham Youth Tri -->
if (cell.id == "faq"){
document.getElementById('results').className='';
document.getElementById('raceinfo').className='';
document.getElementById('faq').className='cur';
document.getElementById('volunteer').className='';
document.getElementById("main").innerHTML = "<img src='../images/faq.gif' width='212' height='21' /><img src='../images/race_images/bell_youth_tri_racephoto.jpg' height='179' width='258' hspace='2' vspace='6' border='1' align='right' /><br /><b>Q: What is the swim like?<br />A:</b> The swim will be done in heats in the Arne Hanna Aquatic Center. Participants will start in waves of up to 8 every 10 seconds and circle swim until they've finished. Participants must complete the swim unaided.<br /><br /><b>Q:  What is the bike like?<br />A:</b> The bike leg will wind through the Civic Field Complex. We work hard to make the course safe for participants and traffic alike. The course is well-marked and volunteers are stationed at every corner with traffic signs and orange safety vests.<br /><br /><b>Q:  What's the run like?<br />A:</b>  The counter-clockwise run will take place on the track next to the Recreation Center.  The run is from 1 to 4 laps, depending on division.<br /><br /><b>Q:  What's the transition like?<br />A:</b>  The transition area is directly outside the front doors of the pool.  We ask participants to walk into and out of the transition area.  We ask parents to be mindful of other parents' kids and to give them a respectful berth.<br /><br /><b>Q:  When are results/awards?<br />A:</b> Results will follow the completion of the last race. All participants are urged to attend; we get lots of cool stuff.<br /><br /><b>Q:  What are the prizes?<br>A:</b>  Prizes were donated by local companies.<br /><br /><b>Q:  Is there a time limit?<br />A:</b>  Participants must finish before the next race starts.";
}
<!-- Volunteer tab for Bellingham Youth Tri -->
if (cell.id == "volunteer"){
document.getElementById('results').className='';
document.getElementById('raceinfo').className='';
document.getElementById('faq').className='';
document.getElementById('volunteer').className='cur';
document.getElementById("main").innerHTML = "<img src='../images/volunteer.gif' width='212' height='21' /><img src='../images/race_images/bell_youth_tri_racephoto.jpg' height='179' width='258' hspace='2' vspace='6' border='1' align='right' /><br />Bellingham Parks & Recreation is in need of volunteers to make this growing and ever-popular special event take place. This is a great community gathering for kids of all ages.<br /><br />We are looking for approximately 50 volunteers to make this fun morning continue to be such a huge success. As a volunteer you can help with registration, start line, finish line, refreshments, course support, or many other aspects of the run and festivities afterwards.<br /><br />For more information contact Lance Romo at <b>(360) 647-7665</b> or <a href='mailto:Lromo@cob.org'>Lromo@cob.org.</a>";
}
}
function setdiv(){
document.getElementById('raceinfo').className='cur';	
}
