// JavaScript Document
function swap(cell) {
<!-- Race info tab for YMCA Youth Duath -->
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/free_ymca_race_for_kids.gif' width='375' height='21' /><img src='../images/race_images/ymca_racephoto.jpg' height='312' width='152' hspace='2' vspace='6' border='1' align='right' /><br />The YMCA sponsors this great free local race for kids 5 to 15 years old.  Help keep kids motivated and active by participating in this fun event.";
}
<!-- Results tab for YMCA Youth Duath -->
if (cell.id == "results"){
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/ymca_racephoto.jpg' height='312' width='152' hspace='2' vspace='6' border='1' align='right' /><br /><br />&bull; There are no past results for this race.";
}
<!-- FAQ tab for YMCA Youth Duath -->
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/ymca_racephoto.jpg' height='312' width='152' hspace='2' vspace='6' border='1' align='right' /><br /><b>Q:  What's the transition like?<br />A:</b>  The transition will be near the ball fields and in front of the restrooms.  Non-participants must stay out of the transition area at all times.  For safety reasons, participants must stay off their bikes in the transition area.<br /><br /><b>Q:  When are results/awards?<br>A:</b>  Results and a prize drawing will follow the race.  Ribbons will go to the top three in each division.<br /><br /><b>Q:  What are the divisions?<br />A:</b>  Division 1:  12-15 years old<br /> Division 2:  8-11 years old<br /> Division 3:  5-7 years old";
}
<!-- Volunteer tab for YMCA Youth Duath -->
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/ymca_racephoto.jpg' height='312' width='152' hspace='2' vspace='6' border='1' align='right' /><br />We'll mostly need volunteers to help direct traffic and participants, but we'll also need assistance with timing, set-up and take down. We'll need help between about 9:30 a.m. and 2:00 p.m. All or part would be much appreciated.<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';	
}