function doSel(obj) {
    for (i = 1; i < obj.length; i++)
        if (obj[i].selected == true)
            eval(obj[i].value);
}

function printFooter() {
	document.writeln('<!-- Start of StatCounter Code -->');
	document.writeln('<script type="text/javascript" language="javascript">');
	document.writeln('var sc_project=788106; ');
	document.writeln('var sc_partition=6; ');
	document.writeln('var sc_security="7c4f55b8"; ');
	document.writeln('</script>');
	document.writeln('<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>');
	document.writeln('<noscript><a href="http://www.statcounter.com/" target="_blank">');
	document.writeln('<img  src="http://c7.statcounter.com/counter.php?sc_project=788106&amp;java=0&amp;security=7c4f55b8" alt="free website stats program" border="0">');
	document.writeln('</a> </noscript>');
	document.writeln('<!-- End of StatCounter Code -->');


	document.writeln('<table width="100%" align="center" class="headfoot"><tr>');
	document.writeln('<td><br></td>');
	document.writeln('</tr></table>');
}

function printHeader() {
	document.writeln('<a href="/index.htm" target="_top"><img src="/images/nametextlogo4.gif" class="noborder" alt="NOCCC"></a><br>');
	document.writeln('<table width="100%" cellpadding=0; cellspacing= 0; class="headfoot"><tr><td align="center" nopadding>');
	document.writeln('<script language="javascript" type="text/javascript">printNavigators();</script>');
	document.writeln('</td></tr></table>');
}

function printNavigators() {
    document.writeln('<form name="navigators">');

    document.writeln('<select name="season" size="1" onchange="doSel(this)">');
    document.writeln('<option selected value>Season</option>');
    document.writeln('<option value>----------------------------</option>');
    document.writeln('<option value="top.location.href=\'/upcomingevents.htm\'">Season Highlights</option>');
    document.writeln('<option value="top.location.href=\'/cgi-bin/season.cgi\'">Events Calendar</option>');
    document.writeln('<option value="top.location.href=\'/contactinfo.htm\'">Contact Us</option>');
    document.writeln('<option value="top.location.href=\'/index.htm\'">NOCCC Home</option>');
    document.writeln('</select>');

    document.writeln('<select name="about" size="1" onchange="doSel(this)">');
    document.writeln('<option selected value>Organization</option>');
    document.writeln('<option value>----------------------------</option>');
    document.writeln('<option value="top.location.href=\'/about.htm\'">About Us</option>');
    document.writeln('<option value="top.location.href=\'/cgi-bin/majoreventsmain.cgi\'">Major Performances</option>');
    document.writeln('<option value="top.location.href=\'/groups.htm\'">Choral Groups</option>');
    document.writeln('<option value="top.location.href=\'/faculty.htm\'">Music Directors</option>');
    document.writeln('<option value="top.location.href=\'/cgi-bin/board.cgi\'">Board of Directors</option>');
    document.writeln('<option value="top.location.href=\'/programs.htm\'">Concert Programs</option>');
    document.writeln('<option value="top.location.href=\'/contactinfo.htm\'">Contact Us</option>');
    document.writeln('</select>');

    document.writeln('<select name="people" size="1" onchange="doSel(this)">');
    document.writeln('<option selected value>Members</option>');
    document.writeln('<option value>----------------------------</option>');
    document.writeln('<option value="top.location.href=\'/cgi-bin/members.cgi\'">Members</option>');
    document.writeln('<option value="top.location.href=\'/rehearsals.htm\'">Rehearsals</option>');
    document.writeln('<option value="top.location.href=\'/gallery.htm\'">Photo Gallery</option>');
    document.writeln('<option value="top.location.href=\'/yearbooks.htm\'">Yearbooks</option>');
    document.writeln('<option value="top.location.href=\'/announcements.htm\'">Announcements</option>');
    document.writeln('<option value="top.location.href=\'/cgi-bin/melody.cgi\'">Melody</option>');
    document.writeln('<option value="top.location.href=\'/members/memberssite.htm\'">Members Only</option>');
    document.writeln('</select>');

    document.writeln('<select name="joinus" size="1" onchange="doSel(this)">');
    document.writeln('<option selected value>Join Us</option>');
    document.writeln('<option value>----------------------------</option>');
    document.writeln('<option value="top.location.href=\'/application.htm\'">Application</option>');
    document.writeln('<option value="top.location.href=\'/rehearsals.htm\'">Auditions</option>');
    document.writeln('<option value="top.location.href=\'/giftshop.htm\'">Gift Shop</option>');
    document.writeln('<option value="top.location.href=\'/sponsor.htm\'">Be a Sponsor</option>');
    document.writeln('<option value="top.location.href=\'/contactinfo.htm\'">Contact Us</option>');
    document.writeln('</select>');

    document.writeln('</form>');

}