/*****************************************************************************
** Copyright (C) 2002, Stephen Gould 
**
** FILENAME:	ccr.js
** AUTHOR:	Andrew Narunsky
** COMMENCED:	15-06-05
** MODIFIED:	
** DESCRIPTION:	javascript for dymanic menus in web pages for CWC
**
*****************************************************************************/

var sideHeading = "Handheld/Portable Meters";

var sideMenuArray = new Array(
	"TDS","","acc_hh_tds.html",
	"EC (Conductivity)","","acc_hh_ec.html",
	"pH","","acc_hh_ph.html",
	"ORP","","acc_hh_orp.html",
	"Free & Total Chlorine","","acc_hh_cl2.html",
	"Turbidity","","acc_hh_turb.html",
	"Dissolved Oxygen","","acc_hh_do.html",
	"Multi Parameter","","acc_hh_multi.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();
sideSubMenu[7] = 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
*****************************************************************************/
