var useGazetteerService=true;function getGazetteer(){hideLayer("xBoxTop");hideLayer("xBoxLeft");hideLayer("xBoxRight");hideLayer("xBoxBottom");if(parent.TextFrame!=null){parent.TextFrame.document.location="http://"+hostName+appDir+"getGazetteer.htm?NAME=QUERYING_SERVICE";};searchString=prompt("Please Enter the name of a Populated Place to search for:  (Case-Sensitive)","Sioux Falls");var remoteHost_URL='http://gisdata.usgs.gov';if(document.domain=="ims.cr.usgs.gov"||document.domain=="gisdata.usgs.gov"||document.domain=="imsdemo.usgs.gov"||document.domain=="igskmncngs086"){remoteHost_URL='';};if((useExternalWindow)||(!useTextFrame)){window.open(remoteHost_URL+"/XMLWebServices2/Gazetteer_Result.aspx?SEARCHSTRING="+searchString+"&RETURNURL=http://"+hostName+appDir+"getGazetteer.htm","Gazetteer_Service","width=425,height=300,scrollbars=yes,resizable=yes");}else{parent.TextFrame.document.location=remoteHost_URL+"/XMLWebServices2/Gazetteer_Result.aspx?SEARCHSTRING="+searchString+"&RETURNURL=http://"+hostName+appDir+"getGazetteer.htm";}}

