// **************
// script used to display navigation links & other pre-defined functions
// Written by: Conrad Matiuk, CUAHSI - November 08, 2005
//
// Modified by: CM - June 01, 2006 -- complete reorg of m major levels and expanding sub-levels
// with "About" and "Members" levels moving to footer links and subs-levels moving to right-side
// navigation boxes.
// **************

function horizontal_nav() {
document.write(
'<div id="header"><ul id="MenuBar1" class="MenuBarHorizontal">'
//<!--- Tab #1 --->
//+'	<li><a class="MenuBarItemSubmenu" href="mission.html"><strong>About CUAHSI</strong></a>'
+'	<li><a class="MenuBarItemSubmenu" href="mission.html"><strong>About CUAHSI & Its Operations</strong></a>'
+'		<ul>'
+'			<li><a href="mission.html">Mission</a></li>'
+'			<li><a href="corporate.html">Corporate Operations</a>'
+'		<ul>'
+'			<li><a href="docs/What-is-CUAHSI.pdf" target="_blank">What is CUAHSI?</a></li>'
+'			<li><a href="docs/CUAHSI-SciencePlan-2007.pdf" target="_blank">Science Plan</a></li>'
//+'			<li><a href="#" target="_blank">Implementation Plan</a></li>'
+'			<li><a href="organization.html">Organization</a>'
+'				<ul>'
+'					<li><a href="history.html">History</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="corporate.html">Board of Directors</a></li>'
+'			<li><a href="standingcomms.html">Standing Committees</a>'
+'				<ul>'
+'					<li><a href="stdcomm-eo.html">Education & Outreach</a></li>'
+'					<li><a href="stdcomm-info.html">Informatics</a></li>'
+'					<li><a href="stdcomm-inst.html">Instrumentation</a></li>'
+'					<li><a href="stdcomm-obs.html">Observations</a></li>'
+'					<li><a href="stdcomm-ra.html">Research Applications</a></li>'
+'					<li><a href="stdcomm-syn.html">Synthesis</a></li>'
+'					<li><a href="stdcomm-aud.html">Audit Committee</a></li>'
+'					<li><a href="stdcomm-sac.html">Advisory Council</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="special.html">Special Committees</a>'
+'			<li><a href="minutes.html">Minutes</a>'
+'		<ul>'
+'			<li><a href="board-index.html">Board/Membership Minutes</a></li>'
+'			<li><a href="exec-index.html">Executive Committee Minutes</a></li>'
+'		</ul>'
+'	</li>'
+'		</ul>'
+'	</li>'
+'	<li><a href="member_list.html">Membership</a>'
+'		<ul>'
+'			<li><a href="member_list.html">Membership List</a></li>'
+'			<li><a href="member_types.html">Membership Types</a></li>'
+'			<li><a href="join.html">Join CUAHSI</a></li>'
+'		</ul>'
+'	</li>'
+'	<li><a href="getting_involved.html">Getting Involved</a></li>'
+'	<li><a href="join_email_list.html">Join Listserv</a></li>'
+'	<li><a href="aroundtown.html">Visiting CUAHSI</a></li>'
+'	<li><a href="contact.html">Contact Us</a></li>'
+'	</ul>'
+'	</li>'
//<!--- Tab #2 --->
+'	<li><a class="MenuBarItemSubmenu" href="projects.html" title="go to main projects page"><strong>Projects, Seminars, Workshops</strong></a>'
+'		<ul>'
+'			<li><a href="projects.html">Main CUAHSI Projects Page</a></li>'
+'			<li><a href="chymp.html">Community Hydrologic Modeling Platform (CHyMP)</a></li>'
+'			<li><a href="http://his.cuahsi.org/">Hydrologic Information System (HIS)</a>'
+'				<ul>'
+'					<li><a href="#" onclick="menu_alert(\'CUAHSI HIS Users Forum\')">CUAHSI HIS Users Forum</a></li>'
//+'					<li><a href="http://blog.hydrologicscience.org/?page_id=13">CUAHSI HIS Users Forum</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="hmf.html">Hydrologic Measurement Facility (HMF)</a></li>'
+'			<li><a href="hos.html">Hydrologic Observatory</a></li>'
+'			<li><a href="synthesis.html">Hydrologic Synthesis Activities</a></li>'
+'			<li><a href="eando.html">Education & Outreach</a>'
+'				<ul>'
+'					<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a></li>'
+'					<li><a href="wmp-videos.html">Watershed Media Project</a></li>'
+'					<li><a href="community-videos.html">Community Interest Videos</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="sem-current.html">Current Cyberseminars</a>'
+'				<ul>'
+'					<li><a href="sem-archive.html">Archived Cyberseminars</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="past-workshops.html">Past Workshops & Meetings</a>'
//+'				<ul>'
//+'					<li><a href="workshops.html">2002 Workshops</a></li>'
//+'				</ul>'
+'			</li>'
+'			<li><a href="getting_involved.html">Getting Involved</a></li>'
+'		</ul>'
+'	</li>'
//<!--- Tab #3 --->
+'	<li><a class="MenuBarItemSubmenu" href="news.html"><strong>Reports, News & Opportunities</strong></a>'
+'		<ul>'
+'			<li><a href="news.html">Papers, Newsletters & Technical Reports</a>'
+'				<ul>'
+'					<li><a href="news.html#enews">eNews Briefs</a></li>'
+'					<li><a href="news.html#techrpts">Technical Reports</a></li>'
+'					<li><a href="sem-vp.html">Vision Papers</a></li>'
+'					<li><a href="synthesis-papers.html">Synthesis Papers</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="funding.html">Funding Opportunities</a></li>'
+'			<li><a href="jobopps.html">Job Opportunities</a></li>'
+'			<li><a href="sem-current.html">Current Cyberseminars</a>'
+'				<ul>'
+'					<li><a href="sem-archive.html">Archived Cyberseminars</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="#">Community Resources</a>'
+'		<ul>'
+'			<li><a href="congcomms.html">Relevant Congressional Committees</a></li>'
+'			<li><a href="wmp-videos.html">Watershed Media Project</a></li>'
+'			<li><a href="community-videos.html">Community Interest Videos</a></li>'
//+'			<li><a href="#">Other Agency Seminars</a></li>'
+'			<li><a href="#">Software & Data</a>'
+'				<ul>'
+'					<li><a href="http://www.geotop.org" target="_blank" title="Distributed hydrological model">GEOtop Modeling Software</a></li>'
+'					<li><a href="http://www.sahra.arizona.edu/" target="_blank" title="Sustainability of semi-Arid Hydrology and Riparian Areas">SAHRA</a></li>'
+'					<li><a href="http://www.comet.ucar.edu/" target="_blank" title="Cooperative Program for Operational Meteorology, Education and Training">UCAR\'s COMET</a></li>'
//+'					<li style="background-color: navy;"><hr></li>'
+'				</ul>'
+'			</li>'
+'		</ul>'
+'	</li>'
+'		</ul>'
+'	</li>'
//<!--- Tab #4 --->
+'	<li><a href="index.html"><strong>CUAHSI Home & Related Sites</strong></a>'
+'		<ul>'
+'			<li style="text-indent: 1.0em;"><a href="index.html">CUAHSI Home</a></li>'
+'			<li style="text-indent: 2.0em;"><a href="http://www.watersnet.org/" target="_blank">WATERS Network</a></li>'
+'			<li style="text-indent: 2.0em;"><a href="http://www.watersnet.org/wtbs/index.html" target="_blank">WATERS Test Beds</a></li>'
+'			<li style="text-indent: 2.0em;"><a href="http://hydrology.agu.org/" target="_blank">AGU Hydrology Section</a></li>'
+'		</ul>'
+'	</li>'
+'</ul>');
} // end function

