/* ####################### start of doublemenu code ####################### */

//new Option("text","value")
//this code changes menus



function nullOptionsDMA(aMenu){
var tot=aMenu.options.length
for (i=0;i<tot;i++)
{
aMenu.options[i]=null
}
aMenu.options.length=0;
}

<!------------------------ Griflex Hoses --------------------------->

function MySubjectDMA0(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Industrial Hose Product Division","fluid_indust_hs_pro_dvs.html");
/*options[2]=new Option("Lightweight PVC Hose","griflex_lig_pvc_hose.html");
options[3]=new Option("Medium Duty PVC Hose","griflex_medium_duty_pvc_hs.html");
options[4]=new Option("OilTek Suction & Delivery Hose","griflex_osdh.html");
options[5]=new Option("Delivery Hose","griflex_dh.html");
options[6]=new Option("Heavy Duty Hose","griflex_hdh.html");
options[7]=new Option("Sanitation Hose","griflex_sh.html");
options[8]=new Option("Polyurethane Hose","pipe_str.html");*/
options[0].selected=true
					 
}
}

<!------------------------ Industrial Hose Product Division --------------------------->

function MySubjectDMA1(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Hydraulic Hose Product Division ","fluid_hyd_hs_pro_dvs.html");
/*options[2]=new Option("Cast Steel Valves","bny_cast_stl_vlv.html");
options[3]=new Option("Forged Steel Fittings & Unions","bny_for_stl_fit_uni.html");
options[4]=new Option("Branch Connections","bny_branch_conn.html");*/


options[0].selected=true
//options[1].value="intk_sf_lk.html";

}
}

<!------------------------ Hydraulic Hose Product Division --------------------------->

function MySubjectDMA2(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Parflex Division","fluid_parflex_dvs.html");
/*options[2]=new Option("Forged Stainless Steel & Alloy Steel Fittings","delcorte_for_ally_stl_fit.html");
options[3]=new Option("Tubing/Casing Couplings API5CT","delcorte_tubing_cas_cou.html");
options[4]=new Option("Wrought Steel Fittings-EN 10241/Threaded Steel Fitting","delcorte_wro_stl_fit.html");
options[5]=new Option("Steel Pipe Couplings/Steel Sockets","delcorte_steel_cou_stl_soc.html");
options[6]=new Option("Barrel Nipples & Tubulars","delcorte_barrel_nip_tub.html");
options[7]=new Option("Special Pieces/Parts/Fittings","delcorte_special_pie_par_fit.html");*/

options[0].selected=true


}
}

<!------------------------ Parflex Division--------------------------->

function MySubjectDMA3(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Polyflex Division","fluid_polyflex_dvs.html");
/*<!--options[2]=new Option("Monoflange","mono_flow.html");
options[3]=new Option("Pro-Bloc","pro_bloc_flow.html");
options[4]=new Option("Monoflange(Fe) & Pro-bloc(Fe)","mono_fle_flow.html");
-->*/


options[0].selected=true


}
}


<!------------------------ Polyflex Division --------------------------->
function MySubjectDMA4(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Tube Fitting Division","fluid_tub_fit_div.html");
/*options[2]=new Option("Multi-way Ball Valves","mwbv.html");
options[3]=new Option("Ball Valve Systems","bvs.html");
options[4]=new Option("Ball Valves for Instrumentation","bvi.html");
options[5]=new Option("Valves","valves.html");
options[6]=new Option("Attachments & Accessories","aa.html");*/

options[0].selected=true


}
}

<!------------------------Tube Fitting Division--------------------------->

function MySubjectDMA5(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Hose Fittings","fluid_hose_fit.html");
/*options[2]=new Option("Manifold Control Valves","midland_man_con_vlv.html");
options[3]=new Option("Pneumatic Valves","midland_pne_vlv.html");
options[4]=new Option("Air Preparation","midland_air_pre.html");
options[5]=new Option("Ancillaries","midland_ancill.html");
options[6]=new Option("Sub Zero Products","midland_sub_zer_pro.html");
options[7]=new Option("Custom Products","midland_cst_pro.html");
options[8]=new Option("Hydraulic Valves","midland_hyd_vlv.html");
options[9]=new Option("Electro-Hydraulic Actuators","midland_hyd_vlv.html");*/

options[0].selected=true


}
}


