CINXE.COM
NGA GNS Search
<html> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://geonames.nga.mil:80/ggmagaz/geonames4.asp","20100531091819","https://web.archive.org/","web","/_static/", "1275297499"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <title>NGA GNS Search</title> <meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="/web/20100531091819cs_/http://geonames.nga.mil/ggmagaz/geonames2.css" rel="stylesheet" type="text/css"> <link href="/web/20100531091819cs_/http://geonames.nga.mil/ggmagaz/css/niftyCorners.css" rel="stylesheet" type="text/css"> <script type="text/javascript" language="javascript" src="/web/20100531091819js_/http://geonames.nga.mil/ggmagaz/javascript/niftycube.js"></script> <script type="text/javascript" language="javascript" src="/web/20100531091819js_/http://geonames.nga.mil/ggmagaz/javascript/generic_drag.js"></script> <script language="javascript"> var isOp=window.opera?1:0; var agt=navigator.userAgent.toLowerCase(); var isSafari = (agt.indexOf("safari")!=-1); var isFirefox = typeof document.getBoxObjectFor == "function"; // Rounds the corners of the double div tags ... window.onload=function(){ Nifty("div#download"); Nifty("div#showsearchcriteria"); Nifty("div#glossary"); Nifty("div#Lookups"); Nifty("span#downloads"); Nifty("span#Div1"); Nifty("span#dHelp"); } // Sets the Search or Output tab active .... function setTab(oLI){ for (i=0; i<document.getElementById("ulmain").childNodes.length; ++i) { //Loop through each list item and set the id not to current ... document.getElementById("ulmain").childNodes[i].id = i; } oLI.id = "current"; } var m_bSearching = true; var m_sPrevSelected = ""; var m_bInitializedMBR = false; var m_sLATN_dir = ""; var m_sLATN_d = ""; var m_sLATN_m = ""; var m_sLATN_s = ""; var m_sLONE_dir = ""; var m_sLONE_d = ""; var m_sLONE_m = ""; var m_sLONE_s = ""; var m_sLATS_dir = ""; var m_sLATS_d = ""; var m_sLATS_m = ""; var m_sLATS_s = ""; var m_sLONW_dir = ""; var m_sLONW_d = ""; var m_sLONW_m = ""; var m_sLONW_s = ""; var m_sCoordStyle = ""; var m_bSearchOptions = false; var m_bSearchFuzzy = false; var m_bSearchAdvanced = false; var m_bSearchFeaDesig = false; var m_bSearchFeaDesigArray = new Array(); for(i = 0; i < 9; i++) { m_bSearchFeaDesigArray[i] = false; } var m_bSearchMBR = false; var m_lSelectedColor = "rgb(255,55,55)" var m_lResetColor = "#000099" var openWins = new Array(); var curWin = 0; function closeAllWindows() { for(i = 0; i < openWins.length; i++) { if (openWins[i] && !openWins[i].closed) { openWins[i].close(); } } } function ConvertToDecimalDegs(sDeg, sMin, sSec, sDir) { lDecimalDegrees = (Math.abs(sDeg)) + ((sMin / 60) + (sSec / 3600)); if ((sDir == "S") || (sDir == "W")) { lDecimalDegrees = lDecimalDegrees * -1; } return lDecimalDegrees } function backToViewer() { var nMaxLat; var nMinLat; var nMaxLong; var nMinLong; try { lInit = 0; if (document.getElementById("idradDD").checked == true) { sMaxLat = document.getElementById("idtxtLATN_DD").value; sMinLat = document.getElementById("idtxtLATS_DD").value; sMaxLong = document.getElementById("idtxtLONE_DD").value; sMinLong = document.getElementById("idtxtLONW_DD").value; nMaxLat = parseFloat(sMaxLat); nMinLat = parseFloat(sMinLat); nMaxLong = parseFloat(sMaxLong); nMinLong = parseFloat(sMinLong); lInit = 1; ConvertToDMS() } if (document.getElementById("idradLATN_dirN").checked) { sUpperLatDir = "N" } else { sUpperLatDir = "S" } if (document.getElementById("idradLATS_dirN").checked) { sLowerLatDir = "N" } else { sLowerLatDir = "S" } if (document.getElementById("idradLONW_dirE").checked) { sLeftLongDir = "E" } else { sLeftLongDir = "W" } if (document.getElementById("idradLONE_dirE").checked) { sRightLongDir = "E" } else { sRightLongDir = "W" } NELatDeg = document.getElementById("idtxtLATN_d").value NELatMin = document.getElementById("idtxtLATN_m").value NELatSec = document.getElementById("idtxtLATN_s").value SWLatDeg = document.getElementById("idtxtLATS_d").value SWLatMin = document.getElementById("idtxtLATS_m").value SWLatSec = document.getElementById("idtxtLATS_s").value SWLonDeg = document.getElementById("idtxtLONW_d").value SWLonMin = document.getElementById("idtxtLONW_m").value SWLonSec = document.getElementById("idtxtLONW_s").value NELonDeg = document.getElementById("idtxtLONE_d").value NELonMin = document.getElementById("idtxtLONE_m").value NELonSec = document.getElementById("idtxtLONE_s").value if ((NELatDeg == "0") && (NELonDeg == "0") && (SWLatDeg == "0") && (SWLonDeg == "0") && (NELatMin == "0") && (NELatSec == "0") && (NELonMin == "0") && (NELonSec == "0") && (SWLatMin == "0") && (SWLatSec == "0") && (SWLonMin == "0") && (SWLonSec == "0")) { lFlag = 0 // don't call anything } else { lFlag = 1 // call refreshMap if (lInit == 0) { // Convert To DD sMaxLat = ConvertToDecimalDegs(NELatDeg, NELatMin, NELatSec, sUpperLatDir); sMinLat = ConvertToDecimalDegs(SWLatDeg, SWLatMin, SWLatSec, sLowerLatDir); sMaxLong = ConvertToDecimalDegs(NELonDeg, NELonMin, NELonSec, sRightLongDir); sMinLong = ConvertToDecimalDegs(SWLonDeg, SWLonMin, SWLonSec, sLeftLongDir ); nMaxLat = parseFloat(sMaxLat); nMinLat = parseFloat(sMinLat); nMaxLong = parseFloat(sMaxLong); nMinLong = parseFloat(sMinLong); } //validate MBR if ((nMaxLat != 0) && (nMaxLong != 0) && (nMinLat != 0) && (nMinLong != 0)) { if ((nMaxLat <= nMinLat) || (nMaxLong <= nMinLong)) { alert ("Maximum value must be greater than minimum value"); return; } } } max_Lat = sUpperLatDir + " " + document.getElementById("idtxtLATN_d").value + ":" + document.getElementById("idtxtLATN_m").value + ":" + document.getElementById("idtxtLATN_s").value min_Lat = sLowerLatDir + " " + document.getElementById("idtxtLATS_d").value + ":" + document.getElementById("idtxtLATS_m").value + ":" + document.getElementById("idtxtLATS_s").value min_Long = sLeftLongDir + " " + document.getElementById("idtxtLONW_d").value + ":" + document.getElementById("idtxtLONW_m").value + ":" + document.getElementById("idtxtLONW_s").value max_Long = sRightLongDir + " " + document.getElementById("idtxtLONE_d").value + ":" + document.getElementById("idtxtLONE_m").value + ":" + document.getElementById("idtxtLONE_s").value //move the frames and populate the values. if (! opener){ //alert("IE") parent.document.getElementById("top").src = "Blank_IFrame.htm" parent.document.getElementById("mainFS").rows = "0,*" if (lFlag == 1) { top.frames["bottom"].document.frmRefreshMin.txtMin.value = min_Lat + "," + min_Long top.frames["bottom"].document.frmRefreshMax.txtMax.value = max_Lat + "," + max_Long if (document.getElementById("idradDD").checked == true) { top.frames["bottom"].document.getElementById("chkDisplayDecimalDegrees").checked=true; top.frames["bottom"].refreshMap(); } else { top.frames["bottom"].document.getElementById("chkDisplayDecimalDegrees").checked=false; top.frames["bottom"].refreshMap(); } } }else { opener.parent.document.getElementById("top").src = "Blank_IFrame.htm" opener.parent.document.getElementById("mainFS").rows = "0,*" if (lFlag == 1) { alert(min_Lat) opener.top.frames["bottom"].document.frmRefreshMin.txtMin.value = min_Lat + "," + min_Long opener.top.frames["bottom"].document.frmRefreshMax.txtMax.value = max_Lat + "," + max_Long if (opener.document.getElementById("idradDD").checked == true) { opener.top.frames["bottom"].document.getElementById("chkDisplayDecimalDegrees").checked=true; opener.top.frames["bottom"].refreshMap(); } else { opener.top.frames["bottom"].document.getElementById("chkDisplayDecimalDegrees").checked=false; opener.top.frames["bottom"].refreshMap(); } } } } catch (e) { //alert("error" + e) } } function toggleOptions() { var timer; if (document.getElementById("Options").style.display=='none') { // Toggle them all off first...LGA. document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("MRB").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("Options").style.display='block' document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" if (m_bSearching == true) { document.getElementById("idSCriteria").style.display = 'block' document.getElementById("idOPCriteria").style.display = 'none' } else { document.getElementById("idOPCriteria").style.display = 'block' document.getElementById("idSCriteria").style.display = 'none' } timer=setTimeout('waitASec()', 500); } // else // { // document.getElementById("Options").style.display='none' // } } function toggleFuzzy() { if (document.getElementById("divFuzzySearch").style.display=='none') { // Toggle them all off first...LGA. document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("Options").style.display='none' document.getElementById("MRB").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("divFuzzySearch").style.display='block' document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" } // else // { // document.getElementById("divFuzzySearch").style.display='none' // } } function toggleAdvancedSearch() { if (document.getElementById("divAdvancedSearch").style.display=='none') { // Toggle them all off first...LGA. document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("Options").style.display='none' document.getElementById("MRB").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("divAdvancedSearch").style.display='block' document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" } // else // { // document.getElementById("divAdvancedSearch").style.display='none' // } } function toggleDesignations() { if (document.getElementById("FeaDesignations").style.display=='none') { document.getElementById("FeaDesignations").style.display='block' document.getElementById("feDes").src = "images/minus.gif" document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("MRB").style.display='none' document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" } else { document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("LTOI").style.display='none' } } function toggleCoords() { var timer; if (document.getElementById("MRB").style.display=='none') { // Toggle them all off first...LGA. document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("MRB").style.display='block' document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" timer=setTimeout('waitASec()', 500); } // else // { // document.getElementById("MRB").style.display='none' // } } function toggleView(e) { //var objTarget = e if (e.style.display=='none') { // Toggle them all off first...LGA. document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("LTOI").style.display='none' e.style.display='block' //test to see if we can automatically show the output instructions when the output options is selected ... if (m_bSearching == false && document.getElementById("CodeLookup").style.display == 'block') document.getElementById("LTOI").style.display='block' } // else // { // e.style.display='none' // // //test to see if we can sesically show the output instructions when the output options is selected ... // if (m_bSearching == false) // document.getElementById("LTOI").style.display='none' // // // ToggleButtons(); // } } function toggleGlossary() { if (document.getElementById("GEN").style.display=='none') { GeoNamesSearchVisible(false); document.getElementById("idSCriteria").style.display = 'none' document.getElementById("idOPCriteria").style.display = 'none' document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("MRB").style.display='none' document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("GEN").style.display='block' if (m_bSearching == true) { ToggleButtons(document.getElementById('divSubGenericSearch')); document.getElementById("LTOI").style.display='none' } else { ToggleButtons(document.getElementById('divOTSubGenericSearch')); document.getElementById("LTOI").style.display='block' } } } function GeoNamesSearchVisible(vGeoSearchOn) { //var objSTYLE; //var objSTYLE2; //objSTYLE = document.getElementById("anchSearch").style; //objSTYLE2 = document.getElementById("anchOutput").style; if (vGeoSearchOn == true) { document.getElementById("divGeoNamesSearch").style.display='block' if (m_bSearching == true) { //objSTYLE.textDecoration = 'none'; //objSTYLE.color = '#000000'; //objSTYLE.fontWeight = 'bold'; document.getElementById("divSubSearchDB").style.display='block' } else { //objSTYLE2.textDecoration = 'none'; //objSTYLE2.color = '#000000'; //objSTYLE2.fontWeight = 'bold'; document.getElementById("divSubOutputResults").style.display='block' } } else { // objSTYLE.textDecoration = 'underline'; // objSTYLE.color = '#3333ff'; // objSTYLE.fontWeight = 'normal'; // // objSTYLE2.textDecoration = 'underline'; // objSTYLE2.color = '#3333ff'; // objSTYLE2.fontWeight = 'normal'; document.getElementById("divGeoNamesSearch").style.display='none' document.getElementById("divSubSearchDB").style.display='none' document.getElementById("divSubOutputResults").style.display='none' document.getElementById("divSubGenericSearch").style.display='none' document.getElementById("divOTSubGenericSearch").style.display='none' } } function waitASec() { // self.scroll(1,document.body.scrollHeight) } function toggleLookup() { if (document.getElementById("CodeLookup").style.display=='none') { GeoNamesSearchVisible(false); document.getElementById("CodeLookup").style.display='block' document.getElementById("imgLookup").src = "images/minus.gif"; document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("MRB").style.display='none' // Set the + - gif to + grh document.getElementById("feDes").src = "images/plus.gif" document.getElementById("FeaDesignations").style.display='none' document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' } else { document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("divSubSearchDB").style.display = 'none'; document.getElementById("divSubOutputResults").style.display = 'none'; document.getElementById("divSubADM1Search").style.display = 'none'; document.getElementById("divSubCountrySearch").style.display = 'none'; document.getElementById("divSubDesigSearch").style.display = 'none'; document.getElementById("divSubLangSearch").style.display = 'none'; document.getElementById("divSubGenericSearch").style.display = 'none'; document.getElementById("divOTSubADM1Search").style.display = 'none'; document.getElementById("divOTSubCountrySearch").style.display = 'none'; document.getElementById("divOTSubDesigSearch").style.display = 'none'; document.getElementById("divOTSubLangSearch").style.display = 'none'; document.getElementById("divOTSubGenericSearch").style.display = 'none'; GeoNamesSearchVisible(true); } } function ToggleOutputCriteria() { if ((document.getElementById("OutputCriteria").style.display=='none') || (document.getElementById("divGISOutputCriteria").style.display == 'none')) { document.getElementById("OutputCriteria").style.display='block' document.getElementById("GNSOutput").src = "images/minus.gif" // Set the + - gif to + grh document.getElementById("FeaDesignations").style.display='none' document.getElementById("feDes").src = "images/plus.gif" document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("MRB").style.display='none' //grh // LGA 04/18/06 Uncommented this line... document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' } else { document.getElementById("OutputCriteria").style.display='none' document.getElementById("GNSOutput").src = "images/plus.gif" // Set the + - gif to + grh document.getElementById("feDes").src = "images/plus.gif" document.getElementById("FeaDesignations").style.display='none' document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' } } function ToggleCriteria(a) { if (a.style.display=='none') { // Toggle them all off first...LGA. document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='none' document.getElementById("OF").style.display='none' //test grh //document.getElementById("MRB").style.display='none' a.style.display='block' } // else // { // a.style.display='none' // } } function CheckFormat() { var ct; for (var i=0; i < document.frmSearch.CharType.length; i++) { if (document.frmSearch.CharType[i].checked) { ct=i; } } for (var i=0; i < document.frmSearch.OutputType.length; i++) { if (document.frmSearch.OutputType[i].checked) { var ot=i; } // Since we do not have UTF-8 option on the form any more, // comment out the next section and leave it for history purposes... // if ((ct==0)&&(ot==2)) // { // alert("Excel doesn't support UTF-8 importing, Please Select different Output format"); // for (var a = 0; a < document.frmSearch.OutputType.length; a++) // { // document.frmSearch.OutputType[a].checked = false; // } // document.frmSearch.OutputType[0].checked = true; // } } } //---ParseADM1Names---------------------------------------------------------- // // Method: ParseADM1Names // // Remarks // // This method parses out the selected items within the "ADM1 Names" // select list into the following format: // // |AL|00,40,41,42,43,44,|AN|00,01,02,03,04,| // // and stores them a the hidden input gadget (HiddenADM1names). // // Class: N/A // // Scope: Private // // Inputs/Outputs // N/A... // // Return Status: // N/A... // // History // 04/19/06 Glenn Alexander // Initial Creation // //------------------------------------------------------------------------------ function ParseADM1Names() { var lPos1; var lPos2; var bFirst; var objHiddenADM1; var objADM1; var objStr; var sString; bFirst = true; // Create a string object to perform parsing... objStr = new String(); // Assign an object to the hidden gadget... objHiddenADM1 = document.getElementById("idHiddenADM1names"); objHiddenADM1.value = ""; // Add the first pipe... objHiddenADM1.value = objHiddenADM1.value + '|'; // Assign an object to the ADM1 Names list... objADM1 = document.getElementById("idlstADM1Names"); for (lInc = 0; lInc < objADM1.length; lInc++) { // Check for a Country Name header... if (objADM1.options[lInc].value == -1) { // Parse the country code from the header... objStr = objADM1.options[lInc].text; lPos1 = objStr.indexOf('(') + 1; lPos2 = objStr.indexOf(')', lPos1); if (bFirst != true) { objHiddenADM1.value = objHiddenADM1.value + '|'; } else { bFirst = false; } // Add the pipes and country codes to the hidden input field... objHiddenADM1.value = objHiddenADM1.value + objStr.substring(lPos1, lPos2) + '|'; } else { if (objADM1.options[lInc].selected == true) { // Add the selected ADM1 Name values to the hidden input field... objHiddenADM1.value = objHiddenADM1.value + objADM1.options[lInc].value + ','; } } } // Add the last pipe... objHiddenADM1.value = objHiddenADM1.value + '|'; } function waitSearchFrame(sWindowName) { document.frmSearch.target=sWindowName; //if the gif (backToViewer) that is used to return to the GGMAViewer is present then ... if (document.getElementById("upDown") != null) { document.getElementById("idDisplayMapLink").value = true; } else { document.getElementById("idDisplayMapLink").value = false; } document.frmSearch.submit(); } function waitOutputFrame(sWindowName) { document.getElementById("frmSearch").target=sFrameName; document.getElementById("frmSearch").submit(); } function SearchDatabase() { var bStatus; var lWidth = 850; var lHeight = 675; var timer; AreCoordsBeingUsed() // Check to see if a country is selected and that coordinates are not in use and no name is entered in the Name: field. // else warn the user that they are about to query the world ... //alert ("idlstADM1Names.length: <" + document.getElementById("idlstADM1Names").length + ">" + // "\nidtxtGeoName.value: <" + document.getElementById("idtxtGeoName").value + ">" + // "\nsCordSearchActive.innerHTML: <" + document.getElementById("sCordSearchActive").innerHTML + ">" + // "\nidUnique_Feature_ID.value: <" + document.getElementById("idUnique_Feature_ID").value + ">" + // "\nidModify_Date_Time.value: <" + document.getElementById("idModify_Date_Time").value + ">" + // "\nidMS_Range.selectedIndex: <" + document.getElementById("idMS_Range").selectedIndex + ">" + // "\nidJog_Ref_ID.value: <" + document.getElementById("idJog_Ref_ID").value + ">" + // "\nidMGRSCoordinate.value: <" + document.getElementById("idMGRSCoordinate").value + ">" + // "\nidUFI.value: <" + document.getElementById("idUFI").value + ">" + // "\nidLangCode2.value: <" + document.getElementById("idLangCode2").value + ">"); if ((document.getElementById("idlstADM1Names").length < 1) && (document.getElementById("idtxtGeoName").value == "") && (document.getElementById("sCordSearchActive").innerHTML.length < 7) && (document.getElementById("idUnique_Feature_ID").value == "") && (document.getElementById("idModify_Date_Time").value == "") && (document.getElementById("idMS_Range").selectedIndex == 0) && (document.getElementById("idJog_Ref_ID").value == "") && (document.getElementById("idMGRSCoordinate").value == "") && (document.getElementById("idUFI").value == "") && (document.getElementById("idLangCode2").value == "")) { alert("Please select one or more countries to query or enter a Geoname. Querying all countries will affect database performance.") return false; } if (document.all) { var windowLeft = ((document.body.clientWidth/2)+(window.screenLeft))-(lWidth/2); var windowTop = ((screen.height/2)-(lHeight/2))-50; //50 is to adjust window up a bit ... } else if (document.layers) { w = window.innerWidth; h = window.innerHeight; } if (document.getElementById("idradDD").checked == true){ ConvertToDMS(); // Convert to Degrees, Minutes, and Seconds before we continue... } ParseADM1Names(); // Parse the ADM Names that are selected into a hidden input field... // If the lWidth or lHeight is larger than the users screen then adjust down ... if (screen.availHeight < lHeight){ lHeight = screen.availHeight; } if (screen.availWidth < lWidth){ lWidth = screen.availWidth; } bStatus = true; if (document.getElementById("idShowSearchCriteria").checked) { bStatus = ShowSearchCriteria(); } if (bStatus) { // Doing a Quick Search ... if (document.getElementById("radSearchType1").checked == true){ document.frmSearch.action="gnsquicksearch.asp"; openWins[curWin++] = window.open('quicksearchmain.html', 'GNSQuickSearchWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, top='+ windowTop +', left='+ windowLeft +', width='+lWidth +', height='+ lHeight); timer = setTimeout('waitSearchFrame("GNSQuickSearchWindow")', 500); } // Doing a detailed search ... else { lWidth = 1000; lHeight = 750; if (document.all) { var windowLeft = ((document.body.clientWidth/2)+(window.screenLeft))-(lWidth/2); var windowTop = ((screen.height/2)-(lHeight/2))-50; //50 is to adjust window up a bit ... } else if (document.layers) { w = window.innerWidth; h = window.innerHeight; } document.frmSearch.action="detailedsearch.asp"; openWins[curWin++] = window.open('detailsearchmain.html', 'GNSDetailedSearchWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, top='+ windowTop +', left='+ windowLeft +', width='+lWidth +', height='+ lHeight); timer = setTimeout('waitSearchFrame("DbottomFrame")', 500); } } else { return false; } } function SaveShowSearchCriteria() { if (document.getElementById("idShowSearchCriteria").checked == true) { setCookie('ShowSearchCriteria', '1', 10); } else { setCookie('ShowSearchCriteria', '0', 10); } } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function setCookie(c_name,value,expiredays) {var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays); document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : ";expires="+exdate.toGMTString()); } function ShowSearchCriteria() { var bSearch; var lLen; var lNdx1; var lNdx2 var lNum; var oHiddenADM1names; var oObject1; var oObject2; var sArray; var sCountryList = ""; var sCountryName; var sDelim = ""; var sSearchCriteria; var sTemp1; var sTemp2; sSearchCriteria = "You selected the following criteria:"; //Did user select one or more countries? lNum = 0; for (lNdx1 = 0; lNdx1 < document.frmSearch.lstCountryNames.length; lNdx1++) { if (document.getElementById("frmSearch").lstCountryNames.options[lNdx1].selected == true) { sCountryList = sCountryList + sDelim + document.getElementById("idLstCountryNames").options[lNdx1].value; sDelim = ","; lNum++; } } //If one or more countries are selected, get the selected ADM1 codes. if (lNum > 0) { sSearchCriteria = sSearchCriteria + "\n\nCountry Code(s): "; oHiddenADM1names = document.getElementById("idHiddenADM1names"); //If only one country is selected, the ADM1 codes do not included the //country code. If no ADM1 codes are selected, the string contains "||". if (lNum == 1) { sSearchCriteria = sSearchCriteria + sCountryList; if (oHiddenADM1names.value.length > 2) { lNdx2 = oHiddenADM1names.value.indexOf(',|'); if (lNdx2 > 1) { sSearchCriteria = sSearchCriteria + " (" + oHiddenADM1names.value.substring(1, lNdx2) + ")"; } } } else { sArray = oHiddenADM1names.value.split("|"); lNum = 0; for (lNdx1 = 1; lNdx1 < sArray.length - 1; lNdx1++) { lNum++; if (lNum > 2) { lNum = 1; } if (lNum == 1) { sSearchCriteria = sSearchCriteria + "\n " + sArray[lNdx1]; } else { sTemp2 = sArray[lNdx1]; lLen = sTemp2.length - 1; if (lLen > 0) { sTemp2 = sTemp2.substring(0, lLen); sSearchCriteria = sSearchCriteria + " (" + sTemp2 + ")"; } } } } } //Did user enter a name? if (document.getElementById("idtxtGeoName").value.length > 0) { oObject1 = document.getElementById("idSelSearchCriteria"); oObject2 = document.getElementById("idRomanCriteria"); sSearchCriteria = sSearchCriteria + "\n\nName: " + oObject1.options[oObject1.selectedIndex].text + " \"" + document.getElementById("idtxtGeoName").value + "\" (" + oObject2.options[oObject2.selectedIndex].text + ")"; } //Did the user change the Options criteria? if (m_bSearchOptions == true) // if (document.getElementById("idAOptions").style.color != m_lResetColor) { //Did user change the Select Name Display? if (document.getElementById("idDC").checked == false) { sSearchCriteria = sSearchCriteria + "\n\nSelect Name Display: "; if (document.getElementById("idNDC1").checked == true) { sSearchCriteria = sSearchCriteria + " No Diacritics"; } } //Did user change the Name Type Search? if (document.getElementById("Checkbox1").checked == false || document.getElementById("Checkbox2").checked == false || document.getElementById("Checkbox3").checked == false || document.getElementById("Checkbox4").checked == false || document.getElementById("Checkbox5").checked == false || document.getElementById("Checkbox6").checked == false || document.getElementById("Checkbox7").checked == false || document.getElementById("Checkbox8").checked == false || document.getElementById("Checkbox9").checked == false || document.getElementById("Checkbox10").checked == false || document.getElementById("Checkbox11").checked == false || document.getElementById("Radio4").checked == false) { sSearchCriteria = sSearchCriteria + "\n\nName Type Search: "; bStatus = false; sTemp1 = ""; sDelim = ""; if (document.getElementById("Checkbox1").checked == false || document.getElementById("Checkbox2").checked == false || document.getElementById("Checkbox3").checked == false || document.getElementById("Checkbox4").checked == false || document.getElementById("Checkbox5").checked == false || document.getElementById("Checkbox6").checked == false || document.getElementById("Checkbox7").checked == false || document.getElementById("Checkbox8").checked == false || document.getElementById("Checkbox9").checked == false || document.getElementById("Checkbox10").checked == false || document.getElementById("Checkbox11").checked == false) { if (document.getElementById("Checkbox1").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox1").value; sDelim = ", "; } if (document.getElementById("Checkbox2").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox2").value; sDelim = ", "; } if (document.getElementById("Checkbox3").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox3").value; sDelim = ", "; } if (document.getElementById("Checkbox4").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox4").value; sDelim = ", "; } if (document.getElementById("Checkbox5").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox5").value; sDelim = ", "; } if (document.getElementById("Checkbox6").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox6").value; sDelim = ", "; } if (document.getElementById("Checkbox7").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox7").value; sDelim = ", "; } if (document.getElementById("Checkbox8").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox8").value; sDelim = ", "; } if (document.getElementById("Checkbox9").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox9").value; sDelim = ", "; } if (document.getElementById("Checkbox10").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox10").value; sDelim = ", "; } if (document.getElementById("Checkbox11").checked == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("Checkbox11").value; sDelim = ", "; } sSearchCriteria = sSearchCriteria + sTemp1; bStatus = true; } if (bStatus == true || document.getElementById("Radio4").checked == false) { if (document.getElementById("Radio4").checked == true) { sSearchCriteria = sSearchCriteria + "\n Match Any of the Selected Name Types"; } else if (document.getElementById("Radio5").checked == true) { sSearchCriteria = sSearchCriteria + "\n Exactly Match the Combination of Selected Name Types"; } } } //Did user change the Sort Order? if (document.getElementById("Radio6").checked == false) { sSearchCriteria = sSearchCriteria + "\n\nSort Order: "; if (document.getElementById("Radio7").checked == true) { sSearchCriteria = sSearchCriteria + " Name"; } else if (document.getElementById("Radio8").checked == true) { sSearchCriteria = sSearchCriteria + " Coordinate"; } else if (document.getElementById("Radio9").checked == true) { sSearchCriteria = sSearchCriteria + " Feature Designation"; } } } //Did user change Fuzzy Search criteria? if (m_bSearchFuzzy && document.getElementById("divSearchType").style.display != 'none') // if (document.getElementById("idAFuzzySearch").style.color != m_lResetColor) // if (document.getElementById("Select4").value != 2 || // document.getElementById("Select5").value != 3) { sSearchCriteria = sSearchCriteria + "\n\nFuzzy Search: "; oObject1 = document.getElementById("Select4"); sSearchCriteria = sSearchCriteria + "\n Voweling: " + oObject1.options[oObject1.selectedIndex].text; oObject1 = document.getElementById("Select5"); sSearchCriteria = sSearchCriteria + "\n Minimum Match Quality: " + oObject1.options[oObject1.selectedIndex].text; } //Did user change Advanced Search criteria? Save selected Map Scale Range values. if (m_bSearchAdvanced == true) { sSearchCriteria = sSearchCriteria + "\n\nAdvanced Search Criteria: "; if (document.getElementById("idUFI").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n Legacy UFI: " + document.getElementById("idUFI").value; } if (document.getElementById("idModify_Date_Time").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n Modified On or After: " + document.getElementById("idModify_Date_Time").value; } sDelim = ""; sTemp1 = ""; sTemp2 = ""; for (lNdx1 = 0; lNdx1 < document.getElementById("idMS_Range").length; lNdx1++) { if (document.getElementById("idMS_Range").options[lNdx1].selected == true) { sTemp1 = sTemp1 + sDelim + document.getElementById("idMS_Range").options[lNdx1].value; sTemp2 = sTemp2 + "\n " + document.getElementById("idMS_Range").options[lNdx1].text; sDelim = ","; } } if (sTemp1 != "0") { sSearchCriteria = sSearchCriteria + "\n Map Scale Range:"; sSearchCriteria = sSearchCriteria + sTemp2; } if (document.getElementById("idJog_Ref_ID").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n JOG Reference: " + document.getElementById("idJog_Ref_ID").value; } if (document.getElementById("idMGRSCoordinate").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n MGRS Coordinate: " + document.getElementById("idMGRSCoordinate").value; } if (document.getElementById("idLangCode2").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n Language Code: " + document.getElementById("idLangCode2").value; } if (document.getElementById("idUnique_Feature_ID").value.length > 0) { sSearchCriteria = sSearchCriteria + "\n Unique Feature GUID: " + document.getElementById("idUnique_Feature_ID").value; } } //Did user change Feature Designations criteria? if (m_bSearchFeaDesig == true) // if (document.getElementById("idAFeaDes").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + "\n\nFeature Designations:"; //Did user change Populated Place criteria? if (m_bSearchFeaDesigArray[0] == true) // if (document.getElementById("spPP").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Populated Place", "cbPP", "selPP"); } //Did user change Administrative Region criteria? if (m_bSearchFeaDesigArray[1] == true) // if (document.getElementById("spAR").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Administrative Region", "cbAR", "selAR"); } //Did user change Area criteria? if (m_bSearchFeaDesigArray[2] == true) // if (document.getElementById("spArea").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Area", "cbArea", "selArea"); } //Did user change Vegetation criteria? if (m_bSearchFeaDesigArray[3] == true) // if (document.getElementById("spVeg").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Vegetation", "cbVeg", "selVeg"); } //Did user change Transportation Network criteria? if (m_bSearchFeaDesigArray[4] == true) // if (document.getElementById("spSHR").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Transportation Network", "cbSHR", "selSHR"); } //Did user change Hypsographic criteria? if (m_bSearchFeaDesigArray[5] == true) // if (document.getElementById("spHYP").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Hypsographic", "cbHYP", "selHYP"); } //Did user change Hydrographic criteria? if (m_bSearchFeaDesigArray[6] == true) // if (document.getElementById("spHYD").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Hydrographic", "cbHYD", "selHYD"); } //Did user change Undersea criteria? if (m_bSearchFeaDesigArray[7] == true) // if (document.getElementById("spUSEA").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Undersea", "cbUSEA", "selUSEA"); } //Did user change Spot Features criteria? if (m_bSearchFeaDesigArray[8] == true) // if (document.getElementById("spSF").style.color != m_lResetColor) { sSearchCriteria = sSearchCriteria + CreateFeaDesigLine("Spot Features", "cbSF", "selSF"); } } //Did user enter MBR? if (m_bSearchMBR) // if (document.getElementById("idAMbrSearch").style.color != m_lResetColor) // if ((Math.ceil(document.getElementById("idtxtLATS_d").value) != 0) // || (Math.ceil(document.getElementById("idtxtLATN_d").value) != 0) // || (Math.ceil(document.getElementById("idtxtLONE_d").value) != 0) // || (Math.ceil(document.getElementById("idtxtLONW_d").value) != 0) // || (Math.ceil(document.getElementById("idtxtLONE_DD").value) != 0) // || (Math.ceil(document.getElementById("idtxtLONW_DD").value) != 0)) { sSearchCriteria = sSearchCriteria + "\n\nMBR Search: "; sSearchCriteria = sSearchCriteria + "\n Northeast Corner: "; if (document.getElementById("idradDMS").checked) { if (document.getElementById("idradLATN_dirN").checked) { sTemp1 = "N "; } else { sTemp1 = "S "; } sTemp1 = sTemp1 + document.getElementById("idtxtLATN_d").value + ":"; if (document.getElementById("idtxtLATN_m").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLATN_m").value + ":"; if (document.getElementById("idtxtLATN_s").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLATN_s").value; sSearchCriteria = sSearchCriteria + sTemp1; if (document.getElementById("idradLONE_dirE").checked) { sTemp1 = ", E "; } else { sTemp1 = ", W "; } sTemp1 = sTemp1 + document.getElementById("idtxtLONE_d").value + ":"; if (document.getElementById("idtxtLONE_m").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLONE_m").value + ":"; if (document.getElementById("idtxtLONE_s").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLONE_s").value; sSearchCriteria = sSearchCriteria + sTemp1; } else { sTemp1 = ""; if (document.getElementById("idradLATN_dirS2").checked) { sTemp1 = "-"; } sSearchCriteria = sSearchCriteria + sTemp1 + document.getElementById("idtxtLATN_DD").value; sTemp1 = ", "; if (document.getElementById("idradLONE_dirW2").checked) { sTemp1 = sTemp1 + "-"; } sSearchCriteria = sSearchCriteria + sTemp1 + document.getElementById("idtxtLONE_DD").value; } sSearchCriteria = sSearchCriteria + "\n Southwest Corner: "; if (document.getElementById("idradDMS").checked) { if (document.getElementById("idradLATS_dirN").checked) { sTemp1 = "N "; } else { sTemp1 = "S "; } sTemp1 = sTemp1 + document.getElementById("idtxtLATS_d").value + ":"; if (document.getElementById("idtxtLATS_m").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLATS_m").value + ":"; if (document.getElementById("idtxtLATS_s").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLATS_s").value; sSearchCriteria = sSearchCriteria + sTemp1; if (document.getElementById("idradLONW_dirE").checked) { sTemp1 = ", E "; } else { sTemp1 = ", W "; } sTemp1 = sTemp1 + document.getElementById("idtxtLONW_d").value + ":"; if (document.getElementById("idtxtLONW_m").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLONW_m").value + ":"; if (document.getElementById("idtxtLONW_s").value < 10) { sTemp1 = sTemp1 + "0"; } sTemp1 = sTemp1 + document.getElementById("idtxtLONW_s").value; sSearchCriteria = sSearchCriteria + sTemp1; } else { sTemp1 = ""; if (document.getElementById("idradLATS_dirS2").checked) { sTemp1 = "-"; } sSearchCriteria = sSearchCriteria + sTemp1 + document.getElementById("idtxtLATS_DD").value; sTemp1 = ", "; if (document.getElementById("idradLONW_dirW2").checked) { sTemp1 = sTemp1 + "-"; } sSearchCriteria = sSearchCriteria + sTemp1 + document.getElementById("idtxtLONW_DD").value; } } sSearchCriteria = sSearchCriteria + "\n\nDo you want to continue?"; bSearch = confirm(sSearchCriteria); return bSearch; } function CreateFeaDesigLine(sLabel, sCheckbox, sSelectList) { var lNdx1; var sDelim; var sTemp1; sTemp1 = "\n " + sLabel + ": "; if (document.getElementById(sCheckbox).checked == true) { sTemp1 = sTemp1 + "All"; } else { sDelim = ""; for (lNdx1 = 0; lNdx1 < document.getElementById(sSelectList).length; lNdx1++) { if (document.getElementById(sSelectList).options[lNdx1].selected == true) { sTemp1 = sTemp1 + sDelim + document.getElementById(sSelectList).options[lNdx1].value; sDelim = ", "; } } } return sTemp1; } function delayiFrame(){ document.frmSearch.submit(); } //function checkCountryCodeCounts() //{ // var lInc; // var lTotalSelected; // var sValue; // // for (lInc = 0, lTotalSelected = 0; lInc < document.frmSearch.lstCountryNames.length; lInc++) // { // if (document.getElementById("frmSearch").lstCountryNames.options[lInc].selected == true) // { // lTotalSelected++; // if (lTotalSelected > 1) // { // sValue = sValue + "|" + document.getElementById("idLstCountryNames").options[lInc].value; // } // else // { // sValue = document.getElementById("idLstCountryNames").options[lInc].value; // } // } // } // //alert(lTotalSelected) // //alert(sValue) //} function OutputResults() { var bStatus; var lWidth = 800; var lHeight = 775; var timer; AreCoordsBeingUsed() // Check to see if a country is selected and that coordinates are not in use and no name is entered in the Name: field. // else warn the user that they are about to query the world ... if ((document.getElementById("idlstADM1Names").length < 1) && (document.getElementById("idtxtGeoName").value == "") && (document.getElementById("sCordSearchActive").innerHTML == " ") && (document.getElementById("idUnique_Feature_ID").value == "") && (document.getElementById("idModify_Date_Time").value == "") && (document.getElementById("idMS_Range").selectedIndex == 0) && (document.getElementById("idJog_Ref_ID").value == "") && (document.getElementById("idMGRSCoordinate").value == "") && (document.getElementById("idUFI").value == "") && (document.getElementById("idLangCode2").value == "")) { alert("Please select one or more countries to query or enter a Geoname. Querying all countries will affect database performance.") return false; } // If no Output Fields are selected, warn the user that the query will return no columns ... if ((document.getElementById("idRegionCode").checked == false) && (document.getElementById("idLegFeatureAndNameID").checked == false) && (document.getElementById("idUniqueFeatureAndName").checked == false) && (document.getElementById("idDDLat").checked == false) && (document.getElementById("idDDLong").checked == false) && (document.getElementById("idDMSLat").checked == false) && (document.getElementById("idDMSLong").checked == false) && (document.getElementById("idMGRS").checked == false) && (document.getElementById("idJOGRef").checked == false) && (document.getElementById("idFeatureClass").checked == false) && (document.getElementById("idDSG").checked == false) && (document.getElementById("idPPLClass").checked == false) && (document.getElementById("idFCC").checked == false) && (document.getElementById("idADM1Code").checked == false) && (document.getElementById("idDimension").checked == false) && (document.getElementById("idPopulation").checked == false) && (document.getElementById("idElevation").checked == false) && (document.getElementById("idNCC").checked == false) && (document.getElementById("idLangCode").checked == false) && (document.getElementById("idNameType").checked == false) && (document.getElementById("idNameShortForm").checked == false) && (document.getElementById("idGenericName").checked == false) && (document.getElementById("idSortName").checked == false) && (document.getElementById("idFullName").checked == false) && (document.getElementById("idFullNameND").checked == false) && (document.getElementById("idModDate").checked == false)) { alert("Please select one or more Output Fields to query.") return false; } if (document.getElementById("idradDD").checked == true) { // Convert to Degrees, Minutes, and Seconds before we continue... ConvertToDMS(); } // Parse the ADM Names that are selected into a hidden input field... ParseADM1Names(); if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } bStatus = true; if (document.getElementById("idShowSearchCriteria").checked) { bStatus = ShowSearchCriteria(); } if (bStatus) { // create a new date object to use as the processing start time in KeepAlive.asp ... var myDate = new Date() // create a temp file name ... var sTempName = myDate.getMonth().toString() + myDate.getDate().toString() + myDate.getFullYear().toString() + myDate.getHours().toString() + myDate.getMinutes().toString() + myDate.getSeconds().toString() //Output - Reading Order if (document.getElementById('radOutputOrder1').checked == true) { // Tab Delimited ... if (document.getElementById("frmSearch").radOITabDelimited.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputtab.asp?TYPE=Reading&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName // set the processingIframe src to the KeepAlive.asp page and pass the watch file name on the querystring... //document.getElementById("processingIframe").src = 'https://web.archive.org/web/20100531091819/http://zx10.ingr.com/FileMonitor/KeepAlive.asp?sFileName='+ sWatchName + '&sTime='+ myDate //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) } else if (document.getElementById("frmSearch").radOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="outputhtml.asp?TYPE=Reading"; openWins[curWin++] = window.open('outputhtmlmain.html', 'GNSHTMLOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width='+lWidth +', height='+ lHeight); timer = setTimeout('waitSearchFrame("GNSHTMLOutputWindow")', 500); } else if (document.getElementById("frmSearch").radOIExcelSpreadsheet.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputexcel.asp?TYPE=Reading&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName // set the processingIframe src to the KeepAlive.asp page and pass the watch file name on the querystring... //document.getElementById("processingIframe").src = 'https://web.archive.org/web/20100531091819/http://zx10.ingr.com/FileMonitor/KeepAlive.asp?sFileName='+ sWatchName + '&sTime='+ myDate //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputexcel.asp?TYPE=Reading"; // // openWins[curWin++] = window.open('outputexcelmain.html', 'GNSExcelOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSExcelOutputWindow")', 500); } else if (document.getElementById("frmSearch").radOIShapefile.checked == true) { //Check to see if Unicode (UTF-16) is selected for Shape file output. //If it is warn the user that it's not workig and deselect ... if (document.frmSearch.CharType[1].checked) { alert('The UTF-16 Shape file output option is not working in this delivery. \n Please select another option.') return false; } // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reading&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) //document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reading"; //openWins[curWin++] = window.open('outputshapemain.html', 'GNSShapeOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); //timer = setTimeout('waitSearchFrame("GNSShapeOutputWindow")', 500); } // Start of KML testing first part ... else if (document.getElementById("frmSearch").radOIKML.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputKML.asp?TYPE=Reading&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".kmz" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) //document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reading"; //openWins[curWin++] = window.open('outputshapemain.html', 'GNSShapeOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); //timer = setTimeout('waitSearchFrame("GNSShapeOutputWindow")', 500); } // end of testing ..... else if (document.getElementById("frmSearch").radOIXML.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputxml.asp?TYPE=Reading&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName // set the processingIframe src to the KeepAlive.asp page and pass the watch file name on the querystring... //document.getElementById("processingIframe").src = 'https://web.archive.org/web/20100531091819/http://zx10.ingr.com/FileMonitor/KeepAlive.asp?sFileName='+ sWatchName + '&sTime='+ myDate //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputxml.asp?TYPE=Reading"; // // openWins[curWin++] = window.open('outputxmlmain.html', 'GNSXMLOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSXMLOutputWindow")', 500); } } else { //Output Reverse Generics if (document.getElementById("frmSearch").radOITabDelimited.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputtab.asp?TYPE=Reversed&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame grh ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) } else if (document.getElementById("frmSearch").radOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="outputhtml.asp?TYPE=Reversed"; openWins[curWin++] = window.open('outputhtmlmain.html', 'GNSHTMLOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width='+lWidth +', height='+ lHeight); timer = setTimeout('waitSearchFrame("GNSHTMLOutputWindow")', 500); } else if (document.getElementById("frmSearch").radOIExcelSpreadsheet.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputexcel.asp?TYPE=Reversed&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName // set the processingIframe src to the KeepAlive.asp page and pass the watch file name on the querystring... //document.getElementById("processingIframe").src = 'https://web.archive.org/web/20100531091819/http://zx10.ingr.com/FileMonitor/KeepAlive.asp?sFileName='+ sWatchName + '&sTime='+ myDate //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputexcel.asp?TYPE=Reversed"; // // openWins[curWin++] = window.open('outputexcelmain.html', 'GNSExcelOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSExcelOutputWindow")', 500); } else if (document.getElementById("frmSearch").radOIShapefile.checked == true) { //Check to see if Unicode (UTF-16) is selected for Shape file output. //If it is warn the user that it's not workig and deselect ... if (document.frmSearch.CharType[1].checked) { alert('The UTF-16 Shape file output option is not working in this delivery. \n Please select another option.') return false; } // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reversed&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reversed"; // // openWins[curWin++] = window.open('outputshapemain.html', 'GNSShapeOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSShapeOutputWindow")', 500); } //KML Testing 2nd part ... else if (document.getElementById("frmSearch").radOIKML.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputKML.asp?TYPE=Reversed&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".kmz" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputshape.asp?TYPE=Reversed"; // // openWins[curWin++] = window.open('outputshapemain.html', 'GNSShapeOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSShapeOutputWindow")', 500); } else if (document.getElementById("frmSearch").radOIXML.checked == true) { // set the forms action to the proper asp page and pass the temp file name on the querystring ... document.getElementById("frmSearch").action="outputxml.asp?TYPE=Reversed&sFileName="+ sTempName; // set the target of the form object ot the workerIframe which is a hidden iFrame ... document.frmSearch.target="workerIframe"; // set the iFrame to blank so we do not see the old page loaded ... document.getElementById("processingIframe").src= "blank.html" // set the visibility of the processingIframe to visible ... document.getElementById("processingIframe").style.visibility="visible"; //create the watch file name ... sWatchName = "watch" + sTempName // set the processingIframe src to the KeepAlive.asp page and pass the watch file name on the querystring... //document.getElementById("processingIframe").src = 'https://web.archive.org/web/20100531091819/http://zx10.ingr.com/FileMonitor/KeepAlive.asp?sFileName='+ sWatchName + '&sTime='+ myDate //New test for file notification ... document.getElementById("processingIframe").src = "FileDownload.asp?sFileName=" + sTempName + ".zip" // wait a couple of seconds to allow the file monitor to start to work then submit the form to the workerIframe ... timer = setTimeout('delayiFrame()', 2000) // document.getElementById("frmSearch").action="outputxml.asp?TYPE=Reversed"; // // openWins[curWin++] = window.open('outputxmlmain.html', 'GNSXMLOutputWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=no, width=400, height=400'); // // timer = setTimeout('waitSearchFrame("GNSXMLOutputWindow")', 500); } } } } function SearchADM1() { var lWidth = 800; var lHeight = 500; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } document.getElementById("frmSearch").action="adm1searchhtml.asp"; //openWins[curWin++] = window.open('', 'ADM1SearchHTMLWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+lWidth +', height='+ lHeight); //document.getElementById("frmSearch").target="ADM1SearchHTMLWindow"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } function SearchCountry() { document.getElementById("frmSearch").action="countrysearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } function SearchDesignination() { document.getElementById("frmSearch").action="feadesgsearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } function SearchLanguage() { document.getElementById("frmSearch").action="languagesearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } function GenericGlossary() { document.getElementById("frmSearch").action="genericglossaryhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } function OutputADM1() { var lWidth = 800; var lHeight = 700; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } if (document.getElementById("frmSearch").radLTOITabDelimited.checked == true) { document.getElementById("frmSearch").action="outputadm1searchTab.asp"; openWins[curWin++] = window.open('', 'GNSOutputADM1SearchTabWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputADM1SearchTabWindow"; document.getElementById("frmSearch").submit(); } else if (document.getElementById("frmSearch").radLTOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="adm1searchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } else if (document.getElementById("frmSearch").radLTOIExcelSpreadsheet.checked == true) { document.getElementById("frmSearch").action="outputadm1searchexcel.asp"; openWins[curWin++] = window.open('', 'GNSOutputADM1SearchExcelWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputADM1SearchExcelWindow"; document.getElementById("frmSearch").submit(); } } function OutputCountry() { var lWidth = 800; var lHeight = 700; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } if (document.getElementById("frmSearch").radLTOITabDelimited.checked == true) { document.getElementById("frmSearch").action="outputcountrysearchtab.asp"; openWins[curWin++] = window.open('', 'GNSOutputCountrySearchTabWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputCountrySearchTabWindow"; document.getElementById("frmSearch").submit(); } else if (document.getElementById("frmSearch").radLTOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="countrysearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } else if (document.getElementById("frmSearch").radLTOIExcelSpreadsheet.checked == true) { document.getElementById("frmSearch").action="outputcountrysearchexcel.asp"; openWins[curWin++] = window.open('', 'GNSOutputCountrySearchExcelWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputCountrySearchExcelWindow"; document.getElementById("frmSearch").submit(); } } function OutputDesignination() { var lWidth = 800; var lHeight = 700; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } if (document.getElementById("frmSearch").radLTOITabDelimited.checked == true) { document.getElementById("frmSearch").action="outputfeadesgsearchtab.asp"; openWins[curWin++] = window.open('', 'GNSOutputFeaDesgSearchTabWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputFeaDesgSearchTabWindow"; document.getElementById("frmSearch").submit(); } else if (document.getElementById("frmSearch").radLTOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="feadesgsearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } else if (document.getElementById("frmSearch").radLTOIExcelSpreadsheet.checked == true) { document.getElementById("frmSearch").action="outputfeadesgsearchexcel.asp"; openWins[curWin++] = window.open('', 'GNSOutputFeaDesgSearchExcelWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputFeaDesgSearchExcelWindow"; document.getElementById("frmSearch").submit(); } } function OutputLanguage() { var lWidth = 800; var lHeight = 700; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } if (document.getElementById("frmSearch").radLTOITabDelimited.checked == true) { document.getElementById("frmSearch").action="outputlangsearchtab.asp"; openWins[curWin++] = window.open('', 'GNSOutputLangSearchTabWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputLangSearchTabWindow"; document.getElementById("frmSearch").submit(); } else if (document.getElementById("frmSearch").radLTOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="languagesearchhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } else if (document.getElementById("frmSearch").radLTOIExcelSpreadsheet.checked == true) { document.getElementById("frmSearch").action="outputlangsearchexcel.asp"; openWins[curWin++] = window.open('', 'GNSOutputLangSearchExcelWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputLangSearchExcelWindow"; document.getElementById("frmSearch").submit(); } } function OutputGeneric() { var lWidth = 800; var lHeight = 700; if (screen.availHeight < lHeight) { lHeight = screen.availHeight; } if (screen.availWidth < lWidth) { lWidth = screen.availWidth; } if (document.getElementById("frmSearch").radLTOITabDelimited.checked == true) { document.getElementById("frmSearch").action="outputgenglossarytab.asp"; openWins[curWin++] = window.open('', 'GNSOutputGenericGlossaryWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputGenericGlossaryWindow"; document.getElementById("frmSearch").submit(); } else if (document.getElementById("frmSearch").radLTOIHtmlPreview.checked == true) { document.getElementById("frmSearch").action="genericglossaryhtml.asp"; document.getElementById("frmSearch").target="ProcessSearchiFrame" document.getElementById("frmSearch").submit(); document.getElementById("ProcessSearchiFrame").style.visibility="visible"; } else if (document.getElementById("frmSearch").radLTOIExcelSpreadsheet.checked == true) { document.getElementById("frmSearch").action="outputgenglossaryexcel.asp"; openWins[curWin++] = window.open('', 'GNSOutputGenericGlossaryExcelWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=400, height=400'); document.getElementById("frmSearch").target="GNSOutputGenericGlossaryExcelWindow"; document.getElementById("frmSearch").submit(); } } //---ValidateSelectAllFeatureDesignations------------------------------------------------------- // // Method: ValidateSelectAllFeatureDesignations // // Remarks // // This method validates the feature designation selectAll checkboxes by selecting all // the options and disabling the select list when the selectAll box is checked. It does // the opposite when the checkAll checkbox is unchecked. // // Class: N/A // // Scope: Private // // Inputs/Outputs // strCBIdName I String containing the checkbox ID name... // strSELIdName I String containing the checkbox's corresponding // select-list ID name... // // Return Status: // N/A... // // History // 09/11/05 Glenn Alexander // Initial Creation // //------------------------------------------------------------------------------ function ValidateSelectAllFeatureDesignations(strCBIdName, strSELIdName, strSPName, lSearchNdx) { var objCB; // Get the specified check box object... objCB = document.getElementById(strCBIdName); //Did user check or uncheck the Select All checkbox? if (objCB.checked == true) { var lInc; var objFD; var objSEL; var objSP; objSP = document.getElementById(strSPName); objFD = document.getElementById("idAFeaDes"); objSEL = document.getElementById(strSELIdName); for (lInc = (objSEL.length - 1); lInc >= 0; lInc--) { objSEL.options[lInc].selected = true; } objSP.style.color = m_lSelectedColor; objFD.style.color = m_lSelectedColor; bSearch = true; m_bSearchFeaDesigArray[lSearchNdx] = true; m_bSearchFeaDesig = true; } else { ResetFeatureDesignations(strCBIdName, strSELIdName, strSPName, lSearchNdx); } } //This function is called when the user selects an entry in the feature designation list. //Of course, the user could be selecting or unselecting an entry. We need to know how many //entries are selected. If none are selected, we can just call the reset function. If all //are selected, we need to check the Select All checkbox. function ValidateSelectedFeatureDesignations(strCBIdName, strSELIdName, strSPName, lSearchNdx) { var lNdx; var lNum; var objSEL; lNum = 0; objSEL = document.getElementById(strSELIdName); for (lNdx = 0; lNdx < objSEL.length; lNdx++) { if (objSEL.options[lNdx].selected == true) { lNum++; } } if (lNum == 0) { ResetFeatureDesignations(strCBIdName, strSELIdName, strSPName, lSearchNdx); } else { document.getElementById(strSPName).style.color = m_lSelectedColor; document.getElementById("idAFeaDes").style.color = m_lSelectedColor; m_bSearchFeaDesigArray[lSearchNdx] = true; m_bSearchFeaDesig = true; if (lNum == objSEL.length) { document.getElementById(strCBIdName).checked = true; } else { document.getElementById(strCBIdName).checked = false; } } } function CheckFuzzy() { var ct; for (var i=0; i < document.frmSearch.CharType.length; i++) { if (document.frmSearch.CharType[i].checked) { ct=i; } } for (var i=0; i < document.frmSearch.lstSearchCriteria.length; i++) { if (document.frmSearch.lstSearchCriteria[i].selected) { var mc=i; } //Check for No Diacritics and Fuzzy Search selections... if ((ct==2)&&(mc==4)) { alert("Fuzzy Searches can only be performed in UTF8 or UTF16 Outputs."); for (var a = 0; a < document.frmSearch.CharType.length; a++) { document.frmSearch.CharType[a].checked = false; } document.frmSearch.CharType[0].checked = true; } } } function CheckSearchOptions() { if (document.getElementById("idDC").checked == true && document.getElementById("Checkbox1").checked == true && document.getElementById("Checkbox2").checked == true && document.getElementById("Checkbox3").checked == true && document.getElementById("Checkbox4").checked == true && document.getElementById("Checkbox5").checked == true && document.getElementById("Checkbox6").checked == true && document.getElementById("Checkbox7").checked == true && document.getElementById("Checkbox8").checked == true && document.getElementById("Checkbox9").checked == true && document.getElementById("Checkbox10").checked == true && document.getElementById("Checkbox11").checked == true && document.getElementById("Radio4").checked == true && document.getElementById("Radio6").checked == true) { ResetOptions(); } else { document.getElementById("idAOptions").style.color = m_lSelectedColor; m_bSearchOptions = true; } } function CheckSearchFuzzy() { if (document.getElementById("Select4").selectedIndex == 1 && document.getElementById("Select5").selectedIndex == 2) { ResetFuzzy(); } else { document.getElementById("idAFuzzySearch").style.color = m_lSelectedColor; m_bSearchFuzzy = true; } } function CheckSearchAdvanced() { var bStatus = true; var lNdx1; for (lNdx1 = 0; lNdx1 < document.getElementById("idMS_Range").length; lNdx1++) { if (lNdx1 == 0) { if (document.getElementById("idMS_Range").options[lNdx1].selected == false) { bStatus = false; break; } } else { if (document.getElementById("idMS_Range").options[lNdx1].selected == true) { bStatus = false; break; } } } if (document.getElementById("idUFI").value.length == 0 && document.getElementById("idModify_Date_Time").value.length == 0 && bStatus == true && document.getElementById("idJog_Ref_ID").value.length == 0 && document.getElementById("idMGRSCoordinate").value.length == 0 && document.getElementById("idLangCode2").value.length == 0 && document.getElementById("idUnique_Feature_ID").value.length == 0) { ResetAdvanced(); } else { document.getElementById("idAAdvancedSearch").style.color = m_lSelectedColor; m_bSearchAdvanced = true; } } function CheckSearchMBR() { if (document.getElementById("idtxtLATN_d").value == "0" && document.getElementById("idtxtLATN_m").value == "0" && document.getElementById("idtxtLATN_s").value == "0" && document.getElementById("idtxtLATN_DD").value == "0" && document.getElementById("idtxtLONE_d").value == "0" && document.getElementById("idtxtLONE_m").value == "0" && document.getElementById("idtxtLONE_s").value == "0" && document.getElementById("idtxtLONE_DD").value == "0" && document.getElementById("idtxtLATS_d").value == "0" && document.getElementById("idtxtLATS_m").value == "0" && document.getElementById("idtxtLATS_s").value == "0" && document.getElementById("idtxtLATS_DD").value == "0" && document.getElementById("idtxtLONW_d").value == "0" && document.getElementById("idtxtLONW_m").value == "0" && document.getElementById("idtxtLONW_s").value == "0" && document.getElementById("idtxtLONW_DD").value == "0") { ResetMBRInputs(false); } else { document.getElementById("idAMbrSearch").style.color = m_lSelectedColor; m_bSearchMBR = true; } } function ActivateSearch() { var objSTYLE; var objSTYLE2; var objHEADER; var objHEADER2; var objDivStyle; var objDivStyle2; var objDivStyle3; var objDivStyle4; var objDivStyle5; var objDivStyle6; var objDivStyle7; var objSelect; m_bSearching = true; // Turn on the OutputDirListIframe iFrame and taget the downloaded files ... //document.getElementById("OutputDirListIframe").style.visibility="hidden"; //objSTYLE = document.getElementById("anchSearch").style; //objSTYLE2 = document.getElementById("anchOutput").style; objHEADER = document.getElementById("hdrTop"); objHEADER2 = document.getElementById("hdrTop2"); document.getElementById("divOutputType").style.display = 'none'; // Set the + - gif to + grh document.getElementById("feDes").src = "images/plus.gif" document.getElementById("divGISOutputCriteria").style.display = 'none'; document.getElementById("divSubSearchDB").style.display = 'block'; document.getElementById("divSubOutputResults").style.display = 'none'; document.getElementById("divNavFuzzy").style.display = 'block'; document.getElementById("divSearchType").style.display = 'block'; //objDivStyle7 = document.getElementById("divLTOIOutput").style; objSelect = document.getElementById("idSelSearchCriteria"); // objDivStyle // objDivStyle2 // objDivStyle3 // objDivStyle4 // objDivStyle5 // objDivStyle6 //objDivStyle7.display = 'none'; // Add the Fuzzy Search option to the list... if (objSelect.length == 4) { objSelect.options[4] = new Option ("Fuzzy Search", "5"); } ToggleOutputCriteria(); ToggleButtons(document.getElementById("divSubSearchDB")); // objHEADER.innerHTML = 'GNS Search'; // objHEADER2.innerHTML = ''; document.title = 'GNS Search'; // objSTYLE.textDecoration = 'none'; // objSTYLE.color = '#000000'; // objSTYLE.fontWeight = 'bold'; // // objSTYLE2.textDecoration = 'underline'; // objSTYLE2.color = '#3333ff'; // objSTYLE2.fontWeight = 'normal'; } function ActivateOutput() { var objSTYLE; var objSTYLE2; var objHEADER; var objHEADER2; var objDivStyle; var objDivStyle2; var objDivStyle3; var objDivStyle4; var objDivStyle5; var objDivStyle6; var objDivStyle7; var objDivStyle8; var objSelect; var objRADIO; m_bSearching = false; // Turn on the OutputDirListIframe iFrame and taget the downloaded files ... //document.getElementById("OutputDirListIframe").style.visibility="visible"; //objSTYLE = document.getElementById("anchOutput").style; //objSTYLE2 = document.getElementById("anchSearch").style; objHEADER = document.getElementById("hdrTop"); objHEADER2 = document.getElementById("hdrTop2"); document.getElementById("divOutputType").style.display = 'block'; document.getElementById("divGISOutputCriteria").style.display = 'block'; ////document.getElementById("GNSOutput").src = "images/minus.gif" document.getElementById("divSubSearchDB").style.display = 'none'; document.getElementById("divSubOutputResults").style.display = 'block'; document.getElementById("OutputCriteria").style.display = 'none'; document.getElementById("GNSOutput").src = "images/plus.gif" document.getElementById("divNavFuzzy").style.display = 'none'; document.getElementById("divSearchType").style.display = 'none'; //objDivStyle8 = document.getElementById("divLTOIOutput").style; objSelect = document.getElementById("idSelSearchCriteria"); objRADIO = document.getElementById("radOutputOrder1"); // objDivStyle // objDivStyle2 // objDivStyle3 // objDivStyle4 // objDivStyle5 // objDivStyle6 // objDivStyle7 //objDivStyle8.display = 'block'; // Remove the Fuzzy Search option from the list... if (objSelect.length == 5) { objSelect.options[4] = null; } ToggleButtons(document.getElementById("divSubOutputResults")); // if (objRADIO.checked == true) // { // objHEADER.innerHTML = 'GNS Output'; // objHEADER2.innerHTML = '-for map applications-'; // document.title = 'GNS Output'; // } // else // { // objHEADER.innerHTML = 'GNS Output (reversed generics)'; // objHEADER2.innerHTML = '-for alphabetical gazetteers and place-name lists-'; // document.title = 'GNS Output (reversed generics)'; // } // objSTYLE.textDecoration = 'none'; // objSTYLE.color = '#000000'; // objSTYLE.fontWeight = 'bold'; // // objSTYLE2.textDecoration = 'underline'; // objSTYLE2.color = '#3333ff'; // objSTYLE2.fontWeight = 'normal'; document.getElementById("PP").style.display='none' document.getElementById("AR").style.display='none' document.getElementById("Area").style.display='none' document.getElementById("Veg").style.display='none' document.getElementById("SHR").style.display='none' document.getElementById("HYP").style.display='none' document.getElementById("Hyd").style.display='none' document.getElementById("USea").style.display='none' document.getElementById("SF").style.display='none' document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' document.getElementById("Options").style.display='none' document.getElementById("divFuzzySearch").style.display='none' document.getElementById("divAdvancedSearch").style.display='none' document.getElementById("FeaDesignations").style.display='none' // Set the + - gif to + grh document.getElementById("feDes").src = "images/plus.gif" document.getElementById("MRB").style.display='none' document.getElementById("CodeLookup").style.display='none' document.getElementById("imgLookup").src = "images/plus.gif"; document.getElementById("OutputCriteria").style.display='block' document.getElementById("GNSOutput").src = "images/minus.gif" document.getElementById("EL").style.display='none' document.getElementById("OI").style.display='block' document.getElementById("OF").style.display='none' } function HideLookups() { document.getElementById("AC").style.display='none' document.getElementById("CC").style.display='none' document.getElementById("DC").style.display='none' document.getElementById("LC").style.display='none' document.getElementById("GEN").style.display='none' document.getElementById("LTOI").style.display='none' if (m_bSearching == true) { ActivateSearch(); } else { ActivateOutput(); } } function ToggleButtons(objDIV) { document.getElementById("divSubSearchDB").style.display = 'none'; document.getElementById("divSubOutputResults").style.display = 'none'; document.getElementById("divSubADM1Search").style.display = 'none'; document.getElementById("divSubCountrySearch").style.display = 'none'; document.getElementById("divSubDesigSearch").style.display = 'none'; document.getElementById("divSubLangSearch").style.display = 'none'; document.getElementById("divSubGenericSearch").style.display = 'none'; document.getElementById("divOTSubADM1Search").style.display = 'none'; document.getElementById("divOTSubCountrySearch").style.display = 'none'; document.getElementById("divOTSubDesigSearch").style.display = 'none'; document.getElementById("divOTSubLangSearch").style.display = 'none'; document.getElementById("divOTSubGenericSearch").style.display = 'none'; if (objDIV != null) { objDIV.style.display = 'block'; } } function QueryADM1Names() { var lInc; var lTotalSelected; var sValue; var objSEL; var sDiac; for (lInc = 0, lTotalSelected = 0; lInc < document.frmSearch.lstCountryNames.length; lInc++) { if (document.getElementById("frmSearch").lstCountryNames.options[lInc].selected == true) { lTotalSelected++; if (lTotalSelected > 1) { sValue = sValue + "|" + document.getElementById("idLstCountryNames").options[lInc].value; } else { sValue = document.getElementById("idLstCountryNames").options[lInc].value; } } } // alert(lTotalSelected) // alert(sValue) if (lTotalSelected > 0) { document.frmSearch.lstADM1Names.disabled = false; // document.getElementById("idlblADM1Names").style.color = '#000099'; document.frmSearch.lstADM1Names.multiple = true; //Added this size attribute. Without this NN 7 makes the list as long as the page... grh document.frmSearch.lstADM1Names.size = 4; //alert(sValue) //alert(m_sPrevSelected) if (sValue != m_sPrevSelected) { m_sPrevSelected = sValue; objSEL = document.getElementById("idlstADM1Names"); for (lInc = 0; lInc < objSEL.length; lInc++) { objSEL.remove(lInc); } objSEL.text = ""; objSEL.value = ""; objSEL.length = 0; if (m_bSearching == false) { // Outputting criteria settings if (document.getElementById("idUTF8").checked == true) { sDiac = "UTF8"; } else if (document.getElementById("idUTF16").checked == true) { sDiac = "UTF16"; } else if (document.getElementById("idNDC").checked == true) { sDiac = "NDC"; } } else { // Searching criteria settings if (document.getElementById("idNDC1").checked == true) { sDiac = "NDC"; } else if (document.getElementById("idDC").checked == true) { sDiac = "DC"; } } // Testing to create div tags to hold adm1 selections... grh //Create a new Div tag to hold the selections ... //addDivElement(sValue) document.getElementById("idIfrmQryADM1names").src = "geoqueryadm1name.asp?CountryCode=" + sValue + "&Diacritics=" + sDiac; } } else { objSEL = document.getElementById("idlstADM1Names"); for (lInc = 0; lInc < objSEL.length; lInc++) { objSEL.remove(lInc); } objSEL.text = ""; objSEL.value = ""; objSEL.length = 0; m_sPrevSelected = ""; document.frmSearch.lstADM1Names.multiple = false; document.frmSearch.lstADM1Names.size = 0; document.frmSearch.lstADM1Names.disabled = true; } } var iLeft = 0; function addDivElement(sID) { iLeft = iLeft + 50; // create a new div element // and give it some content //If the countrys div hasn't been created then create it ... if(document.getElementById(sID)==null){ newDiv = document.createElement("div"); newDiv.setAttribute("id", sID); newDiv.setAttribute("name", "countryCodes"); newDiv.innerHTML = "<h1>"+ sID+"</h1>"; newDiv.style.position="absolute"; newDiv.style.width="100"; newDiv.style.height="100"; newDiv.style.zIndex="500"; newDiv.style.backgroundColor="white"; newDiv.style.left=iLeft // add the newly created element and it's content into the DOM //my_div = document.getElementById("org_div1"); document.body.insertBefore(newDiv, null); } else { document.getElementById(sID).style.visibility="visible"; } } function returncount() { objSEL = document.getElementById("idlstADM1Names"); lListLen = objSEL.length; alert('lListLen = ' + lListLen); } function ActivatelstADM1Names() { var lInc; var lTotalSelected; var sValue; var objSEL; for (lInc = 0, lTotalSelected = 0; lInc < document.frmSearch.lstCountryNames.length; lInc++) { if (document.frmSearch.lstCountryNames.options[lInc].selected == true) { lTotalSelected++; if (lTotalSelected > 1) { break; } } } if (lTotalSelected == 1) { document.frmSearch.lstADM1Names.disabled = false; document.getElementById("idlblADM1Names").style.color = '#3333ff'; sValue = document.getElementById("idLstCountryNames").value if (sValue != m_sPrevSelected) { objSEL = document.getElementById("idlstADM1Names"); for (lInc = 0; lInc < objSEL.length; lInc++) { objSEL.remove(lInc); } objSEL.text = ""; objSEL.value = ""; objSEL.length = 0; } } else { objSEL = document.getElementById("idlstADM1Names"); for (lInc = 0; lInc < objSEL.length; lInc++) { objSEL.remove(lInc); } objSEL.text = ""; objSEL.value = ""; objSEL.length = 0; m_sPrevSelected = ""; document.frmSearch.lstADM1Names.disabled = true; document.getElementById("idlblADM1Names").style.color = '#666666'; } } function ValidateMBRInputs() { var bInitialized = false; if (m_sLATN_dir != "") { if (m_sLATN_dir == "N") { document.getElementById("idradLATN_dirN").checked = true; } else { document.getElementById("idradLATN_dirS").checked = true; } bInitialized = true; } if (m_sLATN_d != "") { document.getElementById("idtxtLATN_d").value = m_sLATN_d; bInitialized = true; } if (m_sLATN_m != "") { document.getElementById("idtxtLATN_m").value = m_sLATN_m; bInitialized = true; } if (m_sLATN_s != "") { document.getElementById("idtxtLATN_s").value = m_sLATN_s; bInitialized = true; } if (m_sLONE_dir != "") { if (m_sLONE_dir == "E") { document.getElementById("idradLONE_dirE").checked = true; } else { document.getElementById("idradLONE_dirW").checked = true; } bInitialized = true; } if (m_sLONE_d != "") { document.getElementById("idtxtLONE_d").value = m_sLONE_d; bInitialized = true; } if (m_sLONE_m != "") { document.getElementById("idtxtLONE_m").value = m_sLONE_m; bInitialized = true; } if (m_sLONE_s != "") { document.getElementById("idtxtLONE_s").value = m_sLONE_s; bInitialized = true; } if (m_sLATS_dir != "") { if (m_sLATS_dir == "N") { document.getElementById("idradLATS_dirN").checked = true; } else { document.getElementById("idradLATS_dirS").checked = true; } bInitialized = true; } if (m_sLATS_d != "") { document.getElementById("idtxtLATS_d").value = m_sLATS_d; bInitialized = true; } if (m_sLATS_m != "") { document.getElementById("idtxtLATS_m").value = m_sLATS_m; bInitialized = true; } if (m_sLATS_s != "") { document.getElementById("idtxtLATS_s").value = m_sLATS_s; bInitialized = true; } if (m_sLONW_dir != "") { if (m_sLONW_dir == "E") { document.getElementById("idradLONW_dirE").checked = true; } else { document.getElementById("idradLONW_dirW").checked = true; } bInitialized = true; } if (m_sLONW_d != "") { document.getElementById("idtxtLONW_d").value = m_sLONW_d; bInitialized = true; } if (m_sLONW_m != "") { document.getElementById("idtxtLONW_m").value = m_sLONW_m; bInitialized = true; } if (m_sLONW_s != "") { document.getElementById("idtxtLONW_s").value = m_sLONW_s; bInitialized = true; } if (bInitialized != true) { document.getElementById("idDivMbrButtons1").style.display = 'block'; } else { document.getElementById("idDivMbrButtons2").style.display = 'block'; } if (document.getElementById("idradDD").checked == true) { ConvertToDD(); UpdateMBRSearchDisplay('DD'); document.getElementById("idradDD").checked = true; } } function ResetMBRInputs(bResetDir) { document.getElementById("idtxtLATN_d").value = "0"; document.getElementById("idtxtLATN_m").value = "0"; document.getElementById("idtxtLATN_s").value = "0"; document.getElementById("idtxtLATN_DD").value = "0"; document.getElementById("idtxtLONE_d").value = "0"; document.getElementById("idtxtLONE_m").value = "0"; document.getElementById("idtxtLONE_s").value = "0"; document.getElementById("idtxtLONE_DD").value = "0"; document.getElementById("idtxtLATS_d").value = "0"; document.getElementById("idtxtLATS_m").value = "0"; document.getElementById("idtxtLATS_s").value = "0"; document.getElementById("idtxtLATS_DD").value = "0"; document.getElementById("idtxtLONW_d").value = "0"; document.getElementById("idtxtLONW_m").value = "0"; document.getElementById("idtxtLONW_s").value = "0"; document.getElementById("idtxtLONW_DD").value = "0"; if (bResetDir) { document.getElementById("idradLATN_dirN").checked = true; document.getElementById("idradLONE_dirE").checked = true; document.getElementById("idradLATS_dirN").checked = true; document.getElementById("idradLONW_dirE").checked = true; document.getElementById("idradLATN_dirN2").checked = true; document.getElementById("idradLONE_dirE2").checked = true; document.getElementById("idradLATS_dirN2").checked = true; document.getElementById("idradLONW_dirE2").checked = true; } document.getElementById("idAMbrSearch").style.color = m_lResetColor; document.getElementById("idradDMS").checked = true; document.getElementById("idradDD").checked = false; UpdateMBRSearchDisplay('DMS'); m_bSearchMBR = false; } function tryBlur() { blur() } function ChangeAnchorAttributes(strAnchorId) { var objAnch; objAnch = document.getElementById(strAnchorId); objAnch.style.color = m_lSelectedColor; } //---ResetOptions------------------------------------------------------- // // Method: ResetOptions // // Remarks // // This method resets all the gadgets on the "options" pane to their // original states/values. It also resets the color of the "options" // hyper-link. // // Class: N/A // // Scope: Private // // Inputs/Outputs // N/A. // // Return Status: // N/A... // // History // 04/14/06 Glenn Alexander // Initial Creation // //------------------------------------------------------------------------------ function ResetOptions() { // Search... document.getElementById("idDC").checked = true; document.getElementById("idNDC1").checked = false; // Output... document.getElementById("idUTF8").checked = true; document.getElementById("idUTF16").checked = false; document.getElementById("idNDC").checked = false; // Name Type... document.getElementById("Checkbox1").checked = true; document.getElementById("Checkbox2").checked = true; document.getElementById("Checkbox3").checked = true; document.getElementById("Checkbox4").checked = true; document.getElementById("Checkbox5").checked = true; document.getElementById("Checkbox6").checked = true; document.getElementById("Checkbox7").checked = true; document.getElementById("Checkbox8").checked = true; document.getElementById("Checkbox9").checked = true; document.getElementById("Checkbox10").checked = true; document.getElementById("Checkbox11").checked = true; document.getElementById("Radio4").checked = true; document.getElementById("Radio5").checked = false; document.getElementById("Radio6").checked = true; document.getElementById("Radio7").checked = false; document.getElementById("Radio8").checked = false; document.getElementById("Radio9").checked = false; EnableNoDiacritics(); document.getElementById("idRomanCriteria").selectedIndex = 0; document.getElementById("idAOptions").style.color = m_lResetColor; m_bSearchOptions = false; } //---ResetFuzzy------------------------------------------------------- // // Method: ResetFuzzy // // Remarks // // This method resets all the gadgets on the "Fuzzy Search" pane to their // original states/values. It also resets the color of the "Fuzzy Search" // hyper-link. // // Class: N/A // // Scope: Private // // Inputs/Outputs // N/A. // // Return Status: // N/A... // // History // 04/14/06 Glenn Alexander // Initial Creation // //------------------------------------------------------------------------------ function ResetFuzzy() { document.getElementById("Select4").selectedIndex = 1; document.getElementById("Select5").selectedIndex = 2; document.getElementById("idAFuzzySearch").style.color = m_lResetColor; m_bSearchFuzzy = false; } //---ResetAdvanced------------------------------------------------------- // // Method: ResetAdvanced // // Remarks // // This method resets all the gadgets on the "Advanced Search" pane to their // original states/values. It also resets the color of the "Advanced Search" // hyper-link. // // Class: N/A // // Scope: Private // // Inputs/Outputs // N/A. // // Return Status: // N/A... // // History // 04/14/06 Glenn Alexander // Initial Creation // // 06/27/06 Glenn Alexander // Added Reset entry for "MGRS Coordinate"... // // 08/14/06 Glenn Alexander // Added Reset entry for "Legacy UFI" and "Language Code"... //------------------------------------------------------------------------------ function ResetAdvanced() { document.getElementById("idUnique_Feature_ID").value = ""; document.getElementById("idModify_Date_Time").value = ""; document.getElementById("idMS_Range").selectedIndex = 0; document.getElementById("idJog_Ref_ID").value = ""; document.getElementById("idMGRSCoordinate").value = ""; document.getElementById("idUFI").value = ""; document.getElementById("idLangCode2").value = ""; document.getElementById("idAAdvancedSearch").style.color = m_lResetColor; m_bSearchAdvanced = false; } //---ResetFeatureDesignations----------------------------------------------------- // // Method: ResetFeatureDesignations // // Remarks // // This method resets all the gadgets on the specified "Administrative Region" // pane to their original states/values. It also resets the color of the // specified "Administrative Region". // hyper-link. // // Class: N/A // // Scope: Private // // Inputs/Outputs // sCheckbox I The checkbox identifier... // sSelect I The select identifier... // sSpan I The span tag identifier... // // Return Status: // N/A... // // History // 04/14/06 Glenn Alexander // Initial Creation // //------------------------------------------------------------------------------ function ResetFeatureDesignations(sCheckbox, sSelect, sSpan, lSearchNdx) { var bStatus; var lInc; document.getElementById(sCheckbox).checked = false; for (lInc = (document.getElementById(sSelect).length - 1); lInc >= 0; lInc--) { document.getElementById(sSelect).options[lInc].selected = false; } document.getElementById(sSpan).style.color = m_lResetColor; m_bSearchFeaDesigArray[lSearchNdx] = false; //Check for other Feature Designations criteria. bStatus = false; for (lInc = 0; lInc < 9; lInc++) { if (m_bSearchFeaDesigArray[lInc] == true) { bStatus = true; break; } } if (bStatus == false) { document.getElementById("idAFeaDes").style.color = m_lResetColor; m_bSearchFeaDesig = false; } } function ResetOutputInstructions() { document.getElementById("radOITabDelimited").checked = true; document.getElementById("radOIHtmlPreview").checked = false; document.getElementById("radOIExcelSpreadsheet").checked = false; document.getElementById("radOIShapefile").checked = false; document.getElementById("radOIXML").checked = false; document.getElementById("radOIKML").checked = false document.getElementById("tdOI").style.color = m_lResetColor; if ((document.getElementById("tdOI").style.color == m_lResetColor) &&(document.getElementById("tdEL").style.color == m_lResetColor) &&(document.getElementById("tdOF").style.color == m_lResetColor)) { document.getElementById("idAGnsOutputCrit").style.color = m_lResetColor; } } function ResetElevation() { document.getElementById("idRadMeters").checked = true; document.getElementById("idRadFeet").checked = false; document.getElementById("tdEL").style.color = m_lResetColor; if ((document.getElementById("tdOI").style.color == m_lResetColor) &&(document.getElementById("tdEL").style.color == m_lResetColor) &&(document.getElementById("tdOF").style.color == m_lResetColor)) { document.getElementById("idAGnsOutputCrit").style.color = m_lResetColor; } } function ResetOutputField() { document.getElementById("idRegionCode").checked = true; document.getElementById("idLegFeatureAndNameID").checked = true; document.getElementById("idUniqueFeatureAndName").checked = false; document.getElementById("idDDLat").checked = true; document.getElementById("idDDLong").checked = true; document.getElementById("idDMSLat").checked = true; document.getElementById("idDMSLong").checked = true; document.getElementById("idMGRS").checked = true; document.getElementById("idJOGRef").checked = true; document.getElementById("idFeatureClass").checked = true; document.getElementById("idDSG").checked = true; document.getElementById("idPPLClass").checked = true; document.getElementById("idFCC").checked = true; document.getElementById("idADM1Code").checked = true; document.getElementById("idDimension").checked = false; document.getElementById("idPopulation").checked = true; document.getElementById("idElevation").checked = true; document.getElementById("idNCC").checked = true; document.getElementById("idNameType").checked = true; document.getElementById("idLangCode").checked = true; document.getElementById("idNameShortForm").checked = true; document.getElementById("idGenericName").checked = true; document.getElementById("idSortName").checked = true; document.getElementById("idFullName").checked = true; document.getElementById("idFullNameND").checked = true; document.getElementById("idModDate").checked = false; document.getElementById("tdOF").style.color = m_lResetColor; if ((document.getElementById("tdOI").style.color == m_lResetColor) &&(document.getElementById("tdEL").style.color == m_lResetColor) &&(document.getElementById("tdOF").style.color == m_lResetColor)) { document.getElementById("idAGnsOutputCrit").style.color = m_lResetColor; } } function ResetADM1Codes() { document.getElementById("txtADMCode").value = ""; document.getElementById("selADMCode").selectedIndex = 0; document.getElementById("txtADMName").value = ""; document.getElementById("selADMName").selectedIndex = 0; document.getElementById("txtADMCCCode").value = ""; document.getElementById("rdADMName").checked = true; document.getElementById("rdADMCode").checked = false; //document.getElementById("tdLTADM1").style.color = m_lResetColor; // if ((document.getElementById("tdLTADM1").style.color == m_lResetColor) // //&&(document.getElementById("tdLTOI").style.color == m_lResetColor) // &&(document.getElementById("tdLTCC").style.color == m_lResetColor) // &&(document.getElementById("tdLTDC").style.color == m_lResetColor) // &&(document.getElementById("tdLTLC").style.color == m_lResetColor)) // { // document.getElementById("idALookupTables").style.color = m_lResetColor; // } } function ResetCountryCodes() { document.getElementById("txtCntryCode").value = ""; document.getElementById("selCntryCode").selectedIndex = 0 document.getElementById("txtCntryame").value = ""; document.getElementById("selCntryName").selectedIndex = 0 document.getElementById("rdCntryName").checked = true; document.getElementById("rdCntryCode").checked = false; // document.getElementById("tdLTCC").style.color = m_lResetColor; // if ((document.getElementById("tdLTADM1").style.color == m_lResetColor) // //&&(document.getElementById("tdLTOI").style.color == m_lResetColor) // &&(document.getElementById("tdLTCC").style.color == m_lResetColor) // &&(document.getElementById("tdLTDC").style.color == m_lResetColor) // &&(document.getElementById("tdLTLC").style.color == m_lResetColor)) // { // document.getElementById("idALookupTables").style.color = m_lResetColor; // } } function ResetDesignationCodes() { document.getElementById("txtDesigCode").value = ""; document.getElementById("selDesigCode").selectedIndex = 0 document.getElementById("txtDesigName").value = ""; document.getElementById("selDesigName").selectedIndex = 0 document.getElementById("rdDesignName").checked = true; document.getElementById("rdDesignCode").checked = false; // document.getElementById("tdLTDC").style.color = m_lResetColor; // if ((document.getElementById("tdLTADM1").style.color == m_lResetColor) // //&&(document.getElementById("tdLTOI").style.color == m_lResetColor) // &&(document.getElementById("tdLTCC").style.color == m_lResetColor) // &&(document.getElementById("tdLTDC").style.color == m_lResetColor) // &&(document.getElementById("tdLTLC").style.color == m_lResetColor)) // { // document.getElementById("idALookupTables").style.color = m_lResetColor; // } } function ResetLanguageCodes() { document.getElementById("txtLanguageCode").value = ""; document.getElementById("selLangCode").selectedIndex = 0 document.getElementById("txtLanugageName").value = ""; document.getElementById("selLangName").selectedIndex = 0 document.getElementById("rdLangName").checked = true; document.getElementById("rdLangCode").checked = false; // document.getElementById("tdLTLC").style.color = m_lResetColor; // if ((document.getElementById("tdLTADM1").style.color == m_lResetColor) // //&&(document.getElementById("tdLTOI").style.color == m_lResetColor) // &&(document.getElementById("tdLTCC").style.color == m_lResetColor) // &&(document.getElementById("tdLTDC").style.color == m_lResetColor) // &&(document.getElementById("tdLTLC").style.color == m_lResetColor)) // { // document.getElementById("idALookupTables").style.color = m_lResetColor; // } } function ResetGenericGlossary() { document.getElementById("lstGenCountryNames").value = ""; document.getElementById("idGenericGlossary").selectedIndex = 0; } function ResetLookupOutputInstructions() { document.getElementById("radLTOIHtmlPreview").checked = true; document.getElementById("radLTOIExcelSpreadsheet").checked = false; document.getElementById("radLTOITabDelimited").checked = false; //document.getElementById("tdLTOI").style.color = m_lResetColor; // if ((document.getElementById("tdLTADM1").style.color == m_lResetColor) // //&&(document.getElementById("tdLTOI").style.color == m_lResetColor) // &&(document.getElementById("tdLTCC").style.color == m_lResetColor) // &&(document.getElementById("tdLTDC").style.color == m_lResetColor) // &&(document.getElementById("tdLTLC").style.color == m_lResetColor)) // { // document.getElementById("idALookupTables").style.color = m_lResetColor; // } } function ResetGeoNamesSearch() { var lInc; var objSEL; for (lInc = (document.getElementById("idLstCountryNames").length - 1); lInc >= 0; lInc--) { document.getElementById("idLstCountryNames").options[lInc].selected = false; } document.getElementById("idLstCountryNames").selectedIndex = 0; document.getElementById("idLstCountryNames").options[0].selected = false; //document.getElementById("idLstCountryNames").options[0].selected = false; //style.top = 0; document.getElementById("idtxtGeoName").value = ""; document.getElementById("idSelSearchCriteria").selectedIndex = 0; document.getElementById("idRomanCriteria").selectedIndex = 0; EnableNoDiacritics(); objSEL = document.getElementById("idlstADM1Names"); objSEL.multiple = false; objSEL.size = 0; objSEL.disabled = true; for (lInc = 0; lInc < objSEL.length; lInc++) { objSEL.remove(lInc); } objSEL.text = ""; objSEL.value = ""; objSEL.length = 0; m_sPrevSelected = ""; } function ResetAll2() { document.getElementById("frmSearch").reset(); } function ResetAll() { // Set the search tab active. The id changes depending on the selected tab so try id = 0 if (m_bSearching == false){ try{ setTab(document.getElementById("0")) } catch(e){ } } document.getElementById("radSearchType1").checked = true; ActivateSearch(); GeoNamesSearchVisible(true); document.getElementById("radOutputOrder1").checked = true; ResetGeoNamesSearch(); ResetOptions(); ResetFuzzy(); ResetAdvanced(); // Populated Place... ResetFeatureDesignations('cbPP', 'selPP', 'spPP', 0); // Administrative Region... ResetFeatureDesignations('cbAR', 'selAR', 'spAR', 1); // Area... ResetFeatureDesignations('cbArea', 'selArea', 'spAREA', 2); // Vegetation... ResetFeatureDesignations('cbVeg', 'selVeg', 'spVEG', 3); // Transportation Network... ResetFeatureDesignations('cbSHR', 'selSHR', 'spSHR', 4); // Hypsographic... ResetFeatureDesignations('cbHYP', 'selHYP', 'spHYP', 5); // Hydrographic... ResetFeatureDesignations('cbHYD', 'selHYD', 'spHYD', 6); // Undersea... ResetFeatureDesignations('cbUSEA', 'selUSEA', 'spUSEA', 7); // Spot Features... ResetFeatureDesignations('cbSF', 'selSF', 'spSF', 8); // MBR Search... ResetMBRInputs(true); AreCoordsBeingUsed(); // ADM1 Code Search... ResetADM1Codes(); // Country Code Search... ResetCountryCodes(); // Designation Code Search... ResetDesignationCodes(); // Language Code Search... ResetLanguageCodes(); // Generic Glossary... ResetGenericGlossary(); // Output Instructions... ResetOutputInstructions(); // Elevations... ResetElevation(); // Output Fields ResetOutputField(); // Lookup Output Instructions... ResetLookupOutputInstructions(); } function UpdateMBRSearchDisplay(sRadio) { if (sRadio == "DMS") { document.getElementById("idDivLATNE_DD").style.display='none'; document.getElementById("idDivLATSW_DD").style.display='none'; document.getElementById("idDivLATNE_DMS").style.display='block'; document.getElementById("idDivLATSW_DMS").style.display='block'; } else if (sRadio == "DD") { document.getElementById("idDivLATNE_DMS").style.display='none'; document.getElementById("idDivLATSW_DMS").style.display='none'; document.getElementById("idDivLATNE_DD").style.display='block'; document.getElementById("idDivLATSW_DD").style.display='block'; } } function ConvertToDD() { var lDeg; var lMin; var lSec; var fDD; lDeg = Math.abs(document.getElementById("idtxtLATN_d").value); lMin = Math.abs(document.getElementById("idtxtLATN_m").value); lSec = Math.abs(document.getElementById("idtxtLATN_s").value); // Calculate Decimal Degrees... fDD = lDeg + (lMin / 60) + (lSec / 3600); // Round the answer to one-millionth... // if (document.getElementById("idradLATN_dirN").checked) // { fDD = (Math.round(fDD * 1000000) / 1000000); // } // else // { // fDD = (Math.round(fDD * 1000000) / 1000000) * -1; // } document.getElementById("idtxtLATN_DD").value = fDD; lDeg = Math.abs(document.getElementById("idtxtLONE_d").value); lMin = Math.abs(document.getElementById("idtxtLONE_m").value); lSec = Math.abs(document.getElementById("idtxtLONE_s").value); // Calculate Decimal Degrees... fDD = lDeg + (lMin / 60) + (lSec / 3600); // Round the answer to one-millionth.. // if (document.getElementById("idradLONE_dirE").checked) // { fDD = (Math.round(fDD * 1000000) / 1000000); // } // else // { // fDD = (Math.round(fDD * 1000000) / 1000000) * -1; // } document.getElementById("idtxtLONE_DD").value = fDD; lDeg = Math.abs(document.getElementById("idtxtLATS_d").value); lMin = Math.abs(document.getElementById("idtxtLATS_m").value); lSec = Math.abs(document.getElementById("idtxtLATS_s").value); // Calculate Decimal Degrees... fDD = lDeg + (lMin / 60) + (lSec / 3600); // Round the answer to one-millionth.. // if (document.getElementById("idradLATS_dirN").checked) // { fDD = (Math.round(fDD * 1000000) / 1000000); // } // else // { // fDD = (Math.round(fDD * 1000000) / 1000000) * -1; // } document.getElementById("idtxtLATS_DD").value = fDD; lDeg = Math.abs(document.getElementById("idtxtLONW_d").value); lMin = Math.abs(document.getElementById("idtxtLONW_m").value); lSec = Math.abs(document.getElementById("idtxtLONW_s").value); // Calculate Decimal Degrees... fDD = lDeg + (lMin / 60) + (lSec / 3600); // Round the answer to one-millionth.. // if (document.getElementById("idradLONW_dirE").checked) // { fDD = (Math.round(fDD * 1000000) / 1000000); // } // else // { // fDD = (Math.round(fDD * 1000000) / 1000000) * -1; // } document.getElementById("idtxtLONW_DD").value = fDD; // Update the Cardinal directions... document.getElementById("idradLATN_dirN2").checked = document.getElementById("idradLATN_dirN").checked; document.getElementById("idradLATN_dirS2").checked = document.getElementById("idradLATN_dirS").checked; document.getElementById("idradLONE_dirE2").checked = document.getElementById("idradLONE_dirE").checked; document.getElementById("idradLONE_dirW2").checked = document.getElementById("idradLONE_dirW").checked; document.getElementById("idradLATS_dirN2").checked = document.getElementById("idradLATS_dirN").checked; document.getElementById("idradLATS_dirS2").checked = document.getElementById("idradLATS_dirS").checked; document.getElementById("idradLONW_dirE2").checked = document.getElementById("idradLONW_dirE").checked; document.getElementById("idradLONW_dirW2").checked = document.getElementById("idradLONW_dirW").checked; } function ConvertToDMS() { var lDeg; var lMin; var lSec; var fDD; // Convert the Northeast corner Latitude... fDD = Math.abs(document.getElementById("idtxtLATN_DD").value); // Calculate the Degrees, Minutes, and Seconds... lDeg = Math.floor(fDD); lMin = Math.floor((fDD - lDeg) * 60); lSec = (Math.round((((fDD - lDeg) - (lMin / 60)) * 3600) * 100) / 100); // Update the web display's degrees, minutes, and seconds... document.getElementById("idtxtLATN_d").value = lDeg; document.getElementById("idtxtLATN_m").value = lMin; document.getElementById("idtxtLATN_s").value = lSec; // Convert the Northeast corner Longitude... fDD = Math.abs(document.getElementById("idtxtLONE_DD").value); // Calculate the Degrees, Minutes, and Seconds... lDeg = Math.floor(fDD); lMin = Math.floor((fDD - lDeg) * 60); lSec = (Math.round((((fDD - lDeg) - (lMin / 60)) * 3600) * 100) / 100); // Update the web display's degrees, minutes, and seconds... document.getElementById("idtxtLONE_d").value = lDeg; document.getElementById("idtxtLONE_m").value = lMin; document.getElementById("idtxtLONE_s").value = lSec; // Convert the Southwest corner Latitude... fDD = Math.abs(document.getElementById("idtxtLATS_DD").value); // Calculate the Degrees, Minutes, and Seconds... lDeg = Math.floor(fDD); lMin = Math.floor((fDD - lDeg) * 60); lSec = (Math.round((((fDD - lDeg) - (lMin / 60)) * 3600) * 100) / 100); // Update the web display's degrees, minutes, and seconds... document.getElementById("idtxtLATS_d").value = lDeg; document.getElementById("idtxtLATS_m").value = lMin; document.getElementById("idtxtLATS_s").value = lSec; // Convert the Southwest corner Longitude... fDD = Math.abs(document.getElementById("idtxtLONW_DD").value); // Calculate the Degrees, Minutes, and Seconds... lDeg = Math.floor(fDD); lMin = Math.floor((fDD - lDeg) * 60); lSec = (Math.round((((fDD - lDeg) - (lMin / 60)) * 3600) * 100) / 100); // Update the web display's degrees, minutes, and seconds... document.getElementById("idtxtLONW_d").value = lDeg; document.getElementById("idtxtLONW_m").value = lMin; document.getElementById("idtxtLONW_s").value = lSec; // Update the Cardinal directions... document.getElementById("idradLATN_dirN").checked = document.getElementById("idradLATN_dirN2").checked; document.getElementById("idradLATN_dirS").checked = document.getElementById("idradLATN_dirS2").checked; document.getElementById("idradLONE_dirE").checked = document.getElementById("idradLONE_dirE2").checked; document.getElementById("idradLONE_dirW").checked = document.getElementById("idradLONE_dirW2").checked; document.getElementById("idradLATS_dirN").checked = document.getElementById("idradLATS_dirN2").checked; document.getElementById("idradLATS_dirS").checked = document.getElementById("idradLATS_dirS2").checked; document.getElementById("idradLONW_dirE").checked = document.getElementById("idradLONW_dirE2").checked; document.getElementById("idradLONW_dirW").checked = document.getElementById("idradLONW_dirW2").checked; } function VerifyDegreesLATDMS(sDegreeID, sMinuteID, sSecondID, sLatCardinalID) { var dDegrees var dMinutes var dSeconds // Make sure a number was keyed-in... if (isNaN(document.getElementById(sDegreeID).value) == false) { if ((document.getElementById(sDegreeID).value == null) || (document.getElementById(sDegreeID).value == "")) { document.getElementById(sDegreeID).value = 0; } document.getElementById(sDegreeID).value = Math.round(document.getElementById(sDegreeID).value); dDegrees = document.getElementById(sDegreeID).value; if ((dDegrees < -90) || (dDegrees > 90)) { alert("Invalid value for Latitude Degrees."); if (dDegrees < -90) { document.getElementById(sDegreeID).value = -90; } else if (dDegrees > 90) { document.getElementById(sDegreeID).value = 90; } } else { if ((document.getElementById(sMinuteID).value == null) || (document.getElementById(sMinuteID).value == "")) { document.getElementById(sMinuteID).value = 0; } dMinutes = document.getElementById(sMinuteID).value; if ((document.getElementById(sSecondID).value == null) || (document.getElementById(sSecondID).value == "")) { document.getElementById(sSecondID).value = 0; } dSeconds = document.getElementById(sSecondID).value; if (dDegrees < 0) { // The input was negative... document.getElementById(sDegreeID).value = Math.abs(dDegrees); document.getElementById(sLatCardinalID).checked = true; document.getElementById(sDegreeID).focus(); } if ((Math.abs(dDegrees) == 90) && ((dMinutes > 0) || (dSeconds > 0))) { document.getElementById(sDegreeID).value = 89; } } } else { alert("Invalid value for Latitude Degrees. Latitude Degrees must be a number."); document.getElementById(sDegreeID).value = 0; } } function VerifyDegreesLATDD(sDegreeID, sLatCardinalID) { var dDegrees // Make sure a number was keyed-in... if (isNaN(document.getElementById(sDegreeID).value) == false) { if ((document.getElementById(sDegreeID).value == null) || (document.getElementById(sDegreeID).value == "")) { document.getElementById(sDegreeID).value = 0; } dDegrees = document.getElementById(sDegreeID).value; if ((dDegrees < -90) || (dDegrees > 90)) { alert("Invalid value for Latitude Degrees."); if (dDegrees < -90) { document.getElementById(sDegreeID).value = -90; } else if (dDegrees > 90) { document.getElementById(sDegreeID).value = 90; } } else if (dDegrees < 0) { // The input was negative... document.getElementById(sDegreeID).value = Math.abs(dDegrees); document.getElementById(sLatCardinalID).checked = true; document.getElementById(sDegreeID).focus(); } } else { alert("Invalid value for Latitude Degrees. Latitude Degrees must be a number."); document.getElementById(sDegreeID).value = 0; } } function VerifyDegreesLONDMS(sDegreeID, sMinuteID, sSecondID, sLonCardinalID) { var dDegrees var dMinutes var dSeconds // Make sure a number was keyed-in... if (isNaN(document.getElementById(sDegreeID).value) == false) { if ((document.getElementById(sDegreeID).value == null) || (document.getElementById(sDegreeID).value == "")) { document.getElementById(sDegreeID).value = 0; } document.getElementById(sDegreeID).value = Math.round(document.getElementById(sDegreeID).value); dDegrees = document.getElementById(sDegreeID).value; if ((dDegrees < -180) || (dDegrees > 180)) { alert("Invalid value for Longitude Degrees."); if (dDegrees < -180) { document.getElementById(sDegreeID).value = -180; } else if (dDegrees > 180) { document.getElementById(sDegreeID).value = 180; } } else { if ((document.getElementById(sMinuteID).value == null) || (document.getElementById(sMinuteID).value == "")) { document.getElementById(sMinuteID).value = 0; } dMinutes = document.getElementById(sMinuteID).value; if ((document.getElementById(sSecondID).value == null) || (document.getElementById(sSecondID).value == "")) { document.getElementById(sSecondID).value = 0; } dSeconds = document.getElementById(sSecondID).value; if (dDegrees < 0) { // The input was negative... document.getElementById(sDegreeID).value = Math.abs(dDegrees); document.getElementById(sLonCardinalID).checked = true; document.getElementById(sDegreeID).focus(); } if ((Math.abs(dDegrees) == 180) && ((dMinutes > 0) || (dSeconds > 0))) { document.getElementById(sDegreeID).value = 179; } } } else { alert("Invalid value for Longitude Degrees. Longitude Degrees must be a number."); document.getElementById(sDegreeID).value = 0; } } function VerifyDegreesLONDD(sDegreeID, sLonCardinalID) { var dDegrees // Make sure a number was keyed-in... if (isNaN(document.getElementById(sDegreeID).value) == false) { if ((document.getElementById(sDegreeID).value == null) || (document.getElementById(sDegreeID).value == "")) { document.getElementById(sDegreeID).value = 0; } dDegrees = document.getElementById(sDegreeID).value; if ((dDegrees < -180) || (dDegrees > 180)) { alert("Invalid value for Longitude Degrees."); if (dDegrees < -180) { document.getElementById(sDegreeID).value = -180; } else if (dDegrees > 180) { document.getElementById(sDegreeID).value = 180; } } else if (dDegrees < 0) { // The input was negative... document.getElementById(sDegreeID).value = Math.abs(dDegrees); document.getElementById(sLonCardinalID).checked = true; document.getElementById(sDegreeID).focus(); } } else { alert("Invalid value for Longitude Degrees. Longitude Degrees must be a number."); document.getElementById(sDegreeID).value = 0; } } function VerifyMinutesLATDMS(sDegreeID, sMinuteID) { var dMinutes // Make sure a number was keyed-in... if (isNaN(document.getElementById(sMinuteID).value) == false) { if (Math.abs(document.getElementById(sDegreeID).value) == 90) { document.getElementById(sMinuteID).value = 0; } if ((document.getElementById(sMinuteID).value == null) || (document.getElementById(sMinuteID).value == "")) { document.getElementById(sMinuteID).value = 0; } document.getElementById(sMinuteID).value = Math.round(document.getElementById(sMinuteID).value); dMinutes = document.getElementById(sMinuteID).value; if ((dMinutes < 0) || (dMinutes > 59)) { alert("Invalid value for Minutes."); if (dMinutes < 0) { document.getElementById(sMinuteID).value = 0; } else if (dMinutes > 59) { document.getElementById(sMinuteID).value = 59; } } } else { alert("Invalid value for Minutes. Minutes value must be a number (0 - 59)."); document.getElementById(sMinuteID).value = 0; } } function VerifyMinutesLONDMS(sDegreeID, sMinuteID) { var dMinutes // Make sure a number was keyed-in... if (isNaN(document.getElementById(sMinuteID).value) == false) { if (Math.abs(document.getElementById(sDegreeID).value) == 180) { document.getElementById(sMinuteID).value = 0; } if ((document.getElementById(sMinuteID).value == null) || (document.getElementById(sMinuteID).value == "")) { document.getElementById(sMinuteID).value = 0; } document.getElementById(sMinuteID).value = Math.round(document.getElementById(sMinuteID).value); dMinutes = document.getElementById(sMinuteID).value; if ((dMinutes < 0) || (dMinutes > 59)) { alert("Invalid value for Minutes."); if (dMinutes < 0) { document.getElementById(sMinuteID).value = 0; } else if (dMinutes > 59) { document.getElementById(sMinuteID).value = 59; } } } else { alert("Invalid value for Minutes. Minutes value must be a number (0 - 59)."); document.getElementById(sMinuteID).value = 0; } } function VerifySecondsLATDMS(sDegreeID, sSecondID) { var dSeconds // Make sure a number was keyed-in... if (isNaN(document.getElementById(sSecondID).value) == false) { if (Math.abs(document.getElementById(sDegreeID).value) == 90) { document.getElementById(sSecondID).value = 0; } if ((document.getElementById(sSecondID).value == null) || (document.getElementById(sSecondID).value == "")) { document.getElementById(sSecondID).value = 0; } document.getElementById(sSecondID).value = Math.round(document.getElementById(sSecondID).value); dSeconds = document.getElementById(sSecondID).value; if ((dSeconds < 0) || (dSeconds > 59)) { alert("Invalid value for Seconds."); if (dSeconds < 0) { document.getElementById(sSecondID).value = 0; } else if (dSeconds > 59) { document.getElementById(sSecondID).value = 59; } } } else { alert("Invalid value for Seconds. Seconds value must be a number (0 - 59)."); document.getElementById(sSecondID).value = 0; } } function VerifySecondsLONDMS(sDegreeID, sSecondID) { var dSeconds // Make sure a number was keyed-in... if (isNaN(document.getElementById(sSecondID).value) == false) { if (Math.abs(document.getElementById(sDegreeID).value) == 180) { document.getElementById(sSecondID).value = 0; } if ((document.getElementById(sSecondID).value == null) || (document.getElementById(sSecondID).value == "")) { document.getElementById(sSecondID).value = 0; } document.getElementById(sSecondID).value = Math.round(document.getElementById(sSecondID).value); dSeconds = document.getElementById(sSecondID).value; if ((dSeconds < 0) || (dSeconds > 59)) { alert("Invalid value for Seconds."); if (dSeconds < 0) { document.getElementById(sSecondID).value = 0; } else if (dSeconds > 59) { document.getElementById(sSecondID).value = 59; } } } else { alert("Invalid value for Seconds. Seconds value must be a number (0 - 59)."); document.getElementById(sSecondID).value = 0; } } function ProcessRomanScript() { if (document.getElementById("idRomanCriteria").selectedIndex == 1) { DisableNoDiacritics(); } else { EnableNoDiacritics(); } } function EnableNoDiacritics() { document.getElementById("idNDC1").disabled = false; document.getElementById("idSpanNDC1").style.fontStyle = 'normal'; document.getElementById("idSpanNDC1").style.color = '#000099'; document.getElementById("idSpanNDC1").style.textDecorationNone = true; document.getElementById("idNDC").disabled = false; document.getElementById("idSpanNDC").style.fontStyle = 'normal'; document.getElementById("idSpanNDC").style.color = '#000099'; document.getElementById("idSpanNDC").style.textDecorationNone = true; } function DisableNoDiacritics() { document.getElementById("idNDC1").disabled = true; document.getElementById("idSpanNDC1").style.fontStyle = 'italic'; document.getElementById("idSpanNDC1").style.color = '#666666'; document.getElementById("idSpanNDC1").style.textDecorationLineThrough = true; if (document.getElementById("idNDC1").checked == true) { document.getElementById("idDC").checked = true; } document.getElementById("idNDC").disabled = true; document.getElementById("idSpanNDC").style.fontStyle = 'italic'; document.getElementById("idSpanNDC").style.color = '#666666'; document.getElementById("idSpanNDC").style.textDecorationLineThrough = true; if (document.getElementById("idNDC").checked == true) { document.getElementById("idUTF8").checked = true; } } // myWidth = 800; // myHeight = 775; /* myHeight = screen.availHeight; if (screen.availWidth < myWidth) { myWidth = screen.availWidth; } top.window.resizeTo(myWidth, myHeight); //768 */ function toggleDownloads(){ if (document.getElementById("GNdownloads").style.display=='none') { document.getElementById("GNdownloads").style.display='block'; document.getElementById("imgGNSDownLoad").src ="images/minus.gif" } else{ document.getElementById("GNdownloads").style.display='none'; document.getElementById("imgGNSDownLoad").src ="images/plus.gif" } } function enableFileDownload(e){ if (e.checked){ document.getElementById("showDownload").style.visibility = 'visible'; // Attempt to clear out the last downloaded file browsed for... OutputDirListIframe.document.getElementById("lblMessage").innerHTML = ""; } else{ document.getElementById("showDownload").style.visibility = 'hidden'; } } function toggleDebug(){ if (document.getElementById("iframewrapper").style.visibility == 'visible'){ document.getElementById("iframewrapper").style.visibility = 'hidden'; } else{ document.getElementById("iframewrapper").style.visibility = 'visible'; } } // Check the keypress for the Names Search Name: field // Auto submit the form data if the Enter key is selected in this field ... function checkKeysPressed(event){ var code = 0; code = event.keyCode; if (code==13){ event = null; if (document.getElementById("divSubSearchDB").style.display == 'block'){ SearchDatabase() // Search - screen output }else{ OutputResults() // Output - file output } } } </script> </head> <body onunload="closeAllWindows()" style=" background-image:url(/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/leftBorder.gif); background-repeat:repeat-y; overflow-x:hidden; overflow-y:auto;"> <img border="0" name="NgaTop" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/DSnga_banner_top.jpg" style="z-index:10;" alt="Click to visit NGA home."/> <a href="https://web.archive.org/web/20100531091819/http://www.nga.mil/" target="_blank"> <img name="NgaTop" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/icons/www/agency-brand-top.gif" vspace="0" border="0" style="POSITION: absolute; left:0; top:0; visibility:visible; z-index:10;" alt="Click to visit NGA home."/> </a> <a href="https://web.archive.org/web/20100531091819/http://www.nga.mil/" target="_blank"> <img name="NgaTop" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/icons/www/agency-brand-bottom_trans.gif" vspace="0" border="0" style="position:absolute; left:0; top:44; visibility:visible; z-index:10;" alt="Click to visit NGA home."/> </a> <center> <h1 align="center" class="clsDivTopHeader" id="hdrTop">GNS Search</h1> <h1 align="center" class="clsDivTopHeader2" id="hdrTop2"></h1> </center> <!-- Fix for misaligning borders in the GGMAGAZ site --> <script language="javascript"> if (isOp || isFirefox || isSafari){ document.writeln ("<div id='coverUP' style='position:absolute; left:197; top:85; width:100%; height:300;") document.writeln (" background-image:url(images/leftBorder.gif) ;") document.writeln (" background-repeat:repeat-y; background-color:White;") document.writeln (" background-position:-199; border-top:solid 2px black;") document.writeln (" border-left:solid 2px black;'>") document.writeln ("</div>") } else{ document.writeln ("<div id='coverUP' style='position:absolute; left:195; top:85; width:100%; height:300;") document.writeln (" background-image:url(images/leftBorder.gif) ;") document.writeln (" background-repeat:repeat-y; background-color:White;") document.writeln (" background-position:-199; border-top:solid 2px black;") document.writeln (" border-left:solid 2px black;'>") document.writeln ("</div>") } </script> <div class="clsDivContent"> <form style="width:100%" method="post" id="frmSearch" name="frmSearch"> <br> <table border="0" cellpadding="10" cellspacing="0" style="font-size:12px"> <tr> <td> The geographic names in this database are provided for the guidance of and use by the Federal Government and for the information of the general public. <b> The names, variants, and associated data may not reflect the views of the United States Government on the sovereignty over geographic features. </b> <br> </td> </tr> </table> <table> <tr> </tr> </table> <div id="divGeoNamesSearch"> <fieldset class="styFieldSet" style="width:100%" onclick="HideLookups();"> <span id="sCordSearchActive"> </span> <legend style="color:#000099;">Names Search</legend> <table style="margin:1px" width="100%" border="0" cellspacing="4"> <tr> <td width="35%" valign="middle" align="right" style="color:#000099; font-size: 10pt"> <label for="lstCountryNames" title="Select country names."> Country Name:<br/>(optional) </label> </td> <td colspan="3"> <select class="clsSelect" id="idLstCountryNames" name="lstCountryNames" multiple size="5" title="Select country names." onchange="QueryADM1Names();"> <option value="AF">Afghanistan (AF)</option> <option value="AX">Akrotiri (AX)</option> <option value="AL">Albania (AL)</option> <option value="AG">Algeria (AG)</option> <option value="AQ">American Samoa (AQ)</option> <option value="AN">Andorra (AN)</option> <option value="AO">Angola (AO)</option> <option value="AV">Anguilla (AV)</option> <option value="AY">Antarctica (AY)</option> <option value="AC">Antigua and Barbuda (AC)</option> <option value="AR">Argentina (AR)</option> <option value="AM">Armenia (AM)</option> <option value="AA">Aruba (AA)</option> <option value="AT">Ashmore and Cartier Islands (AT)</option> <option value="AS">Australia (AS)</option> <option value="AU">Austria (AU)</option> <option value="AJ">Azerbaijan (AJ)</option> <option value="BF">Bahamas, The (BF)</option> <option value="BA">Bahrain (BA)</option> <option value="FQ">Baker Island (FQ)</option> <option value="BG">Bangladesh (BG)</option> <option value="BB">Barbados (BB)</option> <option value="BS">Bassas da India (BS)</option> <option value="BO">Belarus (BO)</option> <option value="BE">Belgium (BE)</option> <option value="BH">Belize (BH)</option> <option value="BN">Benin (BN)</option> <option value="BD">Bermuda (BD)</option> <option value="BT">Bhutan (BT)</option> <option value="BL">Bolivia (BL)</option> <option value="BK">Bosnia and Herzegovina (BK)</option> <option value="BC">Botswana (BC)</option> <option value="BV">Bouvet Island (BV)</option> <option value="BR">Brazil (BR)</option> <option value="IO">British Indian Ocean Territory (IO)</option> <option value="VI">British Virgin Islands (VI)</option> <option value="BX">Brunei (BX)</option> <option value="BU">Bulgaria (BU)</option> <option value="UV">Burkina Faso (UV)</option> <option value="BM">Burma (BM)</option> <option value="BY">Burundi (BY)</option> <option value="CB">Cambodia (CB)</option> <option value="CM">Cameroon (CM)</option> <option value="CA">Canada (CA)</option> <option value="CV">Cape Verde (CV)</option> <option value="CJ">Cayman Islands (CJ)</option> <option value="CT">Central African Republic (CT)</option> <option value="CD">Chad (CD)</option> <option value="CI">Chile (CI)</option> <option value="CH">China (CH)</option> <option value="KT">Christmas Island (KT)</option> <option value="IP">Clipperton Island (IP)</option> <option value="CK">Cocos (Keeling) Islands (CK)</option> <option value="CO">Colombia (CO)</option> <option value="CN">Comoros (CN)</option> <option value="CG">Congo, Democratic Republic of the (CG)</option> <option value="CF">Congo, Republic of the (CF)</option> <option value="CW">Cook Islands (CW)</option> <option value="CR">Coral Sea Islands (CR)</option> <option value="CS">Costa Rica (CS)</option> <option value="HR">Croatia (HR)</option> <option value="CU">Cuba (CU)</option> <option value="CY">Cyprus (CY)</option> <option value="EZ">Czech Republic (EZ)</option> <option value="IV">C么te d'Ivoire (IV)</option> <option value="DA">Denmark (DA)</option> <option value="DX">Dhekelia (DX)</option> <option value="DJ">Djibouti (DJ)</option> <option value="DO">Dominica (DO)</option> <option value="DR">Dominican Republic (DR)</option> <option value="EC">Ecuador (EC)</option> <option value="EG">Egypt (EG)</option> <option value="ES">El Salvador (ES)</option> <option value="EK">Equatorial Guinea (EK)</option> <option value="ER">Eritrea (ER)</option> <option value="EN">Estonia (EN)</option> <option value="ET">Ethiopia (ET)</option> <option value="PJ">Etorofu, Habomai, Kunashiri and Shikotan Islands (PJ)</option> <option value="EU">Europa Island (EU)</option> <option value="FK">Falkland Islands (Islas Malvinas) (FK)</option> <option value="FO">Faroe Islands (FO)</option> <option value="FJ">Fiji (FJ)</option> <option value="FI">Finland (FI)</option> <option value="FR">France (FR)</option> <option value="FG">French Guiana (FG)</option> <option value="FP">French Polynesia (FP)</option> <option value="FS">French Southern and Antarctic Lands (FS)</option> <option value="GB">Gabon (GB)</option> <option value="GA">Gambia, The (GA)</option> <option value="GZ">Gaza Strip (GZ)</option> <option value="GG">Georgia (GG)</option> <option value="GM">Germany (GM)</option> <option value="GH">Ghana (GH)</option> <option value="GI">Gibraltar (GI)</option> <option value="GO">Glorioso Islands (GO)</option> <option value="GR">Greece (GR)</option> <option value="GL">Greenland (GL)</option> <option value="GJ">Grenada (GJ)</option> <option value="GP">Guadeloupe (GP)</option> <option value="GQ">Guam (GQ)</option> <option value="GT">Guatemala (GT)</option> <option value="GK">Guernsey (GK)</option> <option value="GV">Guinea (GV)</option> <option value="PU">Guinea-Bissau (PU)</option> <option value="GY">Guyana (GY)</option> <option value="HA">Haiti (HA)</option> <option value="HM">Heard Island and McDonald Islands (HM)</option> <option value="HO">Honduras (HO)</option> <option value="HK">Hong Kong (HK)</option> <option value="HQ">Howland Island (HQ)</option> <option value="HU">Hungary (HU)</option> <option value="IC">Iceland (IC)</option> <option value="IN">India (IN)</option> <option value="ID">Indonesia (ID)</option> <option value="IR">Iran (IR)</option> <option value="IZ">Iraq (IZ)</option> <option value="EI">Ireland (EI)</option> <option value="IM">Isle of Man (IM)</option> <option value="IS">Israel (IS)</option> <option value="IT">Italy (IT)</option> <option value="JM">Jamaica (JM)</option> <option value="JN">Jan Mayen (JN)</option> <option value="JA">Japan (JA)</option> <option value="DQ">Jarvis Island (DQ)</option> <option value="JE">Jersey (JE)</option> <option value="JQ">Johnston Atoll (JQ)</option> <option value="JO">Jordan (JO)</option> <option value="JU">Juan de Nova Island (JU)</option> <option value="KZ">Kazakhstan (KZ)</option> <option value="KE">Kenya (KE)</option> <option value="KQ">Kingman Reef (KQ)</option> <option value="KR">Kiribati (KR)</option> <option value="KV">Kosovo (KV)</option> <option value="KU">Kuwait (KU)</option> <option value="KG">Kyrgyzstan (KG)</option> <option value="LA">Laos (LA)</option> <option value="LG">Latvia (LG)</option> <option value="LE">Lebanon (LE)</option> <option value="LT">Lesotho (LT)</option> <option value="LI">Liberia (LI)</option> <option value="LY">Libya (LY)</option> <option value="LS">Liechtenstein (LS)</option> <option value="LH">Lithuania (LH)</option> <option value="LU">Luxembourg (LU)</option> <option value="MC">Macau (MC)</option> <option value="MK">Macedonia (MK)</option> <option value="MA">Madagascar (MA)</option> <option value="MI">Malawi (MI)</option> <option value="MY">Malaysia (MY)</option> <option value="MV">Maldives (MV)</option> <option value="ML">Mali (ML)</option> <option value="MT">Malta (MT)</option> <option value="RM">Marshall Islands (RM)</option> <option value="MB">Martinique (MB)</option> <option value="MR">Mauritania (MR)</option> <option value="MP">Mauritius (MP)</option> <option value="MF">Mayotte (MF)</option> <option value="MX">Mexico (MX)</option> <option value="FM">Micronesia, Federated States of (FM)</option> <option value="MQ">Midway Islands (MQ)</option> <option value="MD">Moldova (MD)</option> <option value="MN">Monaco (MN)</option> <option value="MG">Mongolia (MG)</option> <option value="MJ">Montenegro (MJ)</option> <option value="MH">Montserrat (MH)</option> <option value="MO">Morocco (MO)</option> <option value="MZ">Mozambique (MZ)</option> <option value="WA">Namibia (WA)</option> <option value="NR">Nauru (NR)</option> <option value="BQ">Navassa Island (BQ)</option> <option value="NP">Nepal (NP)</option> <option value="NL">Netherlands (NL)</option> <option value="NT">Netherlands Antilles (NT)</option> <option value="NC">New Caledonia (NC)</option> <option value="NZ">New Zealand (NZ)</option> <option value="NU">Nicaragua (NU)</option> <option value="NG">Niger (NG)</option> <option value="NI">Nigeria (NI)</option> <option value="NE">Niue (NE)</option> <option value="NM">No Man's Land (NM)</option> <option value="NF">Norfolk Island (NF)</option> <option value="KN">North Korea (KN)</option> <option value="CQ">Northern Mariana Islands (CQ)</option> <option value="NO">Norway (NO)</option> <option value="OS">Oceans (OS)</option> <option value="MU">Oman (MU)</option> <option value="PK">Pakistan (PK)</option> <option value="PS">Palau (PS)</option> <option value="LQ">Palmyra Atoll (LQ)</option> <option value="PM">Panama (PM)</option> <option value="PP">Papua New Guinea (PP)</option> <option value="PF">Paracel Islands (PF)</option> <option value="PA">Paraguay (PA)</option> <option value="PE">Peru (PE)</option> <option value="RP">Philippines (RP)</option> <option value="PC">Pitcairn Islands (PC)</option> <option value="PL">Poland (PL)</option> <option value="PO">Portugal (PO)</option> <option value="RQ">Puerto Rico (RQ)</option> <option value="QA">Qatar (QA)</option> <option value="RE">Reunion (RE)</option> <option value="RO">Romania (RO)</option> <option value="RS">Russia (RS)</option> <option value="RW">Rwanda (RW)</option> <option value="TB">Saint Barth茅lemy (TB)</option> <option value="SH">Saint Helena, Ascension, and Tristan da Cunha (SH)</option> <option value="SC">Saint Kitts and Nevis (SC)</option> <option value="ST">Saint Lucia (ST)</option> <option value="RN">Saint Martin (RN)</option> <option value="SB">Saint Pierre and Miquelon (SB)</option> <option value="VC">Saint Vincent and the Grenadines (VC)</option> <option value="WS">Samoa (WS)</option> <option value="SM">San Marino (SM)</option> <option value="TP">Sao Tome and Principe (TP)</option> <option value="SA">Saudi Arabia (SA)</option> <option value="SG">Senegal (SG)</option> <option value="RI">Serbia (RI)</option> <option value="SE">Seychelles (SE)</option> <option value="SL">Sierra Leone (SL)</option> <option value="SN">Singapore (SN)</option> <option value="LO">Slovakia (LO)</option> <option value="SI">Slovenia (SI)</option> <option value="BP">Solomon Islands (BP)</option> <option value="SO">Somalia (SO)</option> <option value="SF">South Africa (SF)</option> <option value="SX">South Georgia and the South Sandwich Islands (SX)</option> <option value="KS">South Korea (KS)</option> <option value="SP">Spain (SP)</option> <option value="PG">Spratly Islands (PG)</option> <option value="CE">Sri Lanka (CE)</option> <option value="SU">Sudan (SU)</option> <option value="NS">Suriname (NS)</option> <option value="SV">Svalbard (SV)</option> <option value="WZ">Swaziland (WZ)</option> <option value="SW">Sweden (SW)</option> <option value="SZ">Switzerland (SZ)</option> <option value="SY">Syria (SY)</option> <option value="TW">Taiwan (TW)</option> <option value="TI">Tajikistan (TI)</option> <option value="TZ">Tanzania (TZ)</option> <option value="TH">Thailand (TH)</option> <option value="TT">Timor-Leste (TT)</option> <option value="TO">Togo (TO)</option> <option value="TL">Tokelau (TL)</option> <option value="TN">Tonga (TN)</option> <option value="TD">Trinidad and Tobago (TD)</option> <option value="TE">Tromelin Island (TE)</option> <option value="TS">Tunisia (TS)</option> <option value="TU">Turkey (TU)</option> <option value="TX">Turkmenistan (TX)</option> <option value="TK">Turks and Caicos Islands (TK)</option> <option value="TV">Tuvalu (TV)</option> <option value="UG">Uganda (UG)</option> <option value="UP">Ukraine (UP)</option> <option value="UF">Undersea Features (UF)</option> <option value="AE">United Arab Emirates (AE)</option> <option value="UK">United Kingdom (UK)</option> <option value="US">United States (US)</option> <option value="UY">Uruguay (UY)</option> <option value="UZ">Uzbekistan (UZ)</option> <option value="NH">Vanuatu (NH)</option> <option value="VT">Vatican City (VT)</option> <option value="VE">Venezuela (VE)</option> <option value="VM">Vietnam (VM)</option> <option value="VQ">Virgin Islands (VQ)</option> <option value="WQ">Wake Island (WQ)</option> <option value="WF">Wallis and Futuna (WF)</option> <option value="WE">West Bank (WE)</option> <option value="WI">Western Sahara (WI)</option> <option value="YM">Yemen (YM)</option> <option value="ZA">Zambia (ZA)</option> <option value="ZI">Zimbabwe (ZI)</option> </select> </td> <td valign="top"> <input type="button" class="clsButton" value="Reset" id="Button1" name="ButGeoNamesSearchReset" onclick="ResetGeoNamesSearch();"> </td> </tr> <tr style="line-height:70%"> <td align="right" style="color:#000099; font-size: 8pt; font-weight:bold" colspan="3"> </td> <td valign="bottom" align="center" style="color:#000099; font-size: 8pt; font-weight:bold" nowrap> Input Search String... </td> </tr> <tr> <td align="right" style="color:#000099; font-size: 10pt"> <label for="txtGeoName" title="GeoName Key-in.">Name: </label> </td> <td width="100%"> <input name="txtGeoName" id="idtxtGeoName" type="text" class="clsTxtGeoName" title="GeoName Key-in." onkeypress="checkKeysPressed(event)"> </td> <td> <select id="idSelSearchCriteria" name="lstSearchCriteria" onchange="CheckFuzzy();" style="font-size:9pt" title="Select the Search Criteria."> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> <option value="5">Fuzzy Search</option> </select> </td> <td> <select id="idRomanCriteria" name="lstRomanCriteria" style="font-size:9pt" title="Select the Roman Script Criteria." onclick="ProcessRomanScript();"> <option value="0" selected>Without Diacritics</option> <option value="1">With Diacritics</option> </select> </td> </tr> <tr> <td align="right" style="color:#000099; font-size: 10pt" nowrap> <label id="idlblADM1Names" for="lstADM1Names" title="Select ADM1 names. Select all country names before selecting ADM1 names." style="color:#000099;">ADM1 Names: </label> </td> <td colspan="3"> <select name="lstADM1Names" id="idlstADM1Names" class="clsSelect" disabled="disabled" style="width:100%;" title="Select ADM1 names. Select all country names before selecting ADM1 names."> </select> </td> </tr> </table> <input type="hidden" name="HiddenADM1names" id="idHiddenADM1names"> <input type="hidden" name="DisplayMapLink" id="idDisplayMapLink"> </fieldset> <br> </div><!--divGeoNamesSearch--> <!--**************************************************************--> <!--<P>--> <center> <div id="divSubSearchDB"> <input type="button" class="clsButton" value="Search Database" id="subSearchDB" name="subSearchDB" onclick="SearchDatabase();"> </div> <div id="divSubOutputResults" style="display:none"> <input type="button" class="clsButton" value="Output Results" id="subOutputResults" name="subOutputResults" onclick="OutputResults();"> </div> </center> <!--</P>--> <!--**************************************************************--> <div id="Options" class="clsDivSearchCriteria" style="display:none; width:100%"> <br> <fieldset class="styFieldSet" style="width:98%" align="center"> <legend style="color:#000099;">Search Criteria</legend> <br/> <div id="idSCriteria" style="display:block"> <table width="100%" style="margin:10px" border="0" cellspacing="4"> <tr> <td colspan="2" align="left" height="20pt" valign="top" nowrap style="color:#000099; font-size: 10pt">Select Name Display:</td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButOptionReset" name="ButOptionReset" onclick="ResetOptions();"></td> </tr> <tr> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="CharType1" id="idDC" value="DC" onclick="CheckFuzzy(); CheckSearchOptions();" checked> Diacritics</td> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="CharType1" id="idNDC1" value="NDC" onclick="CheckFuzzy(); CheckSearchOptions();"> <span id="idSpanNDC1"> No Diacritics</span></td> </tr> </table> </div> <div id="idOPCriteria" style="display:none"> <table width="100%" style="margin:10px" border="0"> <tr> <td colspan="2" align="left" height="20pt" valign="top" nowrap style="color:#000099; font-size: 10pt">Select Name Diacritics:</td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButOutOptionReset" name="ButOutOptionReset" onclick="ResetOptions();"></td> </tr> <tr><!--GeoMedia WebMap doesn't currently work with Unicode (UTF-16)output. Alert a message until this is fixed grh--> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="CharType" id="idUTF8" value="UTF8" onclick="CheckFuzzy(); ChangeAnchorAttributes('idAOptions');" checked> Unicode (UTF-8)</td> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="CharType" id="idUTF16" value="UTF16" onclick="CheckFuzzy(); ChangeAnchorAttributes('idAOptions');"> Unicode (UTF-16)</td> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="CharType" id="idNDC" value="NDC" onclick="CheckFuzzy(); ChangeAnchorAttributes('idAOptions');"> <span id="idSpanNDC"> No Diacritics</span></td> </tr> </table> </div> <hr> <table width="100%" style="margin:10px" border="0"> <tr> <td colspan="4" align="left" nowrap style="color:#000099; font-size: 10pt; height:18pt">Name Type Search: </td> </tr> <tr> <td nowrap style="color:#000099; font-size: 10pt; width:25%"> <input type="checkbox" name="name_type" value="'C'" checked id="Checkbox1" onclick="CheckSearchOptions();"> Conventional </td> <td nowrap style="color:#000099; font-size: 10pt; width:25%"> <input type="checkbox" name="name_type" value="'H'" checked id="Checkbox2" onclick="CheckSearchOptions();"> Historic </td> <td nowrap style="color:#000099; font-size: 10pt; width:25%"> <input type="checkbox" name="name_type" value="'N'" checked id="Checkbox3" onclick="CheckSearchOptions();"> BGN Standard </td> </td> </tr> <tr> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'P'" checked id="Checkbox4" onclick="CheckSearchOptions();"> Provisional </td> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'V'" checked id="Checkbox5" onclick="CheckSearchOptions();"> Variant </td> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'D'" checked id="Checkbox6" onclick="CheckSearchOptions();"> Not Verified </td> </tr> <tr> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'HS'" checked id="Checkbox7" onclick="CheckSearchOptions();"> Historic in Non-Roman Script </td> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'NS'" checked id="Checkbox8" onclick="CheckSearchOptions();"> BGN Standard in Non-Roman Script </td> </tr> <tr> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'PS'" checked id="Checkbox9" onclick="CheckSearchOptions();"> Provisional in Non-Roman Script </td> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'VS'" checked id="Checkbox10" onclick="CheckSearchOptions();"> Variant in Non-Roman Script </td> </tr> <tr> <td nowrap style="color:#000099; font-size: 10pt"> <input type="checkbox" name="name_type" value="'DS'" checked id="Checkbox11" onclick="CheckSearchOptions();"> Not Verified in Non-Roman Script </td> </tr> <tr> <td colspan="4" style="color:#000099; font-size:10pt; height:18pt"> <input type="RADIO" name="name_type_operand" value="OR" checked id="Radio4" onclick="CheckSearchOptions();"> Match Any of the Selected Name Types <br> <input type="RADIO" name="name_type_operand" value="AND" id="Radio5" onclick="CheckSearchOptions();"> Exactly Match the Combination of Selected Name Types </td> </tr> </table> <hr/> <table border="0" width="100%" style="margin:10px" id="Table7"> <tr> <td align="Left" nowrap style="color:#000099; font-size: 10pt; height:18pt">Sort Order: </td> <tr> <td style="color:#000099; font-size: 10pt"> <input type="RADIO" name="sort_order" value="Feature" checked id="Radio6" onclick="CheckSearchOptions();"> Feature <input type="RADIO" name="sort_order" value="Name" id="Radio7" onclick="CheckSearchOptions();"> Name <input type="RADIO" name="sort_order" value="Coord" id="Radio8" onclick="CheckSearchOptions();"> Coordinate <input type="RADIO" name="sort_order" value="Desig" id="Radio9" onclick="CheckSearchOptions();"> Feature Designation </td> </tr> </table> <br> </fieldset> </div><!--Options--> <div id="divFuzzySearch" class="clsDivSearchCriteria" style="display:none; width:100%" align="center"> <br> <fieldset class="styFieldSet" style="width:98%" align="center"> <legend style="color:#000099;">Fuzzy Search</legend> <br/> <table width="100%" style="margin:2px" border="0"> <tr> <td align="left" nowrap style="color:#000099; font-size: 10pt; height:12pt"> </td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButFuzzyReset" name="ButFuzzyReset" onclick="ResetFuzzy();"></td> </tr> <tr style="height:12pt"> <td width="50%" align="right" style="color:#000099; font-size: 10pt; height:12pt">Voweling:</td> <td style="color:#000099; font-size: 10pt; height:12pt"> <select style="width:66%" name="ShowVowels" id="Select4" onchange="CheckSearchFuzzy();"> <option value="1">Show Vowels</option> <option value="2" selected>Hide Vowels</option> </select></td> </tr> <tr style="height:12pt"> <td width="50%" style="color:#000099; font-size: 10pt" align="right">Minimum Match Quality:</td> <td style="color:#000099; font-size: 10pt"> <select style="width:66%" name="MinMatchQuality" id="Select5" onchange="CheckSearchFuzzy();"> <option value="1">1 (Least Strict)</option> <option value="2">2</option> <option value="3" selected>3 (Default)</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9 (Most Strict)</option> </select></td> </tr> </table> <br> </fieldset> </div><!--divFuzzySearch--> <div id="divAdvancedSearch" class="clsDivSearchCriteria" style="display:none; width:100%"> <br> <fieldset class="styFieldSet" style="width:98%" align="center"> <legend style="color:#000099;">Advanced Search</legend> <br/> <table width="100%" style="margin:10px" border="0"> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="LegacyUFI">Unique Feature Id (UFI): </label> </td> <td nowrap> <input type="text" id="idUFI" name="UFI" size="15" maxlength="12" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"></td> <td align="center"><input type="button" value="Reset" class="clsButton" id="idButAdvancedReset" name="ButAdvancedReset" onclick="ResetAdvanced();"></td> </tr> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="Modify_Date_Time">Modified On or After: </label> </td> <td nowrap><input type="text" id="idModify_Date_Time" name="Modify_Date_Time" size="12" maxlength="10" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"> <span style="color:#000099; font-size: 10pt; height:12pt"> (YYYY-MM-DD) </span> </td> </tr> <tr> <td align="RIGHT" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="MS_Range">Map Scale Range: </label> </td> <td><select id="idMS_Range" name="MS_Range" multiple onchange="CheckSearchAdvanced();"> <option value="0" selected>All Scales</option> <option value="1">25,999 or Larger Scale</option> <option value="2">26,000 - 67,999</option> <option value="3">68,000 - 150,999</option> <option value="4">151,000 - 225,999</option> <option value="5">226,000 - 325,999</option> <option value="6">326,000 - 425,999</option> <option value="7">426,000 - 625,999</option> <option value="8">626,000 - 999,999</option> <option value="9">1 million or Smaller Scale</option> <option value="10">No Scale Listed</option> </select></td> </tr> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="Jog_Ref_ID">JOG Reference: </label> </td> <td nowrap> <input type="text" id="idJog_Ref_ID" name="Jog_Ref_ID" size="10" maxlength="7" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"></td> </tr> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="MGRSCoordinate">MGRS Coordinate: </label> </td> <td nowrap> <input type="text" id="idMGRSCoordinate" name="MGRSCoordinate" size="18" maxlength="15" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"></td> </tr> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="LanguageCode">Language Code: </label> </td> <td nowrap> <input type="text" id="idLangCode2" name="LangCode2" size="7" maxlength="4" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"></td> </tr> <tr> <td align="right" nowrap style="color:#000099; font-size: 10pt; height:12pt"> <label for="Unique_Feature_ID">Unique Feature GUID:</label> </td> <td nowrap><input type="text" id="idUnique_Feature_ID" name="Unique_Feature_ID" size="35" maxlength="38" style="border:thin ridge #0000CC; font-size: 8pt" onchange="CheckSearchAdvanced();"></td> </tr> </table> <br> </fieldset> </div><!--divAdvancedSearch--> <!--**************************************************************--> <div id="PP" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Populated Place</legend> <table id="PPTbl" class="clsTable" border="0" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype1" value="'P'" id="cbPP" onclick="ValidateSelectAllFeatureDesignations('cbPP', 'selPP', 'spPP', 0)">Select All Populated Place</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButPopPlaceReset" name="ButPopPlaceReset" onclick="ResetFeatureDesignations('cbPP', 'selPP', 'spPP', 0);"></td> </tr> <tr> <td align="center"> <select name="selPP" size="5" multiple id="selPP" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbPP', 'selPP', 'spPP', 0)"> <option value="'PPL'">PPL, populated place</option> <option value="'PPLA'">PPLA, seat of a first-order administrative division</option> <option value="'PPLA2'">PPLA2, seat of a second-order administrative division</option> <option value="'PPLA3'">PPLA3, seat of a third-order administrative division</option> <option value="'PPLA4'">PPLA4, seat of a fourth-order administrative division</option> <option value="'PPLC'">PPLC, capital of a political entity</option> <option value="'PPLF'">PPLF, farm village</option> <option value="'PPLL'">PPLL, populated locality</option> <option value="'PPLQ'">PPLQ, abandoned populated place</option> <option value="'PPLR'">PPLR, religious populated place</option> <option value="'PPLS'">PPLS, populated places</option> <option value="'PPLW'">PPLW, destroyed populated place</option> <option value="'PPLX'">PPLX, section of populated place</option> <option value="'STLMT'">STLMT, Israeli settlement</option> </select></td> <td> </td> </tr> </table> </fieldset> </div><!--PP--> <div id="AR" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Administrative Region</legend> <table id="ARTbl" class="clsTable" border="0" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype2" value="'A'" id="cbAR" onclick="ValidateSelectAllFeatureDesignations('cbAR', 'selAR', 'spAR', 1)">Select All Administrative Region</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButAdminRegionReset" name="ButAdminRegionReset" onclick="ResetFeatureDesignations('cbAR', 'selAR', 'spAR', 1);"></td> </tr> <tr> <td align="center"> <select name="selAR" size="5" multiple id="selAR" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbAR', 'selAR', 'spAR', 1)"> <option value="'ADM1'">ADM1, first-order administrative division</option> <option value="'ADM2'">ADM2, second-order administrative division</option> <option value="'ADM3'">ADM3, third-order administrative division</option> <option value="'ADM4'">ADM4, fourth-order administrative division</option> <option value="'ADMD'">ADMD, administrative division</option> <option value="'ADMS'">ADMS, school district</option> <option value="'LTER'">LTER, leased area</option> <option value="'PCL'">PCL, political entity</option> <option value="'PCLD'">PCLD, dependent political entity</option> <option value="'PCLF'">PCLF, freely associated state</option> <option value="'PCLI'">PCLI, independent political entity</option> <option value="'PCLIX'">PCLIX, section of independent political entity</option> <option value="'PCLS'">PCLS, semi-independent political entity</option> <option value="'PRSH'">PRSH, parish</option> <option value="'TERR'">TERR, territory</option> <option value="'ZN'">ZN, zone</option> <option value="'ZNB'">ZNB, buffer zone</option> </select></td> <td> </td> </tr> </table> </fieldset> </div><!--AR--> <div id="Area" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Area </legend> <table id="AreaTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype3" value="'L'" id="cbArea" onclick="ValidateSelectAllFeatureDesignations('cbArea', 'selArea', 'spAREA', 2)">Select All Area</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButAreaReset" name="ButAreaReset" onclick="ResetFeatureDesignations('cbArea', 'selArea', 'spAREA', 2);"></td> </tr> <tr> <td align="center"> <select name="selArea" size="5" multiple id="selArea" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbArea', 'selArea', 'spAREA', 2)"> <option value="'AGRC'">AGRC, agricultural colony</option> <option value="'AREA'">AREA, area</option> <option value="'BSND'">BSND, drainage basin</option> <option value="'BSNP'">BSNP, petroleum basin</option> <option value="'BTL'">BTL, battlefield</option> <option value="'CLG'">CLG, clearing</option> <option value="'CMN'">CMN, common</option> <option value="'CNS'">CNS, concession area</option> <option value="'COLF'">COLF, coalfield</option> <option value="'CST'">CST, coast</option> <option value="'CTRB'">CTRB, business center</option> <option value="'DEVH'">DEVH, housing development</option> <option value="'FLD'">FLD, field(s)</option> <option value="'FLDI'">FLDI, irrigated field(s)</option> <option value="'GASF'">GASF, gasfield</option> <option value="'GRAZ'">GRAZ, grazing area</option> <option value="'GVL'">GVL, gravel area</option> <option value="'INDS'">INDS, industrial area</option> <option value="'LAND'">LAND, Arctic land</option> <option value="'LCTY'">LCTY, locality</option> <option value="'MILB'">MILB, military base</option> <option value="'MNA'">MNA, mining area</option> <option value="'MVA'">MVA, maneuver area</option> <option value="'NVB'">NVB, naval base</option> <option value="'OAS'">OAS, oasis(-es)</option> <option value="'OILF'">OILF, oilfield</option> <option value="'PEAT'">PEAT, peat cutting area</option> <option value="'PRK'">PRK, park</option> <option value="'PRT'">PRT, port</option> <option value="'QCKS'">QCKS, quicksand</option> <option value="'REP'">REP, republic</option> <option value="'RES'">RES, reserve</option> <option value="'RESA'">RESA, agricultural reserve</option> <option value="'RESF'">RESF, forest reserve</option> <option value="'RESH'">RESH, hunting reserve</option> <option value="'RESN'">RESN, nature reserve</option> <option value="'RESP'">RESP, palm tree reserve</option> <option value="'RESV'">RESV, reservation</option> <option value="'RESW'">RESW, wildlife reserve</option> <option value="'RGN'">RGN, region</option> <option value="'RGNE'">RGNE, economic region</option> <option value="'RGNL'">RGNL, lake region</option> <option value="'RNGA'">RNGA, artillery range</option> <option value="'SALT'">SALT, salt area</option> <option value="'SNOW'">SNOW, snowfield</option> <option value="'TRB'">TRB, tribal area</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--AREA--> <div id="Veg" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Vegetation </legend> <table id="VegTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype4" value="'V'" id="cbVeg" onclick="ValidateSelectAllFeatureDesignations('cbVeg', 'selVeg', 'spVEG', 3)">Select All Vegetation</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButVegatationReset" name="ButVegatationReset" onclick="ResetFeatureDesignations('cbVeg', 'selVeg', 'spVEG', 3);"></td> </tr> <tr> <td align="center"> <select name="selVeg" size="5" multiple id="selVeg" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbVeg', 'selVeg', 'spVEG', 3)"> <option value="'BUSH'">BUSH, bush(es)</option> <option value="'CULT'">CULT, cultivated area</option> <option value="'FRST'">FRST, forest(s)</option> <option value="'FRSTF'">FRSTF, fossilized forest</option> <option value="'GRSLD'">GRSLD, grassland</option> <option value="'GRVC'">GRVC, coconut grove</option> <option value="'GRVO'">GRVO, olive grove</option> <option value="'GRVP'">GRVP, palm grove</option> <option value="'GRVPN'">GRVPN, pine grove</option> <option value="'HTH'">HTH, heath</option> <option value="'MDW'">MDW, meadow</option> <option value="'OCH'">OCH, orchard(s)</option> <option value="'SCRB'">SCRB, scrubland</option> <option value="'TREE'">TREE, tree(s)</option> <option value="'TUND'">TUND, tundra</option> <option value="'VIN'">VIN, vineyard</option> <option value="'VINS'">VINS, vineyards</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--Veg--> <div id="SHR" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Transportation Network </legend> <table id="SHRTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype5" value="'R'" id="cbSHR" onclick="ValidateSelectAllFeatureDesignations('cbSHR', 'selSHR', 'spSHR', 4)">Select All Transportation Network</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButTransNetworkReset" name="ButTransNetworkReset" onclick="ResetFeatureDesignations('cbSHR', 'selSHR', 'spSHR', 4);"></td> </tr> <tr> <td align="center"> <select name="selSHR" size="5" multiple id="selSHR" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbSHR', 'selSHR', 'spSHR', 4)"> <option value="'CSWY'">CSWY, causeway</option> <option value="'CSWYQ'">CSWYQ, former causeway</option> <option value="'OILP'">OILP, oil pipeline</option> <option value="'PRMN'">PRMN, promenade</option> <option value="'PTGE'">PTGE, portage</option> <option value="'RD'">RD, road</option> <option value="'RDA'">RDA, ancient road</option> <option value="'RDB'">RDB, road bend</option> <option value="'RDCUT'">RDCUT, road cut</option> <option value="'RDJCT'">RDJCT, road junction</option> <option value="'RJCT'">RJCT, railroad junction</option> <option value="'RR'">RR, railroad</option> <option value="'RRQ'">RRQ, abandoned railroad</option> <option value="'RTE'">RTE, caravan route</option> <option value="'RYD'">RYD, railroad yard</option> <option value="'ST'">ST, street</option> <option value="'STKR'">STKR, stock route</option> <option value="'TNL'">TNL, tunnel</option> <option value="'TNLN'">TNLN, natural tunnel</option> <option value="'TNLRD'">TNLRD, road tunnel</option> <option value="'TNLRR'">TNLRR, railroad tunnel</option> <option value="'TNLS'">TNLS, tunnels</option> <option value="'TRL'">TRL, trail</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--SHR--> <div id="HYP" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Hypsographic </legend> <table id="HYPTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype6" value="'T'" id="cbHYP" onclick="ValidateSelectAllFeatureDesignations('cbHYP', 'selHYP', 'spHYP', 5)">Select All Hypsographic</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButHypReset" name="ButHypReset" onclick="ResetFeatureDesignations('cbHYP', 'selHYP', 'spHYP', 5);"></td> </tr> <tr> <td align="center"> <select name="selHYP" size="5" multiple id="selHYP" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbHYP', 'selHYP', 'spHYP', 5)"> <option value="'ASPH'">ASPH, asphalt lake</option> <option value="'ATOL'">ATOL, atoll(s)</option> <option value="'BAR'">BAR, bar</option> <option value="'BCH'">BCH, beach</option> <option value="'BCHS'">BCHS, beaches</option> <option value="'BDLD'">BDLD, badlands</option> <option value="'BLDR'">BLDR, boulder field</option> <option value="'BLHL'">BLHL, blowhole(s)</option> <option value="'BLOW'">BLOW, blowout(s)</option> <option value="'BNCH'">BNCH, bench</option> <option value="'BUTE'">BUTE, butte(s)</option> <option value="'CAPE'">CAPE, cape</option> <option value="'CFT'">CFT, cleft(s)</option> <option value="'CLDA'">CLDA, caldera</option> <option value="'CLF'">CLF, cliff(s)</option> <option value="'CNYN'">CNYN, canyon</option> <option value="'CONE'">CONE, cone(s)</option> <option value="'CRDR'">CRDR, corridor</option> <option value="'CRQ'">CRQ, cirque</option> <option value="'CRQS'">CRQS, cirques</option> <option value="'CRTR'">CRTR, crater(s)</option> <option value="'CUET'">CUET, cuesta(s)</option> <option value="'DLTA'">DLTA, delta</option> <option value="'DPR'">DPR, depression(s)</option> <option value="'DSRT'">DSRT, desert</option> <option value="'DUNE'">DUNE, dune(s)</option> <option value="'DVD'">DVD, divide</option> <option value="'ERG'">ERG, sandy desert</option> <option value="'FAN'">FAN, fan(s)</option> <option value="'FORD'">FORD, ford</option> <option value="'FSR'">FSR, fissure</option> <option value="'GAP'">GAP, gap</option> <option value="'GRGE'">GRGE, gorge(s)</option> <option value="'HDLD'">HDLD, headland</option> <option value="'HLL'">HLL, hill</option> <option value="'HLLS'">HLLS, hills</option> <option value="'HMCK'">HMCK, hammock(s)</option> <option value="'HMDA'">HMDA, rock desert</option> <option value="'INTF'">INTF, interfluve</option> <option value="'ISL'">ISL, island</option> <option value="'ISLF'">ISLF, artificial island</option> <option value="'ISLM'">ISLM, mangrove island</option> <option value="'ISLS'">ISLS, islands</option> <option value="'ISLT'">ISLT, land-tied island</option> <option value="'ISLX'">ISLX, section of island</option> <option value="'ISTH'">ISTH, isthmus</option> <option value="'KRST'">KRST, karst area</option> <option value="'LAVA'">LAVA, lava area</option> <option value="'LEV'">LEV, levee</option> <option value="'MESA'">MESA, mesa(s)</option> <option value="'MND'">MND, mound(s)</option> <option value="'MRN'">MRN, moraine</option> <option value="'MT'">MT, mountain</option> <option value="'MTS'">MTS, mountains</option> <option value="'NKM'">NKM, meander neck</option> <option value="'NTK'">NTK, nunatak</option> <option value="'NTKS'">NTKS, nunataks</option> <option value="'PAN'">PAN, pan</option> <option value="'PANS'">PANS, pans</option> <option value="'PASS'">PASS, pass</option> <option value="'PEN'">PEN, peninsula</option> <option value="'PENX'">PENX, section of peninsula</option> <option value="'PK'">PK, peak</option> <option value="'PKS'">PKS, peaks</option> <option value="'PLAT'">PLAT, plateau</option> <option value="'PLATX'">PLATX, section of plateau</option> <option value="'PLDR'">PLDR, polder</option> <option value="'PLN'">PLN, plain(s)</option> <option value="'PLNX'">PLNX, section of plain</option> <option value="'PROM'">PROM, promontory(-ies)</option> <option value="'PT'">PT, point</option> <option value="'PTS'">PTS, points</option> <option value="'RDGB'">RDGB, beach ridge</option> <option value="'RDGE'">RDGE, ridge(s)</option> <option value="'REG'">REG, stony desert</option> <option value="'RK'">RK, rock</option> <option value="'RKFL'">RKFL, rockfall</option> <option value="'RKS'">RKS, rocks</option> <option value="'SAND'">SAND, sand area</option> <option value="'SBED'">SBED, dry stream bed</option> <option value="'SCRP'">SCRP, escarpment</option> <option value="'SDL'">SDL, saddle</option> <option value="'SHOR'">SHOR, shore</option> <option value="'SINK'">SINK, sinkhole</option> <option value="'SLID'">SLID, slide</option> <option value="'SLP'">SLP, slope(s)</option> <option value="'SPIT'">SPIT, spit</option> <option value="'SPUR'">SPUR, spur(s)</option> <option value="'TAL'">TAL, talus slope</option> <option value="'TRGD'">TRGD, interdune trough(s)</option> <option value="'TRR'">TRR, terrace</option> <option value="'UPLD'">UPLD, upland</option> <option value="'VAL'">VAL, valley</option> <option value="'VALG'">VALG, hanging valley</option> <option value="'VALS'">VALS, valleys</option> <option value="'VALX'">VALX, section of valley</option> <option value="'VLC'">VLC, volcano</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--HYP--> <div id="Hyd" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Hydrographic </legend> <table id="HydTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype7" value="'H'" id="cbHYD" onclick="ValidateSelectAllFeatureDesignations('cbHYD', 'selHYD', 'spHYD', 6)">Select All Hydrographic</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButHYDReset" name="ButHYDReset" onclick="ResetFeatureDesignations('cbHYD', 'selHYD', 'spHYD', 6);"></td> </tr> <tr> <td align="center"> <select name="selHYD" size="5" multiple id="selHYD" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbHYD', 'selHYD', 'spHYD', 6)"> <option value="'AIRS'">AIRS, seaplane landing area</option> <option value="'ANCH'">ANCH, anchorage</option> <option value="'BAY'">BAY, bay</option> <option value="'BAYS'">BAYS, bays</option> <option value="'BGHT'">BGHT, bight(s)</option> <option value="'BNK'">BNK, bank(s)</option> <option value="'BNKR'">BNKR, stream bank</option> <option value="'BNKX'">BNKX, section of bank</option> <option value="'BOG'">BOG, bog(s)</option> <option value="'CAPG'">CAPG, icecap</option> <option value="'CHN'">CHN, channel</option> <option value="'CHNL'">CHNL, lake channel(s)</option> <option value="'CHNM'">CHNM, marine channel</option> <option value="'CHNN'">CHNN, navigation channel</option> <option value="'CNFL'">CNFL, confluence</option> <option value="'CNL'">CNL, canal</option> <option value="'CNLA'">CNLA, aqueduct</option> <option value="'CNLB'">CNLB, canal bend</option> <option value="'CNLD'">CNLD, drainage canal</option> <option value="'CNLI'">CNLI, irrigation canal</option> <option value="'CNLN'">CNLN, navigation canal(s)</option> <option value="'CNLQ'">CNLQ, abandoned canal</option> <option value="'CNLSB'">CNLSB, underground irrigation canal(s)</option> <option value="'CNLX'">CNLX, section of canal</option> <option value="'COVE'">COVE, cove(s)</option> <option value="'CRKT'">CRKT, tidal creek(s)</option> <option value="'CRNT'">CRNT, current</option> <option value="'CUTF'">CUTF, cutoff</option> <option value="'DCK'">DCK, dock(s)</option> <option value="'DCKB'">DCKB, docking basin</option> <option value="'DOMG'">DOMG, icecap dome</option> <option value="'DPRG'">DPRG, icecap depression</option> <option value="'DTCH'">DTCH, ditch</option> <option value="'DTCHD'">DTCHD, drainage ditch</option> <option value="'DTCHI'">DTCHI, irrigation ditch</option> <option value="'DTCHM'">DTCHM, ditch mouth(s)</option> <option value="'ESTY'">ESTY, estuary</option> <option value="'FISH'">FISH, fishing area</option> <option value="'FJD'">FJD, fjord</option> <option value="'FJDS'">FJDS, fjords</option> <option value="'FLLS'">FLLS, waterfall(s)</option> <option value="'FLLSX'">FLLSX, section of waterfall(s)</option> <option value="'FLTM'">FLTM, mud flat(s)</option> <option value="'FLTT'">FLTT, tidal flat(s)</option> <option value="'GLCR'">GLCR, glacier(s)</option> <option value="'GULF'">GULF, gulf</option> <option value="'GYSR'">GYSR, geyser</option> <option value="'HBR'">HBR, harbor(s)</option> <option value="'HBRX'">HBRX, section of harbor</option> <option value="'INLT'">INLT, inlet</option> <option value="'INLTQ'">INLTQ, former inlet</option> <option value="'LBED'">LBED, lake bed(s)</option> <option value="'LGN'">LGN, lagoon</option> <option value="'LGNS'">LGNS, lagoons</option> <option value="'LGNX'">LGNX, section of lagoon</option> <option value="'LK'">LK, lake</option> <option value="'LKC'">LKC, crater lake</option> <option value="'LKI'">LKI, intermittent lake</option> <option value="'LKN'">LKN, salt lake</option> <option value="'LKNI'">LKNI, intermittent salt lake</option> <option value="'LKO'">LKO, oxbow lake</option> <option value="'LKOI'">LKOI, intermittent oxbow lake</option> <option value="'LKS'">LKS, lakes</option> <option value="'LKSB'">LKSB, underground lake</option> <option value="'LKSC'">LKSC, crater lakes</option> <option value="'LKSI'">LKSI, intermittent lakes</option> <option value="'LKSN'">LKSN, salt lakes</option> <option value="'LKSNI'">LKSNI, intermittent salt lakes</option> <option value="'LKX'">LKX, section of lake</option> <option value="'MFGN'">MFGN, salt evaporation ponds</option> <option value="'MGV'">MGV, mangrove swamp</option> <option value="'MOOR'">MOOR, moor(s)</option> <option value="'MRSH'">MRSH, marsh(es)</option> <option value="'MRSHN'">MRSHN, salt marsh</option> <option value="'NRWS'">NRWS, narrows</option> <option value="'OCN'">OCN, ocean</option> <option value="'OVF'">OVF, overfalls</option> <option value="'PND'">PND, pond</option> <option value="'PNDI'">PNDI, intermittent pond</option> <option value="'PNDN'">PNDN, salt pond</option> <option value="'PNDNI'">PNDNI, intermittent salt pond(s)</option> <option value="'PNDS'">PNDS, ponds</option> <option value="'PNDSF'">PNDSF, fishponds</option> <option value="'PNDSI'">PNDSI, intermittent ponds</option> <option value="'PNDSN'">PNDSN, salt ponds</option> <option value="'POOL'">POOL, pool(s)</option> <option value="'POOLI'">POOLI, intermittent pool</option> <option value="'RCH'">RCH, reach</option> <option value="'RDGG'">RDGG, icecap ridge</option> <option value="'RDST'">RDST, roadstead</option> <option value="'RF'">RF, reef(s)</option> <option value="'RFC'">RFC, coral reef(s)</option> <option value="'RFX'">RFX, section of reef</option> <option value="'RPDS'">RPDS, rapids</option> <option value="'RSV'">RSV, reservoir(s)</option> <option value="'RSVI'">RSVI, intermittent reservoir</option> <option value="'RSVT'">RSVT, water tank</option> <option value="'RVN'">RVN, ravine(s)</option> <option value="'SBKH'">SBKH, sabkha(s)</option> <option value="'SD'">SD, sound</option> <option value="'SEA'">SEA, sea</option> <option value="'SHOL'">SHOL, shoal(s)</option> <option value="'SILL'">SILL, sill</option> <option value="'SPNG'">SPNG, spring(s)</option> <option value="'SPNS'">SPNS, sulphur spring(s)</option> <option value="'SPNT'">SPNT, hot spring(s)</option> <option value="'STM'">STM, stream</option> <option value="'STMA'">STMA, anabranch</option> <option value="'STMB'">STMB, stream bend</option> <option value="'STMC'">STMC, canalized stream</option> <option value="'STMD'">STMD, distributary(-ies)</option> <option value="'STMH'">STMH, headwaters</option> <option value="'STMI'">STMI, intermittent stream</option> <option value="'STMIX'">STMIX, section of intermittent stream</option> <option value="'STMM'">STMM, stream mouth(s)</option> <option value="'STMQ'">STMQ, abandoned watercourse</option> <option value="'STMS'">STMS, streams</option> <option value="'STMSB'">STMSB, lost river</option> <option value="'STMX'">STMX, section of stream</option> <option value="'STRT'">STRT, strait</option> <option value="'SWMP'">SWMP, swamp</option> <option value="'SYSI'">SYSI, irrigation system</option> <option value="'TNLC'">TNLC, canal tunnel</option> <option value="'WAD'">WAD, wadi</option> <option value="'WADB'">WADB, wadi bend</option> <option value="'WADJ'">WADJ, wadi junction</option> <option value="'WADM'">WADM, wadi mouth</option> <option value="'WADS'">WADS, wadies</option> <option value="'WADX'">WADX, section of wadi</option> <option value="'WHRL'">WHRL, whirlpool</option> <option value="'WLL'">WLL, well</option> <option value="'WLLQ'">WLLQ, abandoned well</option> <option value="'WLLS'">WLLS, wells</option> <option value="'WTLD'">WTLD, wetland</option> <option value="'WTLDI'">WTLDI, intermittent wetland</option> <option value="'WTRC'">WTRC, watercourse</option> <option value="'WTRH'">WTRH, waterhole(s)</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--HYD--> <div id="USea" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Undersea </legend> <table id="USeaTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype8" value="'U'" id="cbUSEA" onclick="ValidateSelectAllFeatureDesignations('cbUSEA', 'selUSEA', 'spUSEA', 7)">Select All Undersea</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButUSEAReset" name="ButUSEAReset" onclick="ResetFeatureDesignations('cbUSEA', 'selUSEA', 'spUSEA', 7);"></td> </tr> <tr> <td align="center"> <select name="selUSEA" size="5" multiple id="selUSEA" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbUSEA', 'selUSEA', 'spUSEA', 7)"> <option value="'APNU'">APNU, undersea apron</option> <option value="'ARCU'">ARCU, undersea arch</option> <option value="'ARRU'">ARRU, undersea arrugado</option> <option value="'BDLU'">BDLU, undersea borderland</option> <option value="'BKSU'">BKSU, undersea banks</option> <option value="'BNCU'">BNCU, undersea bench</option> <option value="'BNKU'">BNKU, undersea bank</option> <option value="'BSNU'">BSNU, undersea basin</option> <option value="'CDAU'">CDAU, undersea cordillera</option> <option value="'CNSU'">CNSU, undersea canyons</option> <option value="'CNYU'">CNYU, undersea canyon</option> <option value="'CRSU'">CRSU, continental rise</option> <option value="'DEPU'">DEPU, deep</option> <option value="'EDGU'">EDGU, undersea shelf edge</option> <option value="'ESCU'">ESCU, undersea escarpment (or scarp)</option> <option value="'FANU'">FANU, undersea fan</option> <option value="'FLTU'">FLTU, undersea flat</option> <option value="'FRKU'">FRKU, undersea fork</option> <option value="'FRSU'">FRSU, undersea forks</option> <option value="'FRZU'">FRZU, undersea fracture zone</option> <option value="'FURU'">FURU, undersea furrow</option> <option value="'GAPU'">GAPU, undersea gap</option> <option value="'GLYU'">GLYU, undersea gully</option> <option value="'HLLU'">HLLU, undersea hill</option> <option value="'HLSU'">HLSU, undersea hills</option> <option value="'HOLU'">HOLU, undersea hole</option> <option value="'KNLU'">KNLU, undersea knoll</option> <option value="'KNSU'">KNSU, undersea knolls</option> <option value="'LDGU'">LDGU, undersea ledge</option> <option value="'LEVU'">LEVU, undersea levee</option> <option value="'MDVU'">MDVU, undersea median valley</option> <option value="'MESU'">MESU, undersea mesa</option> <option value="'MNDU'">MNDU, undersea mound</option> <option value="'MOTU'">MOTU, undersea moat</option> <option value="'MTSU'">MTSU, undersea mountains</option> <option value="'MTU'">MTU, undersea mountain</option> <option value="'PKSU'">PKSU, undersea peaks</option> <option value="'PKU'">PKU, undersea peak</option> <option value="'PLFU'">PLFU, undersea platform</option> <option value="'PLNU'">PLNU, undersea plain</option> <option value="'PLTU'">PLTU, undersea plateau</option> <option value="'PNLU'">PNLU, undersea pinnacle</option> <option value="'PRVU'">PRVU, undersea province</option> <option value="'RAVU'">RAVU, undersea ravine</option> <option value="'RDGU'">RDGU, undersea ridge</option> <option value="'RDSU'">RDSU, undersea ridges</option> <option value="'RFSU'">RFSU, undersea reefs</option> <option value="'RFU'">RFU, undersea reef</option> <option value="'RISU'">RISU, undersea rise</option> <option value="'RMPU'">RMPU, undersea ramp</option> <option value="'RNGU'">RNGU, undersea range</option> <option value="'SCNU'">SCNU, seachannel</option> <option value="'SCSU'">SCSU, seachannels</option> <option value="'SDLU'">SDLU, undersea saddle</option> <option value="'SHFU'">SHFU, undersea shelf</option> <option value="'SHLU'">SHLU, undersea shoal</option> <option value="'SHSU'">SHSU, undersea shoals</option> <option value="'SHVU'">SHVU, undersea shelf valley</option> <option value="'SILU'">SILU, undersea sill</option> <option value="'SLPU'">SLPU, undersea slope</option> <option value="'SMSU'">SMSU, seamounts</option> <option value="'SMU'">SMU, seamount</option> <option value="'SPRU'">SPRU, undersea spur</option> <option value="'TERU'">TERU, undersea terrace</option> <option value="'TMSU'">TMSU, tablemounts (or guyots)</option> <option value="'TMTU'">TMTU, tablemount (or guyot)</option> <option value="'TNGU'">TNGU, undersea tongue</option> <option value="'TRGU'">TRGU, undersea trough</option> <option value="'TRNU'">TRNU, undersea trench</option> <option value="'VALU'">VALU, undersea valley</option> <option value="'VLSU'">VLSU, undersea valleys</option> </select> </td> <td> </td> </tr> </table> </fieldset> </div><!--USEA--> <div id="SF" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Spot Features </legend> <table id="SFTbl" class="clsTable" width="95%" style="margin:2px"> <tr> <td style="color:#000099;"><input type="checkbox" name="ftype9" value="'S'" id="cbSF" onclick="ValidateSelectAllFeatureDesignations('cbSF', 'selSF', 'spSF', 8)">Select All Spot Features</td> <td align="right" width="45px"><input type="button" class="clsButton" value="Reset" id="idButSpotFeaReset" name="ButSpotFeaReset" onclick="ResetFeatureDesignations('cbSF', 'selSF', 'spSF', 8);"></td> </tr> <tr> <td align="center"> <select name="selSF" size="5" multiple id="selSF" class="clsSelect" onchange="ValidateSelectedFeatureDesignations('cbSF', 'selSF', 'spSF', 8)"> <option value="'ADMF'">ADMF, administrative facility</option> <option value="'AGRF'">AGRF, agricultural facility</option> <option value="'AIRB'">AIRB, airbase</option> <option value="'AIRF'">AIRF, airfield</option> <option value="'AIRG'">AIRG, hangar</option> <option value="'AIRH'">AIRH, heliport</option> <option value="'AIRP'">AIRP, airport</option> <option value="'AIRQ'">AIRQ, abandoned airfield</option> <option value="'AIRT'">AIRT, terminal</option> <option value="'AMTH'">AMTH, amphitheater</option> <option value="'ANS'">ANS, ancient site</option> <option value="'AQC'">AQC, aquaculture facility</option> <option value="'ARCH'">ARCH, arch</option> <option value="'ASTR'">ASTR, astronomical station</option> <option value="'ASYL'">ASYL, asylum</option> <option value="'ATHF'">ATHF, athletic field</option> <option value="'BAN'">BAN, bank</option> <option value="'BCN'">BCN, beacon</option> <option value="'BDG'">BDG, bridge</option> <option value="'BDGQ'">BDGQ, ruined bridge</option> <option value="'BLDA'">BLDA, apartment building</option> <option value="'BLDG'">BLDG, building(s)</option> <option value="'BLDO'">BLDO, office building</option> <option value="'BP'">BP, boundary marker</option> <option value="'BRKS'">BRKS, barracks</option> <option value="'BRKW'">BRKW, breakwater</option> <option value="'BSTN'">BSTN, baling station</option> <option value="'BTYD'">BTYD, boatyard</option> <option value="'BUR'">BUR, burial cave(s)</option> <option value="'CARN'">CARN, cairn</option> <option value="'CAVE'">CAVE, cave(s)</option> <option value="'CH'">CH, church</option> <option value="'CMP'">CMP, camp(s)</option> <option value="'CMPL'">CMPL, logging camp</option> <option value="'CMPLA'">CMPLA, labor camp</option> <option value="'CMPMN'">CMPMN, mining camp</option> <option value="'CMPO'">CMPO, oil camp</option> <option value="'CMPQ'">CMPQ, abandoned camp</option> <option value="'CMPRF'">CMPRF, refugee camp</option> <option value="'CMTY'">CMTY, cemetery</option> <option value="'COMC'">COMC, communication center</option> <option value="'CRRL'">CRRL, corral(s)</option> <option value="'CSNO'">CSNO, casino</option> <option value="'CSTL'">CSTL, castle</option> <option value="'CSTM'">CSTM, customs house</option> <option value="'CTHSE'">CTHSE, courthouse</option> <option value="'CTRA'">CTRA, atomic center</option> <option value="'CTRCM'">CTRCM, community center</option> <option value="'CTRF'">CTRF, facility center</option> <option value="'CTRM'">CTRM, medical center</option> <option value="'CTRR'">CTRR, religious center</option> <option value="'CTRS'">CTRS, space center</option> <option value="'CVNT'">CVNT, convent</option> <option value="'DAM'">DAM, dam</option> <option value="'DAMQ'">DAMQ, ruined dam</option> <option value="'DAMSB'">DAMSB, sub-surface dam</option> <option value="'DARY'">DARY, dairy</option> <option value="'DCKD'">DCKD, dry dock</option> <option value="'DCKY'">DCKY, dockyard</option> <option value="'DIKE'">DIKE, dike</option> <option value="'DIP'">DIP, diplomatic facility</option> <option value="'DPOF'">DPOF, fuel depot</option> <option value="'EST'">EST, estate(s)</option> <option value="'ESTB'">ESTB, banana plantation</option> <option value="'ESTC'">ESTC, cotton plantation</option> <option value="'ESTO'">ESTO, oil palm plantation</option> <option value="'ESTR'">ESTR, rubber plantation</option> <option value="'ESTSG'">ESTSG, sugar plantation</option> <option value="'ESTSL'">ESTSL, sisal plantation</option> <option value="'ESTT'">ESTT, tea plantation</option> <option value="'ESTX'">ESTX, section of estate</option> <option value="'FCL'">FCL, facility</option> <option value="'FIRE'">FIRE, fire station</option> <option value="'FNDY'">FNDY, foundry</option> <option value="'FRM'">FRM, farm</option> <option value="'FRMQ'">FRMQ, abandoned farm</option> <option value="'FRMS'">FRMS, farms</option> <option value="'FRMT'">FRMT, farmstead</option> <option value="'FT'">FT, fort</option> <option value="'FY'">FY, ferry</option> <option value="'FYT'">FYT, ferry terminal </option> <option value="'GARG'">GARG, parking garage</option> <option value="'GATE'">GATE, gate</option> <option value="'GDN'">GDN, garden(s)</option> <option value="'GHAT'">GHAT, gh膩t</option> <option value="'GHSE'">GHSE, guest house</option> <option value="'GOSP'">GOSP, gas-oil separator plant</option> <option value="'GOVL'">GOVL, local government office</option> <option value="'GRVE'">GRVE, grave</option> <option value="'HERM'">HERM, hermitage</option> <option value="'HLT'">HLT, halting place</option> <option value="'HSE'">HSE, house(s)</option> <option value="'HSEC'">HSEC, country house</option> <option value="'HSP'">HSP, hospital</option> <option value="'HSPC'">HSPC, clinic</option> <option value="'HSPD'">HSPD, dispensary</option> <option value="'HSPL'">HSPL, leprosarium</option> <option value="'HSTS'">HSTS, historical site</option> <option value="'HTL'">HTL, hotel</option> <option value="'HUT'">HUT, hut</option> <option value="'HUTS'">HUTS, huts</option> <option value="'INSM'">INSM, military installation</option> <option value="'ITTR'">ITTR, research institute</option> <option value="'JTY'">JTY, jetty</option> <option value="'LDNG'">LDNG, landing</option> <option value="'LEPC'">LEPC, leper colony</option> <option value="'LNDF'">LNDF, landfill</option> <option value="'LOCK'">LOCK, lock(s)</option> <option value="'LTHSE'">LTHSE, lighthouse</option> <option value="'MAR'">MAR, marina</option> <option value="'MFG'">MFG, factory</option> <option value="'MFGB'">MFGB, brewery</option> <option value="'MFGC'">MFGC, cannery</option> <option value="'MFGCU'">MFGCU, copper works</option> <option value="'MFGLM'">MFGLM, limekiln</option> <option value="'MFGM'">MFGM, munitions plant</option> <option value="'MFGPH'">MFGPH, phosphate works</option> <option value="'MFGQ'">MFGQ, abandoned factory</option> <option value="'MFGSG'">MFGSG, sugar refinery</option> <option value="'MKT'">MKT, market</option> <option value="'ML'">ML, mill(s)</option> <option value="'MLM'">MLM, ore treatment plant</option> <option value="'MLO'">MLO, olive oil mill</option> <option value="'MLSG'">MLSG, sugar mill</option> <option value="'MLSGQ'">MLSGQ, former sugar mill</option> <option value="'MLSW'">MLSW, sawmill</option> <option value="'MLWND'">MLWND, windmill</option> <option value="'MLWTR'">MLWTR, water mill</option> <option value="'MN'">MN, mine(s)</option> <option value="'MNAU'">MNAU, gold mine(s)</option> <option value="'MNC'">MNC, coal mine(s)</option> <option value="'MNCR'">MNCR, chrome mine(s)</option> <option value="'MNCU'">MNCU, copper mine(s)</option> <option value="'MNDT'">MNDT, diatomite mine(s)</option> <option value="'MNFE'">MNFE, iron mine(s)</option> <option value="'MNMT'">MNMT, monument</option> <option value="'MNN'">MNN, salt mine(s)</option> <option value="'MNNI'">MNNI, nickel mine(s)</option> <option value="'MNPB'">MNPB, lead mine(s)</option> <option value="'MNPL'">MNPL, placer mine(s)</option> <option value="'MNQ'">MNQ, abandoned mine</option> <option value="'MNQR'">MNQR, quarry(-ies)</option> <option value="'MNSN'">MNSN, tin mine(s)</option> <option value="'MOLE'">MOLE, mole</option> <option value="'MSQE'">MSQE, mosque</option> <option value="'MSSN'">MSSN, mission</option> <option value="'MSSNQ'">MSSNQ, abandoned mission</option> <option value="'MSTY'">MSTY, monastery</option> <option value="'MUS'">MUS, museum</option> <option value="'NOV'">NOV, novitiate</option> <option value="'NSY'">NSY, nursery(-ies)</option> <option value="'OBPT'">OBPT, observation point</option> <option value="'OBS'">OBS, observatory</option> <option value="'OBSR'">OBSR, radio observatory</option> <option value="'OILJ'">OILJ, oil pipeline junction</option> <option value="'OILQ'">OILQ, abandoned oil well</option> <option value="'OILR'">OILR, oil refinery</option> <option value="'OILT'">OILT, tank farm</option> <option value="'OILW'">OILW, oil well</option> <option value="'PAL'">PAL, palace</option> <option value="'PGDA'">PGDA, pagoda</option> <option value="'PIER'">PIER, pier</option> <option value="'PKLT'">PKLT, parking lot</option> <option value="'PMPO'">PMPO, oil pumping station</option> <option value="'PMPW'">PMPW, water pumping station</option> <option value="'PO'">PO, post office</option> <option value="'PP'">PP, police post</option> <option value="'PPQ'">PPQ, abandoned police post</option> <option value="'PRKGT'">PRKGT, park gate</option> <option value="'PRKHQ'">PRKHQ, park headquarters</option> <option value="'PRN'">PRN, prison</option> <option value="'PRNJ'">PRNJ, reformatory</option> <option value="'PRNQ'">PRNQ, abandoned prison</option> <option value="'PS'">PS, power station</option> <option value="'PSH'">PSH, hydroelectric power station</option> <option value="'PSN'">PSN, nuclear power station</option> <option value="'PSTB'">PSTB, border post</option> <option value="'PSTC'">PSTC, customs post</option> <option value="'PSTP'">PSTP, patrol post</option> <option value="'PYR'">PYR, pyramid</option> <option value="'PYRS'">PYRS, pyramids</option> <option value="'QUAY'">QUAY, quay</option> <option value="'RDCR'">RDCR, traffic circle</option> <option value="'RDIN'">RDIN, intersection</option> <option value="'RECG'">RECG, golf course</option> <option value="'RECR'">RECR, racetrack</option> <option value="'RET'">RET, store</option> <option value="'RHSE'">RHSE, resthouse</option> <option value="'RKRY'">RKRY, rookery</option> <option value="'RLG'">RLG, religious site</option> <option value="'RLGR'">RLGR, retreat</option> <option value="'RNCH'">RNCH, ranch(es)</option> <option value="'RSD'">RSD, railroad siding</option> <option value="'RSGNL'">RSGNL, railroad signal</option> <option value="'RSRT'">RSRT, resort</option> <option value="'RSTN'">RSTN, railroad station</option> <option value="'RSTNQ'">RSTNQ, abandoned railroad station</option> <option value="'RSTP'">RSTP, railroad stop</option> <option value="'RSTPQ'">RSTPQ, abandoned railroad stop</option> <option value="'RUIN'">RUIN, ruin(s)</option> <option value="'SCH'">SCH, school</option> <option value="'SCHA'">SCHA, agricultural school</option> <option value="'SCHC'">SCHC, college</option> <option value="'SCHM'">SCHM, military school</option> <option value="'SCHN'">SCHN, maritime school</option> <option value="'SCHT'">SCHT, technical school</option> <option value="'SHOPC'">SHOPC, shopping center or mall</option> <option value="'SHPF'">SHPF, sheepfold</option> <option value="'SHRN'">SHRN, shrine</option> <option value="'SHSE'">SHSE, storehouse</option> <option value="'SLCE'">SLCE, sluice</option> <option value="'SNTR'">SNTR, sanatorium</option> <option value="'SPA'">SPA, spa</option> <option value="'SPLY'">SPLY, spillway</option> <option value="'SQR'">SQR, square</option> <option value="'STBL'">STBL, stable</option> <option value="'STDM'">STDM, stadium</option> <option value="'STMGS'">STMGS, stream gauging station</option> <option value="'STNB'">STNB, scientific research base</option> <option value="'STNC'">STNC, coast guard station</option> <option value="'STNE'">STNE, experiment station</option> <option value="'STNF'">STNF, forest station</option> <option value="'STNI'">STNI, inspection station</option> <option value="'STNM'">STNM, meteorological station</option> <option value="'STNR'">STNR, radio station</option> <option value="'STNS'">STNS, satellite station</option> <option value="'STNW'">STNW, whaling station</option> <option value="'STPS'">STPS, steps</option> <option value="'SUBS'">SUBS, subway station</option> <option value="'SUBW'">SUBW, subway</option> <option value="'SWT'">SWT, sewage treatment plant</option> <option value="'TMB'">TMB, tomb(s)</option> <option value="'TMPL'">TMPL, temple(s)</option> <option value="'TNKD'">TNKD, cattle dipping tank</option> <option value="'TOLL'">TOLL, toll gate/barrier</option> <option value="'TOWR'">TOWR, tower</option> <option value="'TRANT'">TRANT, transit terminal</option> <option value="'TRIG'">TRIG, triangulation station</option> <option value="'TRMO'">TRMO, oil pipeline terminal</option> <option value="'USGE'">USGE, United States Government Establishment</option> <option value="'VETF'">VETF, veterinary facility</option> <option value="'WALL'">WALL, wall</option> <option value="'WALLA'">WALLA, ancient wall</option> <option value="'WEIR'">WEIR, weir(s)</option> <option value="'WHRF'">WHRF, wharf(-ves)</option> <option value="'WRCK'">WRCK, wreck</option> <option value="'WTRW'">WTRW, waterworks</option> <option value="'ZNF'">ZNF, free trade zone</option> <option value="'ZOO'">ZOO, zoo</option> </td> <td> </td> </tr> </table> </fieldset> </div><!--SF--> <!--**************************************************************--> <div id="MRB" style="display:none;"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:95%" align="center"> <legend style="color:#000099;">Minimum Bounding Rectangle (MBR) Search </legend> <div id="idDivMbrButtons1" style="display:none"> <table id="tblMBRButtons1" class="clsTable" style="margin:2px"> <tr> <td width="25%"></td> <td width="25%"></td> <td width="25%"></td> <td width="25%" align="right"> <input type="button" class="clsButton" value="Reset" id="idButMBRReset" name="ButMBRReset" onclick="ResetMBRInputs(true); AreCoordsBeingUsed();"> </td> </tr> </table> </div> <div id="idDivMbrButtons2" style="display:none"> <table id="tblMBRButtons2" class="clsTable" border="0"> <tr> <td width="25%"></td> <td width="25%"></td> <td width="50%" align="right"> <input type="button" class="clsButton" value="Load Map MBR" id="idButMBRRevert" name="ButMBRRevert" onclick="ValidateMBRInputs(); CheckSearchMBR(); AreCoordsBeingUsed();"> <input type="button" class="clsButton" value="Reset" id="idButMBR2Reset" name="ButMBR2Reset" onclick="ResetMBRInputs(true); AreCoordsBeingUsed();"> </td> </tr> </table> </div> <table id="tblDMS_DD" width="100%" style="margin:10px" border="0" cellspacing="2"> <tr> <td nowrap style="color:#000099; font-size: 10pt" width="25%"> View Coordinates in:</td> <!--</TR> <TR>--> <!--<TD width="20%"></TD>--> <td width="25%" align="left" style="color:#000099; font-size: 10pt"><input type="RADIO" name="radDMS_DD" id="idradDMS" value="DMS" onclick="UpdateMBRSearchDisplay('DMS'); ConvertToDMS();" checked> Degs Mins Secs</td> <td style="color:#000099; font-size: 10pt"><input type="RADIO" name="radDMS_DD" id="idradDD" value="DD" onclick="UpdateMBRSearchDisplay('DD'); ConvertToDD();"> Decimal Degs</td> <!--<TD width="20%"></TD>--> </tr> </table> <div id="idDivLATNE_DMS" style="display:block"> <table id="Table10" class="clsTable" border="0"> <tr> <td align="right" style="color:#000099; font-weight:bold">Northeast Corner</td> </tr> <tr> <td align="right" style="color:#000099;" width="50%">Latitude: </td> <td style="color:#000099;"><input checked type="radio" name="LATN_dir" value="N" id="idradLATN_dirN">N<input type="radio" name="LATN_dir" value="S" id="idradLATN_dirS">S</td> <td style="color:#000099;"><input type="text" name="LATN_d" size="2" maxlength="2" value="0" onblur="VerifyDegreesLATDMS('idtxtLATN_d', 'idtxtLATN_m', 'idtxtLATN_s', 'idradLATN_dirS'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLATDMS('idtxtLATN_d', 'idtxtLATN_m', 'idtxtLATN_s', 'idradLATN_dirS'); CheckSearchMBR();" id="idtxtLATN_d"> °</td> <td style="color:#000099;"><input type="text" name="LATN_m" size="2" maxlength="2" value="0" onblur="VerifyMinutesLATDMS('idtxtLATN_d', 'idtxtLATN_m'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyMinutesLATDMS('idtxtLATN_d', 'idtxtLATN_m'); CheckSearchMBR();" id="idtxtLATN_m"> '</td> <td style="color:#000099;"><input type="text" name="LATN_s" size="2" maxlength="2" value="0" onblur="VerifySecondsLATDMS('idtxtLATN_d', 'idtxtLATN_s'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifySecondsLATDMS('idtxtLATN_d', 'idtxtLATN_s'); CheckSearchMBR();" id="idtxtLATN_s"> "</td> </tr> <tr> <td align="right" style="color:#000099;">Longitude: </td> <td style="color:#000099;"><input checked type="radio" name="LONE_dir" value="E" id="idradLONE_dirE">E<input type="radio" name="LONE_dir" value="W" id="idradLONE_dirW">W</td> <td style="color:#000099;"><input type="text" name="LONE_d" size="3" maxlength="3" value="0" onblur="VerifyDegreesLONDMS('idtxtLONE_d', 'idtxtLONE_m', 'idtxtLONE_s', 'idradLONE_dirW'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLONDMS('idtxtLONE_d', 'idtxtLONE_m', 'idtxtLONE_s', 'idradLONE_dirW'); CheckSearchMBR();" id="idtxtLONE_d"> °</td> <td style="color:#000099;"><input type="text" name="LONE_m" size="2" maxlength="2" onblur="VerifyMinutesLONDMS('idtxtLONE_d', 'idtxtLONE_m'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifyMinutesLONDMS('idtxtLONE_d', 'idtxtLONE_m'); CheckSearchMBR();" id="idtxtLONE_m"> '</td> <td style="color:#000099;"><input type="text" name="LONE_s" size="2" maxlength="2" onblur="VerifySecondsLONDMS('idtxtLONE_d', 'idtxtLONE_s'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifySecondsLONDMS('idtxtLONE_d', 'idtxtLONE_s'); CheckSearchMBR();" id="idtxtLONE_s"> "</td> </tr> </table> </div> <div id="idDivLATNE_DD" style="display:none"> <table id="Table1" class="clsTable" border="0"> <tr> <td align="right" style="color:#000099; font-weight:bold">Northeast Corner</td> </tr> <tr> <td align="right" style="color:#000099;" width="50%">Latitude: </td> <td style="color:#000099;"><input checked type="radio" name="LATN_dir2" value="N" id="idradLATN_dirN2">+<input type="radio" name="LATN_dir2" value="S" id="idradLATN_dirS2">-</td> <td style="color:#000099;"><input type="text" name="LATN_dd" size="20" maxlength="20" value="0" onblur="VerifyDegreesLATDD('idtxtLATN_DD', 'idradLATN_dirS2'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLATDD('idtxtLATN_DD', 'idradLATN_dirS2'); CheckSearchMBR();" id="idtxtLATN_DD"> °</td> </tr> <tr> <td align="right" style="color:#000099;">Longitude: </td> <td style="color:#000099;"><input checked type="radio" name="LONE_dir2" value="E" id="idradLONE_dirE2">+<input type="radio" name="LONE_dir2" value="W" onchange="ChangeAnchorAttributes('idAMbrSearch');" id="idradLONE_dirW2">-</td> <td style="color:#000099;"><input type="text" name="LONE_dd" size="20" maxlength="20" value="0" onblur="VerifyDegreesLONDD('idtxtLONE_DD', 'idradLONE_dirW2'); document.getElementById('NETD').style.background='#FFFFCC';" onclick="document.getElementById('NETD').style.background='RED';document.getElementById('SWTD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLONDD('idtxtLONE_DD', 'idradLONE_dirW2'); CheckSearchMBR();" id="idtxtLONE_DD"> °</td> </tr> </table> </div> <div align="center"> <table border="1" bordercolor="#000000" width="60%" id="Table11"> <tr><td> <table border="0" rules="none" align="center" width="100%" id="Table12" style="font:10pt"> <tr> <td> </td> <td> </td> <td id="NETD" style="background:#FFFFCC;" align="center"> <p id="NE" style="color: #000099"> NE </p></td> </tr> <tr> <td> </td> <td height="60" align="center" style="color:#000099;" nowrap>MBR Area of Interest</td> <td> </td> </tr> <tr> <td id="SWTD" style="background:#FFFFCC;" align="center"> <p id="SW" style="color: #000099"> SW </p></td> <td> </td> <td> </td> </tr> </table> </td></tr> </table> </div> <div align="left"> <div id="idDivLATSW_DMS" style="display:block"> <table id="Table13" class="clsTable" border="0"> <tr> <td align="left" colspan="2" style="color:#000099; font-weight:bold">Southwest Corner</td> </tr> <tr> <td align="left" style="color:#000099;">Latitude: </td> <td style="color:#000099;"><input checked type="radio" name="LATS_dir" value="N" id="idradLATS_dirN">N<input type="radio" name="LATS_dir" value="S" id="idradLATS_dirS">S</td> <td style="color:#000099;"><input type="text" name="LATS_d" size="2" maxlength="2" value="0" onblur="VerifyDegreesLATDMS('idtxtLATS_d', 'idtxtLATS_m', 'idtxtLATS_s', 'idradLATS_dirS'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLATDMS('idtxtLATS_d', 'idtxtLATS_m', 'idtxtLATS_s', 'idradLATS_dirS'); CheckSearchMBR();" id="idtxtLATS_d"> °</td> <td style="color:#000099;"><input type="text" name="LATS_m" size="2" maxlength="2" onblur="VerifyMinutesLATDMS('idtxtLATS_d', 'idtxtLATS_m'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifyMinutesLATDMS('idtxtLATS_d', 'idtxtLATS_m'); CheckSearchMBR();" id="idtxtLATS_m"> '</td> <td style="color:#000099;" width="50%"><input type="text" name="LATS_s" size="2" maxlength="2" onblur="VerifySecondsLATDMS('idtxtLATS_d', 'idtxtLATS_s'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifySecondsLATDMS('idtxtLATS_d', 'idtxtLATS_s'); CheckSearchMBR();" id="idtxtLATS_s"> "</td> </tr> <tr> <td align="left" style="color:#000099;">Longitude: </td> <td style="color:#000099;"><input checked type="radio" name="LONW_dir" value="E" id="idradLONW_dirE">E<input type="radio" name="LONW_dir" value="W" id="idradLONW_dirW">W</td> <td style="color:#000099;"><input type="text" name="LONW_d" size="3" maxlength="3" value="0" onblur="VerifyDegreesLONDMS('idtxtLONW_d', 'idtxtLONW_m', 'idtxtLONW_s', 'idradLONW_dirW'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLONDMS('idtxtLONW_d', 'idtxtLONW_m', 'idtxtLONW_s', 'idradLONW_dirW'); CheckSearchMBR(); " id="idtxtLONW_d"> °</td> <td style="color:#000099;"><input type="text" name="LONW_m" size="2" maxlength="2" onblur="VerifyMinutesLONDMS('idtxtLONW_d', 'idtxtLONW_m'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifyMinutesLONDMS('idtxtLONW_d', 'idtxtLONW_m'); CheckSearchMBR();" id="idtxtLONW_m"> '</td> <td style="color:#000099;" width="50%"><input type="text" name="LONW_s" size="2" maxlength="2" onblur="VerifySecondsLONDMS('idtxtLONW_d', 'idtxtLONW_s'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" value="0" onfocus="select();" onchange="VerifySecondsLONDMS('idtxtLONW_d', 'idtxtLONW_s'); CheckSearchMBR();" id="idtxtLONW_s"> "</td> </tr> </table> </div> <div id="idDivLATSW_DD" style="display:none"> <table id="Table2" class="clsTable" border="0"> <tr> <td align="left" colspan="2" style="color:#000099; font-weight:bold">Southwest Corner</td> </tr> <tr> <td style="color:#000099;" width="10%" align="left">Latitude: </td> <td style="color:#000099;" width="10%"><input checked type="radio" name="LATS_dir2" value="N" id="idradLATS_dirN2">+<input type="radio" name="LATS_dir2" value="S" id="idradLATS_dirS2">-</td> <td style="color:#000099;" width="50%"><input type="text" name="LATS_dd" size="20" maxlength="20" value="0" onblur="VerifyDegreesLATDD('idtxtLATS_DD', 'idradLATS_dirS2'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLATDD('idtxtLATS_DD', 'idradLATS_dirS2'); CheckSearchMBR();" id="idtxtLATS_DD"> °</td> </tr> <tr> <td style="color:#000099;" width="10%" align="left">Longitude: </td> <td style="color:#000099;" width="10%"><input checked type="radio" name="LONW_dir2" value="E" id="idradLONW_dirE2">+<input type="radio" name="LONW_dir2" value="W" id="idradLONW_dirW2">-</td> <td style="color:#000099;" width="50%"><input type="text" name="LONW_dd" size="20" maxlength="20" value="0" onblur="VerifyDegreesLONDD('idtxtLONW_DD', 'idradLONW_dirW2'); document.getElementById('SWTD').style.background='#FFFFCC';" onclick="document.getElementById('SWTD').style.background='RED';document.getElementById('NETD').style.background='#FFFFCC';" onfocus="select();" onchange="VerifyDegreesLONDD('idtxtLONW_DD', 'idradLONW_dirW2'); CheckSearchMBR();" id="idtxtLONW_DD"> °</td> </tr> </table> </div> <input type="hidden" name="reload" value="0" id="Hidden3"> </div> </fieldset> </div> <!--**************************************************************--> <!--******************Buttons were here***************************--> <!--**************************************************************--> <!-- HLT 0830 begin --> <div class="clsMoveDown" id="AC" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">ADM1 Code Search</legend> <table id="ADM1Tbl" class="clsTable" style="margin:2px" border="0"> <tr> <td colspan="3" align="right"><input type="button" class="clsButton" value="Reset" id="idButADM1CodesReset" name="ButADM1CodesReset" onclick="ResetADM1Codes();"></td> <tr> <tr> <td width="30%" style="color:#000099; font-size: 10pt" align="right"> ADM1 Code: </td> <td> <input name="txtADM1Code" type="text" class="clsSearchTxt" size="25" id="txtADMCode"> </td> <td width="25%"> <select name="lstADM1Criteria" style="font-size:9pt" id="selADMCode" onchange="document.getElementById('txtADMCode').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td> </tr> <tr> <td style="color:#000099; font-size: 10pt" align="right"> ADM1 Name: </td> <td><input name="txtADM1Name" type="text" class="clsSearchTxt" size="20" id="txtADMName"></td> <td> <select name="lstADMName" style="font-size:9pt" id="selADMName" onchange="document.getElementById('txtADMName').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td> </tr> <tr> <td style="color:#000099; font-size: 10pt" align="right"> Country Code: </td> <td><input name="txtCountryCode" type="text" class="clsSearchTxt" size="20" id="txtADMCCCode"></td></tr> <tr> <td colspan="2" style="color:#000099; font-size: 8pt" align="center">(Leave blank to get all ADM1 Codes)</td> <td> </td> <tr> <td style="color:#000099; font-size: 10pt; height:24pt" align="right"> Sort By:</td> <td colspan="2" style="color:#000099; font-size: 10pt; height:24pt"> <input name="ADMSortOrder" type="radio" value="COUNTRY_CD,ADM1_Name" id="rdADMName" checked>ADM1 Name <input name="ADMSortOrder" type="radio" value="COUNTRY_CD,ADM1" id="rdADMCode">ADM1 Code</td></tr> </table> </fieldset> <br> <br> <!--<HR align="center" style="color:#000099" width="200px">--> </div> <div class="clsMoveDown" id="CC" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:80%" align="center"> <legend style="color:#000099;">Country Code Search </legend> <table id="CCTbl" style="margin:2px" class="clsTable" border="0"> <tr> <td></td> <td></td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButCountryCodesReset" name="ButCountryCodesReset" onclick="ResetCountryCodes();"></td> </tr> <tr> <td width="45%" style="color:#000099; font-size: 10pt" align="right"> Country Code: </td> <td width="70%"><input name="txtCntryCode" type="text" class="clsSearchTxt" size="25" id="txtCntryCode"></td> <td width="25%"> <select name="lstCntryCriteria" style="font-size:9pt" id="selCntryCode" onchange="document.getElementById('txtCntryCode').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td style="color:#000099; font-size: 10pt" align="right"> Country Name: </td> <td width="80%"><input name="txtCntryName" type="text" class="clsSearchTxt" size="20" id="txtCntryame"></td> <td> <select name="lstCntryName" style="font-size:9pt" id="selCntryName" onchange="document.getElementById('txtCntryame').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td colspan="3" style="color:#000099; font-size: 10pt" align="center">(Leave blank to get all Country Codes) </td></tr> <tr> <td style="color:#000099; font-size: 10pt; height:24pt" align="right"> Sort By: </td> <td colspan="2" style="color:#000099; font-size: 10pt; height:24pt"> <input name="CCSortOrder" type="radio" value="COUNTRY_NM" id="rdCntryName" checked>Country Name <input name="CCSortOrder" type="radio" value="COUNTRY_CD" id="rdCntryCode">Country Code </td></tr> </table> </fieldset> <br> <br> <!--<HR align="center" style="color:#000099" width="200px">--> </div> <div class="clsMoveDown" id="GEN" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:100%" align="center"> <legend style="color:#000099;">Generic Term Glossary</legend> <table style="margin:2px" width="100%" border="0" id="GenGlossTbl"> <tr> <td width="20%" valign="middle" align="right" style="color:#000099; font-size: 10pt"> <label for="idLstGenCountryNames" title="Select country name">Select Country Name:</label> </td> <td width="80%"> <select class="clsSelect" id="idLstGenCountryNames" name="lstGenCountryNames" size="10" title="Select Country Name" multiple="multiple"> <option value="AF">Afghanistan (AF)</option> <option value="AX">Akrotiri (AX)</option> <option value="AL">Albania (AL)</option> <option value="AG">Algeria (AG)</option> <option value="AQ">American Samoa (AQ)</option> <option value="AN">Andorra (AN)</option> <option value="AO">Angola (AO)</option> <option value="AV">Anguilla (AV)</option> <option value="AY">Antarctica (AY)</option> <option value="AC">Antigua and Barbuda (AC)</option> <option value="AR">Argentina (AR)</option> <option value="AM">Armenia (AM)</option> <option value="AA">Aruba (AA)</option> <option value="AT">Ashmore and Cartier Islands (AT)</option> <option value="AS">Australia (AS)</option> <option value="AU">Austria (AU)</option> <option value="AJ">Azerbaijan (AJ)</option> <option value="BF">Bahamas, The (BF)</option> <option value="BA">Bahrain (BA)</option> <option value="FQ">Baker Island (FQ)</option> <option value="BG">Bangladesh (BG)</option> <option value="BB">Barbados (BB)</option> <option value="BS">Bassas da India (BS)</option> <option value="BO">Belarus (BO)</option> <option value="BE">Belgium (BE)</option> <option value="BH">Belize (BH)</option> <option value="BN">Benin (BN)</option> <option value="BD">Bermuda (BD)</option> <option value="BT">Bhutan (BT)</option> <option value="BL">Bolivia (BL)</option> <option value="BK">Bosnia and Herzegovina (BK)</option> <option value="BC">Botswana (BC)</option> <option value="BV">Bouvet Island (BV)</option> <option value="BR">Brazil (BR)</option> <option value="IO">British Indian Ocean Territory (IO)</option> <option value="VI">British Virgin Islands (VI)</option> <option value="BX">Brunei (BX)</option> <option value="BU">Bulgaria (BU)</option> <option value="UV">Burkina Faso (UV)</option> <option value="BM">Burma (BM)</option> <option value="BY">Burundi (BY)</option> <option value="CB">Cambodia (CB)</option> <option value="CM">Cameroon (CM)</option> <option value="CA">Canada (CA)</option> <option value="CV">Cape Verde (CV)</option> <option value="CJ">Cayman Islands (CJ)</option> <option value="CT">Central African Republic (CT)</option> <option value="CD">Chad (CD)</option> <option value="CI">Chile (CI)</option> <option value="CH">China (CH)</option> <option value="KT">Christmas Island (KT)</option> <option value="IP">Clipperton Island (IP)</option> <option value="CK">Cocos (Keeling) Islands (CK)</option> <option value="CO">Colombia (CO)</option> <option value="CN">Comoros (CN)</option> <option value="CG">Congo, Democratic Republic of the (CG)</option> <option value="CF">Congo, Republic of the (CF)</option> <option value="CW">Cook Islands (CW)</option> <option value="CR">Coral Sea Islands (CR)</option> <option value="CS">Costa Rica (CS)</option> <option value="HR">Croatia (HR)</option> <option value="CU">Cuba (CU)</option> <option value="CY">Cyprus (CY)</option> <option value="EZ">Czech Republic (EZ)</option> <option value="IV">C么te d'Ivoire (IV)</option> <option value="DA">Denmark (DA)</option> <option value="DX">Dhekelia (DX)</option> <option value="DJ">Djibouti (DJ)</option> <option value="DO">Dominica (DO)</option> <option value="DR">Dominican Republic (DR)</option> <option value="EC">Ecuador (EC)</option> <option value="EG">Egypt (EG)</option> <option value="ES">El Salvador (ES)</option> <option value="EK">Equatorial Guinea (EK)</option> <option value="ER">Eritrea (ER)</option> <option value="EN">Estonia (EN)</option> <option value="ET">Ethiopia (ET)</option> <option value="PJ">Etorofu, Habomai, Kunashiri and Shikotan Islands (PJ)</option> <option value="EU">Europa Island (EU)</option> <option value="FK">Falkland Islands (Islas Malvinas) (FK)</option> <option value="FO">Faroe Islands (FO)</option> <option value="FJ">Fiji (FJ)</option> <option value="FI">Finland (FI)</option> <option value="FR">France (FR)</option> <option value="FG">French Guiana (FG)</option> <option value="FP">French Polynesia (FP)</option> <option value="FS">French Southern and Antarctic Lands (FS)</option> <option value="GB">Gabon (GB)</option> <option value="GA">Gambia, The (GA)</option> <option value="GZ">Gaza Strip (GZ)</option> <option value="GG">Georgia (GG)</option> <option value="GM">Germany (GM)</option> <option value="GH">Ghana (GH)</option> <option value="GI">Gibraltar (GI)</option> <option value="GO">Glorioso Islands (GO)</option> <option value="GR">Greece (GR)</option> <option value="GL">Greenland (GL)</option> <option value="GJ">Grenada (GJ)</option> <option value="GP">Guadeloupe (GP)</option> <option value="GQ">Guam (GQ)</option> <option value="GT">Guatemala (GT)</option> <option value="GK">Guernsey (GK)</option> <option value="GV">Guinea (GV)</option> <option value="PU">Guinea-Bissau (PU)</option> <option value="GY">Guyana (GY)</option> <option value="HA">Haiti (HA)</option> <option value="HM">Heard Island and McDonald Islands (HM)</option> <option value="HO">Honduras (HO)</option> <option value="HK">Hong Kong (HK)</option> <option value="HQ">Howland Island (HQ)</option> <option value="HU">Hungary (HU)</option> <option value="IC">Iceland (IC)</option> <option value="IN">India (IN)</option> <option value="ID">Indonesia (ID)</option> <option value="IR">Iran (IR)</option> <option value="IZ">Iraq (IZ)</option> <option value="EI">Ireland (EI)</option> <option value="IM">Isle of Man (IM)</option> <option value="IS">Israel (IS)</option> <option value="IT">Italy (IT)</option> <option value="JM">Jamaica (JM)</option> <option value="JN">Jan Mayen (JN)</option> <option value="JA">Japan (JA)</option> <option value="DQ">Jarvis Island (DQ)</option> <option value="JE">Jersey (JE)</option> <option value="JQ">Johnston Atoll (JQ)</option> <option value="JO">Jordan (JO)</option> <option value="JU">Juan de Nova Island (JU)</option> <option value="KZ">Kazakhstan (KZ)</option> <option value="KE">Kenya (KE)</option> <option value="KQ">Kingman Reef (KQ)</option> <option value="KR">Kiribati (KR)</option> <option value="KV">Kosovo (KV)</option> <option value="KU">Kuwait (KU)</option> <option value="KG">Kyrgyzstan (KG)</option> <option value="LA">Laos (LA)</option> <option value="LG">Latvia (LG)</option> <option value="LE">Lebanon (LE)</option> <option value="LT">Lesotho (LT)</option> <option value="LI">Liberia (LI)</option> <option value="LY">Libya (LY)</option> <option value="LS">Liechtenstein (LS)</option> <option value="LH">Lithuania (LH)</option> <option value="LU">Luxembourg (LU)</option> <option value="MC">Macau (MC)</option> <option value="MK">Macedonia (MK)</option> <option value="MA">Madagascar (MA)</option> <option value="MI">Malawi (MI)</option> <option value="MY">Malaysia (MY)</option> <option value="MV">Maldives (MV)</option> <option value="ML">Mali (ML)</option> <option value="MT">Malta (MT)</option> <option value="RM">Marshall Islands (RM)</option> <option value="MB">Martinique (MB)</option> <option value="MR">Mauritania (MR)</option> <option value="MP">Mauritius (MP)</option> <option value="MF">Mayotte (MF)</option> <option value="MX">Mexico (MX)</option> <option value="FM">Micronesia, Federated States of (FM)</option> <option value="MQ">Midway Islands (MQ)</option> <option value="MD">Moldova (MD)</option> <option value="MN">Monaco (MN)</option> <option value="MG">Mongolia (MG)</option> <option value="MJ">Montenegro (MJ)</option> <option value="MH">Montserrat (MH)</option> <option value="MO">Morocco (MO)</option> <option value="MZ">Mozambique (MZ)</option> <option value="WA">Namibia (WA)</option> <option value="NR">Nauru (NR)</option> <option value="BQ">Navassa Island (BQ)</option> <option value="NP">Nepal (NP)</option> <option value="NL">Netherlands (NL)</option> <option value="NT">Netherlands Antilles (NT)</option> <option value="NC">New Caledonia (NC)</option> <option value="NZ">New Zealand (NZ)</option> <option value="NU">Nicaragua (NU)</option> <option value="NG">Niger (NG)</option> <option value="NI">Nigeria (NI)</option> <option value="NE">Niue (NE)</option> <option value="NM">No Man's Land (NM)</option> <option value="NF">Norfolk Island (NF)</option> <option value="KN">North Korea (KN)</option> <option value="CQ">Northern Mariana Islands (CQ)</option> <option value="NO">Norway (NO)</option> <option value="OS">Oceans (OS)</option> <option value="MU">Oman (MU)</option> <option value="PK">Pakistan (PK)</option> <option value="PS">Palau (PS)</option> <option value="LQ">Palmyra Atoll (LQ)</option> <option value="PM">Panama (PM)</option> <option value="PP">Papua New Guinea (PP)</option> <option value="PF">Paracel Islands (PF)</option> <option value="PA">Paraguay (PA)</option> <option value="PE">Peru (PE)</option> <option value="RP">Philippines (RP)</option> <option value="PC">Pitcairn Islands (PC)</option> <option value="PL">Poland (PL)</option> <option value="PO">Portugal (PO)</option> <option value="RQ">Puerto Rico (RQ)</option> <option value="QA">Qatar (QA)</option> <option value="RE">Reunion (RE)</option> <option value="RO">Romania (RO)</option> <option value="RS">Russia (RS)</option> <option value="RW">Rwanda (RW)</option> <option value="TB">Saint Barth茅lemy (TB)</option> <option value="SH">Saint Helena, Ascension, and Tristan da Cunha (SH)</option> <option value="SC">Saint Kitts and Nevis (SC)</option> <option value="ST">Saint Lucia (ST)</option> <option value="RN">Saint Martin (RN)</option> <option value="SB">Saint Pierre and Miquelon (SB)</option> <option value="VC">Saint Vincent and the Grenadines (VC)</option> <option value="WS">Samoa (WS)</option> <option value="SM">San Marino (SM)</option> <option value="TP">Sao Tome and Principe (TP)</option> <option value="SA">Saudi Arabia (SA)</option> <option value="SG">Senegal (SG)</option> <option value="RI">Serbia (RI)</option> <option value="SE">Seychelles (SE)</option> <option value="SL">Sierra Leone (SL)</option> <option value="SN">Singapore (SN)</option> <option value="LO">Slovakia (LO)</option> <option value="SI">Slovenia (SI)</option> <option value="BP">Solomon Islands (BP)</option> <option value="SO">Somalia (SO)</option> <option value="SF">South Africa (SF)</option> <option value="SX">South Georgia and the South Sandwich Islands (SX)</option> <option value="KS">South Korea (KS)</option> <option value="SP">Spain (SP)</option> <option value="PG">Spratly Islands (PG)</option> <option value="CE">Sri Lanka (CE)</option> <option value="SU">Sudan (SU)</option> <option value="NS">Suriname (NS)</option> <option value="SV">Svalbard (SV)</option> <option value="WZ">Swaziland (WZ)</option> <option value="SW">Sweden (SW)</option> <option value="SZ">Switzerland (SZ)</option> <option value="SY">Syria (SY)</option> <option value="TW">Taiwan (TW)</option> <option value="TI">Tajikistan (TI)</option> <option value="TZ">Tanzania (TZ)</option> <option value="TH">Thailand (TH)</option> <option value="TT">Timor-Leste (TT)</option> <option value="TO">Togo (TO)</option> <option value="TL">Tokelau (TL)</option> <option value="TN">Tonga (TN)</option> <option value="TD">Trinidad and Tobago (TD)</option> <option value="TE">Tromelin Island (TE)</option> <option value="TS">Tunisia (TS)</option> <option value="TU">Turkey (TU)</option> <option value="TX">Turkmenistan (TX)</option> <option value="TK">Turks and Caicos Islands (TK)</option> <option value="TV">Tuvalu (TV)</option> <option value="UG">Uganda (UG)</option> <option value="UP">Ukraine (UP)</option> <option value="UF">Undersea Features (UF)</option> <option value="AE">United Arab Emirates (AE)</option> <option value="UK">United Kingdom (UK)</option> <option value="US">United States (US)</option> <option value="UY">Uruguay (UY)</option> <option value="UZ">Uzbekistan (UZ)</option> <option value="NH">Vanuatu (NH)</option> <option value="VT">Vatican City (VT)</option> <option value="VE">Venezuela (VE)</option> <option value="VM">Vietnam (VM)</option> <option value="VQ">Virgin Islands (VQ)</option> <option value="WQ">Wake Island (WQ)</option> <option value="WF">Wallis and Futuna (WF)</option> <option value="WE">West Bank (WE)</option> <option value="WI">Western Sahara (WI)</option> <option value="YM">Yemen (YM)</option> <option value="ZA">Zambia (ZA)</option> <option value="ZI">Zimbabwe (ZI)</option> </select> </td> <td valign="top" align="right"> <input type="button" class="clsButton" value="Reset" id="idButGenericReset" name="ButGenericReset" onclick="ResetGenericGlossary();"> </td> </tr> </table> </fieldset> <br> <br> </div> <div class="clsMoveDown" id="DC" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:90%" align="center"> <legend style="color:#000099;">Designation Code Search</legend> <table id="DCTbl" class="clsTable" style="margin:2px" border="0"> <tr> <td></td> <td></td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButDesigCodesReset" name="ButDesigCodesReset" onclick="ResetDesignationCodes();"></td> </tr> <tr> <td width="45%" style="color:#000099; font-size: 10pt" align="right"> Designation Code: </td> <td width="70%"><input name="txtDesigCode" type="text" class="clsSearchTxt" size="25" id="txtDesigCode"></td> <td width="25%"> <select name="lstDesigCriteria" style="font-size:9pt" id="selDesigCode" onchange="document.getElementById('txtDesigCode').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td style="color:#000099; font-size: 10pt" align="right"> Designation Name: </td> <td width="80%"><input name="txtDesigName" type="text" class="clsSearchTxt" size="20" id="txtDesigName"></td> <td> <select name="lstDesigName" style="font-size:9pt" id="selDesigName" onchange="document.getElementById('txtDesigName').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td colspan="3" style="color:#000099; font-size: 10pt" align="center">(Leave blank to get all Designation Codes) </td></tr> <tr> <td style="color:#000099; font-size: 10pt; height:24pt" align="right"> Sort By: </td> <td colspan="2" style="color:#000099; font-size: 10pt; height:24pt"> <input name="DesigSortOrder" type="radio" value="DESIG" id="rdDesignName" checked>Designation Name <input name="DesigSortOrder" type="radio" value="DESIG_CD" id="rdDesignCode">Designation Code</td></tr> </table> </fieldset> <br> <br> <!--<HR align="center" style="color:#000099" width="200px">--> </div> <div class="clsMoveDown" id="LC" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:80%" align="center"> <legend style="color:#000099;">Language Code Search</legend> <table id="LangTbl" class="clsTable" style="margin:2px" border="0"> <tr> <td></td> <td></td> <td align="right"><input type="button" class="clsButton" value="Reset" id="idButLangCodesReset" name="ButLangCodesReset" onclick="ResetLanguageCodes();"></td> </tr> <tr> <td width="45%" style="color:#000099; font-size: 10pt" align="right"> Language Code: </td> <td width="70%"><input name="txtLangCode" type="text" class="clsSearchTxt" size="25" id="txtLanguageCode"></td> <td width="25%"> <select name="lstLangCriteria" style="font-size:9pt" id="selLangCode" onchange="document.getElementById('txtLanguageCode').focus();"> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td style="color:#000099; font-size: 10pt" align="right"> Language Name: </td> <td width="80%"><input name="txtLangName" type="text" class="clsSearchTxt" size="20" id="txtLanugageName"></td> <td> <select name="lstLangName" style="font-size:9pt" id="selLangName" onchange="document.getElementById('txtLanugageName').focus(); "> <option value="3" selected>Starts With</option> <option value="1">Exact Match</option> <option value="2">Contains</option> <option value="4">Ends With</option> </select> </td></tr> <tr> <td colspan="3" style="color:#000099; font-size: 10pt" align="center">(Leave blank to get all Language Codes) </td></tr> <tr> <td style="color:#000099; font-size: 10pt; height:24pt" align="right"> Sort By: </td> <td colspan="2" style="color:#000099; font-size: 10pt; height:24pt"> <input name="LangSortOrder" type="radio" value="DESCRIPTION" id="rdLangName" checked>Language Name <input name="LangSortOrder" type="radio" value="LANG_CD" id="rdLangCode">Language Code </td></tr> </table> </fieldset> <br> <br> <!--<HR align="center" style="color:#000099" width="200px">--> </div> <!-- HLT 0830 end --> <!--**************************************************************--> <div id="EL" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br/> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Elevation</legend> <br/> <table id="ELTbl" class="clsTable" style="margin:2px" border="0"> <tr style="color:#000099;"> <td nowrap align="center" width="80%"> <input type="RADIO" name="elev_unit" id="idRadMeters" value="M" onclick="ChangeAnchorAttributes('tdEL'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked> Meters <input type="RADIO" name="elev_unit" id="idRadFeet" value="F" onclick="ChangeAnchorAttributes('tdEL'); ChangeAnchorAttributes('idAGnsOutputCrit');"> Feet </td> <td align="right" width="20%"><input type="button" class="clsButton" value="Reset" id="idButElevReset" name="ButElevReset" onclick="ResetElevation();"></td> </tr> </table> <br/> </fieldset> </div> <div id="OI" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Output Instructions</legend> <br> <table id="resetTbl1" class="clsTable" style="margin:2px" border="0"> <tr> <td width="50%"> <b style="font-size:9pt; margin:10px; color:#000099">Choose Format:</b> </td> <td width="50%" align="right"> <input type="button" class="clsButton" value="Reset" id="idButOutputInstrReset" name="ButOutputInstrReset" onclick="ResetOutputInstructions();"> </td> </tr> </table> <table id="OITbl" class="clsTable" style="margin:2px" border="0"> <tr> <td nowrap style="margin-left:30px; color:#000099;" align="left"> <input type="Radio" id="radOITabDelimited" name="OutputType" value="TAB" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked> Tab Delimited </td> <td nowrap style="color:#000099;" align="left"> <input type="Radio" id="radOIHtmlPreview" name="OutputType" value="HTML" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');"> HTML Preview </td> </tr> <tr> <td nowrap style="color:#000099;" align="left"> <input type="Radio" id="radOIExcelSpreadsheet" name="OutputType" value="EXCEL" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');"> Excel Spreadsheet </td> <td nowrap style="color:#000099;" align="left"> <input type="Radio" id="radOIShapefile" name="OutputType" value="SHAPE" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');"> Shapefile </td> </tr> <tr> <td nowrap style="color:#000099;" align="left"> <input type="Radio" id="radOIXML" name="OutputType" value="XML" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');"> XML </td> <td nowrap style="color:#000099;" align="left"> <input type="Radio" id="radOIKML" name="OutputType" value="KML" onclick="CheckFormat(); ChangeAnchorAttributes('tdOI'); ChangeAnchorAttributes('idAGnsOutputCrit');"> KML </td> </tr> </table> <p> <input type="HIDDEN" name="NameOrder" value="reading"> </p> </fieldset> </div> <div id="OF" style="display:none;" align="center"> <!--<HR align="center" style="color:#000099" width="200px">--> <br> <fieldset class="styFieldSet" style="width:100%" align="center"> <legend style="color:#000099;">Output Fields</legend> <br> <table id="tblReset2" class="clsTable" style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; margin:2px" border="0"> <tr width="100%"> <td width="50%"> <b style="font-size:9pt; margin:10px; color:#000099;">Include the following fields:</b> </td> <td align="right" width="50%"><input type="button" class="clsButton" value="Reset" id="idButOutputFieldReset" name="ButOutputFieldReset" onclick="ResetOutputField();"></td> </tr> </table> <table id="OFTbl" class="clsTable" border="0" style="font-size:7.5pt;"> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idRegionCode" value="RC" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Region Code </td> <td><input type="Checkbox" name="IncludeFields" id="idLegFeatureAndNameID" value="LegUFIUNI" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Unique Name & Feature ID</td> <td><input type="Checkbox" name="IncludeFields" id="idUniqueFeatureAndName" value="UFIUNI" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');">Unique Name & Feature GUID </td> <td><input type="Checkbox" name="IncludeFields" id="idDDLat" value="DDLat" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>DD Latitude</td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idDDLong" value="DDLong" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>DD Longitude</td> <td><input type="Checkbox" name="IncludeFields" id="idDMSLat" value="DMSLat" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>DMS Latitude </td> <td><input type="Checkbox" name="IncludeFields" id="idDMSLong" value="DMSLong" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>DMS Longitude </td> <td><input type="Checkbox" name="IncludeFields" id="idMGRS" value="MGRS" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>MGRS </td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idJOGRef" value="JOG" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>JOG Reference </td> <td><input type="Checkbox" name="IncludeFields" id="idFeatureClass" value="FC" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Feature Class </td> <td><input type="Checkbox" name="IncludeFields" id="idDSG" value="DSG" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Feature Desig Code </td> <td><input type="Checkbox" name="IncludeFields" id="idPPLClass" value="PC" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>PPL Class </td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idFCC" value="CC1" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Feature Country Code </td> <td><input type="Checkbox" name="IncludeFields" id="idADM1Code" value="ADM1" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>FIPS ADM1 Code </td> <td><input type="Checkbox" name="IncludeFields" id="idDimension" value="DIM" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');">Dimension </td> <td><input type="Checkbox" name="IncludeFields" id="idPopulation" value="POP" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Population </td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idElevation" value="ELEV" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Elevation </td> <td><input type="Checkbox" name="IncludeFields" id="idNCC" value="CC2" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Name Country Code </td> <td><input type="Checkbox" name="IncludeFields" id="idLangCode" value="LC" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Language Code </td> <td><input type="Checkbox" name="IncludeFields" id="idNameType" value="NT" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Name Type </td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idNameShortForm" value="SHORT_FORM" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Name Short Form </td> <td><input type="Checkbox" name="IncludeFields" id="idGenericName" value="GENERIC" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Generic Name </td> <td><input type="Checkbox" name="IncludeFields" id="idSortName" value="SORT_NAME" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Sort Name </td> <td><input type="Checkbox" name="IncludeFields" id="idFullName" value="FULL_NAME" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Full Name </td> </tr> <tr style="color:#000099;"> <td><input type="Checkbox" name="IncludeFields" id="idFullNameND" value="FULL_NAME_ND" title="Full Name non-diacritics" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');" checked>Full Name ND </td> <td><input type="Checkbox" name="IncludeFields" id="idModDate" value="MOD_DATE" onclick="ChangeAnchorAttributes('tdOF'); ChangeAnchorAttributes('idAGnsOutputCrit');">Modify Date </td> </tr> </table> </fieldset> </div> <!--Output Instructions--> <div class="clsMoveDown" id="LTOI" style="display:none;" align="center"> <fieldset class="styFieldSet" style="width:70%" align="center"> <legend style="color:#000099;">Output Instructions</legend> <br> <table id="tblReset3" class="clsTable" style="margin:2px" border="0"> <tr> <td width="50%"> <b style="font-size:9pt; margin:10px; color:#000099">Choose Format:</b> </td> <td width="50%" align="right"> <input type="button" class="clsButton" value="Reset" id="idButLookupOutputInstrReset" name="ButLookupOutputInstrReset" onclick="ResetLookupOutputInstructions();"> </td> </tr> </table> <table id="OITbl" class="clsTable" style="margin:2px" border="0"> <tr style="color:#000099;"> <td nowrap align="left"> <input type="Radio" id="radLTOIHtmlPreview" name="LTOutputType" value="HTML" checked> HTML Preview</td> <td nowrap align="left"> <input type="Radio" id="radLTOIExcelSpreadsheet" name="LTOutputType" value="EXCEL"> Excel Spreadsheet</td> </tr> <tr style="color:#000099;"> <td nowrap style="margin-left:30px " align="left"> <input type="Radio" id="radLTOITabDelimited" name="LTOutputType" value="TAB"> Tab Delimited</td> </tr> </table> </fieldset> <br> <br> </div> <p> <center> <div class="clsMoveDown" id="divSubADM1Search" style="display:none"> <input type="button" class="clsButton" value="Search ADM1 Codes" id="subADM1Search" name="subADM1Search" onclick="SearchADM1();"> </div> <div class="clsMoveDown" id="divSubCountrySearch" style="display:none"> <input type="button" class="clsButton" value="Search Country Codes" id="subCountrySearch" name="subCountrySearch" onclick="SearchCountry();"> </div> <div class="clsMoveDown" id="divSubDesigSearch" style="display:none"> <input type="button" class="clsButton" value="Search Designation Codes" id="subDesigSearch" name="subDesigSearch" onclick="SearchDesignination();"> </div> <div class="clsMoveDown" id="divSubLangSearch" style="display:none"> <input type="button" class="clsButton" value="Search Language Codes" id="subLangSearch" name="subLangSearch" onclick="SearchLanguage();"> </div> <div class="clsMoveDown" id="divSubGenericSearch" style="display:none"> <input type="button" class="clsButton" value="Create Generic Term Glossary" id="subGenericSearch" name="subGenericSearch" onclick="GenericGlossary();"> </div> <div class="clsMoveDown" id="divOTSubADM1Search" style="display:none;"> <input type="button" class="clsButton" value="Output ADM1 Codes" id="subOTADM1Search" name="subOTADM1Search" onclick="OutputADM1();"> </div> <div class="clsMoveDown" id="divOTSubCountrySearch" style="display:none"> <input type="button" class="clsButton" value="Output Country Codes" id="subOTCountrySearch" name="subOTCountrySearch" onclick="OutputCountry();"> </div> <div class="clsMoveDown" id="divOTSubDesigSearch" style="display:none"> <input type="button" class="clsButton" value="Output Designation Codes" id="subOTDesigSearch" name="subOTDesigSearch" onclick="OutputDesignination();"> </div> <div class="clsMoveDown" id="divOTSubLangSearch" style="display:none"> <input type="button" class="clsButton" value="Output Language Codes" id="subOTLangSearch" name="subOTLangSearch" onclick="OutputLanguage();"> </div> <div class="clsMoveDown" id="divOTSubGenericSearch" style="display:none"> <input type="button" class="clsButton" value="Output Generic Term Glossary" id="subOTGenericSearch" name="subOTGenericSearch" onclick="OutputGeneric();"> </div> </center> </p> </form> </div> <!--Start of left side content --> <!-- Left pane Search/Ouput --> <div class="clsDivNav"> <div id="idDivToggleButton" onclick="if(m_bSearching==true){ToggleButtons(document.getElementById('divSubSearchDB'));}else{ToggleButtons(document.getElementById('divSubOutputResults'));};"> <!--<FORM ID="Form1">--> <!--<A href="javascript:void(null)" id="anchSearch" class="selected" onClick="ActivateSearch(); GeoNamesSearchVisible(true);">Search</A> <A href="javascript:void(null)" id="anchOutput" class="normal" onClick="ActivateOutput(); GeoNamesSearchVisible(true);">Output</A><BR> --> <div id="header"> <ul id="ulmain"> <li id="current" onclick="setTab(this); ActivateSearch(); GeoNamesSearchVisible(true);"><a href="#">Search</a></li> <li id="1" onclick="setTab(this); ActivateOutput(); GeoNamesSearchVisible(true);"><a href="#">Output</a></li> <!-- <li onclick = 'setTab(this)'><a href="#">Products</a></li> <li onclick = 'setTab(this)'><a href="#">About</a></li> <li onclick = 'setTab(this)'><a href="#">Contact</a></li>--> </ul> </div> <br/><br/> <div id="divSearchType" style="display:block"> <input type="Radio" id="radSearchType1" name="SearchType" value="QuickSearch" onclick="ActivateSearch(); GeoNamesSearchVisible(true);" checked> Quick Search <br> <input type="Radio" id="radSearchType2" name="SearchType" value="DetailedSearch" onclick="ActivateSearch(); GeoNamesSearchVisible(true);"> Detailed Search </div> <div id="divOutputType" style="display:none"> <input type="Radio" id="radOutputOrder1" name="OutputOrder" value="ReadingOrder" onclick="ActivateOutput(); GeoNamesSearchVisible(true);" checked> Reading Order <br> <input type="Radio" id="radOutputOrder2" name="OutputOrder" value="ReversedGenerics" onclick="ActivateOutput(); GeoNamesSearchVisible(true);"> Reversed Generics </div> <br/> <!--<HR style="color:#000099" width="95%" align="left"> --> <div style="position:relative; left:22;"> <input type="button" class="clsButton" id="idButResetAll" name="ButResetAll" value="Reset All Options" onclick="ResetAll();"> </div> <br/><br/> <!--Options--> <!--round corners div tags --> <div style="background-color:#CECECE;"> <div id="Div1" style="padding: 3px; margin: auto; background:#C3BDBD; width:160; color:#000099"> <span style="cursor:pointer;" title="Red indicates selection has been edited" id="idAOptions" onmouseover="this.style.fontWeight='bold';" onmouseout="this.style.fontWeight='normal';" onclick="toggleOptions(); GeoNamesSearchVisible(true);"><img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/holder.gif"/> Search Criteria</span> <br/> <div id="divNavFuzzy" style="display:block; color:#000099"> <span style="cursor:pointer; color:#000099" title="Red indicates selection has been edited" id="idAFuzzySearch" onmouseover="this.style.fontWeight='bold';" onmouseout="this.style.fontWeight='normal';" onclick="toggleFuzzy(); GeoNamesSearchVisible(true);"><img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/holder.gif"/> Fuzzy Search</span> <br/> </div> <span style="cursor:pointer; color:#000099" title="Red indicates selection has been edited" id="idAAdvancedSearch" onmouseover="this.style.fontWeight='bold';" onmouseout="this.style.fontWeight='normal';" onclick="toggleAdvancedSearch(); GeoNamesSearchVisible(true);"><img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/holder.gif"/> Advanced Search</span> <br/> <!--Feature Designations--> <span style="cursor:pointer; color:#000099" title="Red indicates selection has been edited" id="idAFeaDes" onclick="toggleDesignations(); GeoNamesSearchVisible(true);"> <img id="feDes" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/plus.gif"/> Feature Designations </span> <br/> <div id="FeaDesignations" style="display:none;"> <table id="TblDes" border="0" cellpadding="0" style="font-size:8pt; color:#000099;"> <tr><td valign="middle"> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spPP" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('PP')); GeoNamesSearchVisible(true);">Populated Place</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spAR" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('AR')); GeoNamesSearchVisible(true);">Administrative Region</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spAREA" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('Area')); GeoNamesSearchVisible(true);">Area</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spVEG" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('Veg')); GeoNamesSearchVisible(true);">Vegetation</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spSHR" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('SHR')); GeoNamesSearchVisible(true);">Transportation Network</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spHYP" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('HYP')); GeoNamesSearchVisible(true);">Hypsographic</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spHYD" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('Hyd')); GeoNamesSearchVisible(true);">Hydrographic</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spUSEA" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('USea')); GeoNamesSearchVisible(true);">Undersea</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span style="cursor:pointer; color:#000099" id="spSF" title="Red indicates selection has been edited" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleView(document.getElementById('SF')); GeoNamesSearchVisible(true);">Spot Features</span> </td></tr> </table> </div> <!--MBR Search--> <span style="cursor:pointer; color:#000099" id="idAMbrSearch" title="Red indicates selection has been edited" onmouseover="this.style.fontWeight='bold';" onmouseout="this.style.fontWeight='normal';" onclick="toggleCoords(); GeoNamesSearchVisible(true); if (m_bInitializedMBR == false){ValidateMBRInputs();m_bInitializedMBR = true;};"> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/holder.gif"/> MBR Search </span> <br/> <!--GNS Output Criteria--> <div id="divGISOutputCriteria" style="display:none;"> <span style="cursor:pointer;" id="idAGnsOutputCrit" onclick="ToggleOutputCriteria(); GeoNamesSearchVisible(true);" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';"><img id="GNSOutput" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/plus.gif"/> GNS Output Criteria</span><br> <div id="OutputCriteria" style="display:none;"> <table id="TblOutput" border="0" cellpadding="0" style="font-size:8pt; color:#1D80D3;"> <tr> <td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td> <td><span id="tdOI" style="cursor:pointer; color:#000099;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="ToggleCriteria(document.getElementById('OI')); GeoNamesSearchVisible(true);">Output Instructions </span> </td> </tr> <tr> <td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/> </td> <td><span id="tdEL" style="cursor:pointer; color:#000099;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="ToggleCriteria(document.getElementById('EL')); GeoNamesSearchVisible(true);">Elevation </span> </td> </tr> <tr> <td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td> <td><span id="tdOF" style="cursor:pointer; color:#000099;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="ToggleCriteria(document.getElementById('OF')); GeoNamesSearchVisible(true); if(document.getElementById('OF').style.display=='block'){timer=setTimeout('waitASec()', 500);};">Output Fields </span> </td> </tr> </table> </div> </div> </div> <!--Div1--> </div> <!--end of round corners div tags --> </div> <!--id="idDivToggleButton"--> <br/> <div id="divCoordInfo1" style="display:block"> <p>Horizontal Datum: WGS84</p> </div> <fieldset class="styFieldSet" style="position:relative; left:-6; "> <legend style="color:#000099;">Tools / Misc:</legend> <div style="background-color:#CECECE;padding:3;"> <div id="download" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <input id="chkFiledownload" onclick="enableFileDownload(this)" type="checkbox"/><span>Download File</span> </div> </div> <br/> <div style="background-color:#CECECE;padding:3;"> <div id="showsearchcriteria" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <input type="checkbox" name="other_options" id="idShowSearchCriteria" onclick="SaveShowSearchCriteria()">Show Search Criteria <script language="javascript"> sCookie = getCookie('ShowSearchCriteria'); if (sCookie == '1') { document.getElementById("idShowSearchCriteria").checked = true; } </script> </div> </div> <br/> <div style="background-color:#CECECE;padding:3;"> <div id="glossary" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <span id="tdLTGEN" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="toggleGlossary();"> Create Generic Term Glossary</span> </div> </div> <br/> <!--Lookup tables --> <div style="background-color:#CECECE; padding:3;"> <div id="Lookups" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <span style="cursor:pointer; line-height:30px;" id="idALookupTables" onclick="toggleLookup()"><img id="imgLookup" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/plus.gif"/> Lookup Tables </span> <br/> <div id="CodeLookup" style="display:none;"> <table id="TblLookUp" border="0" cellpadding="0" style="font-size:8pt; color:#000099;"> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span id="tdLTADM1" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="GeoNamesSearchVisible(false); if (m_bSearching == true){ToggleButtons(document.getElementById('divSubADM1Search'));}else{ToggleButtons(document.getElementById('divOTSubADM1Search'));}; toggleView(document.getElementById('AC'));">ADM1 Codes</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span id="tdLTCC" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="GeoNamesSearchVisible(false); if (m_bSearching == true){ToggleButtons(document.getElementById('divSubCountrySearch'));}else{ToggleButtons(document.getElementById('divOTSubCountrySearch'));}; toggleView(document.getElementById('CC'));">Country Codes</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span id="tdLTDC" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="GeoNamesSearchVisible(false); if (m_bSearching == true){ToggleButtons(document.getElementById('divSubDesigSearch'));}else{ToggleButtons(document.getElementById('divOTSubDesigSearch'));}; toggleView(document.getElementById('DC'));">Designation Codes</span> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><span id="tdLTLC" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="GeoNamesSearchVisible(false); if (m_bSearching == true){ToggleButtons(document.getElementById('divSubLangSearch'));}else{ToggleButtons(document.getElementById('divOTSubLangSearch'));}; toggleView(document.getElementById('LC'));">Language Codes</span> </td></tr> </table> <!--<DIV id="divLTOIOutput" style="display:none;"> <table ID="TblLTOILookUp" border=0 style="font-size:9pt; color:#3333ff;" > <TR><TD>- <SPAN id="tdLTOI" style="cursor:pointer;text-decoration:underline;color:#3333ff;" onClick="toggleView(document.getElementById('LTOI')); GeoNamesSearchVisible(false); ToggleButtons();">Output Instructions</SPAN> </TD></TR> </table> </DIV>--> </div> </div> </div> <br/> <!--GeoName Downloads --> <div style="background-color:#CECECE;padding:3;"> <div id="downloads" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <span style="cursor:pointer; line-height:30px;" id="span2" onclick="toggleDownloads()"><img id="imgGNSDownLoad" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/plus.gif"/> GeoName Downloads </span> <br/> <div id="GNdownloads" style="display:none;"> <table border="0" cellpadding="0" style="font-size:8pt; color:#000099;"> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><a style="color:#000099; text-decoration:none;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" href="https://web.archive.org/web/20100531091819/http://earth-info.nga.mil/gns/html/cntry_files.html" target="_blank">HTTP Files</a> </td></tr> <tr><td> <img src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/images/dot.gif"/></td><td><a style="color:#000099; text-decoration:none;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" href="https://web.archive.org/web/20100531091819/ftp://ftp.nga.mil/pub2/gns_data/" target="_blank">FTP Files</a> </td></tr> </table> </div> </div> </div> <!-- Help --> <br/> <div style="background-color:#CECECE; padding:3;"> <div id="dHelp" style="padding: 5px; background:#C3BDBD; width:150; color:#000099;"> <span style="line-height:30px"> <span id="Span1" style="cursor:pointer;" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';" onclick="window.open('helpfiles/HelpFrameSet.asp', 'GNSSearchHelpWindow', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width=1024, height=750');"> Help </span> <br> Email: <a style="font-size:8pt;" href="https://web.archive.org/web/20100531091819/mailto:GeoNames@nga.mil?subject=GeoNames%20questions%20and%20comments."> <i>GeoNames@nga.mil</i> </a> </span> </div> </div> </fieldset> <!--<CENTER> <A href=http://www.nga.mil target="_blank"> <P ><SPAN ><IMG border=0 name="NgaBanner" src="icons/agency-seal.gif" width="100" height="100" alt="National Geospatial-Intelligence Agency" border=0 align="middle" style="background-color:#CCCCCC" ></SPAN></P> </A> </CENTER> <BR>--> </div> <!--end of class="clsDivNav"--> <iframe id="idIfrmQryADM1names" name="ifrmQryADM1names" src="/web/20100531091819if_/http://geonames.nga.mil/ggmagaz/geonames4.asp" style="position:absolute; left:500; top:100; visibility:hidden;" height="100" width="300" align="middle"> </iframe> <!-- grh --> <script language="javascript"> // Add the return to viewer graphic if this page was derrived from the GGMAViewer ... try { if (parent.document.getElementById("mainFS") || opener.document.frmRefreshMin.txtMin) { document.writeln("<div id='upDown' style='position:absolute; left:720; top:10; z-index:12;'>") document.writeln(" <img src='./images/down.png' onclick='backToViewer()' alt='Return to Map Viewer' onmouseover=this.style.cursor='pointer' ALIGN='middle' />") document.writeln(" <span style='color:white; font-family:Arial; font-size:12;'>Return to Map Viewer</span>") document.writeln("</div>") } } catch(e) { } </script> <!-- Place the NGA footer gif --> <table class="NGAGraphic" style="position:absolute; left:0; top:1040;" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr bgcolor="black"> <td> <map id="bot_map1" name="bot_map1"> <area shape="poly" coords="113,0, 143,0, 143,15, 113,15" href="https://web.archive.org/web/20100531091819/http://www.nga.mil/" alt="National Geospatial-Intelligence Agency"/> </map> <img style="border:none;" alt="NGA footer image" usemap="#bot_map1" src="/web/20100531091819im_/http://geonames.nga.mil/ggmagaz/icons\agency-footer.gif"/> </td> <td align="center" width="45%" style="color:#FFFFFF;"> <a style="color:#FFFFFF; font-size:10pt;" href="https://web.archive.org/web/20100531091819/http://www.nga.mil/portal/site/nga01/index.jsp?epi-content=GOOGLE_SEARCH&site=my_collection&client=my_collection&output=xml_no_dtd&access=p&proxycustom=ADVANCED" target="_blank">Search</a> . <a style="color:#FFFFFF; font-size:10pt;" href="https://web.archive.org/web/20100531091819/http://www.nga.mil/portal/site/nga01/index.jsp?epi-content=CONTACT" target="_blank">Help</a> . <a style="color:#FFFFFF; font-size:10pt;" href="https://web.archive.org/web/20100531091819/http://www.nga.mil/portal/site/nga01/index.jsp?epi-content=CONTACT" target="_blank">Feedback</a> </td> </tr> </table> <!-- This is an iFrame that's src is DirectoryListing.aspx ...--> <!-- This iFrame will be enabled when the user checks the Download File checkbox ... --> <div id="showDownload" style=" border-color: #F0ECEC; border-width: 5px; border-style:ridge; overflow:hidden; font-family:Verdana; font-size:11;visibility:hidden; position:absolute; width:160; height:235; left:100; top:500; background-color:#6F86BC; cursor:move; z-index:200;" onmousedown="JScript:dragStart(event, "showDownload")"> <div align="center" id="Span3" style="white-space:nowrap;"> Click and drag<br/> </div> <iframe id="OutputDirListIframe" name="OutputDirListIframe" scrolling="no" frameborder="no" src="/web/20100531091819if_/http://geonames.nga.mil/ggmagaz/DirectoryListing.aspx" style="font-family:Verdana; font-size:11; background-color:#6F86BC; z-index:100; width:160; height:210;"> </iframe> </div> <!-- This is an iFrame that's src is KeepAlive.asp ...--> <!-- This iFrame will be enabled when output files are processed ... --> <iframe id="processingIframe" name="processingIframe" scrolling="no" frameborder="no" src="/web/20100531091819if_/http://geonames.nga.mil/ggmagaz/geonames4.asp" style="border:#F0ECEC medium ridge; font-family:Verdana; font-size:11; background-color:#6F86BC; z-index:1; position:absolute; top:105; left:250; width:550; height:400; visibility:hidden;"> </iframe> <!-- This is a hidden iFrame that's src is outputtab.asp ... --> <!-- This frame will stay hidden and the progress will be shown in the about iFrame ... --> <div id="iframewrapper" style="border: #F0ECEC 5 ridge; overflow:hidden; font-family:Verdana; font-size:11;visibility: hidden; position:absolute; width:210; height:340; left:820; top:300; background-color:#6F86BC; cursor:move; z-index:300;" onmousedown="JScript:dragStart(event, "iframewrapper")"> <span id="overviewMessage" style="z-index:300; white-space:nowrap;"> Click and drag to move window<br/> </span> <iframe id="workerIframe" name="workerIframe" scrolling="yes" frameborder="no" src="/web/20100531091819if_/http://geonames.nga.mil/ggmagaz/geonames4.asp" style="z-index:300; width:200; height:300;"> </iframe> </div> <!-- Searching iFrame --> <iframe id="ProcessSearchiFrame" name="ProcessSearchiFrame" scrolling="yes" frameborder="no" src="/web/20100531091819if_/http://geonames.nga.mil/ggmagaz/geonames4.asp" style="border:#F0ECEC medium ridge; font-family:Verdana; font-size:11; background-color:#6F86BC; z-index:100; position:absolute; top:100; left:250; width:650; height:500; visibility:hidden;"> </iframe> <span onclick="toggleDebug()" style="color: black; cursor:pointer; position:absolute; left: 855; top: 10;">g</span> </body> </html> <script language="javascript"> // Check to see if coordinates are passed in from GGMAViewer and if they are then show the MBR Search view ... if ((m_sLATN_dir != "") || (m_sLATN_d != "") || (m_sLATN_m != "") || (m_sLATN_s != "") || (m_sLONE_dir != "") || (m_sLONE_d != "") || (m_sLONE_m != "") || (m_sLONE_s != "") || (m_sLATS_dir != "") || (m_sLATS_d != "") || (m_sLATS_m != "") || (m_sLATS_s != "") || (m_sLONW_dir != "") || (m_sLATS_d != "") || (m_sLATS_m != "") || (m_sLATS_s != "")) { toggleCoords(); if (m_bInitializedMBR == false) { ValidateMBRInputs(); m_bInitializedMBR = true; document.getElementById("idAMbrSearch").style.color = m_lSelectedColor; ResetMBRInputs(true); } } function blink_on(){ document.getElementById("sCordSearchActive").style.color="black" timerOne=setTimeout("blink_off()", 1000) } function blink_off(){ document.getElementById("sCordSearchActive").style.color="red" timerTwo=setTimeout("blink_on()", 1000) } blink_off() function AreCoordsBeingUsed(){ if ((Math.ceil(document.getElementById("idtxtLATS_d").value) != 0) || (Math.ceil(document.getElementById("idtxtLATN_d").value) != 0) || (Math.ceil(document.getElementById("idtxtLONE_d").value) != 0) || (Math.ceil(document.getElementById("idtxtLONW_d").value) != 0) || (Math.ceil(document.getElementById("idtxtLONE_DD").value) != 0) || (Math.ceil(document.getElementById("idtxtLONW_DD").value) != 0)) { document.getElementById("sCordSearchActive").innerHTML = "Coordinate Search is Active!" } else{ document.getElementById("sCordSearchActive").innerHTML = " " } } AreCoordsBeingUsed() //Google Earth additions ... var GEName = ""; document.getElementById("idtxtGeoName").value = GEName; if (GEName == ''){ //Do nothing ... } else{ window.scrollBy(220,210); } </script> <!-- FILE ARCHIVED ON 09:18:19 May 31, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 14:49:08 Nov 25, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.585 exclusion.robots: 0.029 exclusion.robots.policy: 0.016 esindex: 0.012 cdx.remote: 10.121 LoadShardBlock: 492.433 (3) PetaboxLoader3.datanode: 147.614 (4) PetaboxLoader3.resolve: 109.838 (2) load_resource: 143.286 -->