function header(highlight){
document.write('<div class="header">');
document.write('<div align="center">');
document.write('<table width=100% border=0 id="table1">');
document.write('<tr >');
document.write('<td width="537"  >');
document.write('<p align="left">');
document.write('<img border="0" src="images/leap_ahead.png"  alt="LeapAhead Summer Math Program"></td>');
document.write('<td>');
document.write('<p align="center">');
document.write('<img border="0" src="images/math.png" width="264" height="102" align="right" alt="math image">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
document.write('</div>');
document.write('<div class="subHeader">');
document.write('  <table width="100%" class="subHeader" >');
document.write('		<tr>');
document.write('		<td   align="center">');
document.write('		<a href="http://www.noetic-learning.com" style="color: #CCCCCC"> Home</a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/mathdrill/index.jsp" style="color:CCCCCC"> Math Worksheets Creator</a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/homeworkweb/index.jsp" style="color:CCCCCC">StayAhead!</a> &nbsp; ');
document.write('		<a href="http://www.noetic-learning.com/gifted/index.jsp" style="color:CCCCCC">Challenge Math</a> &nbsp; ');
document.write('		<a href="http://www.noetic-learning.com/summermath/index.jsp" style="color:FFFFFF">LeapAhead!</a> &nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/mathcontest/index.jsp" style="color:CCCCCC">Math Contest</a>&nbsp;&nbsp;&nbsp;');
document.write('		</td>');
document.write('		</tr>');
document.write(' </table>');
document.write('</div>');
document.write('<table border="0" width="100%" id="table2">	');
document.write('	<tr>');
document.write('		<td bgcolor="#E9CFEC" width="100%">');
document.write('		<p align="center"><b>');
//home
if (highlight=='index')
	document.write('		<a href="index.jsp">LeapAhead! Home</a>|');
else 
	document.write('		<a href="index.jsp" style="color:999999">LeapAhead! Home</a>|');
//faq
if (highlight=='faq')
	document.write('		<a href="faq.htm">FAQ</a> |');
else
	document.write('		<a href="faq.htm" style="color:999999">FAQ</a> |');
if (highlight=='samples')
	document.write('		<a href="samples.jsp">Sample Assignments</a> |');
else
	document.write('		<a href="samples.jsp" style="color:999999">Sample Assignments</a> |');
if (highlight=='demo')
	document.write('		<a href="sneakpeek.jsp">Program Demo</a> |');
else
	document.write('		<a href="sneakpeek.jsp" style="color:999999">Program Demo</a> |');
//registration
if (highlight=='registration')
	document.write('		<a href="signup.jsp"> Registration</a> |');
else
	document.write('		<a href="signup.jsp" style="color:999999">Registration</a> |');
document.write('		</b></td>');
document.write('	</tr>');
document.write('</table>');
document.write('<br>');


}

function sub_header(highlight){
document.write('<div class="header">');
document.write('<div align="center">');
document.write('<table width=100% border=0 id="table1">');
document.write('<tr >');
document.write('<td width="537"  >');
document.write('<p align="left">');
document.write('<img border="0" src="../images/leap_ahead.png"  alt="LeapAhead Summer Math Program"></td>');
document.write('<td>');
document.write('<p align="center">');
document.write('<img border="0" src="../images/math.png" width="264" height="102" align="right" alt="math image">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
document.write('</div>');
document.write('<div class="subHeader">');
document.write('  <table width="100%" class="subHeader" >');
document.write('		<tr>');
document.write('		<td   align="center">');
document.write('		<a href="http://www.noetic-learning.com" style="color: #CCCCCC"> Home</a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/mathdrill/index.jsp" style="color:CCCCCC"> Math Worksheets Creator</a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/homeworkweb/index.jsp" style="color:CCCCCC">StayAhead!</a> &nbsp; ');
document.write('		<a href="http://www.noetic-learning.com/gifted/index.jsp" style="color:CCCCCC">Challenge Math</a> &nbsp; ');
document.write('		<a href="http://www.noetic-learning.com/summermath/index.jsp" style="color:FFFFFF">LeapAhead!</a> &nbsp;&nbsp;&nbsp;');
document.write('		<a href="http://www.noetic-learning.com/mathcontest/index.jsp" style="color:CCCCCC">Math Contest</a>&nbsp;&nbsp;&nbsp;');
document.write('		</td>');
document.write('		</tr>');
document.write(' </table>');
document.write('</div>');
document.write('<table border="0" width="100%" id="table2">	');
document.write('	<tr>');
document.write('		<td bgcolor="#E9CFEC" width="100%">');
document.write('		<p align="center"><b>');
//home
if (highlight=='index')
	document.write('		<a href="../index.jsp">LeapAhead! Home</a>|');
else 
	document.write('		<a href="../index.jsp" style="color:999999">LeapAhead! Home</a>|');
//faq
if (highlight=='faq')
	document.write('		<a href="../faq.htm">FAQ</a> |');
else
	document.write('		<a href="../faq.htm" style="color:999999">FAQ</a> |');
if (highlight=='samples')
	document.write('		<a href="../samples.jsp">Sample Assignments</a> |');
else
	document.write('		<a href="../samples.jsp" style="color:999999">Sample Assignments</a> |');
if (highlight=='demo')
	document.write('		<a href="../sneakpeek.jsp">Program Demo</a> |');
else
	document.write('		<a href="../sneakpeek.jsp" style="color:999999">Program Demo</a> |');
//registration
if (highlight=='registration')
	document.write('		<a href="../signup.jsp"> Registration</a> |');
else
	document.write('		<a href="../signup.jsp" style="color:999999">Registration</a> |');
document.write('		</b></td>');
document.write('	</tr>');
document.write('</table>');
document.write('<br>');


}

function userHeader(highlight)
{
document.write('<div class="header">');
document.write('<div align="center">');
document.write('<table width=100% border=0 id="table1">');
document.write('<tr >');
document.write('<td width="537"  >');
document.write('<p align="left">');
document.write('<img border="0" src="images/leap_ahead.png"  alt="Leapahead Summer Math Program"></td>');
document.write('<td>');
document.write('<p align="center">');
document.write('<img border="0" src="images/math.png" width="264" height="102" align="right" alt="math image">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
document.write('</div>');

document.write('<div class="subHeader">');
document.write('  <table width="100%" class="subHeader" >');
document.write('		<tr><td   align="center">');
document.write('		<p align="right">');
//home
if (highlight=='home_before' )
	document.write('		<a href="home.jsp" style="color: #FFFFFF">LeapAhead Home</a>&nbsp;&nbsp;&nbsp;&nbsp;');
else
	document.write('		<a href="home.jsp" style="color: #CCCCCC">LeapAhead Home</a>&nbsp;&nbsp;&nbsp;&nbsp;');

document.write('		<a href="logout.jsp" style="color: #CCCCCC">Log Out</a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		</td></tr>');
document.write(' </table>');
document.write('</div>');


}

