function changeDrop2PDF() {
if (document.pdf.Drop1.selectedIndex == 0) {
        document.pdf.Drop2.length = 1;
        document.pdf.Drop1.selectedIndex = 0
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "No Product Selected";
        document.pdf.Drop2.options[0].value = "No Product Selected";
}
if (document.pdf.Drop1.selectedIndex == 1) {
        document.pdf.Drop2.length = 9;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
		document.pdf.Drop2.options[1].text = "P300 Series Pump";
        document.pdf.Drop2.options[1].value = "P300";
		document.pdf.Drop2.options[2].text = "CTX Series Pump";
        document.pdf.Drop2.options[2].value = "CTX_pump";
		document.pdf.Drop2.options[3].text = "BX Series Pump";
        document.pdf.Drop2.options[3].value = "Bx_pump";
        document.pdf.Drop2.options[4].text = "TX Series Pump";
        document.pdf.Drop2.options[4].value = "tx_pump";
        document.pdf.Drop2.options[5].text = "CX Series Pump";
        document.pdf.Drop2.options[5].value = "cx_pump";
		document.pdf.Drop2.options[6].text = "FX Series Pump";
        document.pdf.Drop2.options[6].value = "fx_pump";
		document.pdf.Drop2.options[7].text = "E-Series(ECO) Pump";
        document.pdf.Drop2.options[7].value = "eco_pump";
		document.pdf.Drop2.options[8].text = "Pump Silencer";
        document.pdf.Drop2.options[8].value = "Pump Silencer 1103";
        }
if (document.pdf.Drop1.selectedIndex == 2) {
        document.pdf.Drop2.length = 8;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
		document.pdf.Drop2.options[1].text = "FG Series Media Filter";
        document.pdf.Drop2.options[1].value = "FG_filter";
        document.pdf.Drop2.options[2].text = "RX Series Media Filter";
        document.pdf.Drop2.options[2].value = "rx_filter";
		document.pdf.Drop2.options[3].text = "ZX Series Cartridge Filters";
        document.pdf.Drop2.options[3].value = "Zx_filter";
        document.pdf.Drop2.options[4].text = "Viron CL Series Cartridge Filter";
        document.pdf.Drop2.options[4].value = "Viron_CL";		
		document.pdf.Drop2.options[5].text = "GX Series Cartridge Filters";
        document.pdf.Drop2.options[5].value = "Gx_filter";
        document.pdf.Drop2.options[6].text = "QX Series Cartridge Filters";
        document.pdf.Drop2.options[6].value = "qx_filter";
		document.pdf.Drop2.options[7].text = "E-Series(ECO)Media Filter";
        document.pdf.Drop2.options[7].value = "ECO_Filter";
        }
if (document.pdf.Drop1.selectedIndex == 3) {
        document.pdf.Drop2.length = 12;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "Viron Gas Heater";
        document.pdf.Drop2.options[1].value = "viron_heater";
		document.pdf.Drop2.options[2].text = "MX Gas Heater";
        document.pdf.Drop2.options[2].value = "mx_heater";
		document.pdf.Drop2.options[3].text = "DX Heat Pumps";
        document.pdf.Drop2.options[3].value = "dx_pump";
		document.pdf.Drop2.options[4].text = "Guide to DX Heat Pump Noise Levels";
        document.pdf.Drop2.options[4].value = "HP_LEVELS";
		document.pdf.Drop2.options[5].text = "BM & SB Heat Pumps";
        document.pdf.Drop2.options[5].value = "BMSB";
		document.pdf.Drop2.options[6].text = "HX Gas Heater";
        document.pdf.Drop2.options[6].value = "hx_heater";
	    document.pdf.Drop2.options[7].text = "JX Gas Heater";
        document.pdf.Drop2.options[7].value = "Jx_heater";
		document.pdf.Drop2.options[8].text = "JX Co-axial Flue";
        document.pdf.Drop2.options[8].value = "Coaxial flue instructions";
		document.pdf.Drop2.options[9].text = "WX Gas Heater";
        document.pdf.Drop2.options[9].value = "WX Gas Heater";
		document.pdf.Drop2.options[10].text = "MX Indoor Draft Hood";
        document.pdf.Drop2.options[10].value = "mx_heater_conversion";
		document.pdf.Drop2.options[11].text = "Bonus Heater Remote";
        document.pdf.Drop2.options[11].value = "BHR";

       }
if (document.pdf.Drop1.selectedIndex == 4) {
        document.pdf.Drop2.length = 3;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "MX Spa Pack";
        document.pdf.Drop2.options[1].value = "mx_spapack";
		document.pdf.Drop2.options[2].text = "HX Spa Pack";
        document.pdf.Drop2.options[2].value = "hx_spapack";
						
        }
if (document.pdf.Drop1.selectedIndex == 5) {
        document.pdf.Drop2.length = 6;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "Air Switch Controller";
        document.pdf.Drop2.options[1].value = "air_switch_controller";
        document.pdf.Drop2.options[2].text = "25 Amp Air Switch Controller";
        document.pdf.Drop2.options[2].value = "25a Air Switch 202-1203";
		document.pdf.Drop2.options[3].text = "H-Series Flow Switch";
        document.pdf.Drop2.options[3].value = "flow_switch";
	    document.pdf.Drop2.options[4].text = "K-Series Flow Switch";
        document.pdf.Drop2.options[4].value = "flow_switch1";
		document.pdf.Drop2.options[5].text = "SX Spa Blower";
        document.pdf.Drop2.options[5].value = "sx_blower";
        }
if (document.pdf.Drop1.selectedIndex == 6) {
        document.pdf.Drop2.length = 5;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "Silkflow Waterfall";
        document.pdf.Drop2.options[1].value = "waterfall";
		document.pdf.Drop2.options[2].text = "Cascade Waterfall";
        document.pdf.Drop2.options[2].value = "waterfall";
		document.pdf.Drop2.options[3].text = "Illusion Waterfall";
        document.pdf.Drop2.options[3].value = "waterfall";
		document.pdf.Drop2.options[4].text = "Waterfall Installation";
        document.pdf.Drop2.options[4].value = "waterfall_installation";
	
        }
if (document.pdf.Drop1.selectedIndex == 7) {
        document.pdf.Drop2.length = 3;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "Halogen Light Source";
        document.pdf.Drop2.options[1].value = "h4_lightsource";
		document.pdf.Drop2.options[2].text = "Metal Halide Light Source";
        document.pdf.Drop2.options[2].value = "mh4_lightsource";
	    }
if (document.pdf.Drop1.selectedIndex == 8) {
        document.pdf.Drop2.length = 7;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
		document.pdf.Drop2.options[1].text = "Mineral Spring Essence";
        document.pdf.Drop2.options[1].value = "mineral_springs";
        document.pdf.Drop2.options[2].text = "VX Salt Chlorinator";
        document.pdf.Drop2.options[2].value = "vx_chlorinator";
		document.pdf.Drop2.options[3].text = "E Series Chlorinator-M20 & M25";
        document.pdf.Drop2.options[3].value = "M_Chlor";
		document.pdf.Drop2.options[4].text = "E Series Chlorinator-M20C & M25C";
        document.pdf.Drop2.options[4].value = "MC_Chlor";
		document.pdf.Drop2.options[5].text = "E Series Chlorinator-M20CSD & M25CSD";
        document.pdf.Drop2.options[5].value = "MCSD_Chlor";
		document.pdf.Drop2.options[6].text = "KX Siesta Operation Manual";
        document.pdf.Drop2.options[6].value = "KX_Siesta";
	    }

if (document.pdf.Drop1.selectedIndex == 9) {
        document.pdf.Drop2.length = 4;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
		document.pdf.Drop2.options[1].text = "Rolachem RC8 Controller";
        document.pdf.Drop2.options[1].value = "RC8";
        document.pdf.Drop2.options[2].text = "Rolachem Automatic Systems";
        document.pdf.Drop2.options[2].value = "Rolachem_Manual_Auto";
		document.pdf.Drop2.options[3].text = "Rolachem Semi Automatic Systems";
        document.pdf.Drop2.options[3].value = "Rolachem_ Manual_Semi";
	    }

if (document.pdf.Drop1.selectedIndex == 10) {
        document.pdf.Drop2.length = 11;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
		document.pdf.Drop2.options[1].text = "Viron Connect Controller";
        document.pdf.Drop2.options[1].value = "VC";
		document.pdf.Drop2.options[2].text = "Genus Heater Remote";
        document.pdf.Drop2.options[2].value = "G4_heater_remote";
        document.pdf.Drop2.options[3].text = "Genus II FM Remote";
        document.pdf.Drop2.options[3].value = "Genus II FM Remote";
        document.pdf.Drop2.options[4].text = "Genus III Pool and Spa Control";
        document.pdf.Drop2.options[4].value = "Genus III Pool and Spa Control";
        document.pdf.Drop2.options[5].text = "Genus IV Controlller Version 5";
        document.pdf.Drop2.options[5].value = "Genus IV Pool and Spa Control";
		document.pdf.Drop2.options[6].text = "Genus IV Controlller Version 6";
        document.pdf.Drop2.options[6].value = "Genus_v6";
		document.pdf.Drop2.options[7].text = "Genus Plus 4 Pool and Spa Control";
        document.pdf.Drop2.options[7].value = "Genus Plus 4";
		document.pdf.Drop2.options[8].text = "Genus FM Remote";
        document.pdf.Drop2.options[8].value = "Genus FM Remote";
		document.pdf.Drop2.options[9].text = "Multiple Valve Interface";
        document.pdf.Drop2.options[9].value = "Multiple Valve Interface 203-1203";
		document.pdf.Drop2.options[10].text = "Genus Cleaner Timer Interlock";
        document.pdf.Drop2.options[10].value = "G4 Cleaner Timer Interlock";	
        }
	
if (document.pdf.Drop1.selectedIndex == 11) {
        document.pdf.Drop2.length = 8;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
        document.pdf.Drop2.options[1].text = "H120-150 Boiler";
        document.pdf.Drop2.options[1].value = "H120-150 Boiler 136-0803";
		document.pdf.Drop2.options[2].text = "HW Modulating Boiler";
        document.pdf.Drop2.options[2].value = "HW_Mod_Boiler";
		document.pdf.Drop2.options[3].text = "HW On/Off Boiler - Outdoor";
        document.pdf.Drop2.options[3].value = "HW130 – HW160 Hot Water Boilers Outdoor";
		document.pdf.Drop2.options[4].text = "HW On/Off Boiler - Indoor";
        document.pdf.Drop2.options[4].value = "HW130 – HW160 Hot Water Boilers Indoor";
		document.pdf.Drop2.options[5].text = "HW Coaxial Flue";
        document.pdf.Drop2.options[5].value = "Coaxial flue instructions";
		document.pdf.Drop2.options[6].text = "HB Boiler";
        document.pdf.Drop2.options[6].value = "hb_boiler";
		document.pdf.Drop2.options[7].text = "HM Boiler";
        document.pdf.Drop2.options[7].value = "hm_boiler";
        }
		
if (document.pdf.Drop1.selectedIndex == 12) {
        document.pdf.Drop2.length = 2;
        document.pdf.Drop2.selectedIndex = 0
        document.pdf.Drop2.options[0].text = "Select Model";
        document.pdf.Drop2.options[0].value = "Select Model";
       	document.pdf.Drop2.options[1].text = "Therma Rad Panel Radiators";
        document.pdf.Drop2.options[1].value = "thermarad_radiators";
        }

}

function goTherePDF() {
if (document.pdf.Drop1.selectedIndex == 0) {
        alert("Please Select a Product");
        } else {
        if (document.pdf.Drop2.selectedIndex == 0) {
                alert("Please Select a Model");
                } else {
                var list1 = document.pdf.Drop1;
                var list2 = document.pdf.Drop2;
                var theDIR = list1.options[list1.selectedIndex].value;
                var theProduct = document.pdf.Drop2.options[list2.selectedIndex].value;
                location.href = "http://www.hurlcon.com.au/manuals/" + theProduct + ".pdf";
                }
        }
}







