function startList(){if(!document.body.currentStyle){return}navRoot=document.getElementById("abcCont");var a=document.getElementById("letterContainer");navRoot.onmouseover=function(){a.style.display="block"};navRoot.onmouseout=function(){a.style.display="none"}}function search(b){var c;if(window.event){c=b.keyCode}if(c==13){var a=document.getElementsByTagName("input");a.search.click();return true}else{return false}}function searchAgain(b){var c;if(window.event){c=b.keyCode}if(c==13){var a=document.getElementsByTagName("input");a.searchAgain.click();return true}else{return false}}function removeItem(a){document.removeAndUpdateQuantity.removalItem.value=a.value}function removeItemInCheckout(a){document.removeItemForm.removalItem.value=a;document.removeItemForm.submit()}function addNewCoupon(){document.removeAndUpdateQuantity.promotionalCode.value="true";document.removeAndUpdateQuantity.submit()}function addNewCouponInEmptyCart(){document.addPromotionalCodeForm.promotionalCode.value="true";document.addPromotionalCodeForm.submit()}function continueShopping(){document.removeAndUpdateQuantity.continueShopping.value="true";document.getElementById("continue").disabled=false;document.removeAndUpdateQuantity.submit()}function checkNullQuantity(a){ele=document.getElementById(a);qty=ele.value;if(qty==""){document.getElementById("globalMsgArea").innerHTML="To add an item to your cart, please enter numbers only (1-999) into the quantity box. The quantity entered is invalid.";ele.focus()}else{document.getElementById("globalMsgArea").innerHTML="";document.getElementById("globalMsgArea").focus()}return true}function relatedSku(a){document.getElementById("selectedSku").value=a}function forgotPasswordInCheckout(b,a){document.loginFormInCheckout.action=b+"/checkout/checkoutLogin.jsp?forgetPassword="+a;document.loginFormInCheckout.submit()}function deleteBogoItem(a){document.removeAndUpdateQuantity.deleteBogo.value=a;document.getElementById("bogoItem").disabled=false;document.removeAndUpdateQuantity.submit()}function customInitModules(){var c=document.getElementsByClassName("see-all-link");if(c&&c.length){for(var b=0;b<c.length;b++){Event.observe(c[b],"click",function(d){expandSkus(d)})}}var a=document.getElementsByClassName("close-link");if(a&&a.length){for(var b=0;b<a.length;b++){Event.observe(a[b],"click",function(d){collapseSkus(d)})}}}function prodBlockHighlight(){if(!document.body.currentStyle){return}var c=document.getElementsByClassName("product-content");for(var b=0;b<c.length;b++){var a=c[b].parentNode;if(a&&a.lastChild.style){a.onmouseover=function(){this.lastChild.style.background="#FCF8DD"};a.onmouseout=function(){this.lastChild.style.background="none"}}}}function initCartQuantity(){var a=document.getElementsByClassName("cart-quantity");if(a&&a.length){for(var b=0;b<a.length;b++){var c=a[b];Event.observe(c,"click",function(d){cartQuantityClick(d)});Event.observe(c,"keydown",function(d){manageCartQty(d)});Event.observe(c,"keyup",function(d){processCartQty(d)})}}}var utility={setOpacity:function(b,a){a=(a==100)?99.999:a;if(b.filters){b.filters.alpha.opacity=a}b.style.KHTMLOpacity=a/100;b.style.MozOpacity=a/100;b.style.opacity=a/100}};function confirmDelete(){return confirm("Are you sure you want to delete this address?")}function confirmAddressDeleteFromCard(){return confirm("Are you sure you want to delete this address? \n Note: The credit card associated with this address will not be deleted.")}function setBillingAddress(a,b){b.selectedBillingAddress.value=a}function setShippingAddress(a,b){b["/atg/commerce/order/purchase/ShippingGroupFormHandler.selectedAddress"].value=a}function showHideLabels(a){if(a.value=="OM"){document.getElementById("expireDate").style.display="none"}else{document.getElementById("expireDate").style.display="block"}}function upsLink(a){window.open(a)}function chooseSorting(a){a.form["/officemax/uep/search/SearchFormHandler.sortOption"].value=a.options[a.selectedIndex].value;a.form.submit()}function chooseCollectionSorting(a){a.selectedIndex.value=a.sort.selectedIndex;a.submit()}function makeSortSelected(b,a){if(a!=""&&a!=-1){b.sort.options[a].selected=true}else{b.sort.options[0].selected=true}}function submitPagination(c,b,a){document.forms[a].elements["/officemax/uep/search/SearchFormHandler.pageNumber"].value=c;document.forms[a].elements["/officemax/uep/search/SearchFormHandler.category_Id"].value=b;document.forms[a].submit()}function furnitureCollectionSubmit(a){a.submit()}function ismaxChoiceClicked(a){if(a=="true"){document.getElementById("maxChoice").checked=true}}function forgotPasswordInorderSearch(c,a,b){document.loginForm.action=c+"/profile/orderSearch.jsp?forgetPassword="+a+"&login="+b;document.loginForm.submit()}function numeralsOnly(b){b=(b)?b:event;var a=b.keyCode;if((a<48||a>57)){document.orderByNumberSkuDetails["/officemax/uep/commerce/order/purchase/OrderByArticleNumberFormHandler.quantity"].value="1";return false}return true}function check(a){var b=a["/officemax/uep/commerce/order/purchase/OrderByArticleNumberFormHandler.orderByNumberQuantity"].value;if(b.length==0){a["/officemax/uep/commerce/order/purchase/OrderByArticleNumberFormHandler.orderByNumberQuantity"].value="1"}}function deleteItem(b,a){a["/officemax/uep/commerce/order/purchase/OrderByArticleNumberFormHandler.removalCommerceIds"].value=b;return true}function addToOrderOnTab(){if(document.addOrderByNumberSkuDetails.tBox.value!=""){return true}return false}function availCheck(b){var c;if(window.event){c=b.keyCode}if(c==13){var a=document.getElementsByTagName("input");a.updateZipCode.click();return true}else{return false}}function showAll(){var a=document.getElementById("fullBox");a.style.display="block"}function hideAll(){var a=document.getElementById("fullBox");a.style.display="none"}function QuantityEmptyErrorMessage(a){if(document.getElementById(a).value==""){document.getElementById("QTYERR"+a).innerHTML="You must input a quantity to add to cart";return false}}function submitNavItem(a,b){document.navElementForm.navItem.value=a;document.navElementForm.itemId.value=b;document.navElementForm.submit()}function submitCategory(a){document.categoryForm["/officemax/uep/search/SearchFormHandler.category"].value=a;document.categoryForm.submit()}function submitBrand(a){document.brandForm["/officemax/uep/search/SearchFormHandler.brand"].value=a;document.brandForm.submit()}function submitPrice(a){document.priceForm["/officemax/uep/search/SearchFormHandler.priceRange"].value=a;document.priceForm.submit()}function submitAttributes(b,a){document.keyAttributes["/officemax/uep/search/SearchFormHandler.keyAttribute"].value=b;document.keyAttributes["/officemax/uep/search/SearchFormHandler.category_Id"].value=a;document.keyAttributes.submit()}function submitChildCategory(b,a){document.childCategoryForm["/officemax/uep/search/SearchFormHandler.category_Id"].value=a;document.childCategoryForm["/officemax/uep/search/SearchFormHandler.category"].value=b;document.childCategoryForm.submit()}function useExistingAddress(b){var a=document.reqCatalogForm.noOfCatalog;for(i=0;i<a.length;i++){if(a.options[i].selected){document.reqCatalogToUserForm.noOfCatalog.value=a.options[i].value}}document.reqCatalogToUserForm.addressId.value=b;document.reqCatalogToUserForm.toUseThis.value="submit";document.reqCatalogToUserForm.submit()}function forgotPasswordInCustomerservice(b,a,c){document.reqCatalogForm.action=b+"/customerservice/requestCatalog.jsp?forgetPassword="+a+"&loggingIn="+c;document.reqCatalogForm.submit()}function getHTTPRequest(){var a=false;try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){a=false}}if(!a&&typeof XMLHttpRequest!="undefined"){a=new XMLHttpRequest()}return a}function gethtml(a,c){var b=getHTTPRequest();b.open("GET",a);b.onreadystatechange=function(){if(b.readyState==4){document.getElementById(c).innerHTML=b.responseText}};b.send(null)}function getBrand(a){document.getElementById("inkWidgetMidHead").style.display="block";gethtml(inkFinderBrandjsp+"?printerTypeId="+a,"printerBrand")}function getModel(b){var a=document.getElementById("inkSelectionForm").printerSelect.options[document.getElementById("inkSelectionForm").printerSelect.selectedIndex].value;document.getElementById("inkWidgetRtHead").style.display="block";gethtml(inkFinderModeljsp+"?printerBrandId="+b+"&printerTypeId="+a,"printerModel")}function refillSearchByText(b,a){a["/officemax/uep/search/SearchFormHandler.freeText"].value=b;a["/officemax/uep/search/SearchFormHandler.refillManager.categoryName"].value=b;a.submit()}function refillSearch(d,c,e,b,a){a["/officemax/uep/search/SearchFormHandler.refillManager.categoryId"].value=e;a["/officemax/uep/search/SearchFormHandler.refillManager.categoryName"].value=b;a["/officemax/uep/search/SearchFormHandler.refillManager.parentCategoryID"].value=d;a["/officemax/uep/search/SearchFormHandler.refillManager.parentCategoryName"].value=c;a.submit()}function searchSelectedModel(f,c){if(f.modelSelect.selectedIndex>=0){var e=f.modelSelect.options[f.modelSelect.selectedIndex].value;var a=f.modelSelect.options[f.modelSelect.selectedIndex].innerHTML;var b=f.printerSelect.options[f.printerSelect.selectedIndex].value;var d=f.printerSelect.options[f.printerSelect.selectedIndex].innerHTML;refillSearch(b,d,e,a,c)}else{f.submit()}}function isQuantityEmpty(b,a){if(document.getElementById(a).value==""){document.getElementById("QTYERR"+a).innerHTML="You must input a quantity to add to cart";return false}else{formSubmit(b)}}function isSkuDetailQuantityEmpty(b,a){if(document.getElementById(a).value==""){document.getElementById("QTYERR"+a).innerHTML=" <div class='infobox'><div class='error-bag'> <img src='/images/ico_alert.gif' width='16' height='14' alt='Alert' />&nbsp; To add items to your cart, please enter a quantity before clicking 'Add to Cart.' </div> </div>";return false}else{return true}}function formSubmit(a){if(a=="skuListingForm"){document.getElementById("ForCompare").innerHTML=""}if(document.forms[a]["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"]!=undefined){document.forms[a]["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name=""}if(document.forms[a]["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"]!=undefined){document.forms[a]["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name=""}if(document.forms[a]["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addMultipleSkus"]!=undefined){document.forms[a]["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addMultipleSkus"].name=""}window.document.forms[a].submit();return true}function printPage(a){window.open(a,"","directories=0,location=0,menubar=0,titlebar=0,toolbar=0,width=950,height=650,resizable=1");window.focus()}function redirectURLFromRemoveAll(b,c,a){if(c=="document.compareProductsForm"){document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.giftlistId"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name="";if(document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"]!=undefined){document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"].name=""}document.compareProductsForm["/atg/commerce/order/purchase/CartModifierFormHandler.addMultipleItemsToOrder"].name="";document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].name="";document.compareProductsForm.removeSkuSuccessURL.value=b;document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].value="submit";document.compareProductsForm.target="_parent";document.compareProductsForm.submit()}else{if(c=="document.printCopareForm"){b=a+"/home/homePage.jsp";document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].name="";document.printCopareForm.removeSkuSuccessURL.value=b;document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].value="submit";document.printCopareForm.target="_parent";document.printCopareForm.submit()}else{if(c=="document.displayOrClearCompareListForm"){document.displayOrClearCompareListForm.removeSkuSuccessURL.value=b;document.displayOrClearCompareListForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].value="submit";document.displayOrClearCompareListForm.submit()}}}}function redirectURLFromRemove(c,a,d,b){if(d=="document.compareProductsForm"){document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.giftlistId"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name="";if(document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"]!=undefined){document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"].name=""}document.compareProductsForm["/atg/commerce/order/purchase/CartModifierFormHandler.addMultipleItemsToOrder"].name="";document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";document.compareProductsForm.removeSkuSuccessURL.value=c;document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value=a;document.compareProductsForm.target="_parent";document.compareProductsForm.submit()}else{if(d=="document.printCopareForm"){c=b+"/home/homePage.jsp";document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";document.printCopareForm.removeSkuSuccessURL.value=c;document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value=a;document.printCopareForm.target="_parent";document.printCopareForm.submit()}}}function displaySkuDetailsPageForm(a){window.parent.location.href=a}function addtocart(b,a){if(document.getElementById(a).value==""){document.getElementById("QTYERR"+a).innerHTML="To add items to your cart, please enter a quantity before clicking 'Add to Cart.'"}else{document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.giftlistId"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name="";window.document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";window.document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].name="";window.document.compareProductsForm["/atg/commerce/order/purchase/CartModifierFormHandler.addMultipleItemsToOrder"].value="submit";window.document.compareProductsForm.target="_parent";window.document.compareProductsForm.submit()}}function addSkuToCompareForm(){var a=false;for(i=0;i<window.document.skuListingForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].length;i++){if(window.document.skuListingForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"][i].checked==true){a=true}}if(!a){alert("To add this item to comparison, please click the checkbox before clicking 'Compare'.")}else{if(window.document.skuListingForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"]!=undefined){window.document.skuListingForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name=""}if(window.document.skuListingForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"]!=undefined){window.document.skuListingForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name=""}window.document.skuListingForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addMultipleSkus"].value="submit";window.document.skuListingForm.submit()}}function addMultipleSkuToCompare(b,d,a){var c=false;if(b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].length==undefined){if(b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].checked==true){c=true}}else{for(i=0;i<b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].length;i++){if(b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"][i].checked==true){c=true}}}if(!c){alert("You must select the checkbox to add the Items(s) to your comparison")}else{b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addSkuSuccessURL"].value=d+"/catalog/compare/compare.jsp?returnUrl="+Encoding(a);b["/officemax/uep/commerce/catalog/comparison/SkuListHandler.previousPageUrl"].value=Encoding(a);b.submit()}}function Encoding(b){var a=escape(b);a=a.replace("+","%2B");a=a.replace("/","%2F");return a}function deleteItemFromList(c,a,d,b){if(d=="document.compareProductsForm"){document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.giftlistId"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name="";if(document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"]!=undefined){document.compareProductsForm["/officemax/uep/search/SearchFormHandler.findSimilarItems"].name=""}document.compareProductsForm["/atg/commerce/order/purchase/CartModifierFormHandler.addMultipleItemsToOrder"].name="";document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value=a;document.compareProductsForm.submit()}else{if(d=="document.printCopareForm"){document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";document.printCopareForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value=a;document.printCopareForm.submit();c=b+"/catalog/compare/printCompare.jsp"}}window.parent.location.href=c}function toggleDetail(c){if(document.getElementsByClassName("comBottom")){var b=document.getElementsByClassName("comBottom");for(var a=0;a<b.length;a++){if(b[a].id==c){b[a].toggle()}}}}function findSimilarItems(a){document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.giftlistId"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.addItemToGiftlist"].name="";document.compareProductsForm["/atg/commerce/gifts/GiftlistFormHandler.gatherItemsForNewList"].name="";window.document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name="";window.document.compareProductsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].name="";window.document.compareProductsForm["/atg/commerce/order/purchase/CartModifierFormHandler.addMultipleItemsToOrder"].value="";a.target="_parent";a.submit()}function compareRedirectURLFromRemoveAll(a){if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].name=""}if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"].value=a}document.getElementById("removeSkuSuccessURL").value=a;document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].value="submit";document.removeAllItemsForm.submit()}function CompareRedirectURLFromRemove(a,b){if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name=""}if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"].value=b}document.getElementById("removeSkuSuccessURL").value=b;document.getElementById("removedId").value=a;document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value="submit";document.removeAllItemsForm.submit()}function compareDeleteItemFromList(a,b,d,c){if(window.document.removeAllItemsForm.history!=undefined){document.removeAllItemsForm.history.value=d}if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeAll"].name=""}if(window.document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"]!=undefined){document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.PreviousPageUrl"].value=c}document.getElementById("removeSkuSuccessURL").value=b;document.getElementById("removedId").value=a;document.removeAllItemsForm["/officemax/uep/commerce/catalog/comparison/SkuListHandler.removeEntryId"].value="submit";document.removeAllItemsForm.submit()}function compareSkus(e,g,d){var a=new Array();var c=document.getElementsByName("compare");var b=0;for(var f=0;f<c.length;f++){if(c[f].checked==true){a[b]=c[f].id;b=b+1}}if(b==0){document.getElementById("errorNoCompareItems").style.display="inline";document.getElementById("errorNoCompareItems").style.visibility="visible";return}if(document.prdBlockListing.historyUrl.name!=undefined){document.prdBlockListing.historyUrl.value=g}if(document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addSkuSuccessURL"].name!=undefined){document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addSkuSuccessURL"].value=e}if(document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addSkuErrorURL"].name!=undefined){document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addSkuErrorURL"].value=d}if(document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addMultipleSkus"].name!=undefined){if(a.length>0){if(document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].name!=undefined){document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.skuIds"].value=a}}document.prdBlockListing["/officemax/uep/commerce/catalog/comparison/SkuListHandler.addMultipleSkus"].value="submit";document.prdBlockListing.submit()}}function checkNchangeBttnColor(c){var d="false";var a=document.getElementsByName("compare");for(var b=0;b<a.length;b++){if(a[b].checked==true){document.getElementById("errorNoCompareItems").style.visibility="hidden";document.images.compareBttn1.src="/images/compareBtn_green.gif";document.images.compareBttn2.src="/images/compareBtn_green.gif";d="true";makeBold(c);break}}if(d=="false"){document.images.compareBttn1.src="/images/compareBtn.gif";document.images.compareBttn2.src="/images/compareBtn.gif";makeUnbold(c)}}function makeBold(a){if(a=="true"){makeTileLinesBold();return}makeListLinesBold()}function makeListLinesBold(){var b=$A($$(".vertCompare"));var a=b.length;for(i=0;i<a;++i){$(b[i]).addClassName("vertCompare_bold")}}function makeTileLinesBold(){var c=$A($$(".horCompare"));var d=c.length;for(i=0;i<d;++i){$(c[i]).addClassName("vertCompare_bold")}var a=$A($$(".firstItem"));var b=a.length;for(i=0;i<b;++i){$(a[i]).addClassName("horCompare_bold")}}function makeUnbold(a){if(a=="true"){makeTileLinesUnbold();return}makeListLinesUnbold()}function makeTileLinesUnbold(){var c=$A($$(".horCompare"));var d=c.length;for(i=0;i<d;++i){$(c[i]).removeClassName("vertCompare_bold")}var a=$A($$(".firstItem"));var b=a.length;for(i=0;i<b;++i){$(a[i]).removeClassName("horCompare_bold")}}function makeListLinesUnbold(){var b=$A($$(".vertCompare"));var a=b.length;for(i=0;i<a;++i){$(b[i]).removeClassName("vertCompare_bold")}}function openNewWindow(a){popupWin=window.open(a,"open_window","menubar, toolbar, location, directories, status, scrollbars, resizable, dependent, width=640, height=480, left=0, top=0")}function extendedShow(a){var b=document.getElementById(a);b.style.display="block"}function extendedHide(a){var b=document.getElementById(a);b.style.display="none"}function toolTipUl(){if(!document.body.currentStyle){return}var c=document.getElementsByClassName("submenu");for(var b=0;b<c.length;b++){var a=c[b].parentNode;if(a&&a.lastChild.style){a.onmouseover=function(){this.lastChild.style.visibility="visible"};a.onmouseout=function(){this.lastChild.style.visibility="hidden"}}}}function checkEnabled(a,c){var b=document.getElementById(c);if(document.getElementById(a).checked){b.style.display="block";b.style.visibility="visible"}else{alert("To add this item to the shopping list, please click the checkbox before clicking Add to Shopping List")}}function closeTooltip(b){var a=document.getElementById(b);a.style.display="inline";a.style.visibility="hidden"}function inkNTonerDropDown(a){var b=document.getElementById("inkTonerBrand");var c=b.options[b.selectedIndex].value;if(c=="more"){document.ink.action=a+"/catalog/refill/inkNtoner.jsp"}else{document.ink.action=a+"/catalog/refill/inkNtoner.jsp?brandId="+c}document.ink.submit()}function inkNTonerSearchDropDown(c,b){var a=document.getElementById("printeroption");var f=a.options[a.selectedIndex].value;var d=document.getElementById("search").value;d=d.trim();if(f==""||d==""||d=="Keyword or Item #"){var e=document.getElementById("errorNoMatchString");if(e!=null){e.style.display="none";e.style.visibility="hidden"}document.getElementById("errorNoSearchString").style.display="inline";document.getElementById("errorNoSearchString").style.visibility="visible";return}if(f=="printermodel"){document.inktonersearch.action=c+"/catalog/search.jsp?model_number="+d+"&itSearch=true&"+b}else{document.inktonersearch.action=c+"/catalog/search.jsp?cartridge_id="+d+"&itSearch=true&"+b}document.inktonersearch.submit()}function inknTonerDisableEnterKey(j,h,d,c){var g=(j.type.toLowerCase().indexOf("key")!=-1)?j.keyCode||j.which:0;var b=navigator.appVersion;var f=b.indexOf("Safari");var a=b.indexOf("Apple");if(g==13||(g==3&&f>0&&a>0)){h(d,c);return false}else{return true}}function invokeFormAction(b,a){if(window.event){keyPressed=window.event.keyCode}else{keyPressed=b.which}if(keyPressed=="13"){inkNTonerDropDown(a)}}function chooseItemsPerPage(a){winLoc=a.options[a.selectedIndex].value;if(winLoc!="selItemsPerPage"){window.location=a.options[a.selectedIndex].value}}function refreshCurrentPage(){location.reload(true)}function cartQtyAction(a){if(window.event){keyPressed=window.event.keyCode}else{keyPressed=a.which}if(keyPressed=="13"){deleteBogoItem(null)}}function submitSearchForm(){var a=document.getElementById("freeText").value;if(a=="Keyword or Item #"){document.getElementById("freeText").value="";return true}else{return true}}function relatedCartQtyAction(a){if(window.event){keyPressed=window.event.keyCode}else{keyPressed=a.which}if(keyPressed=="13"){addRelatedItem(null)}}function addRelatedItem(a){document.removeAndUpdateQuantity.deleteBogo.value=a;if(document.forms.removeAndUpdateQuantity["/atg/commerce/promotion/CouponFormHandler.couponClaimCode"]!=undefined){document.forms.removeAndUpdateQuantity["/atg/commerce/promotion/CouponFormHandler.couponClaimCode"].name=""}if(document.removeAndUpdateQuantity["/atg/commerce/order/purchase/CartModifierFormHandler.addItemToOrder"].name!=undefined){document.getElementById("relatedAddToCart").disabled=false;document.removeAndUpdateQuantity["/atg/commerce/order/purchase/CartModifierFormHandler.addItemToOrder"].value="submit"}document.removeAndUpdateQuantity.submit()};