/*****************************************************************************
** Copyright (C) 2002, Stephen Gould 
**
** FILENAME:	mp.js
** AUTHOR:	Stephen Gould
** COMMENCED:	07 Jun 2002
** MODIFIED:	21 Jan 2003
** DESCRIPTION:	javascript for dymanic menus in web pages for CWC
**
*****************************************************************************/

var sideHeading = "Solenoid Driven Pumps";

var sideMenuArray = new Array(
	"WALL MOUNT -", "Fixed Stroke Length & Adjustable Speed", "mp_emec_wm_man.html",
	"FOOT MOUNT -", "Adjustable Stroke Length & Speed", "mp_emec_fm_man.html",
	"Special Purpose", "Pumps", "mp_emec_poly.html",
	"Accessories", "", "mp_emec_acc_brackets.html",
	"Maintenance /", "Service Kits", "mp_emec_maintkits.html"
	
);

var sideSubMenu = new Array();

	
sideSubMenu[0] = new Array(
	"Manual Control","","mp_emec_wm_man.html",
	"Manual or External","Pulse Control","mp_emec_wm_ext.html",
	"Manual or External","Pulse/4-20mA Control (Digital)","mp_emec_wm_ext_dig.html",
	"Chlorine Pumps","with de-gassing heads","mp_emec_wm_cl.html",
	"Pumps with Integrated","pH, ORP & Cl2 Control","mp_emec_wmphorp.html"
	);
	
sideSubMenu[1] = new Array(
	"Manual Control","","mp_emec_fm_man.html",
	"Manual or External","Pulse Control (Analogue)","mp_emec_fm_ext_an.html",
	"Manual or External","4-20mA Control (Analogue)","mp_emec_fm_ext_an4.html",
	"Manual or External","Pulse/4-20mA Control (Digital)","mp_emec_fm_ext_dig.html",
	"Chlorine Pumps","with de-gassing heads","mp_emec_fm_cl.html"
	);

	
sideSubMenu[2] = new Array(
	"Compressed Air Pump","","mp_emec_compair.html",
	"Explosion Proof","Pumps","mp_emec_ex.html",
	"Polymer Pumps","(High Viscosity)","mp_emec_poly.html",
	"Car Wash Pumps","","mp_emec_car.html",
	"Peracetic Acid","Dosing Pumps","mp_emec_pa.html"
	);
	
sideSubMenu[3] = new Array(
	"Wall Mount Brackets","","mp_emec_acc_brackets.html",
	"Injection Lances","","mp_emec_acc_injlance.html",
	"Suction Lances","","mp_emec_acc_suclance.html",
	"Chemical Flow Monitors","","mp_emec_acc_flowmon.html",
	"Multi-function Valves","(Anti-syphon,&nbsp Pressure Relief)","mp_emec_acc_mfv.html",
	"Pulsation Dampeners","","mp_emec_acc_pulsdamp.html",
	"Chlorine/Bromine", "Mixing Chambers", "mixchambers.html"
);


sideSubMenu[4] = new Array(
);

/* Functions *****************************************************************/

function OpenImageWindow(filename) {
	var handle = window.open("", "ImageWindow", "height=650px,width=700px");
	handle.document.open("text/html", "replace");
	handle.document.write("<html><head><title>ImageWindow</title>");
	handle.document.write("<script language=\"javascript\" type=\"text/javascript\">");
	handle.document.write("</script>");
	handle.document.write("</head><body>");
	handle.document.write("<table cellpadding=0 cellspacing=0 border=0>");
	handle.document.write("<tr height=\"480px\"><td width=\"642px\" align=\"center\">");
	handle.document.write("<img src='../images/" + filename + "'></td></tr>");
	handle.document.write("<tr><td align=\"right\" style=\"font: 12px arial, san serif;\">");
	handle.document.write("<span style=\"cursor:hand;\" onClick=\"window.print();\">Print</span>");
	handle.document.write("<font color=red> | </font>");
	handle.document.write("<span style=\"cursor:hand;\" onClick=\"javascript:window.close();\">Close</span>");
	handle.document.write("</td></tr>");
	handle.document.write("</table>");
	handle.document.write("</body></html>");
	handle.document.close();
	handle.focus();
	return false;
}

/*****************************************************************************
** END OF FILE:	mp.js
*****************************************************************************/