// JavaScript source for SYS web site

function writeSearch(){
document.write("<FORM method=\"GET\" action=\"http://www.suttonyouthsoccer.org/cgi-bin/perlfect/search/search.pl\">")
document.write("<INPUT type=\"hidden\" name=\"p\" value=\"1\">")
document.write("<INPUT type=\"hidden\" name=\"lang\" value=\"en\">")
document.write("<input type=\"hidden\" name=\"include\" value=\"\">")
document.write("<input type=\"hidden\" name=\"exclude\" value=\"\">")
document.write("<input type=\"hidden\" name=\"penalty\" value=\"0\">")
document.write("<INPUT type=\"hidden\" name=\"mode\" value=\"any\">")
document.write("<FONT STYLE=\"font: bold 8pt Verdana; letter-spacing: 0.01em; color: #009900;\">Search:</FONT><BR>")
document.write("<INPUT TYPE=\"text\" NAME=\"q\" VALUE=\"Enter&nbsp;Keywords\" SIZE=\"20\" STYLE=\"height: 20px; font-size: 8pt; border: thin; border-style: solid; background-color: #FFFF99;\">")
document.write("<INPUT TYPE=\"image\" SRC=\"http://www.suttonyouthsoccer.org/images/go2.jpg\" ALIGN=\"top\" HSPACE=\"2\"></FORM>")
}
function writeCopyright(){
var now = new Date();
var thisYear = now.getYear();
// var thisYear = 01; // for debug only
	if(thisYear < 1900){
	thisYear += 1900;
	}
// First year of copyright notice
var startYear = 2003;
	if (startYear == thisYear){
	startYear = "";
	}
	else {
	startYear = startYear + "-";
	}
document.write("<DIV ALIGN=\"center\"><FONT FACE=\"Verdana\" SIZE=\"-2\" COLOR=\"#FFFFFF\"> Copyright &copy; " + startYear + thisYear + " Sutton Youth Soccer, Inc.</font> </DIV>")
}
function writeFooter(){	  
document.write("<DIV ALIGN=\"center\"><FONT FACE=\"Verdana\" COLOR=\"#333333\" SIZE=\"1\">Site Builder CMS by <A HREF=\"http://www.ibdev.com\" TARGET=\"_blank\">Internet Business Developers</A></FONT></DIV>")
}
function SideNav(path){
var path;
	if (!path){
	path = "../";
}
document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td width=\"100%\"><A HREF=\"" + path + "coaches/coaches.html\" CLASS=\"side\">Coaches</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "referees/referees.html\" CLASS=\"side\">Referees</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "uniforms/uniforms.html\" CLASS=\"side\">Uniforms</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "gallery/gallery.html\" CLASS=\"side\">Image Gallery</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "board/board.html\" CLASS=\"side\">Board Members</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "schedule/schedule.html\" CLASS=\"side\">Board Schedule</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "constitution/constitution.html\" CLASS=\"side\">Constitution</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "bylaws/bylaws.html\" CLASS=\"side\">By-Laws</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "sponsors/sponsors.html\" CLASS=\"side\">SYS Sponsors</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "contact/contact.html\" CLASS=\"side\">Contact Us</A></td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td>&nbsp;</td>")
document.write("<td><A HREF=\"" + path + "links/links.html\" CLASS=\"side\">Related Links</A></td>")
document.write("</tr>")

}
