/**Common HTML
  *This file contains functions that write HTML that every page on the website uses.  Therefore, changes made
  *here will affect every page on the site, saving a lot of time and effort for making minor changes
  */


/*Writes the links at the top of all of the News pages
*****Updated Sept 6, 2005 by Karen Waldenmeyer - Removed link to interns page, but kept text for future use */
function writeNewsHeader(){

	document.write('<br><p><strong>Meetings</strong><br><a href="../news/GRC_Announcement1-30-06.doc">Gordon Research Conference</a></p><p><strong>Photos</strong><br><a href="../news/photos.html">General</a> <br><a href="../news/planting.html">Uniform Mu Field Planting</a><b><font color = "red"> Updated 8/1/04</font></b><br>&nbsp;&nbsp;<a href="../news/maize03.html">Possible Maize Phenotype Mutants 2003</a><br />&nbsp;&nbsp;<a href="../news/maize04.html">Possible Maize Phenotype Mutants 2004</a><br /><br><b>Research Experiences for Undergraduates (REU) Program </a><strong><font color="red">Updated July 2005</font></strong></b><br>&nbsp;&nbsp;<a href="../news/florida.html">University of Florida</a><br>&nbsp;&nbsp;<a href="../news/purdue.html">Purdue University</a> <br>&nbsp;&nbsp;<a href="../news/wisconsin.html">University of Wisconsin</a> <br>&nbsp;&nbsp;<a href="../news/uconn.html">University of Connecticut</a> <br> Summer Interns   <br><b><a href="../news/undergrad.html"></a></b><br>');   

}


/*Writes the banner image at the top of all of the pages (except the home page) */
function writeBanner(){

	document.write('<div id="Banner" style="position:absolute; left:0px; top:-1px; width:800px; height:30px; z-index:1"><img src="../main/newbanner.jpg" width="800" border="0" usemap="#Map" height="30"><map name="Map"><area shape="rect" coords="14,4,186,27" href="http://cellwall.genomics.purdue.edu" alt="Cell Wall Genomics"></map></div>');

}


/*Writes the Menu bar at the side of all of the pages (except the home page) */
function writeMenuBar(){

	document.write('<div id="Menu" style="position:absolute; left:30px; top:205px; width:120px; height:600px; z-index:2;"><table width="125" border="0" bgcolor="#99CCFF"><td ><a href="../intro/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image4\',\'\',\'../content/redesign/intro-lit.gif\',1)"><img src="../content/redesign/intro.gif" alt="introduction" name="Image4" width="100" height="25" border="0"></a><br><br><a href="../families/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image23\',\'\',\'../content/redesign/genefamilies-lit.gif\',1)"><img src="../content/redesign/genefamilies.gif" alt="Annotation of cell-wall gene families, family trees, web links for each gene to TIGR, MIPS, SALK, and TAIR, Spectroscopic phenotypes spectrotypes" name="Image23" width="100" height="30" border="0"></a><br><br><a href="../plantcellwall/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image13\',\'\',\'../content/redesign/cellwall-lit.gif\',1)"><img src="../content/redesign/cellwall.gif" alt="An introduction to the composition and architecture of the Type I and Type II cell walls of flowering plants." name="Image13" width="100" height="25" border="0"></a><br><br><a href="../techniques/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'../content/redesign/techniques-lit.gif\',1)"><img src="../content/redesign/techniques.gif" alt="Basic techniques in carbohydrate chemistry and spectroscopy" name="Image7" width="100" height="25" border="0"></a><br><br><a href="../mutants/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image5\',\'\',\'../content/redesign/literature-lit.gif\',1)"><img src="../content/redesign/literature.gif" alt="Links to cell-wall related publications" name="Image5" width="100" height="25" border="0"></a><br><br><a href="../links/index.html" onMouseOver="MM_swapImage(\'Image12\',\'\',\'../content/redesign/links-lit.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="../content/redesign/links.gif" alt="Useful web sites for cell-wall biologists" name="Image12" width="100" height="25" border="0"></a><br><br><a href="../contacts/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image8\',\'\',\'../content/redesign/contact-lit.gif\',1)"><img src="../content/redesign/contact.gif" alt="Alphabetical list of all project participants and full contact information" name="Image8" width="100" height="25" border="0"></a><br><br><img src="../content/redesign/blank.gif" width="100" height="25" border="0"><br><a href="../index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image15\',\'\',\'../content/redesign/home-lit.gif\',1)"><img src="../content/redesign/home.gif" alt="home" name="Image15" width="100" height="25" border="0"></a><br><form name="basicsearch" method="get" action="http://www.google.com/u/purduecwg"><div align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Search...</b></font><br><input type="text" name="q" maxlength="255" size="15" value=""><input type="hidden" name="domains" value="cellwall.genomics.purdue.edu"><input type="hidden" name="sitesearch" value="cellwall.genomics.purdue.edu"><br><input type=submit name="sa" value=" seek ">&nbsp;<input type=reset value=" clear "><br><img src="../content/redesign/blank.gif" width="100" height="25" border="0"></div></form></td></tr></table></div>');

}

