//! ################################################################ //! This file contains both original and merged/adapted code . //! Except where indicated, all code is //! Copyright (c) 2004 Amazon.com, Inc., and its Affiliates. //! All Rights Reserved. //! Not to be reused without permission //! $Change$ //! $Revision$ //! $DateTime$ var gbN2LibMonMigrated = true; var N2Loaded = false; var n2LMStart = new Date(); var gaN2CSSLibs = new Array(); var gaN2JSLibs = new Array(); var oTheDoc = document; var oTheBody = oTheDoc.body; var oTheHead = document.getElementsByTagName('head').item(0); var n2sRTW1='onload'; var n2sRTWTBS='simplepopoverloaded'; function N2Initializer () { this.aHandlers = new Array(); this.aEventsRun = new Array(); this.bCoreLoaded = false; } new N2Initializer (); N2Initializer.prototype.runThisWhen = function (sWhen, fFn, sComment) { if ( (typeof fFn != 'function') || fFn == null) return false; sWhen = sWhen.toLowerCase(); if ( (sWhen =='inbody' && document.body) || this.aEventsRun[sWhen] ){ fFn(); } else { this.aHandlers[this.aHandlers.length] = { sWhen: sWhen, fFn: fFn, sComment: sComment }; } return true } N2Initializer.prototype.initializeThis = N2Initializer.prototype.runThisWhen N2Initializer.prototype.loadThisWhen = function (sWhen, sURL, sID, sComment) { sWhen = sWhen.toLowerCase(); goN2LibMon.monitorLoad (sID); if ( sWhen =='now' ) { n2LoadScript(sURL, true, sID); } else { this.aHandlers[this.aHandlers.length] = { sWhen: sWhen, sURL: sURL, sID: sID, sComment: sComment }; } return true } N2Initializer.prototype.run = function (sWhen) { sWhen = (typeof sWhen == 'undefined') ? null : sWhen; sWhen = sWhen.toLowerCase(); this.aEventsRun[sWhen] = true; if (sWhen == 'coreloaded') { this.bCoreLoaded=true; } if (window.goN2Debug) goN2Debug.info("N2Initializer called with " + (sWhen ? "'"+sWhen+"'" : "null")); var aH = this.aHandlers; var len = aH.length; for (var i=0;i'+ ''); goN2LibMon.monitorLoad ("utilities"); goN2LibMon.monitorLoad ("events"); goN2LibMon.monitorLoad ("simplePopover"); document.write('<\/script>'+ '<\/script>'+ '<\/script>'+ ''); var goCust = new Object(); goCust.isLoggedIn=function() { return false; } var goN2Explorer; var gaTD; var goN2AC; n2RunThisWhen (n2sRTWTBS, function() { oAllCatPopover = new N2SimplePopover(); goN2Events.registerFeature('two-tabs', 'oAllCatPopover', 'n2MouseOverHotspot', 'n2MouseOutHotspot'); goN2Events.setFeatureDelays('two-tabs',200, 400, 200); oAllCatPopover.initialize('AllCatPopoverDiv', 'oAllCatPopover',null,null,'below','c'); }, 'All Categories popover'); n2RunThisWhen(n2sRTW1, function() { if (!window.gaTD) gaTD = new Array(); N2Loaded = goN2LibMon.isJSLoaded(); }, "Last Init" );