var product_type_names = new Array; var sub_product_types = new Array; sub_product_types["All"] = new Array("0"); function updateProducts() { var pt_menu = document.forms[0]["Location"]; var the_type = pt_menu.options[pt_menu.selectedIndex].value; var spt_menu = document.forms[0]["Manufacturer"]; if (the_type) { var i=0; for (i=0; i 0) { spt_menu.options[spt_menu.options.length-1] = null; } } while (spt_menu.options.length > i) { spt_menu.options[spt_menu.options.length-1] = null; } var ua = navigator.userAgent; if (ua.indexOf("Mozilla") == 0 && ua.indexOf("MSIE") == -1 && ua.indexOf("Win") != -1 && parseInt(navigator.appVersion) == 4) history.go(0); }