newsnormal = new Image(130,40)
newsnormal.src = "images/news-normal.gif"
newshilite = new Image(130,40)
newshilite.src = "images/news-hilite.gif"
newsselect = new Image(130,40)
newsselect.src = "images/news-select.gif"

function switchimage(imgDocID,imgObjName) { document[imgDocID].src = eval(imgObjName + ".src"); }

function WriteHeader(RelativePath)
{
document.write("<img width=\"640\" height=\"112\" src=\"images/SLOSwingLogo.gif\" alt=\"Contacts\"></img>");
}


function WriteSidebar(SelectedMenu, RelativePath)
{
document.write("	   <TABLE CELLSPACING=\"0\" CELLPADDING=\"0\"  WIDTH=\"130\">");


document.write("<HR>");
if (SelectedMenu=="News")
    document.write("              <TR><TD><a href=\"" + RelativePath + "index.html\"><img width=\"130\" height=\"40\" src=\"images/news-selected.gif\" alt=\"News\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "index.html\"><img width=\"130\" height=\"40\" src=\"images/news-normal.gif\" alt=\"News\"></img></A></TD></TR>");


if (SelectedMenu=="Calendar")
    document.write("              <TR><TD><a href=\"" + RelativePath + "calendar.html\"><img width=\"130\" height=\"40\" src=\"images/calendar-selected.gif\" alt=\"Calendar\"></img></A></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "calendar.html\"><img width=\"130\" height=\"40\" src=\"images/calendar-normal.gif\" alt=\"Calendar\"></img></A></A></TD></TR>");

if (SelectedMenu=="Lessons")
    document.write("              <TR><TD><a href=\"" + RelativePath + "lessons.html\"><img width=\"130\" height=\"40\" src=\"images/lessons-selected.gif\" alt=\"Lessons\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "lessons.html\"><img width=\"130\" height=\"40\" src=\"images/lessons-normal.gif\" alt=\"Lessons\"></img></A></TD></TR>");

if (SelectedMenu=="Pictures")
    document.write("              <TR><TD><a href=\"" + RelativePath + "picstures.html\"><img width=\"130\" height=\"40\" src=\"images/pictures-selected.gif\" alt=\"Pictures\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "pictures.html\"><img width=\"130\" height=\"40\" src=\"images/pictures-normal.gif\" alt=\"Pictures\"></img></A></TD></TR>");

if (SelectedMenu=="Resources")
    document.write("              <TR><TD><a href=\"" + RelativePath + "resources.html\"><img width=\"130\" height=\"40\" src=\"images/resources-selected.gif\" alt=\"Resources\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "resources.html\"><img width=\"130\" height=\"40\" src=\"images/resources-normal.gif\" alt=\"Resources\"></img></A></TD></TR>");

if (SelectedMenu=="Forum")
    document.write("              <TR><TD><a href=\"http://cpswing.10.forumer.com/index.php\"><img width=\"130\" height=\"40\" src=\"images/forum-selected.gif\" alt=\"Forum\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"http://cpswing.10.forumer.com/index.php\"><img width=\"130\" height=\"40\" src=\"images/forum-normal.gif\" alt=\"Forum\"></img></A></TD></TR>");

if (SelectedMenu=="Donate")
    document.write("              <TR><TD><a href=\"" + RelativePath + "donate.html\"><img width=\"130\" height=\"40\" src=\"images/donate-selected.gif\" alt=\"Donate\"></img></A></TD></TR>");
else
    document.write("	      <TR><TD><a href=\"" + RelativePath + "donate.html\"><img width=\"130\" height=\"40\" src=\"images/donate-normal.gif\" alt=\"Donate\"></img></A></TD></TR>");


document.write("<TR><TD><HR></TD></TR>");

document.write("	   </TABLE>");
document.write("	   <BR>");
document.write("	   <TABLE CELLSPACING=\"0\" CELLPADDING=\"0\"WIDTH=\"130\">");
document.write("	      <TR>");
document.write("	         <TD>");
document.write("	            <a href=\"" + RelativePath + "contacts.html\"><img width=\"130\" height=\"130\" src=\"images/contactinfo.gif\" alt=\"Contacts\"></img></A>");
document.write("	         </TD>");
document.write("	      </TR>");
document.write("<TR><TD><BR><HR></TD></TR>");
document.write("	   </TABLE>");

document.write("	   <BR>");
}


function WriteFooter(RelativePath)
{
document.write("	      <span class=\"createdby\">This web page was created by Jesse Gearhart.</span>");
}