function horizontal_nav_l2() {
document.write(
'<div id="header"><ul id="MenuBar1" class="MenuBarHorizontal">'
//<!--- Tab #1 --->
//+'	<li><a class="MenuBarItemSubmenu" href="../mission.html"><strong>About CUAHSI</strong></a>'
+'	<li><a class="MenuBarItemSubmenu" href="../mission.html"><strong>About CUAHSI & Its Operations</strong></a>'
+'		<ul>'
+'			<li><a href="../mission.html">Mission</a></li>'
+'			<li><a href="../history.html">History</a></li>'
+'			<li><a href="../corporate.html">Corporate Operations</a>'
+'		<ul>'
+'			<li><a href="../docs/What-is-CUAHSI.pdf" target="_blank">What is CUAHSI?</a></li>'
+'			<li><a href="../docs/CUAHSI-SciencePlan-2007.pdf" target="_blank">Science Plan</a></li>'
//+'			<li><a href="#" target="_blank">Implementation Plan</a></li>'
+'			<li><a href="../organization.html">Organization</a></li>'
+'			<li><a href="../corporate.html">Board of Directors</a></li>'
+'			<li><a href="../standingcomms.html">Standing Committees</a>'
+'				<ul>'
+'					<li><a href="../stdcomm-eo.html">Education & Outreach</a></li>'
+'					<li><a href="../stdcomm-info.html">Informatics</a></li>'
+'					<li><a href="../stdcomm-inst.html">Instrumentation</a></li>'
+'					<li><a href="../stdcomm-obs.html">Observations</a></li>'
+'					<li><a href="../stdcomm-ra.html">Research Applications</a></li>'
+'					<li><a href="../stdcomm-syn.html">Synthesis</a></li>'
+'					<li><a href="../stdcomm-aud.html">Audit Committee</a></li>'
+'					<li><a href="../stdcomm-sac.html">Advisory Council</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="../special.html">Special Committees</a>'
+'		</ul>'
+'	</li>'
+'			<li><a href="../minutes.html">Minutes</a>'
+'		<ul>'
+'			<li><a href=../"board-index.html">Board/Membership Minutes</a></li>'
+'			<li><a href="../exec-index.html">Executive Committee Minutes</a></li>'
+'		</ul>'
+'	</li>'
+'	<li><a href="../member_list.html">Membership</a>'
+'		<ul>'
+'			<li><a href="../member_list.html">Membership List</a></li>'
+'			<li><a href="../member_types.html">Membership Types</a></li>'
+'			<li><a href="../join.html">Join CUAHSI</a></li>'
+'		</ul>'
+'	</li>'
+'	<li><a href="../getting_involved.html">Getting Involved</a></li>'
+'	<li><a href="../join_email_list.html">Join Listserv</a></li>'
+'	<li><a href="../aroundtown.html">Visiting CUAHSI</a></li>'
+'	<li><a href="../contact.html">Contact Us</a></li>'
+'	</ul>'
+'	</li>'
//<!--- Tab #2 --->
+'	<li><a class="MenuBarItemSubmenu" href="#"><strong>Projects, Seminars, Workshops</strong></a>'
+'		<ul>'
+'			<li><a href="../chymp.html">Community Hydrologic Modeling Platform (CHyMP)</a></li>'
+'			<li><a href="http://his.cuahsi.org/">Hydrologic Information System (HIS)</a></li>'
+'			<li><a href="../hmf.html">Hydrologic Measurement Facility (HMF)</a></li>'
+'			<li><a href="../hos.html">Hydrologic Observatory</a></li>'
+'			<li><a href="../synthesis.html">Hydrologic Synthesis Activities</a></li>'
+'			<li><a href="../eando.html">Education & Outreach</a>'
+'				<ul>'
+'					<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a></li>'
+'					<li><a href="../wmp-videos.html">Watershed Media Project</a></li>'
+'					<li><a href="../community-videos.html">Community Interest Videos</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="../sem-current.html">Current Cyberseminars</a>'
+'				<ul>'
+'					<li><a href="../sem-archive.html">Archived Cyberseminars</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="../past-workshops.html">Past Workshops & Meetings</a>'
//+'				<ul>'
//+'					<li><a href="../workshops.html">2002 Workshops</a></li>'
//+'				</ul>'
+'			</li>'
+'			<li><a href="../getting_involved.html">Getting Involved</a></li>'
+'		</ul>'
+'	</li>'
//<!--- Tab #3 --->
+'	<li><a class="MenuBarItemSubmenu" href="../news.html"><strong>Reports, News & Opportunities</strong></a>'
+'		<ul>'
+'			<li><a href="../news.html">Papers, Newsletters & Technical Reports</a>'
+'				<ul>'
+'					<li><a href="../news.html#techrpts">Technical Reports</a></li>'
+'					<li><a href="../sem-vp.html">Vision Papers</a></li>'
+'					<li><a href="../synthesis-papers.html">Synthesis Papers</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="../funding.html">Funding Opportunities</a></li>'
+'			<li><a href="../jobopps.html">Job Opportunities</a></li>'
+'			<li><a href="../sem-current.html">Current Cyberseminars</a>'
+'				<ul>'
+'					<li><a href="../sem-archive.html">Archived Cyberseminars</a></li>'
+'				</ul>'
+'			</li>'
+'			<li><a href="#">Community Resources</a>'
+'		<ul>'
+'			<li><a href="../congcomms.html">Relevant Congressional Committees</a></li>'
+'			<li><a href="../wmp-videos.html">Watershed Media Project</a></li>'
+'			<li><a href="../community-videos.html">Community Interest Videos</a></li>'
//+'			<li><a href="#">Other Agency Seminars</a></li>'
+'			<li><a href="#">Software & Data</a>'
+'				<ul>'
+'					<li><a href="http://www.geotop.org" target="_blank" title="Distributed hydrological model">GEOtop Modeling Software</a></li>'
+'					<li><a href="http://www.sahra.arizona.edu/" target="_blank" title="Sustainability of semi-Arid Hydrology and Riparian Areas">SAHRA</a></li>'
+'					<li><a href="http://www.comet.ucar.edu/" target="_blank" title="Cooperative Program for Operational Meteorology, Education and Training">UCAR\'s COMET</a></li>'
//+'					<li style="background-color: navy;"><hr></li>'
+'				</ul>'
+'			</li>'
+'		</ul>'
+'	</li>'
+'		</ul>'
+'	</li>'
//<!--- Tab #4 --->
+'	<li><a href="index.html"><strong>CUAHSI Home & Related Sites</strong></a>'
+'		<ul>'
+'			<li style="text-indent: 1.0em;"><a href="../index.html">CUAHSI Home</a></li>'
+'			<li style="text-indent: 2.0em;"><a href="http://www.watersnet.org/" target="_blank">WATERS Network</a></li>'
+'			<li style="text-indent: 2.0em;"><a href="http://www.watersnet.org/wtbs/index.html">WATERS Test Beds</a></li>'
+'		</ul>'
+'	</li>'
+'</ul>');
} // end function

