// Write navigation menu
/* ... yeah, it's gotta be all one line. Below is what it looks like when somewhat formatted 
					<div class="SideNavCell">
						<div><span class="SideNavTitle">This Issue</span></div>
						<a href="index.html">&#8250;&#8250; Front Page</a> 
						<a href="news.html">&#8250;&#8250; News</a> 
						<a href="opinion.html">&#8250;&#8250; Opinion</a> 
						<a href="features.html">&#8250;&#8250; Features</a>
						<a href="aande.html">&#8250;&#8250; A &amp; E</a> 
						<a href="sports.html">&#8250;&#8250; Sports</a> 
						<a href="backpage.html">&#8250;&#8250; Back Page </a></div>
					<div class="SideNavCell">
						<div><span class="SideNavTitle">Other</span></div>
						<a href="../aboutus.html">&#8250;&#8250; About Us</a> 
						<a href="../aboutsite.html">&#8250;&#8250; About the Site</a> 
						<a href="../adrates.html">&#8250;&#8250; Advertising</a> 
						<a href="../references.html">&#8250;&#8250; References</a>
						<a href="../contact.html">&#8250;&#8250; Contact Us</a> 
						<a href="http://www.icsd.k12.ny.us/highschool/" target="_blank">&#8250;&#8250; Ithaca HS</a><div>
					<div class="LightSideNavCell" align="center">
						<a href="http://validator.w3.org/check?uri=referer"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Validate HTML 4.01" height="31" width="88" align="middle"></a>
						<br><br>
						<a href="http://jigsaw.w3.org/css-validator/check/referer"><img border="0" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Validate CSS" height="31" width="88" align="middle"></a>
					</div> */
function write_navmenu()
{
	document.write ('<div class="SideNavCell"><div><span class="SideNavTitle">This Issue</span></div><a href="index.html">&#8250;&#8250; Front Page</a> <a href="news.html">&#8250;&#8250; News</a><a href="opinion.html">&#8250;&#8250; Opinion</a><a href="features.html">&#8250;&#8250; Features</a><a href="aande.html">&#8250;&#8250; A &amp; E</a><a href="sports.html">&#8250;&#8250; Sports</a><a href="backpage.html">&#8250;&#8250; Back Page </a></div><div class="SideNavCell"><div><span class="SideNavTitle">Other</span></div><a href="../aboutus.html">&#8250;&#8250; About Us</a><a href="../aboutsite.html">&#8250;&#8250; About the Site</a><a href="../adrates.html">&#8250;&#8250; Advertising</a><a href="../references.html">&#8250;&#8250; References</a><a href="../contact.html">&#8250;&#8250; Contact Us</a><a href="http://www.icsd.k12.ny.us/highschool" target="_blank">&#8250;&#8250; Ithaca HS</a></div><div class="LightSideNavCell" align="center"><a href="http://jigsaw.w3.org/css-validator/check/referer"><img border="0" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Validate CSS" height="31" width="88" align="middle"></a></div>');
}
//write navigation menu for parent directories (only lets you go to front page)
function write_navmenu_parent()
{
	document.write ('<div class="SideNavCell"><div><span class="SideNavTitle">This Issue</span></div><a href="index.php">&#8250;&#8250; Front Page</a></div><div class="SideNavCell"><div><span class="SideNavTitle">Other</span></div><a href="aboutus.html">&#8250;&#8250; About Us</a><a href="aboutsite.html">&#8250;&#8250; About the Site</a><a href="../adrates.html">&#8250;&#8250; Advertising</a><a href="references.html">&#8250;&#8250; References</a><a href="contact.html">&#8250;&#8250; Contact Us</a><a href="http://www.icsd.k12.ny.us/highschool" target="_blank">&#8250;&#8250; Ithaca HS</a></div><div class="LightSideNavCell" align="center"><a href="http://validator.w3.org/check?uri=referer"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Validate HTML 4.01" height="31" width="88" align="middle"></a><br><br><a href="http://jigsaw.w3.org/css-validator/check/referer"><img border="0" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Validate CSS" height="31" width="88" align="middle"></a></div>');
}

function write_logo()
{
	document.write('<a href="../index.php"><img src="../header.jpg" alt="" width="280" height="80" border="0"></a>');
}
// below is to write logo for pages in parent directory, such as contact, aboutus, etc.
function write_logo_parent()
{
	document.write('<a href="index.php"><img src="header.jpg" alt="" width="280" height="80" border="0"></a>');
}


function write_advertisement()
{
	document.write('<a href="../adrates.html"><img src="../banner.jpg" alt="" width="440" height="80" border="0"></a>');
}
// below is to write ad for pages in parent directory, such as contact, aboutus, etc.
function write_advertisement_parent()
{
	document.write('<a href="adrates.html"><img src="banner.jpg" alt="" width="440" height="80" border="0"></a>');
}

function write_url()
{
	document.write('www.ihstattler.com');
}

function write_footer()
{
	document.write('<div align="center"><span class="SubHeader">All Articles, Photos, and IHS Tattler Logo Copyright &copy; 2007 IHS Tattler. All Rights Reserved.</span></div>');
}

function write_quote()
{
	var Quote = new Array("YAR", "HMM", "LOL", "WTF", "LMAO", "STFU", "YO", "HEY");
	document.write(' - ' + Quote[Math.floor(Math.random()*Quote.length)] );
}

