function popUp(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=155,height=25');")}function validateTextEntered(){if(document.emailrequestform.email){var a=document.emailrequestform.emailAddress.value;var b=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(b.test(a)){document.emailrequestform.submit();return true}else{alert("You must enter a valid email address.");return false}}}function passCode(a){var b=a;_uacct="UA-474633-2";urchinTracker(b)}function forgotpassword(){document.form.forgotpassword.value="submit";document.form.forgotpassword.name="forgotpassword.x";document.form.submit()}function openSizedPopup(b,c,d,a){window.open(b,c,"fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width="+d+",height="+a+",scrollbars=0")}function openLargeImage(a,b){seq=document.skuimage.sequence;if(isNaN(seq)){seq=""}newHref=a+"&imagesequence="+seq;window.open(newHref,b,"fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=400,height=460")}function buildLightbox(a,b){var c=document.createElement("DIV");c.className+=" lightbox";c.id=a;c.appendChild(document.createElement("SPAN"));c.childNodes[0].className+=" overlay";var e=document.createElement("DIV");e.className=" content";var d=document.createElement("A");d.onclick=function(){lightboxOff(a)};d.className="closeLink";d.appendChild(document.createTextNode("Close"));e.appendChild(d);e.appendChild(b);c.appendChild(e);return(c)}function lightboxOn(a){document.getElementsByTagName("BODY")[0].className+=" lbOn";document.getElementById(a).className+=" lbOn"}function lightboxOff(a){document.getElementsByTagName("BODY")[0].className=document.getElementsByTagName("BODY")[0].className.replace(/ lbOn/,"");document.getElementById(a).className=document.getElementById(a).className.replace(/ lbOn/,"")}function catChangeFormOn(){var a=document.getElementById("usform");if(!document.getElementById("usform_Lightbox")){a.parentNode.replaceChild(buildLightbox("usform_Lightbox",a.cloneNode(true)),a);var a=document.getElementById("usform_Lightbox")}else{a=document.getElementById("usform_Lightbox")}a.childNodes[1].lastChild.onclick=function(){catChangeFormOff()};lightboxOn("usform_Lightbox")}function catChangeFormOff(){lightboxOff("usform_Lightbox");var b=document.getElementById("usform_Lightbox");var a=document.getElementById("usform");b.parentNode.replaceChild(a,b)}function openMiniCart(){if(!window.Globals){window.Globals=new Array}else{if(window.Globals.mcOn){return(false)}}var a=document.getElementsByTagName("BODY")[0];a.className+=" mcOn";window.Globals.mcOn=true;return(false)}function closeMiniCart(){var a=document.getElementsByTagName("BODY")[0];a.className=a.className.replace(/mcOn/,"");window.Globals.mcOn=false;return(window.Globals.mcOn)}function miniCartOnLoad(a,b){var d=document.getElementById("Mini_Cart").getElementsByTagName("UL")[0].getElementsByTagName("LI");if(d.length>2){var c=document.createElement("EM");c.appendChild(document.createTextNode(a));d[1].insertBefore(c,d[1].firstChild);d[1].className+=" additionalItems"}if(b){openMiniCart()}}function checkFlashEnabled(){if(!window.Globals){window.Globals=new Array}window.Globals.flashInstalled=0;window.Globals.flashVersion=0;MSDetect="false";if(navigator.plugins&&navigator.plugins.length){x=navigator.plugins["Shockwave Flash"];if(x){window.Globals.flashInstalled=2;if(x.description){y=x.description;window.Globals.flashVersion=y.charAt(y.indexOf(".")-1)}}else{window.Globals.flashInstalled=1}if(navigator.plugins["Shockwave Flash 2.0"]){window.Globals.flashInstalled=2;window.Globals.flashVersion=2}}else{if(navigator.mimeTypes&&navigator.mimeTypes.length){x=navigator.mimeTypes["application/x-shockwave-flash"];if(x&&x.enabledPlugin){window.Globals.flashInstalled=2}else{window.Globals.flashInstalled=1}}else{MSDetect="true"}}};