function sidenav() {
document.write(
'<ul id="udm" class="udm">'
// ** Major levels
+'<li style="text-indent: 40px;"><a href="index.html">Home</a></li>'
+'<li><a class="new-nav">Programs</a></li>'
+'<li><a href="http://his.cuahsi.org">Hydrologic Information System (HIS)</a></li>'
+'<li><a href="hmf.html">Hydrologic Measurement Facility (HMF)</a></li>'
+'<li><a href="hos.html">Hydrologic Observatory</a></li>'
+'<li><a href="synthesis.html">Hydrologic Synthesis Activities</a></li>'
+'<li><a href="eando.html">Education & Outreach</a>'
+'<ul style="width:145px;">'
+'<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a></li>'
+'</ul></li>'
//+'</li>'
+'<li><a class="new-nav">Information</a></li>'
// ** Major level - potentially expanding
+'<li><a href="sem-current.html">Cyberseminars</a></li>'
// ** Major level - potentially expanding
+'<li><a href="news.html">Papers, News & Technical Reports</a></li>'
// ** Major level - expanding
+'<li><a href="history.html">About CUAHSI</a>'
+'<ul style="width:180px;">'
+'<li><a href="history.html">History</a></li>'
+'<li><a href="mission.html">Corporate Operations</a></li>'
+'<li><a href="minutes.html">Minutes</a></li>'
+'<li><a href="member_list.html">Members</a></li>'
+'<li><a href="join.html">Join CUAHSI</a></li>'
+'<li><a href="aroundtown.html">Visiting CUAHSI</a></li>'
+'<li><a href="contact.html">Contact Us</a></li>'
+'<li><a href="join_email_list.html">Join Listserv</a></li>'
+'</ul></li>'
//+'</li>'
+'<li><a href="congcomms.html">Relevant Congressional Committees</a></li>'
+'<li><a href="funding.html">Funding Opportunities</a></li>'
+'<li><a href="jobopps.html">Job Opportunities</a></li>'
+'<li><a href="member_list.html">Members</a></li>'
+'<li><a class="new-nav">Related Sites</a></li>'
+'<li><a href="http://www.watersnet.org/" target="_blank">WATERS Network</a></li>'
+'<li><a href="http://www.watersnet.org/wtbs/index.html">WATERS Test Beds</a></li>'
+'</ul>');
} // end function