<!------------------------ Hose Fittings--------------------------->

function MySubjectDMA6(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Crimping Equipments & Accessories ","fluid_crimp_equi_acc.html");
/*options[2]=new Option("3-Way Valve","alcon_3wv.html");
options[3]=new Option("5/2 Actuation","alcon_52actuation.html");
options[4]=new Option("Gas/Fuel Valves","alcon_gasfuelv.html");
options[5]=new Option("Steam Valves","alcon_steamv.html");
options[6]=new Option("Hot Water Valves","alcon_hwv.html");
options[7]=new Option("Cryogenic Valves","alcon_cgv.html");
options[8]=new Option("Hazardous Area Valves","alcon_hav.html");
options[9]=new Option("Motorized Valves","alcon_mv.html");
options[10]=new Option("Custom Valves","alcon_cv.html");*/

options[0].selected=true


}
}

<!------------------------ Crimping Equipments & Accessories --------------------------->

function MySubjectDMA7(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Quick Coupling Division","fluid_quick_cou_dvs.html");
/*options[2]=new Option("AccuTrak™ Rotary Valve Position Monitors","wst_acu_rtry_vlv.html");
options[3]=new Option("Intellis™ Network Control Monitors","wst_intl_net_ctrl.html");
options[4]=new Option("Positioners for Rotary and Linear Valves","wst_pstnr_rtry_lnr_vlv.html");
options[5]=new Option("Quantum™ Rotary Valve Position Monitors","wst_qntm_rtry_vlv.html");
*/

options[0].selected=true


}
}

<!------------------------ Quick Coupling Division --------------------------->

function MySubjectDMA8(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Brass Products","fluid_brass_prod.html");
/*options[2]=new Option("Double Eccentric Valve","ace_dev.html");
options[3]=new Option("High Performance Valve","ace_hpv.html");
options[4]=new Option("Single Eccentric Valve","ace_sev.html");
options[5]=new Option("Cryogenic Valve LNG/LPG","ace_cvl.html");
options[6]=new Option("Various Valve","ace_vv.html");*/
options[0].selected=true


}
}

<!------------------------ Brass Products --------------------------->

function MySubjectDMA9(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("O-Ring Products","fluid_o_ring_pro.html");
/*options[2]=new Option("Double Eccentric Valve","ace_dev.html");
options[3]=new Option("High Performance Valve","ace_hpv.html");
options[4]=new Option("Single Eccentric Valve","ace_sev.html");
options[5]=new Option("Cryogenic Valve LNG/LPG","ace_cvl.html");
options[6]=new Option("Various Valve","ace_vv.html");*/
options[0].selected=true


}
}



//---------------------------------------------------------------

function MySubjectDMA10(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("General Purpose PVC Hose ","griflex_gen_prp_pvs.html");
options[2]=new Option("Lightweight PVC Hose","griflex_lig_pvc_hose.html");
options[3]=new Option("Medium Duty PVC Hose","griflex_medium_duty_pvc_hs.html");
options[4]=new Option("OilTek Suction & Delivery Hose","griflex_osdh.html");
options[5]=new Option("Delivery Hose","griflex_dh.html");
options[6]=new Option("Heavy Duty Hose","griflex_hdh.html");
options[7]=new Option("Sanitation Hose","griflex_sh.html");
options[8]=new Option("Polyurethane Hose","pipe_str.html");
options[0].selected=true


}
}


function MySubjectDMA11(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Air Fittings","dixon_ar.html");
options[2]=new Option("Cam & Groove","dixon_cg.html");
options[3]=new Option("DIN Standard","dixon_ds.html");
options[4]=new Option("Fittings & Adapters","dixon_fa.html");
options[5]=new Option("Holedall Swaged Couplings","dixon_hwc.html");
options[6]=new Option("Hygienic","dixon_hygienic.html");
options[7]=new Option("Quick Release Hydraulics","dixon_qrh.html");
options[8]=new Option("Quick Release Pneumatics","dixon_qrp.html");
options[9]=new Option("Steam Couplings","dixon_sc.html");
options[10]=new Option("Tankers / Storage","dixon_ts.html");
options[11]=new Option("Valves","dixon_valve.html");
options[12]=new Option("Water Couplings","dixon_wc.html");
options[0].selected=true


}
}

