var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function openWinFile(FileExt) { switch (FileExt) { case "Else": msg = "This file has an unusual file type. Chances are " + "that it's an ASCII text file. You should be able " + "to read it or print it online. If your browser " + "says it has an unexpected file type, tell it to " + "open it using a text editor (e.g. Notepad) to " + "read it." + "" ; break; case "PDF": msg = "This is an Adobe Acrobat file. You will need the " + "free Adobe Acrobat reader to read it. You can " + "download the reader software directly from the " + "Adobe web site which is located at " + "https://www.webharvest.gov/peth04/20041015004338/http://www.adobe.com/products/acrobat/readstep.htm" + "l \n\n Our linking to this site does not " + "constitute an endorsement of any products, " + "services or the information found on the " + "Adobe.com Web site. \n\n Additionally, since this " + "is a non-federal government Web site, you should " + "review their privacy notice since their " + "information collection practices may differ from " + "ours." + "" ; break; case "Self_extracting": msg = "This is a self-extracting file. You should " + "download it to your hard drive and then execute " + "it from there. We recommend doing this from a " + "\"DOS window\" and executing it from the command " + "line. Please refer to most any computer " + "introduction documentation (e.g. \"Windows 98 For " + "Dummies\") if you have questions." + "" ; break; case "Spreadsheet": msg = "This is a spreadsheet file. You should be able to " + "open it using any relatively recent spreadsheet " + "program (e.g. Excel or Lotus 1-2-3)." + "" ; break; case "Text": msg = "This is a text file. You should be able to read " + "it or print it online. If your browser says it " + "has an unexpected file type, tell it to open it " + "using a text editor (e.g. Notepad) to read it." + "" ; break; case "Word": msg = "This is a Microsoft Word file. You should be able " + "to open it using any relatively recent word " + "processing program although it's possible that " + "the document contains certain elements which are " + "only available under a fairly current version of " + "the Microsoft product." + "" ; break; case "WordPerfect": msg = "This is a WordPerfect file. You should be able to " + "read it using any relatively recent word " + "processing program." + "" ; break; case "ZIP": msg = "This is a file which has been compressed using " + "PKZIP standards. You should download this file to " + "your hard drive and then unzip it from there. You " + "will need an unzip program to do this. There are " + "a number of programs available from a number of " + "sources. If you do not have one, we recommend " + "that you access any major search engine (like " + "https://www.webharvest.gov/peth04/20041015004338/http://www.google.com or http://www.yahoo.com) or " + "else go to a computer-related search site (like " + "https://www.webharvest.gov/peth04/20041015004338/http://www.zdnet.com) and find an unZIP utility " + "from there." + "" ; break; default: msg = "No pop-up help available. Sorry about that!"; break } alert(msg); } function submitSearch() { f = document.forms[1]; // Sometimes there are so many forms that it's not on the first one. if (typeof f.Query == "undefined") { f = document.forms[2]; } Query = f.Query.value if (Query == "") { alert("Must fill in a Query string") f.Query.focus() return false } f.submit() } function GP_popupConfirmMsg(msgCode) { if (msgCode == 1) { msg = "This link will take you to a non-federal site. " + "You may wish to review their privacy policy since their " + "information-collection practices may differ from ours.\r\r" + "Our linking to this site does not constitute an endorsement " + "of any products, services or information found on this non-federal site." } if (msgCode == 2) { msg = "This link will take you to a government site " + "which is not administered by STAT-USA. " + "You may wish to review their privacy policy since their " + "information-collection practices may differ from ours."} document.MM_returnValue = confirm(msg); } function openWin(URL, name) { popupWin = window.open(URL, name, 'toolbar=no,resizable,scrollbars=yes,width=630,height=470,left=10,top=10'); } function popLoc(Parm, name) { // Presuming Parm is something like FileExt=ZIP if (typeof(name) == "undefined") { i = Parm.lastIndexOf("="); newName = Parm.substring(i + 1, Parm.length); } else { newName = name } // The big disadvantage to redefining newName is that the Google toolbar will // consider this to be a pop-up ad and block it for you! Maybe... popupWin = window.open('/stemplate.nsf/frmPopLoc?OpenForm&' + Parm, newName, 'toolbar=no,resizable,scrollbars=yes,width=500,height=400'); } // Function is used in searching in order to determine what database view you're watching. function SrchSetPgm() { f = document.forms[1]; var CurView = window.location.pathname.toUpperCase(); // alert(CurView); i = CurView.lastIndexOf("/"); // alert(CurView + " i=" + i + " len=" + CurView.length); if (i < (CurView.length - 1)) { CurView = CurView.substring(i + 1, CurView.length); } else { // alert("Trying the second approach") CurView = CurView.substring(0, (CurView.length - 1)); i = CurView.lastIndexOf("/"); // alert(CurView + " i=" + i + " len=" + CurView.length); CurView = CurView.substring(i + 1, CurView.length); } /* Since you're using pathname, the items after ? are automatically gone. */ // alert("CurView=" + CurView); /* Now we see if we can find this value in the list of choices. */ // alert(f.WhichView.length) // alert("true=" + true + " false=" + false) var HitSomething = false for (i = 0; i < f.WhichView.length; i++) { v = f.WhichView.options[i].value.toUpperCase(); // alert(i + "=" + v); if (v == CurView) { f.WhichView.options[i].selected = true // alert(i + "=" + v); HitSomething = true } else { // For some databases, the string is /TOP.NSF/BYCOUNTRY and // you'll never find BYCOUNTRY equal to that so trying a second // approach if necessary. j = v.lastIndexOf("/") if (j > 0) { // alert(v.substr(j + 1)); if (v.substr(j + 1) == CurView) { f.WhichView.options[i].selected = true // alert(i + "=" + v); HitSomething = true } else { f.WhichView.options[i].selected = false } } else { f.WhichView.options[i].selected = false } } } document.Search.Query.focus(); } } /* FILE ARCHIVED ON 00:43:38 Oct 15, 2004 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 05:00:16 Apr 28, 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): RulesEngine.query: 22.818 PetaboxLoader3.datanode: 15.505 */