function sidenav_awra() {
document.write(
'<ul id="udm" class="udm">'
// ** Major levels
+'<li style="text-indent: 40px;"><a href="http://www.cuahsi.org/index.html">Home</a></li>'
+'<li><a class="new-nav">Programs</a></li>'
+'<li><a href="http://his.cuahsi.org">Hydrologic Information System (HIS)</a></li>'
+'<li><a href="http://www.cuahsi.org/hmf.html">Hydrologic Measurement Facility (HMF)</a></li>'
+'<li><a href="http://www.cuahsi.org/hos.html">Hydrologic Observatory</a></li>'
+'<li><a href="http://www.cuahsi.org/synthesis.html">Hydrologic Synthesis Activities</a></li>'
+'<li><a href="http://www.cuahsi.org/eando.html">Education & Outreach</a>'
+'<ul style="width:145px;">'
+'<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a></li>'
+'</ul></li>'
//+'</li>'
+'<li><a class="new-nav">Information</a></li>'
// ** Major level - potentially expanding
+'<li><a href="http://www.cuahsi.org/sem-current.html">Cyberseminars</a></li>'
// ** Major level - potentially expanding
+'<li><a href="http://www.cuahsi.org/news.html">Papers, News & Technical Reports</a></li>'
// ** Major level - expanding
+'<li><a href="http://www.cuahsi.org/history.html">About CUAHSI</a>'
+'<ul style="width:180px;">'
+'<li><a href="http://www.cuahsi.org/history.html">History</a></li>'
+'<li><a href="http://www.cuahsi.org/mission.html">Corporate Operations</a></li>'
+'<li><a href="http://www.cuahsi.org/minutes.html">Minutes</a></li>'
+'<li><a href="http://www.cuahsi.org/member_list.html">Members</a></li>'
+'<li><a href="http://www.cuahsi.org/join.html">Join CUAHSI</a></li>'
+'<li><a href="http://www.cuahsi.org/aroundtown.html">Visiting CUAHSI</a></li>'
+'<li><a href="http://www.cuahsi.org/contact.html">Contact Us</a></li>'
+'<li><a href="http://www.cuahsi.org/join_email_list.html">Join Listserv</a></li>'
+'</ul></li>'
//+'</li>'
+'<li><a href="http://www.cuahsi.org/funding.html">Funding Opportunities</a></li>'
+'<li><a href="http://www.cuahsi.org/jobopps.html">Job Opportunities</a></li>'
+'<li><a href="http://www.cuahsi.org/member_list.html">Members</a></li>'
+'<li><a class="new-nav">Related Sites</a></li>'
+'<li><a href="http://www.watersnet.org/" target="_blank">WATERS Network</a></li>'
+'<li><a href="http://www.watersnet.org/wtbs/index.html">WATERS Test Beds</a></li>'
+'</ul>');
} // end function

function sidenav_wmp() {
document.write(
'<ul id="udm" class="udm">'
// ** Major levels
+'<li style="text-indent: 40px;"><a href="../index.html">Home</a></li>'
+'<li><a class="new-nav">Programs</a></li>'
+'<li><a href="http://his.cuahsi.org">Hydrologic Information System (HIS)</a></li>'
+'<li><a href="../hmf.html">Hydrologic Measurement Facility (HMF)</a></li>'
+'<li><a href="../hos.html">Hydrologic Observatory</a></li>'
+'<li><a href="../synthesis.html">Hydrologic Synthesis Activities</a></li>'
+'<li><a href="../eando.html">Education & Outreach</a>'
+'<ul style="width:145px;">'
+'<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a></li>'
+'</ul>'
+'</li>'
+'<li><a class="new-nav">Information</a></li>'
// ** Major level - potentially expanding
+'<li><a href="../sem-current.html">Cyberseminars</a>'
+'</li>'
+'<li><a href="../news.html">Papers, News & Technical Reports</a>'
+'</li>'
// ** Major level - expanding
+'<li><a href="../history.html">About CUAHSI</a>'
+'<ul style="width:180px;">'
+'<li><a href="../history.html">History</a></li>'
+'<li><a href="../mission.html">Corporate Operations</a></li>'
+'<li><a href="../member_list.html">Members</a></li>'
+'<li><a href="../aroundtown.html">Visiting CUAHSI</a></li>'
+'<li><a href="../contact.html">Contact Us</a></li>'
+'<li><a href="../join_email_list.html">Join Listserv</a></li>'
+'</ul>'
+'</li>'
+'<li><a href="../funding.html">Funding Opportunities</a></li>'
+'<li><a href="../jobopps.html">Job Opportunities</a></li>'
+'<li><a href="../member_list.html">Members</a></li>'
+'<li><a class="new-nav">Related Sites</a></li>'
+'<li><a href="http://www.watersnet.org/" target="_blank">WATERS Network</a></li>'
+'<li><a href="http://www.watersnet.org/wtbs/index.html">WATERS Test Beds</a>'
+'</li>'
+'</ul>');
} // end function

