var NS = (document.layers) ? true : false; var IE = (document.all) ? true : false; function showCategory(options) { numItems = document.supplierSearch.secondaryOptional.length; if(NS) { for(var i=0; i