function jmp(newLoc) { if (0 <= newLoc.selectedIndex) { newPage = newLoc.options[newLoc.selectedIndex].value if (newPage!="=") { if (newPage!="") location = newPage; else alert("Please select a sub-section."); } } else alert("Please select a section."); } a=new Array(22); var catsIndex = -1; var itemsIndex; function newCat(){ catsIndex++; a[catsIndex] = new Array(); itemsIndex = 0; } function O(txt,url) { a[catsIndex][itemsIndex]=new myOptions(txt,url); itemsIndex++; } function myOptions(text,value){ this.text = text; this.value = value; } // fill array newCat(); O("Air Pumps & Parts","Index_Air_Pumps___Parts_2.html"); O("Cleaning Equipment","Index_Cleaning_Equipment_3.html"); O("Filters Media & Parts",""); O(" - Air Powered Filters","Index_Air_Powered_Filters_5.html"); O(" - Filter Media","Index_Filter_Media_6.html"); O(" - Internal Filters","Index_Internal_Filters_7.html"); O("Heaters & Thermometers","Index_Heaters_and_Thermometers_8.html"); O("Light Units","Index_Light_Units_9.html"); O("Miscellaneous","Index_Miscellaneous_10.html"); O("Plastic Plants","Index_Plastic_Plants_11.html"); O("Aquarium Treatments",""); O(" - API","Index_API_40.html"); O(" - Hagen","Index_Hagen_41.html"); O(" - Interpet","Index_Interpet_42.html"); O(" - King British","Index_King_British_43.html"); O(" - Tetra","Index_Tetra_44.html"); O(" - Waterlife","Index_Waterlife_45.html"); O("========================","="); newCat(); O("Decoys","Index_Decoys_30.html"); O("Electrical Accessories","Index_Electrical_Accessories_31.html"); O("Filters & Sterilisers","Index_Filters___Sterilisers_32.html"); O("Hoses & Fittings","Index_Hoses___Fittings_33.html"); O("Planting Baskets & Hessian","Index_Planting_Baskets___Hessian_34.html"); O("Pond Nets & Covers","Index_Pond_Nets___Covers_35.html"); O("Pond Sealer & Repair Kits","Index_Pond_Sealer___Repair_Kits_36.html"); O("Pumps & Spares","Index_Pumps___Spares_37.html"); O("Pond Treatments",""); O(" - Interpet","Index_Interpet_47.html"); O(" - Tetra","Index_Tetra_49.html"); O(" - Waterlife","Index_Waterlife_50.html"); O(" - Other","Index_Other_48.html"); O("========================","="); newCat(); O("Cold Water","Index_Cold_Water_13.html"); O("Pond",""); O(" - JBL","Index_JBL_16.html"); O(" - Kockney Koi","Index_Kockney_Koi_17.html"); O(" - Nishikoi","Index_Nishikoi_18.html"); O(" - Tetra","Index_Tetra_19.html"); O("Tropical",""); O(" - API","Index_API_21.html"); O(" - Aquarian","Index_Aquarian_22.html"); O(" - Hikari","Index_Hikari_23.html"); O(" - Interpet","Index_Interpet_24.html"); O(" - King British","Index_King_British_25.html"); O(" - Sera","Index_Sera_26.html"); O(" - Tetra","Index_Tetra_27.html"); O("========================","="); newCat(); O("Test Kits","Index_Test_Kits_51.html"); O("Aquarium Treatments",""); O(" - API","Index_API_40.html"); O(" - Hagen","Index_Hagen_41.html"); O(" - Interpet","Index_Interpet_42.html"); O(" - King British","Index_King_British_43.html"); O(" - Tetra","Index_Tetra_44.html"); O(" - Waterlife","Index_Waterlife_45.html"); O("Pond Treatments",""); O(" - Interpet","Index_Interpet_47.html"); O(" - Tetra","Index_Tetra_49.html"); O(" - Waterlife","Index_Waterlife_50.html"); O(" - Other","Index_Other_48.html"); O("========================","="); newCat(); O("Ornaments (Non-Aquarium)","Index_Ornaments__Non_Aquarium__28.html"); O("========================","="); newCat(); O("Water Features","Index_Water_Features_52.html"); O("========================","="); function relate(dept,section,j) { if (j0;i--) options[i] = null; // null out in reverse order for(i=0;i=4) //jmp(formName,elementNum); options[0].selected = true; } } else alert("Please select a department.") // } else { // jmp(formName,elementNum); // } } function IEsetup(){ if(!document.all) return; IE5 = navigator.appVersion.indexOf("5.")!=-1; if(IE5) { for (i=0;i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i