function sidenav_err() {
document.write(
'<ul id="udm" class="udm">'
// ** Major levels
+'<li style="text-indent: 2.5em;"><a href="http://www.cuahsi.org/index.html" title="CUAHSI Home page">Home</a></li>'
+'<li><a href="http://www.cuahsi.org/funding.html" title="Funding Opportunities">Funding Opportunities</a></li>'
+'<li><a href="http://his.cuahsi.org">Hydrologic Information System</a></li>'
+'<li><a href="http://www.cuahsi.org/hmf.html">Hydrologic Measurement Facility</a></li>'
+'<li><a href="http://www.cuahsi.org/hos.html">Hydrologic Observatory</a></li>'
+'<li><a href="http://www.hydrologicscience.org/wsop/">E&O Programs Database</a>'
//+'<li><a href="http://www.cuahsi.org/synthesis.html">Hydrologic Synthesis Activities</a></li>'
//+'<li><a href="http://www.cuahsi.org/eando.html">Education & Outreach</a></li>'
//+'<li><a href="#" onclick="menu_alert(\'Education & Outreach\')">Education & Outreach</a></li>'
// ** Major level - expanding
+'<li><a href="sem-current.html" title="Cyberseminar information">Cyberseminars</a>'
+'<ul style="width:145px">'
+'<li><a href="http://www.cuahsi.org/sem-current.html">Current</a></li>'
+'<li><a href="http://www.cuahsi.org/sem-archive.html">Archive</a></li>'
+'<li><a href="http://www.cuahsi.org/sem-vp.html">Vision Papers</a></li>'
+'</ul>'
+'</li>'
// ** Major levels
+'<li><a href="http://www.cuahsi.org/news.html" title="CUAHSI news">News & Publications</a></li>'
+'<li><a href="http://www.cuahsi.org/jobopps.html" title="Job Opportunities">Job Opportunities</a></li>'
// ** Major level - expanding
+'<li><a href="http://www.cuahsi.org/history.html">About CUAHSI</a>'
+'<ul style="width:145px;">'
+'<li><a href="http://www.cuahsi.org/aroundtown.html">Visiting CUAHSI</a></li>'
+'</ul>'
+'</li>'
+'</ul>');
} // end function

// ** HIS navigation schema
function sidenav_his() {
document.write(
'<dt><a href="his/projteam.html">Project Team</a></dt>'
+'<dt><a href="#" onclick="rusure()">Data Access System for Hydrology</a></dt>'
//+'<dt><a href="his/hdas.html">Hydrologic Data Access System</a></dt>'
//+'<dt><a href="http://river.sdsc.edu/hisweb/" target="_blank">Hydrologic Data Access System</a></dt>'
+'<dt><a href="his/webservices.html">Prototype Web Services</a></dt>'
+'<dt><a href="his/odm.html">Observations Data Model (ODM)</a></dt>'
+'<dt><a href="his/toolkit.html">HIS Tools</a></dt>'
+'<dt><a href="his/documentation.html">Documentation & Reports</a></dt>'
+'<dt><a href="http://www.hydrologicscience.org/his/feedback-form.cfm">Feedback</a></dt>'
+'<dt><a href="#" style="background: beige;">&nbsp;</a></dt>'
+'<dt><a href="his/austin-20061115.html">Austin Workshop</a></dt>'
);
} // end function

function commnav() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0"><tr><td>'
+'<div class="sidebox"><div class="boxhead"><h2>Standing Committees</h2></div><div class="boxbody"><dl id="boxbody">'
//+'<dt><a href="commachsc.html">Hydrology Synthesis Center</a></dt>'
//+'<dt><a href="commachs.html">Hydrologic Science</a></dt>'
//+'<dt><a href="commacho.html">Hydrologic Observatory</a></dt>'
+'<dt><a href="commachis.html">Hydrologic Information System</a></dt>'
+'<dt><a href="commachmt.html">Hydrologic Measurement Facility</a></dt>'
+'<dt><a href="commaceo.html">Education &amp; Outreach</a></dt>'
+'<dt><a href="commacaud.html">Audit Committee</a></dt>'
+'<dt><a href="commacsac.html">Advisory Council</a></dt>'
//+'<dt><a href="commacra.html">Research Applications</a></dt>'
+'</dl>'
+'</div></div></td></tr></table>'
);
} // end function

function commnav2() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0"><tr><td>'
+'<div id="sidebox2" class="sidebox-idx"><div class="boxhead"><h2>Standing Committees</h2></div><div class="boxbody"><dl id="boxbody">'
+'<dt><a href="stdcomm-eo.html">Education &amp; Outreach</a></dt>'
+'<dt><a href="stdcomm-info.html">Informatics</a></dt>'
+'<dt><a href="stdcomm-inst.html">Instrumentation</a></dt>'
+'<dt><a href="stdcomm-obs.html">Observations</a></dt>'
+'<dt><a href="stdcomm-ra.html">Research Applications</a></dt>'
+'<dt><a href="stdcomm-syn.html">Synthesis</a></dt>'
+'<hr>'
+'<dt><a href="stdcomm-aud.html">Audit Committee</a></dt>'
+'<dt><a href="stdcomm-sac.html">Senior Advisory Council</a></dt>'
//+'<dt><a href="commacra.html">Research Applications</a></dt>'
+'</dl>'
+'</div></div></td></tr></table>'
);
} // end function

