//! ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//!
//!    Amazon.com Navigation JavaScript
//!    ----------------------------------------------------------
//!    Copyright (c) Amazon.com 2007-2008.  All Rights Reserved.
//!    Not to be reused without permission.
//!
//!    $DateTime: 2008/11/08 06:38:00 $
//!::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
n2RunThisWhen('simplePopoverLoaded',function(){goListsPop=new N2SimplePopover();goN2Events.registerFeature('listsPop','goListsPop','n2MouseOverHotspot','n2MouseOutHotspot');goN2Events.setFeatureDelays('listsPop',0,0,0);goListsPop.initialize('listsPop_pop','goListsPop',null,null,'below','r',0,'rounded');goListsPop.configureAnimation(0,0,null,null);goListsPop.configureTabTitle();goListsPop.setCallback('afterShow',function(){shiftImage('navListSwapPanel','0','-76','navListButton',3,2,1);goN2U.setClass('navListSwapPanel','navListButtonPanelInactive');return 1;});goListsPop.setCallback('beforeHide',function(){goN2U.setClass('navListSwapPanel','navListButtonPanel');shiftImage('navListSwapPanel','0','0','navListButton',3,0,1);return 1;});goShopAllExpanded=new N2SimplePopover();goN2Events.registerFeature('shopAllExpanded','goShopAllExpanded','n2MouseOverHotspot','n2MouseOutHotspot');goN2Events.setFeatureDelays('shopAllExpanded',0,10,15);goShopAllExpanded.preConfigureNTier(null,'shopAllExpanded','null','shopAllExpandedChild');goShopAllExpanded.initialize('goShopAllExpandedPopUp','goShopAllExpanded',null,null,'below',0,0,'none');goShopAllExpanded.configureAnimation(0,0,null,null);goShopAllExpanded.configureTabTitle(true);goShopAllExpanded.setCallback('afterShow',function(){if(window.gIsSubnavDisplayed&&gIsSubnavDisplayed==1)
{shiftImage('navSASwapPanel','0','-76','navSAButton',3,2,1);}
else
{shiftImage('navSASwapPanel','0','-76','navSAButtonNoSubnav',3,2,1);}
goN2U.setClass('navSASwapPanel','navSAButtonPanelInactive');return 1;});goShopAllExpanded.setCallback('beforeHide',function(){if(window.gIsSubnavDisplayed&&gIsSubnavDisplayed==1)
{goN2U.setClass('navSASwapPanel','navSAButtonPanel');shiftImage('navSASwapPanel','0','0','navSAButton',3,0,1);}
else
{shiftImage('navSASwapPanel','0','0','navSAButtonNoSubnav',3,0,1);goN2U.setClass('navSASwapPanel','navSAButtonNoSubnavPanel');}
return 1;});goShopAllExpandedChild=new N2SimplePopover();goN2Events.registerFeature('shopAllExpandedChild','goShopAllExpandedChild','n2MouseOverHotspot','n2MouseOutHotspot');goN2Events.setFeatureDelays('shopAllExpandedChild',0,5,0);goShopAllExpandedChild.preConfigureNTier(1,'shopAllExpandedChild','shopAllExpanded',null);goShopAllExpandedChild.initialize('goShopAllExpandedChildPopUp','goShopAllExpandedChild',null,null,'right',-23,0,'rounded');goShopAllExpandedChild.configureAnimation(0,0,null,null);goShopAllExpandedChild.configureTabTitle();var gNavExpandedChildClassBeforeShow=null;goShopAllExpandedChild.setCallback('afterShow',function(oPopover){var hotspotID=oPopover.getHotspotID();var listId=hotspotID+"_tab";var listIdObj=document.getElementById(listId);gNavExpandedChildClassBeforeShow=listIdObj.className;goN2U.setClass(listId,gNavExpandedChildClassBeforeShow+'Inactive');return 1;});goShopAllExpandedChild.setCallback('beforeHide',function(oPopover){var hotspotID=oPopover.getHotspotID();var listId=hotspotID+"_tab";goN2U.setClass(listId,gNavExpandedChildClassBeforeShow);return 1;});goNavCrossshopPopRight=new N2SimplePopover();goN2Events.registerFeature('navCrossshopPopRight','goNavCrossshopPopRight','n2MouseOverHotspot','n2MouseOutHotspot');goNavCrossshopPopRight.initialize('navCrossshopPopRight_pop','goNavCrossshopPopRight',null,null,'below',0,0,'rounded');goNavCrossshopPopRight.configureAnimation(0,0,null,null);goNavCrossshopPopRight.configureTabTitle();goNavCrossshopPopRight.setCallback('afterShow',function(popObj){var hotspotID=popObj.getHotspotID();goN2U.getElement(hotspotID+'_tab').className='navCrossshopOpen';return 1;});goNavCrossshopPopRight.setCallback('beforeHide',function(popObj){var hotspotID=popObj.getHotspotID();goN2U.getElement(hotspotID+'_tab').className='';return 1;});goNavCrossshopPopLeft=new N2SimplePopover();goN2Events.registerFeature('navCrossshopPopLeft','goNavCrossshopPopLeft','n2MouseOverHotspot','n2MouseOutHotspot');goNavCrossshopPopLeft.initialize('navCrossshopPopLeft_pop','goNavCrossshopPopLeft',null,null,'below','r',0,'rounded');goNavCrossshopPopLeft.configureAnimation(0,0,null,null);goNavCrossshopPopLeft.configureTabTitle();goNavCrossshopPopLeft.setCallback('afterShow',function(popObj){var hotspotID=popObj.getHotspotID();goN2U.getElement(hotspotID+'_tab').className='navCrossshopOpen';return 1;});goNavCrossshopPopLeft.setCallback('beforeHide',function(popObj){var hotspotID=popObj.getHotspotID();goN2U.getElement(hotspotID+'_tab').className='';return 1;});},'Gno Popovers');function navInitCartFlyout(){goCartPop=new N2SimplePopover();goN2Events.registerFeature('cartPop','goCartPop','n2MouseOverHotspot','n2MouseOutHotspot');goN2Events.setFeatureDelays('cartPop',0,0,0);goCartPop.initialize('cartPop_pop','goCartPop',null,null,'below','r',0,'rounded');goCartPop.configureAnimation(0,0,null,null);goCartPop.configureTabTitle();goCartPop.setCallback('afterShow',function(){if(document.getElementById(navCartPrefix+'Button')!=null)
{shiftImage(navCartPrefix+'SwapPanel','0','-76',navCartPrefix+'Button',3,2,1);goN2U.setClass(navCartPrefix+'SwapPanel',navCartPrefix+'ButtonPanelInactive');}
else
{navShiftCartImage(navCurrentCartRight,'-76',3,2,1);goN2U.setClass('navCartDigit','navCartDigitHover');goCartPop.mOverO=document.getElementById('navCartOverlay').onmouseover;goCartPop.mOutO=document.getElementById('navCartOverlay').onmouseout;document.getElementById('navCartOverlay').onmouseover="";document.getElementById('navCartOverlay').onmouseout="";}
return 1;});goCartPop.setCallback('beforeHide',function(){if(document.getElementById(navCartPrefix+'Button')!=null)
{goN2U.setClass(navCartPrefix+'SwapPanel',navCartPrefix+'ButtonPanel');shiftImage(navCartPrefix+'SwapPanel','0','0',navCartPrefix+'Button',3,0,1);}
else
{navShiftCartImage(navCurrentCartRight,'0',3,0,1);goN2U.setClass('navCartDigit','navCartDigitNormal');document.getElementById('navCartOverlay').onmouseover=goCartPop.mOverO;document.getElementById('navCartOverlay').onmouseout=goCartPop.mOutO;}
return 1;});}
function navInsertCartContents($)
{if(!navCartContents)
return;if(typeof window.goN2Debug!='undefined');var div=$(navCartContents);div.prependTo(document.body);navCartContents='';n2RunThisWhen('simplePopoverLoaded',navInitCartFlyout,'Counting cart popover');}
if(typeof window.navCartContents!='undefined'&&navCartContents!='')
{amznJQ.available('JQuery',function($)
{amznJQ.available('navBelowTheFold',navInsertCartContents);dtkLoaded=(typeof window.goN2Debug!='undefined');if(navCartContents=='')
{if(dtkLoaded);return;}
if(dtkLoaded);if(typeof window.navAppIncludesAtTheFoldWidget=='undefined'||!navAppIncludesAtTheFoldWidget)
{n2RunThisWhen('utilitiesLoaded',function()
{;amznJQ.addLogical("navBelowTheFold",null);},'declare navBelowTheFold');}
else
{if(dtkLoaded);}
$(function(){if(navCartContents=='')
return;if(typeof window.goN2Debug!='undefined');amznJQ.addLogical("navBelowTheFold",null);});});}