 
function get_hydro(form) {
 
 
for (var i = 0; i < form.Parameters.length; i++) {
     if (form.Parameters[i].selected){
        break
        }
}   
    var Parameter = form.Parameters[i].value;	
	var title1 = form.Parameters[i].text;

	
if 	 (Parameter == "t")
{
    var Units = " (C)" ;
}
else
{
    var Units = " (pss)";
} 


for (var i = 0; i < form.Years.length; i++) {
     if (form.Years[i].selected){
        break
        }
}   
    var Year = form.Years[i].value;
	var title2 = form.Years[i].text;


	
for (var i = 0; i < form.Seasons.length; i++) {
     if (form.Seasons[i].selected){
        break
        }
}   
    var Season = form.Seasons[i].value;
		

if (Season == "w")
{
  var title3 = "Feb-Apr"; 
}	
else
{
  var title3 = "Aug-Sep";
}	


for (var i = 0; i < form.Depths.length; i++) {
     if (form.Depths[i].selected){
        break
        }
}   

    var Depth = form.Depths[i].value;
    var title4 = form.Depths[i].text;
    var title = title1+Units+". "+title2+". "+title3+". "+title4;
	 
    var url = "../MAP/HYDRO/"+Parameter+Year+Season+"_"+Depth+".gif";
   

document.open();
document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html401/loose.dtd'>");

document.write("<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US' xml:lang='en-US'>\n");
document.write("<html>\n");
document.write("<head>\n");
document.write("<title>"+title+"</title>\n");
document.write("<link rel='shortcut icon' href='/Images/favicon.ico'>\n");
document.write("<link href='/nodc.css' rel='stylesheet' type='text/css'>\n");
document.write("<script language='JavaScript' src='info.js'></script></head>\n");
document.write("<body class='whitebg'>\n");
document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n");
document.write("<tr class='fillinblack noaainfo'>\n");
document.write("<td><div class='indent'>\n");
document.write("<img src='/Images/NESDIS_topgraphic.gif' alt='NOAA Satellite and Information Service' width='179' height='12' border='0' usemap='#Map2' title='NOAA Satellite and Information Service' /></div></td>\n");
document.write("<td align='right'><form action='http://usasearch.gov/search' method='get'>\n");
document.write("<label><input type='radio' name='affiliate' checked='checked' value='nodc.noaa.gov' />NODC</label>\n");
document.write("<label><input type='radio' name='affiliate' value='noaa.gov' />All of NOAA</label>\n");
document.write("<input type='hidden' name='v:project' value='firstgov' />\n");
document.write("<input class='search' type='text' name='query' size='18' value='Search' onFocus='this.value='''/>\n");
document.write("<input class='go' src='/Images/go.gif' alt='Go search the NOAA or NODC Website' title='Go search the NOAA or NODC Website' type='image' />\n");
document.write("</form></td></tr>\n");
document.write("<tr class='fillin'>\n");
document.write("<td colspan='2'><img src='/Images/nodc_skinny.jpg' alt='National Oceanographic Data Center' width='800' height='53' border='0' usemap='#Map' title='National Oceanographic Data Center'></td></tr></table>\n");
document.write("<map name='Map'>\n");
document.write("<area shape='rect' alt='NODC website' coords='1,2,243,51' href='http://www.nodc.noaa.gov/'></map>\n");
document.write("<map name='Map2'>\n");
document.write("<area shape='rect' alt='NESDIS website' coords='1,-4,176,11' href='http://www.nesdis.noaa.gov/'></map>\n");
document.write("<table class='tablebordernodc' cellpadding='3' cellspacing='0' width='100%'>\n");
document.write("<tbody><tr class='para'><td class='cookie' bgcolor='#ffffff' nowrap='nowrap'>You are here: <a href='/' target='_top'>NODC Home</a> &gt; \n");
document.write("<a href='/OC5/' target='_top'>OCL Home</a> &gt; <a href='/OC5/indprod.html' target='_top'>OCL Products</a> &gt; \n");
document.write("<a href='../../start.html'>BAAS2000</a> &gt; <a href='bioatlas.html'>Main Menu</a> &gt; <a href='environ.html'>Marine Environment</a> &gt;\n");
document.write("<a href='hydro.html'>Hydrology of the Barents and Kara Seas</a> &gt; "+title1+"</td></tr></tbody></table>\n");
document.write("<div align='center'><br />\n");
document.write("<table border='0' cellspacing='0' cellpadding='10' width='50%'>\n");
document.write("<caption><span class='lilachd1'>"+title+"</span></caption>");

document.write("<tr><td><img src="+url+" alt="+title+" title="+title+" /></td></tr></table></div>");

document.write("<br />\n");
document.write("<table width='100%' border='0' align='center' class='footersmall' id='footer2' cellpadding='0' cellspacing='0'>");
document.write("<tbody><tr><td colspan='4' class='bluebar' id='footer'><div align='center'>\n");
document.write("<a href='/General/getdata.html'>Access Data -</a><a href='/General/NODC-Submit/'>Submit Data -</a><a href='/General/nodc_sitemap.html'>Site Map -</a>\n");
document.write("<a href='/General/datacom_form.html'>Intended Use of the Data? -</a><a href='http://ols.nndc.noaa.gov/plolstore/plsql/olstore.main?look=1'>Online Store -</a>\n");
document.write("<a href='/General/NODC-About/contact.html'>Customer Service</a></div></td></tr>\n");
document.write("<tr><td align='left' valign='bottom' nowrap='nowrap'>&nbsp;</td>\n");
document.write("<td align='left' valign='bottom' nowrap='nowrap'>Last modified:&nbsp; &nbsp; Mon, 17-Sep-2007 20:18 UTC</td>\n");
document.write("<td align='left'><a href='mailto:NODC.Webmaster@noaa.gov' class='footersmall'>NODC.Webmaster@noaa.gov</a></td></tr>\n");
document.write("<tr><td width='19'>&nbsp;</td>\n");
document.write("<td width='735' valign='top'> <div align='left'> <acronym title='Department of Commerce'><a href='http://www.doc.gov/'>Dept. of Commerce</a></acronym> -\n");
document.write("<acronym title='National Oceanic and Atmospheric Administration'><a href='http://www.noaa.gov/'>NOAA</a></acronym> -\n");
document.write("<acronym title='National Environmental, Satellite, Data and Information Service'><a href='http://www.nesdis.noaa.gov/'>NESDIS</a></acronym> -\n");
document.write("<acronym title='National Oceanographic Data Center'><a href='/'>NODC</a></acronym><br />\n");
document.write("<div class='top'> <span class='nongov'>*</span><span class='nongovfooter'> External link: You will be leaving the Federal<br />\n");
document.write("&nbsp;&nbsp;&nbsp;Government by following an external link.</span></div></div></td>\n");
document.write("<td width='403' valign='top' align='left'>\n");
document.write("<div class='top'><a href='http://www.noaa.gov/privacy.html' target='NOAA_privacy' class='footersmall' >Privacy Policy</a> - <a href='/nodcdisclaimer.html' class='footersmall'>Disclaimer</a>\n");
document.write("- <a href='http://www.cio.noaa.gov/Policy_Programs/info_quality.html'\n");
document.write("target='Information Quality' class='footersmall' >Information Quality</a></div>\n");
document.write("<div class='top'><a href='http://www.corporateservices.noaa.gov/%7Efoia/' target='FOIA' class='footersmall'>Freedom of Information Act</a> (FOIA)</div>\n");
document.write("<div class='top'><acronym title='U.S. Government's Official Web Portal'><a href='http://www.usa.gov/'>USA.gov</a></acronym> - The U.S. Government's Web Portal</div></td></tr></tbody>\n");
document.write("</table>\n");

document.write("</body></html>\n");
document.close();
} 

  
	 
