function swapImage(imgRef,imgPath){ if(imgPath!=null) initSrc = imgRef.src; if(imgPath==null) imgPath = initSrc; else imgPath = "/?PIPELINE_SESSION_ID=dbf41bafc0a85033247ec8838e4a027a" + imgPath; if(document.images) imgRef.src = imgPath; } function openWindowReturnRef(url,winName,width,height){ var winRef = window.open(url,winName, "height=" + height + ",width=" + width + ",status=yes,toolbar=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=yes,titlebar=no"); return winRef; } function openWindow(url,winName,width,height){ var winRef = openWindowReturnRef(url,winName,width,height) } function preloadImages(){ var args = preloadImages.arguments; if(document.images){ for(var i=0;i 0){ if(itemCount == 1) cartMessage = "1 item"; else cartMessage = itemCount + " items"; } else cartMessage = "0 items"; var oCartMessage = document.getElementById("cartItemMessage"); if(oCartMessage) oCartMessage.innerHTML = cartMessage; }