function cce_links() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0">'
+'<tr><td><div class="sideboxpgm"><div class="boxhead"><h2>CCE2010 Links</h2></div><div class="boxbody-his"><div id="navcontainer">'
+'<dl id="navlist">'
+'<dt><a href="cce2010.html" class="info2" title="link to CCE2010 Background"><strong>Background</a></dt>'
+'<dt><a href="cce2010-objective.html" class="info2" title="link to CCE2010 Objectives"><strong>Objectives</a></dt>'
+'<dt><a href="cce2010-question.html" class="info2" title="link to CCE2010 Initial Question"><strong>Initial Question</a></dt>'
+'<dt><a href="cce2010-outcomes.html" class="info2" title="link to CCE2010 Structure & Outcomes"><strong>Structure & Outcomes</a></dt>'
+'<dt><a href="cce2010-webinars.html" class="info2" title="link to CCE2010 Webinar Schedule & Presentation Documents" style="color: red;"><strong>Webinar Schedule & Presentation Documents</a></dt>'
+'<dt>&nbsp;</dt>'
+'</dl></div></div></div></td></tr></table>');
} // end function

function sem_links() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0">'
+'<tr><td><div id="sidebox1" class="sidebox-idx"><div class="boxhead-idx"><h2>Cyberseminar<br>Links</h2></div><div class="boxbody">'
+'<dl id="boxbody">'
+'<dt><a href="sem-current.html">Current Seminars</a></dt>'
+'<dt><a href="sem-archive.html">Archive Seminars</a><hr><strong>Adobe Connect Tutorials</strong></dt>'
+'<dt><a href="http://connectpro71725279.acrobat.com/p69932870/" target="_blank">Call-Me-Back</a></dt>'
+'<dt><a href="http://connectpro71725279.acrobat.com/audio/" target="_blank">Audio Setup Wizard</a></dt>'
+'</dl></div></div></td></tr></table>');
} // end function

function paper_links() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0">'
+'<tr><td><div id="sidebox1" class="sidebox-idx"><div class="boxhead-idx"><h2>Papers Links</h2></div><div class="boxbody">'
+'<dl id="boxbody">'
+'<dt><a href="news.html">Papers, Newsletters & Technical Reports</a></dt>'
+'<dt><a href="sem-vp.html">Vision Papers</a></dt>'
+'<dt><a href="synthesis-papers.html">Published Synthesis Papers</a></dt>'
+'</dl></div></div></td></tr></table>');
} // end function

function about_links() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0">'
+'<tr><td><div id="sidebox1" class="sidebox-idx"><div class="boxhead-idx"><h2>Organizational<br>Links</h2></div><div class="boxbody">'
+'<dl id="boxbody">'
+'<dt><a href="history.html">History</a></dt>'
+'<dt><a href="mission.html">Mission</a></dt>'
+'<dt><a href="by-laws.html">By-Laws</a></dt>'
+'<dt><a href="minutes.html">Minutes</a></dt>'
+'<dt><a href="organization.html">Organization</a></dt>'
+'<dt><a href="corporate.html">Board of Directors</a><br><div style="text-indent: 2.0em;"><a href="bod-bios-2010.html">Biographies</a></div></dt>'
+'<dt><a href="excom.html">Executive Committee</a></dt>'
+'<dt><a href="standingcomms.html">Standing Committees</a></dt>'
+'<dt><a href="special.html">Special Committees</a></dt>'
//+'<dt><a href="workshops.html">Workshops</a></dt>'
+'<dt><a href="getting_involved.html">Getting Involved</a></dt>'
+'</dl></div></div></td></tr></table>');
} // end function

function history_links() {
document.write(
'<table width="210" align="right" border="0" cellpadding="0" cellspacing="0">'
+'<tr><td><div id="sidebox1" class="sidebox-idx"><div class="boxhead-idx"><h2>Historical and Committee<br>Links</h2></div><div class="boxbody">'
+'<dl id="boxbody">'
+'<dt><a href="history.html">History</a></dt>'
+'<dt><a href="organization.html">Organization</a></dt>'
+'<dt><a href="corporate.html">Board of Directors</a></dt>'
+'<dt><a href="excom.html">Executive Committee</a></dt>'
+'<dt><a href="standingcomms.html">Standing Committees</a></dt>'
+'<dt><a href="special.html">Special Committees</a></dt>'
+'<dt><a href="workshops.html">Workshops</a></dt>'
+'<dt><a href="getting_involved.html">Getting Involved</a></dt>'
+'</dl></div></div></td></tr></table>');
} // end function

function disclaimer()
{
document.write('<p class="sm-text" style="margin-top: 0px;">This material is based upon work supported by the <strong>National Science Foundation</strong> (<a href="http://www.nsf.gov" target="_blanl">NSF</a>) under Grant Nos. 03-26064 and 07-53521.<br><br>Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.');
} // end function

function footer()
{
document.write('<a href="index.html" class="links" title="Consortium of Universities for Advancement of Hydrologic Science, Incorporated">Home</a> | <a href="history.html" class="links" title="About CUAHSI">About</a> | <a href="member_list.html" class="links" title="CUAHSI Member List">Members</a> | <a href="mission.html" class="links" title="CUAHSI Governance">Corporate Operations</a> | <a href="join.html" class="links" title="Join Cuahsi">Join CUAHSI</a> | <a href="join_email_list.html" class="links" title="Join Cuahsi">Subscribe</a> | <a href="contact.html" class="links" title="Contact CUAHSI">Contact Us</a><hr style="padding-top: 0px; padding-bottom: 0px; width: 60%; color: #ccc;">');
} // end function

function footer_awra()
{
document.write('<a href="http://www.cuahsi.org/index.html" class="links" title="Consortium of Universities for Advancement of Hydrologic Science, Incorporated">Home</a> | <a href="http://www.cuahsi.org/history.html" class="links" title="About CUAHSI">About</a> | <a href="http://www.cuahsi.org/member_list.html" class="links" title="CUAHSI Member List">Members</a> | <a href="http://www.cuahsi.org/mission.html" class="links" title="CUAHSI Governance">Corporate Operations</a> | <a href="http://www.cuahsi.org/join.html" class="links" title="Join Cuahsi">Join CUAHSI</a> | <a href="http://www.cuahsi.org/contact.html" class="links" title="Contact CUAHSI">Contact Us</a><hr style="padding-top: 0px; padding-bottom: 0px; width: 60%; color: #ccc;">');
} // end function

