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"); /********************************* tabs.js for EA.com js code for EA.com redesign prototype code by Byron Tredwell (byron(AT)blastradius.com) *********************************/ function tabSet(tabSetId,selectedIndex,func,toggleOnSingleTab) { var tabSet = getElm(tabSetId); if(!tabSet) return; this.tabs = tabSet.getElementsByTagName("DIV"); this.baseClass = this.tabs[0].className; this.currentTab = null; this.func = func; this.toggleOnSingleTab = toggleOnSingleTab; var tempArray = new Array(); for(var i=0; i boo no work in safari if(this.tabs[i].id && this.tabs[i].className.indexOf("tab") >=0 ) { tempArray[tempArray.length] = this.tabs[i]; } } this.tabs = tempArray; for(tab in this.tabs) { this.tabs[tab].onclick = this.toggle; this.tabs[tab].tabSet = this; this.tabs[tab].pane = document.getElementById(this.tabs[tab].id.substring(0,this.tabs[tab].id.indexOf("Tab"))); } if(!selectedIndex) selectedIndex = 0; this.setActiveTab(this.tabs[selectedIndex]); return this; } tabSet.prototype.toggle = function() { this.tabSet.setActiveTab(this); } tabSet.prototype.setActiveTab = function(tabRef) { if(this.toggleOnSingleTab && tabRef == this.currentTab) { if(this.currentTab.pane.style.display == "block") { this.currentTab.pane.style.display = "none"; }else{ this.currentTab.pane.style.display = "block"; } }else{ this.currentTab = null; for(tab in this.tabs) { if(this.tabs[tab] == tabRef) { this.currentTab = this.tabs[tab]; this.currentTab.className = this.baseClass +" On"; if(this.tabs[tab].pane) this.tabs[tab].pane.style.display = "block"; }else{ this.tabs[tab].className = this.baseClass; if(this.tabs[tab].pane) this.tabs[tab].pane.style.display = "none"; } } } if(typeof this.func == "function") this.func(this.currentTab); } } /* FILE ARCHIVED ON 05:15:21 Dec 25, 2009 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 09:54:14 May 01, 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.625 exclusion.robots: 0.065 exclusion.robots.policy: 0.056 cdx.remote: 0.055 esindex: 0.009 LoadShardBlock: 142.09 (3) PetaboxLoader3.datanode: 51.522 (4) PetaboxLoader3.resolve: 122.421 (3) load_resource: 76.28 */