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"); var agt = navigator.userAgent.toLowerCase(); var versInt = parseInt(navigator.appVersion); var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); var is_ie3 = (is_ie && (versInt < 4)); var is_ie4 = (is_ie && (versInt == 4) && (agt.indexOf("msie 4")!=-1) ); var is_aol = (agt.indexOf("aol") != -1); var is_aol3 = (is_aol && is_ie3); var is_aol4 = (is_aol && is_ie4); var is_aol5 = (agt.indexOf("aol 5") != -1); var is_aol6 = (agt.indexOf("aol 6") != -1); var is_comp = (agt.indexOf("compuserve") != -1); var is_comp2000 = (agt.indexOf("cs") != -1); var is_compie = (is_comp && is_ie); function _setAccessibilityPixelAltText() { if ( document.getElementById ) { var thePixelRef = document.getElementById( 'accessibilityPixel' ); var bnewsTitleRef = document.getElementById( 'BreakingNewsTitle' ); var bnewsTextRef = document.getElementById( 'BreakingNewsText' ); if ( thePixelRef && ( bnewsTitleRef && bnewsTextRef ) ) { var bnewsTitle = ''; var bnewsText = ''; if ( bnewsTitleRef.hasChildNodes && bnewsTitleRef.lastChild.hasChildNodes ) { bnewsTitle = bnewsTitleRef.lastChild.firstChild.data; } if ( bnewsTextRef.hasChildNodes ) { bnewsText = bnewsTextRef.firstChild.data; } if ( bnewsTitle && bnewsText ) { thePixelRef.setAttribute( 'alt', bnewsTitle + ': ' + bnewsText + ' ' + thePixelRef.getAttribute( 'alt' ) ); } } } } function _goTo( url ) { window.location.href = url; } function Top_titleBar( tableCellRef, hoverFlag ) { if ( hoverFlag ) { tableCellRef.style.backgroundImage = 'url("images/navbar_bg.gif")'; if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00'; } } else { tableCellRef.style.backgroundImage = 'url("images/navbar_bg.gif")'; if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#333'; } } } function Top_titleBarClick( tableCellRef, url ) { Top_titleBar( tableCellRef, 0 ); _goTo( url ); } function _navBar( tableCellRef, hoverFlag, navStyle ) { if ( hoverFlag ) { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#69c'; break; default: // tableCellRef.style.backgroundColor = '#ccc'; if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00'; } } } else { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#036'; break; default: // tableCellRef.style.backgroundColor = '#ddd'; if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000'; } } } } function _navBarClick( tableCellRef, navStyle, url ) { _navBar( tableCellRef, 0, navStyle ); _goTo( url ); } // this function is used to redirect the search form if necessary function validate( theFormValidate ) { return _validateSearchForm( theFormValidate ); } function _validateSearchForm( theForm ) { var site = ''; var queryString = ''; if ( theForm.sites ) { if ( theForm.sites.options ) { // "sites" should be a select site = theForm.sites.options[theForm.sites.selectedIndex].value; } else { if ( theForm.sites.length ) { for ( i = 0; i < theForm.sites.length; i++ ) { if ( theForm.sites[i].checked ) { site = theForm.sites[i].value; } } } else { site = theForm.sites.value; } } } if ( theForm.qt ) { queryString = theForm.qt.value; } else { if ( theForm.key ) { queryString = theForm.key.value; } } if ( !queryString ) { return false; } switch ( site.toLowerCase() ) { case "": theForm.action = "https://webharvest.gov/peth04/20041014210312/http://www.google.com site:usemb.se"; theForm.query.value = queryString; return true; case "time": theForm.action = "https://webharvest.gov/peth04/20041014210312/http://www.google.com site:usemb.se"; theForm.keyword.value = queryString; theForm.col.value = 'time'; return true; case "law": default: return true; // unsupported site? } } // used to open popup windows from the dateline function _openMap( location ) { var datelineWin = window.open( location, '620x430', "height=430,width=620,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no" ); datelineWin.focus(); } // this is for opening pop-up windows function _openPopup( url, name, widgets, openerUrl ) { var host = location.hostname; var popupWin = window.open( url, name, widgets ); if ( openerUrl ) { popupWin.opener.location = openerUrl; } if ( !( is_aol6 || is_aol3 || is_aol4 || is_aol5 || is_compie || is_comp2000) ) { popupWin.opener.top.name = "opener"; popupWin.focus(); } } function stext(searchtext) { var plussed = ""; for (var t = 1 ; t <= searchtext.length ; t++) { if (searchtext.substring(t-1,t) == " ") { plussed+="+"; } else { plussed+=searchtext.substring(t-1,t); } } return plussed; } // Do the Search function doSearch() { var words; words = document.searchforit.query.value; var searchsearchtext; searchsearchtext=stext(words); var index; // Obtain the selectedIndex properties from the search engines options for index = document.searchforit.service.selectedIndex var site; site = document.searchforit.service.options[index].value; site+=searchsearchtext+"+site:usemb.se" // if (document.searchforit.service == "usemb.se") // { site+=searchsearchtext+"+site:usemb.se" } // else // { site+=searchsearchtext } if (notEmpty(searchsearchtext)) { //new Object() ; //new Object() ; window.location=site; } } // Check for empty contents in search searchsearchtext function notEmpty(word) { if (word == "" || word == null) { self.status="ENTER SEARCH searchsearchtext"; alert("\nYou must enter a keyword to search for."); document.searchforit.query.focus(); return false; } else { self.status = "SEARCHING FOR: " + word; return true; } } function zeroize() { document.searchforit.query.value=""; document.searchforit.query.focus(); } } /* FILE ARCHIVED ON 21:03:12 Oct 14, 2004 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 12:08:11 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: 0.009 PetaboxLoader3.datanode: 20.279 */