function footer_wmp()
{
document.write('<a href="../index.html" class="links" title="Consortium of Universities for Advancement of Hydrologic Science, Incorporated">Home</a> | <a href="../history.html" class="links" title="About CUAHSI">About</a> | <a href="../member_list.html" class="links" title="CUAHSI Member List">Members</a> | <a href="../mission.html" class="links" title="CUAHSI Governance">Corporate Operations</a> | <a href="../join.html" class="links" title="Join Cuahsi">Join CUAHSI</a> | <a href="../contact.html" class="links" title="Contact CUAHSI">Contact Us</a><hr style="padding-top: 0px; padding-bottom: 0px; width: 60%; color: #ccc;">');
} // end function

function footer_saved()
{
document.write('<a href="index.html" class="links" title="Consortium of Universities for Advancement of Hydrologic Science, Incorporated">Home</a> | <a href="history.html" class="links" title="About CUAHSI">About</a> | <a href="member_list.html" class="links" title="CUAHSI Member List">Members</a> | <a href="by-laws.html" class="links" title="CUAHSI Governance">Governance</a> | <a href="join.html" class="links" title="Join Cuahsi">Join CUAHSI</a> | <a href="contact.html" class="links" title="Contact CUAHSI">Contact Us</a><hr style="padding-top: 0px; padding-bottom: 0px; width: 60%; color: #ccc;"><script type="text/javascript" language="Javascript">page_upd();</script>');
} // end function

function footer_err()
{
document.write('<a href="http://www.cuahsi.org/index.html" class="links" title="Consortium of Universities for Advancement of Hydrologic Science, Incorporated">CUAHSI Home</a> | <a href="http://www.cuahsi.org/join.html" class="links" title="Join Cuahsi">Join CUAHSI</a> | <a href="http://www.cuahsi.org/contact.html" class="links" title="Contact CUAHSI">Contact CUAHSI</a> | <a href="mailto:webmaster@cuahsi.org?subject=Web Comment" class="links" title="Contact Web Manager">Contact Web Manager</a>');
} // end function


// General Date function variables

var today_date= new Date()
var day=today_date.getDay()
var month=today_date.getMonth()
var today=today_date.getDate()
//var year=today_date.getYear()
var year=today_date.getFullYear()
var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var alert_date = 'days[day]+", "+months[month]+" "+today+", "+year'

// Functions to display date modified and URL
function makeArray0() 
{
	for (i = 0; i<makeArray0.arguments.length; i++)
	this[i] = makeArray0.arguments[i]; 
}

