var iPath = "/online/ee/inet.nsf/"; var tPath = "/online/ee/tmporders.nsf/"; //Function to put a product (article) in shoppingcart via prodCompare function putInCartCompare(articleNo) { opener.top.location.href = tPath + "aAddtoCart?openagent&xpid=" + articleNo; window.close(); } // Function to show hide layers // First input is ID of layer you want to make visible // Second input is ID of layer you want to hide // Third input is ID to TAB that was selected (become gray selected colour) // Forth input is ID to TAB that should be unselected (become standard colour) // Leave input-field empty if you don't want to use current feature: 'layer1','','','button' // Use comma-seperated inputs to hide more layer-IDs function fnShowHideLayer(strShowThis,strHideThis,strMarkSelected,strMarkUnSelected) { if(strShowThis != '') { oDivDisplay = document.getElementById(strShowThis); oDivDisplay.className = "visiblediv"; } if(strHideThis != '') { arrLayers = strHideThis.split(","); for (i=0; i