function MySubjectDMA12(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Ball Valves and Throttle Valves","ldck_bvtv.html");
options[2]=new Option("Claw Couplings","ldck_cc.html");
options[3]=new Option("Screwing Sets, Nipples, Hose Connections","ldck_ssnhc.html");
options[4]=new Option("Hose Clamps, -Clips and Sockets","ldck_hccs.html");
options[5]=new Option("Mortar Couplings","ldck_mc.html");
options[6]=new Option("Sandblast Couplings","ldck_sc.html");
options[7]=new Option("Industrial Couplings and Fittings","ldck_icf.html");
options[8]=new Option("SNOW MASTER - High Pressure Quick Couplings","ldck_smhpqc.html");
options[9]=new Option("Water Couplings & Fittings","ldck_wcf.html");
options[10]=new Option("Temperature Regulation Quick Couplings","ldck_trqc.html");
options[11]=new Option("Quick Disconnect Couplings","ldck_qdc.html");
options[12]=new Option("Blow-off Guns and –Valves","ldck_bgv.html");
options[13]=new Option("MODY-Spiral Hoses","ldck_msh.html");
options[14]=new Option("Pneumatic-Fittings","ldck_pf.html");

options[0].selected=true


}
}

function MySubjectDMA13(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Worm Gear and General Purpose","idl_wggp.html");
options[2]=new Option("Spring Clamps","idl_s_clamps.html");
options[3]=new Option("Heavy Duty Clamps","idl_hdc.html");
options[4]=new Option("Specialty Clamps","idl_sc.html");
options[5]=new Option("No-Hub Couplings","idl_nhc.html");
options[0].selected=true


}
}

function MySubjectDMA14(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Hose Couplings without Wire Trap Area","ph_hcwta.html");
options[2]=new Option("Hose Couplings with Wire Trap Area - Interlock Series","ph_hcwtais.html");
options[3]=new Option("Screw Hose Couplings","ph_shc.html");
options[4]=new Option("Adaptors - BSP - Metric - NPT –Taper","ph_abmnt.html");
options[5]=new Option("Flare Couplings and Adaptors 37°","ph_fca.html");
options[6]=new Option("Flare Coupling Parts for Coupling Bodies with 24°-Cone°","ph_fcpfcbwc.html");
options[7]=new Option("Cone Sealing Couplings","ph_csc.html");
options[8]=new Option("Weld Nipple Couplings with O-ring","ph_wncwo.html");
options[9]=new Option("Elbow Rotary Couplings","ph_erc.html");
options[10]=new Option("Pre-Installation Dies and Lubricants","ph_pidl.html");
options[11]=new Option("Ball Valves and Spindle Valves","ph_bvsv.html");
options[12]=new Option("Pressure Gauge Connectors","ph_pgc.html");
options[13]=new Option("Push and Pull Couplings and Screw Couplings","ph_ppcsc.html");
options[14]=new Option("Tube and Tube Bends ","ph_ttb.html");
options[15]=new Option("Hydraulic- and PTFE-Hoses","ph_hph.html");
options[0].selected=true


}
}

function MySubjectDMA15(aMenu){
nullOptionsDMA(aMenu)

with (aMenu){

//Rewrites the text and values
options[0]=new Option("Select a page","none");
options[1]=new Option("Tungum Alloy Tube","tun_alloy_tube.html");
options[2]=new Option("PG Series Fittings","PG Series Fittings");
options[3]=new Option("Pipe Bending","tun_pipe_bent.html");
options[4]=new Option("Equipment Sourcing","tune_qui_sour.html");
options[0].selected=true

}
}
//----------------------------------------------------------------
/* ####################### goDM() ####################### */

function goDMA(aMenu){
if (aMenu.options.value!="none")
{
location=aMenu.options[aMenu.selectedIndex].value
} 

}

