//bottom navigation
function bottomNav() {

	document.write("<a href=\"#\" onClick=\"window.open('submissionguidelines.html', 'Submission_Guidelines','menubar=no,scrollbars=yes,resizable=yes,width=340,height=480')\" class=\"nav\">submission&nbsp;guidelines</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"/facultyupdate/submission/\" class=\"nav\">submission&nbsp;form</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"mailto:Faculty_Update@brown.edu?subject=Letter to the Editor\" class=\"nav\">letter to the editor</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"http://bms.brown.edu\" class=\"nav\">Warren&nbsp;Alpert&nbsp;medical&nbsp;school</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"http://www.brown.edu\" class=\"nav\">brown&nbsp;university</a>")
}
//ideally, currNav is defined in every file, if not make it ""
var currNav =( ( typeof currNav == 'undefined') ? "" : currNav );


function navItem( x, navTitle, url ) {
	if (currNav!=x)  
		document.write("<a href=\""+ url + "\"><img src=\"img/arrow.gif\" border=0 alt=\"\">"+ navTitle + "</a><br>");
	else
		document.write("<span style=\"color:red\"><b><img src=\"img/arrow_red.gif\" border=0 alt=\"\">"+ navTitle + "</b></span><br>");
}


function sideNav() {
		document.write("<table ><tr><td ><b>");
		document.write("<span class=spaceout>");
		//navItem( "home", "Home Page", "index.html" );
		navItem( "article", "Featured Article", "article.html" );
		navItem( "general_news", "General News", "news.html" );
		navItem( "women", "Women's health", "women.html" );
		navItem( "clinical_corner", "Clinical Corner", "clinical_corner.html" );
		navItem( "biomed", "Biomed in the News", "biomed.html" );
		navItem( "grants", "Grants and Contracts", "grants.html" );
		navItem( "students_news", "Students, Residents and Fellow News", "students_news.html" );
		navItem( "faculty", "Faculty Highlights", "faculty.html" );
		
		document.write("<br><br>");
		document.write ("<a href=\"#\" onClick=\"window.open('submissionguidelines.html', 'Submission&nbsp;Guidelines','menubar=no,scrollbars=yes,resizable=yes, width=340,height=480')\" class=\"nav\">Submission&nbsp;Guidelines</a><br>");
		document.write("<a href=\"mailto:Faculty_Update@brown.edu?subject=Letter to the Editor\">Letter to the Editor</a><br>");
		document.write("<a href=\"http://www.brown.edu/Facilities/CIS/bms/\">Submission&nbsp;Form</a>");
		document.write("<br><br>");
		document.write("<a href=\"http://bms.brown.edu\" class=\"nav\"><img src=\"/Images/logo_bms_white.gif\" border=0></a><br>");
		document.write("<a href=\"http://www.brown.edu\" class=\"nav\" alt=\"Brown University\"><img src=\"img/brownlogo.gif\" border=0></a>");
		document.write("</span>");
		document.write("</b></td></tr></table>");
		
	
}