/*	Writes the banner at the top of the home page, which has different relative links from the rest of the pages on the site
		This code snippet updated: Wednesday, 18 August 2004, by Ryan J. Bonnell
		Note: IE/Mac has problems displaying the absolute positioning of the "NSF Plant Genome Research Program" hyperlink, and animated GIF.
		A workaround was put into place by removing the absolute positioned text <div>, and instead putting its contents in a new banner image, "main/home-banner.jpg"
		Uncomment this code to return the website back to its previous state, but the rendering bug will surface in IE/Mac.
	
	function writeFrontBanner(){
	document.write('<div id="Banner" style="position:absolute; left:0px; top:-1px; width:800px; height:30px; z-index:1"><img src="main/newbanner.jpg" width="800" border="0" usemap="#Map" height="30"><map name="Map"><area shape="rect" coords="14,4,186,27" href="http://cellwall.genomics.purdue.edu" alt="Cell Wall Genomics"></map></div><div id="NSF Logo and Comment" style="position:absolute; left:400px; top:29px; width:600px; height:50px; z-index:2"><table width="100%" height="100%" class="nsfcomment"><tr><td nowrap><a href="http://www.nsf.gov/bio/dbi/dbi_pgr.htm" style="text-decoration:none"><I>Supported by the NSF Plant Genome Research Program</a>&nbsp;&nbsp;&nbsp;</I><a href="http://www.nsf.gov"><img src="main/nsf-anim.gif" width="50" height="50" border="0" align="top"></a></td></tr></table></div>');
} */

/* This is the workaround for the IE/Mac rendering bug mentioned above. */
function writeFrontBanner(){
	document.write('<div id="Banner" style="position:absolute; left:0px; top:-1px; width:800px; height:85px; z-index:1"><img src="main/home-banner.jpg" width="800" height="85" border="0" usemap="#Map" height="30" /></div>');
}

/*Writes the menu bar at the side of the home page, which has different relative links from the rest of the pages on the site*/
function writeFrontMenuBar(){

	document.write('<div id="Menu" style="position:absolute; left:30px; top:205px; width:120px; height:600px; z-index:2;"><table width="125" border="0" bgcolor="#99CCFF"><td ><a href="intro/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image4\',\'\',\'content/redesign/intro-lit.gif\',1)"><img src="content/redesign/intro.gif" alt="introduction" name="Image4" width="100" height="25" border="0"></a><br><br><a href="families/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image23\',\'\',\'content/redesign/genefamilies-lit.gif\',1)"><img src="content/redesign/genefamilies.gif" alt="Annotation of cell-wall gene families, family trees, web links for each gene to TIGR, MIPS, SALK, and TAIR, Spectroscopic phenotypes spectrotypes" name="Image23" width="100" height="30" border="0"></a><br><br><a href="plantcellwall/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image13\',\'\',\'content/redesign/cellwall-lit.gif\',1)"><img src="content/redesign/cellwall.gif" alt="An introduction to the composition and architecture of the Type I and Type II cell walls of flowering plants." name="Image13" width="100" height="25" border="0"></a><br><br><a href="techniques/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'content/redesign/techniques-lit.gif\',1)"><img src="content/redesign/techniques.gif" alt="Basic techniques in carbohydrate chemistry and spectroscopy" name="Image7" width="100" height="25" border="0"></a><br><br><a href="mutants/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image5\',\'\',\'content/redesign/literature-lit.gif\',1)"><img src="content/redesign/literature.gif" alt="Links to cell-wall related publications" name="Image5" width="100" height="25" border="0"></a><br><br><a href="links/index.html" onMouseOver="MM_swapImage(\'Image12\',\'\',\'content/redesign/links-lit.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="content/redesign/links.gif" alt="Useful web sites for cell-wall biologists" name="Image12" width="100" height="25" border="0"></a><br><br><a href="contacts/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image8\',\'\',\'content/redesign/contact-lit.gif\',1)"><img src="content/redesign/contact.gif" alt="Alphabetical list of all project participants and full contact information" name="Image8" width="100" height="25" border="0"></a><br><br><img src="content/redesign/blank.gif" width="100" height="25" border="0"><br><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image15\',\'\',\'content/redesign/home-lit.gif\',1)"><img src="content/redesign/home.gif" alt="home" name="Image15" width="100" height="25" border="0"></a><br><form name="basicsearch" method="get" action="http://www.google.com/u/purduecwg"><div align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Search...</b></font><br><input type="text" name="q" maxlength="255" size="15" value=""><input type="hidden" name="domains" value="cellwall.genomics.purdue.edu"><input type="hidden" name="sitesearch" value="cellwall.genomics.purdue.edu"><br><input type=submit name="sa" value=" seek ">&nbsp;<input type=reset value=" clear "><br><br><img src="../content/redesign/blank.gif" width="100" height="25" border="0"><br></div></form></td></tr></table></div>');

}

/*<area shape="rect" coords="367,29,685,49" href="http://www.nsf.gov/bio/dbi/dbi_pgr.htm" target="_OffSite" alt="NSF Plant Genome Research Program"><area shape="rect" coords="691,12,731,54" href="http://www.nsf.gov" target="_OffSite" alt="NSF Web Site">*/


