
function bar (x,y)
{
	document.write('<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation"><tr><td width="165" bgcolor="#71a1b3">&nbsp;<br />&nbsp;<br /></td></tr>');

	// HOME
	document.write('<tr>');
	if (x=='home')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Home</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="index.shtml" >Home</a></td>');
	document.write('</tr>');
	//NEWSLETTER
	document.write('<tr>');
	if (x=='news')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Newsletter</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="news.php" >Newsletter</a></td>');
	document.write('</tr>');
	//SPECIAL EVENTS
	document.write('<tr>');
	if (x=='events')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Special Events</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="events.html" >Special Events</a></td>');
	document.write('</tr>');
	//CALENDAR
	document.write('<tr>');
	if (x=='calendar')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Calendar</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="calendar.html" >Calendar</a></td>');
	document.write('</tr>');	
	//GALLERY 
	document.write('<tr>');
	if (x=='gallery')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Gallery</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="gallery.shtml" >Gallery</a></td>');
	document.write('</tr>');
	//INFORMATION 
	document.write('<tr>');
	if (x=='info')
	{	
          document.write('<td width="165" bgcolor="#99CC66" ><a href="../info.html" class="navText"><font color="#993300">Information</font></a></td>');

		  //	document.write('<a href="../info.html" class="navText"><font color="#993300">Information1</font></a>');
			
			
			document.write('</tr><tr><td width="165"><table  width="164" border="0" cellpadding="0" cellspacing="0" bgcolor="#99FF99" id="navigation">');

			document.write('<tr> <td width="164" ');

			document.write('</td></tr><tr>');
			if (y==1) // annual report page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">Annual Report</font> </a>');
			else
				document.write('<td><a href="downloads/annualReport.pdf" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Annual Report</font></a>');
				
			document.write('</td></tr><tr>');

			if (y==2) // facilities page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">Facilities</font> </a>');
			else
				document.write('<td><a href="info/facilities.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Facilities</font></a>');
				
			document.write('</td></tr><tr>');
			
			if (y==3) // homework page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">Special Features</font> </a>');
			else
				document.write('<td><a href="info/specialFeatures.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Special Features</font></a>');
				
			document.write('</td></tr><tr>');

			if (y==4) // student welfare page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">Staff</font> </a>');
			else
				document.write('<td><a href="info/staff.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Staff</font></a>');
				
			document.write('</td></tr><tr>');

			if (y==5) // sunsmart page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">SRC</font> </a>');
			else
				document.write('<td><a href="info/src.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">SRC</font></a>');
				
			document.write('</td></tr><tr>');

			if (y==6) // uniform page
				document.write('<td bgcolor="#99FF33"><a> <font color="#993300">Student Wellbeing</font> </a>');
			else
				document.write('<td><a href="info/studentWellbeing.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Student Wellbeing</font></a>');
				
			document.write('</td></tr></table>');
//		}
	}
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="info.html" >Information</a></td>');
	document.write('</tr>');	
	//PRINCIPAL 
	document.write('<tr>');
	if (x=='principal')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Meet the Principal</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="principal.html" >Meet the Principal</a></td>');
	document.write('</tr>');
	//CHAPLAINCY 
	document.write('<tr>');
	if (x=='chaplaincy')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Chaplaincy in Schools Program</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="chaplaincy.html" >Chaplaincy in Schools Program</a></td>');
	document.write('</tr>');
	//POLICIES    
	document.write('<tr>');
	if (x=='policies')
	{	
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">School Policies</font></a></td>');

		  	//document.write('<a href="policies.html" class="navText"><font color="#993300">School Policies</font></a>');
			document.write('</tr><tr><td width="165"><table  width="164" border="0" cellpadding="0" cellspacing="0" bgcolor="#99FF99" id="navigation">');

			document.write('<tr> <td width="164">');
			if (y==1) // bullying page
				document.write('<a> <font color="#993300">Anti Bullying Policy</font> </a>');
			else
				document.write('<a href="policies/bullying.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Anti Bullying Policy</font></a>');
				
			document.write('</td></tr><tr><td>');

			if (y==2) // first aid page
				document.write('<a> <font color="#993300">First Aid Policy</font> </a>');
			else
				document.write('<a href="policies/firstaid.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">First Aid Policy</font></a>');
				
			document.write('</td></tr><tr><td>');
			
			if (y==3) // homework page
				document.write('<a> <font color="#993300">Homework Policy</font> </a>');
			else
				document.write('<a href="policies/homework.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Homework Policy</font></a>');
				
			document.write('</td></tr><tr><td>');

			if (y==4) // student welfare page
				document.write('<a> <font color="#993300">Student Welfare Policy</font> </a>');
			else
				document.write('<a href="policies/studentwelfare.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Student Welfare Policy</font></a>');
				
			document.write('</td></tr><tr><td>');

			if (y==5) // sunsmart page
				document.write('<a> <font color="#993300">Sunsmart Policy</font> </a>');
			else
				document.write('<a href="policies/sunsmart.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Sunsmart Policy</font></a>');
				
			document.write('</td></tr><tr><td>');

			if (y==6) // uniform page
				document.write('<a> <font color="#993300">Uniform Policy</font> </a>');
			else
				document.write('<a href="policies/uniform.html" onMouseOver=this.style.backgroundColor="#99FF33"; onMouseOut=this.style.backgroundColor="#99FF99"><font color="#993300">Uniform Policy</font></a>');
				
			document.write('</td></tr></table>');
//		}
	}
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="policies.html" >School Policies</a></td>');
	document.write('</tr>');
	//UNIFORMS
	document.write('<tr>');
	if (x=='uniform')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">School Uniforms</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="uniform.html" >School Uniforms</a></td>');
	document.write('</tr>');
	//CONTACT
	document.write('<tr>');
	if (x=='contact')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Contact Us</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="contactus.html" >Contact Us</a></td>');
	document.write('</tr>');
	//DOWNLOAD
	document.write('<tr>');
	if (x=='download')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Downloads</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="downloads.html" >Downloads</a></td>');
	document.write('</tr>');
	//LINK
	document.write('<tr>');
	if (x=='link')
          document.write('<td width="165" bgcolor="#99CC66" ><a href="javascript:;" class="navText"><font color="#993300">Links</font></a></td>');
	else
		document.write('<td width="165" bgcolor="#71a1b3"><a href="links.html" >Links</a></td>');
	document.write('</tr>');
	
	document.write('</table><br /> &nbsp;<br />');

}