/* ####################### setUp ####################### */

function setUpDMA(){
with (document.formDoubleMenuDMA) {
if (menuSubjectsDMA.selectedIndex==0){
menuSubjectsDMA.options[0].selected=true
menuFilesDMA.options[0].selected=true
}

if (menuSubjectsDMA.selectedIndex==1)
MySubjectDMA0(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==2)
MySubjectDMA1(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==3)
MySubjectDMA2(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==4)
MySubjectDMA3(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==5)
MySubjectDMA4(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==6)
MySubjectDMA5(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==7)
MySubjectDMA6(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==8)
MySubjectDMA7(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==9)
MySubjectDMA8(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==10)
MySubjectDMA9(menuFilesDMA)


//---------------------------------------------------------
if (menuSubjectsDMA.selectedIndex==11)
MySubjectDMA10(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==12)
MySubjectDMA11(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==13)
MySubjectDMA12(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==14)
MySubjectDMA13(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==15)
MySubjectDMA14(menuFilesDMA)
if (menuSubjectsDMA.selectedIndex==16)
MySubjectDMA15(menuFilesDMA)



//---------------------------------------------------------
}
}

/* ####################### changeFiles ####################### */

function changeFilesDMA(){
aMenu=document.formDoubleMenuDMA.menuSubjectsDMA
aMenu2=document.formDoubleMenuDMA.menuFilesDMA
with  (aMenu){
///alert(selectedIndex);
switch (selectedIndex) {
case 0:
aMenu2.options.length=0;
aMenu2.options[0]= new Option("Pages appear here","none")
aMenu2.options[0].selected=true;
history.go(0)
break    
case 1:  
MySubjectDMA0(aMenu2)  
window.location.href="fluid_indust_hs_pro_dvs.html";
//aMenu2.options[0].text="Parker Hannifin"
//aMenu2.options[0].text="Select Product Type"
break       
case 2:  
MySubjectDMA1(aMenu2)  
//aMenu2.options[0].text="Intertek"
window.location.href="fluid_hyd_hs_pro_dvs.html";
//aMenu2.options[0].text="Select Product Type"


//aMenu2.options[1].text="Safe Link","intk_sf_lk.html"
//aMenu2.options[1]=("Safe Link","intk_sf_lk.html");
break       
case 3:  
MySubjectDMA2(aMenu2)  
//aMenu2.options[0].text="Sandvik"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_polyflex_dvs.html";
break       
case 4:  
MySubjectDMA3(aMenu2)  
//aMenu2.options[0].text="Nuova Fima"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_parflex_dvs.html";
break       
case 5:  
MySubjectDMA4(aMenu2)  
//aMenu2.options[0].text="Tungum"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_tub_fit_div.html";
break    

case 6:  
MySubjectDMA5(aMenu2)  
//aMenu2.options[0].text="HIP"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_hose_fit.html";
break  

case 7:  
MySubjectDMA6(aMenu2)  
//aMenu2.options[0].text="Georgin"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_crimp_equi_acc.html";
break  

case 8:  
MySubjectDMA7(aMenu2)  
//aMenu2.options[0].text="Midland ACS"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_quick_cou_dvs.html";
break  

case 9:  
MySubjectDMA8(aMenu2)  
//aMenu2.options[0].text="Westlock"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_brass_prod.html";
break  

case 10:  
MySubjectDMA9(aMenu2)  
//aMenu2.options[0].text="Alcon"
//aMenu2.options[0].text="Select Product Type"
window.location.href="fluid_o_ring_pro.html";
break 

//---------------------------------------------------------

case 11:  
MySubjectDMA10(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 

case 12:  
MySubjectDMA11(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 

case 13:  
MySubjectDMA12(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 

case 14:  
MySubjectDMA13(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 

case 15:  
MySubjectDMA14(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 

case 16:  
MySubjectDMA15(aMenu2)  
//aMenu2.options[0].text="Alcon"
aMenu2.options[0].text="Select Product Type"
break 
//----------------------------------------------------------
}
}

}


/* ####################### end of doublemenu code ####################### */