var days = new makeArray0("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var months = new makeArray0('January','February','March','April','May','June','July','August','September','October','November','December');
				
function nths(day) 
{
	if (day == 1 || day == 21 || day == 31) return 'st';
	if (day == 2 || day == 22) return 'nd';
	if (day == 3 || day == 23) return 'rd';
	return 'th'; 
}
				
function getCorrectedYear(year) 
{
	year = year - 0;
	if (year < 70) return (2000 + year);
	if (year < 1900) return (1900 + year);
	return year;
}
				
function y2k(number) { return (number < 1000) ? number + 1900 : number; }

function page_upd()
{				
var dateError = new Date(document.lastModified);
var date = new Date(getCorrectedYear(dateError.getYear()),dateError.getMonth(),dateError.getDate());
				
document.write("<div class='links'>Last updated on " + days[date.getDay()] + ", " + months[date.getMonth()] + " " + date.getDate() + nths(date.getDate()) + ", " + y2k(date.getYear()) + "</div>");
document.write("<div class='links'>URL: " + document.location.href + "</div>"); 
}

function last_upd()
{
document.write('<div align="center" style="margin: 0px; padding: 0px;" class="links"><script language="JavaScript">document.write("This page last updated: " + Date(document.lastModified))</script></div>');
}

function dayoftheweek()
{
//------------------------------------------------------+
// Purpose: display day of the week and date.           | 
//------------------------------------------------------+
//    Date    By  Description
// ----------	--- ------------------------------------+
// 09/11/1999 cm  Initial revision.                     |
//------------------------------------------------------+
  var date = new Date();
  var dow  = date.getDay();
  var mon  = date.getMonth() + 1;
  var day  = date.getDate();
  var year = date.getYear();
  switch(dow){
  case 0:
	dow = "Sunday";
	break;
  case 1:
	dow = "Monday";
	break;
  case 2:
	dow = "Tuesday";
	break;
  case 3:
	dow = "Wednesday";
	break;
  case 4:
	dow = "Thursday";
	break;
  case 5:
	dow = "Friday";
	break;
  case 6:
	dow = "Saturday";
	break;
	}
  var todayDate = dow + ', ' + mon + '/' + day + '/' + year;
//  document.write( todayDate );
return todayDate;
}

function reader()
{
document.write('<table width="95%"><tr bgcolor="#fff5ee"><td class="reader" style="border: thin solid #000066; padding: 10px;">You will need Adobe Acrobat Reader, available as a free download, to view some of the files on this Web site. Visit <a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">Adobe\'s PDF Reader page</a> to learn more about PDF and to download the free Acrobat Reader.</td></tr></table>');
}

//------------------------------------------------
// Purpose: display and hide Executive minutes.
// -----------------------------------------------
//    Date    By  Description
// ----------	--- ------------------------------
// 11/09/2005 cm  Initial revision.
//------------------------------------------------
function blocking(nr)
{
	if (document.layers)
	{
		current = (document.layers[nr].display == 'none') ? 'block' : 'none';
		document.layers[nr].display = current;
	}
	else if (document.all)
	{
		current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
		document.all[nr].style.display = current;
	}
	else if (document.getElementById)
	{
		vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
		document.getElementById(nr).style.display = vista;
	}
}

function hideall()
{
	if (document.layers)
	{
		document.layers['yr2010'].display = 'none';
		document.layers['yr2009'].display = 'none';
		document.layers['yr2008'].display = 'none';
		document.layers['yr2007'].display = 'none';
		document.layers['yr2006'].display = 'none';
		document.layers['yr2005'].display = 'none';
		document.layers['yr2004'].display = 'none';
		document.layers['yr2003'].display = 'none';
		document.layers['yr2002'].display = 'none';
		document.layers['yr2001'].display = 'none';
	}
	else if (document.all)
	{
		document.all['yr2010'].style.display = 'none';
		document.all['yr2009'].style.display = 'none';
		document.all['yr2008'].style.display = 'none';
		document.all['yr2007'].style.display = 'none';
		document.all['yr2006'].style.display = 'none';
		document.all['yr2005'].style.display = 'none';
		document.all['yr2004'].style.display = 'none';
		document.all['yr2003'].style.display = 'none';
		document.all['yr2002'].style.display = 'none';
		document.all['yr2001'].style.display = 'none';
	}
	else if (document.getElementById)
	{
		document.getElementById('yr2010').style.display = 'none';
		document.getElementById('yr2009').style.display = 'none';
		document.getElementById('yr2008').style.display = 'none';
		document.getElementById('yr2007').style.display = 'none';
		document.getElementById('yr2006').style.display = 'none';
		document.getElementById('yr2005').style.display = 'none';
		document.getElementById('yr2004').style.display = 'none';
		document.getElementById('yr2003').style.display = 'none';
		document.getElementById('yr2002').style.display = 'none';
		document.getElementById('yr2001').style.display = 'none';
	}
}

function hidenews()
{
	if (document.layers)
	{
		document.layers['yr2010'].display = 'none';
		document.layers['yr2009'].display = 'none';
		document.layers['yr2008'].display = 'none';
		document.layers['yr2007'].display = 'none';
		document.layers['yr2006'].display = 'none';
		document.layers['yr2005'].display = 'none';
		document.layers['yr2004'].display = 'none';
		document.layers['yr2003'].display = 'none';
	}
	else if (document.all)
	{
		document.all['yr2010'].style.display = 'none';
		document.all['yr2009'].style.display = 'none';
		document.all['yr2008'].style.display = 'none';
		document.all['yr2007'].style.display = 'none';
		document.all['yr2006'].style.display = 'none';
		document.all['yr2005'].style.display = 'none';
		document.all['yr2004'].style.display = 'none';
		document.all['yr2003'].style.display = 'none';
	}
	else if (document.getElementById)
	{
		document.getElementById('yr2010').style.display = 'none';
		document.getElementById('yr2009').style.display = 'none';
		document.getElementById('yr2008').style.display = 'none';
		document.getElementById('yr2007').style.display = 'none';
		document.getElementById('yr2006').style.display = 'none';
		document.getElementById('yr2005').style.display = 'none';
		document.getElementById('yr2004').style.display = 'none';
		document.getElementById('yr2003').style.display = 'none';
	}
}

function menu_alert(thispage){
	alert(dayoftheweek() + "\n\n_________________ CUAHSI _________________\n\nOur " + thispage + " page is currently under development.\n\n Thanks for your patience.\n\n_________________ CUAHSI _________________");
} // end function

// HDAS call for HIS Web home page
function rusure(){
	question = confirm("Please Note:\n\nThe DASH is still being finalized and is subject to temporary outages.\n\nTo ensure access, please turn off browser popup blocker.")
	if (question !="0"){
//		window.top.location = "http://river.sdsc.edu/hisweb/"
		open("http://river.sdsc.edu/DASH/","dash")
	}
}

// Function to open an intermediate html file to generate Google analytics for cyberseminar views
function opensems(sem)
{
var popurl = sem + '.html';
winpops=window.open(popurl,"","width=650,height=600,scrollbars,resizable,");
} // end function

// Function to prompt for cyberseminar survey
function rusure(URL,SemName,SemType,SemTitle){
	var Survey = 'http://www.hydrologicscience.org/sems/sems_form.cfm?sem='+URL;
	question = confirm("Dear Colleagues:\n\nWould you please take a minute, literally, to fill out a very brief questionnaire?\n\nWe are seeking to improve our cyberseminar presentations, such as the one you've selected to download:\n\n"+SemName+"'s "+SemType+" presentation entitled\n"+SemTitle+".\n\nClick on \"OK\" to take the survey or \"Cancel\" to just continue downloading the selected seminar.\n\nThank You!")
	if (question !="0"){
//		window.top.location = "URL"
		open(Survey,"Site")
	}
	else {
		open(URL,"Site")
	}
}

// Functions to set pop-up window size for VPTV videos
function vod640x360(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=660,height=419,left=100,top=100,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no');
return false;
}

function vod340x299(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=340,height=299,left=100,top=100,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no');
return false;
}
// Alert box
function menu_alert(thispage){
	alert(dayoftheweek() + "\n\n_________________ CUAHSI _________________\n\nOur " + thispage + " page is currently under maintenance.\n\n Thanks for your patience.\n\n_________________ CUAHSI _________________");
} // end function

