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"); /* B R O W S E R C O O K I E M A N I P U L A T I O N */ function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function getCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function getFlashCookie () { var arg = "flashEnabled="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function setCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function setFlashCookie (value) { var cname = "flashEnabled"; document.cookie = cname + "=" + escape (value) } function setPreferenceCookie (value) { var cname = "userPref"; document.cookie = cname + "=" + escape (value) } function getPreferenceCookie () { var arg = "userPref="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function deleteCookie (name,path,domain) { if (getCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } function initializeFlash(){ var FlashEnabled = getFlashCookie(); var UserPref = getPreferenceCookie(); //alert("Is flash enabled: "+FlashEnabled); //alert("UserPref = " + UserPref); if ((FlashEnabled != "yes") && (UserPref != "text")){ // alert("confirm"); var form = window.document.form; msg = "To use the flash maps, you will need Macromedia Flash 6.0 or higher. Click the OK button to be directed to the Macromedia download page.\n\n Click the Cancel button to continue with text."; if (confirm(msg)) { // window.open("https://webharvest.gov/peth04/20041119202221/http://www.macromedia.com/go/getflahsplayer", "downloadwin" , "width=400, height=350, resizable=yes"); window.open("https://webharvest.gov/peth04/20041119202221/http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English", "downloadwin" , "width=400, height=350, resizable=yes"); } setPreferenceCookie('text'); } } //end function initializeFlash } /* FILE ARCHIVED ON 20:22:21 Nov 19, 2004 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 02:37:06 Apr 29, 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: 29.538 PetaboxLoader3.resolve: 29.336 PetaboxLoader3.datanode: 54.02 */