/*****************************************************************************
** Copyright (C) 2002, Stephen Gould 
**
** FILENAME:	acc&other.js
** AUTHOR:	AN
** COMMENCED:	4 Jun 03
** MODIFIED:	
** DESCRIPTION:	javascript for dymanic menus in web pages for CWC
**
*****************************************************************************/

var sideHeading = "Flow, Level & Pressure";

var sideMenuArray = new Array(
"-------FLOW----------", "", "watermeters_fl.html",
	"ARAD Water Meters", "", "watermeters_fl.html",
	"Flow Indicators", "", "acc_flowi.html",
	"Flow Meters", "(Rotameters)", "acc_flowm.html",
	"Flow Switches", "", "acc_flows.html",
	"-------LEVEL----------", "", "fl_cl.html",
	"Conductive Level", "", "fl_cl.html",
	"Laser Level", "", "fl_ll.html",
	"Ultrasonic Level", "", "fl_ul.html",
	"Low Level", "Tank Switches", "acc_llts.html",
	"-----PRESSURE-------", "", "fl_pr.html",
	"Pressure", "Transducers", "fl_pr.html"
	);

var sideSubMenu = new Array();

sideSubMenu[0] = new Array();
sideSubMenu[1] = new Array();
sideSubMenu[2] = new Array();
sideSubMenu[3] = new Array();
sideSubMenu[4] = new Array();
sideSubMenu[5] = new Array();
sideSubMenu[6] = new Array(
"Components", "", "fl_cl.html",
"Systems", "", "fl_cl_sys_flows.html"
);
sideSubMenu[7] = new Array();
sideSubMenu[8] = new Array();
sideSubMenu[9] = new Array();
sideSubMenu[10] = new Array();
sideSubMenu[11] = 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:	electronics.js
*****************************************************************************/
