/*****************************************************************************
** Copyright (C) 2002, Stephen Gould 
**
** FILENAME:	dl&rm.js
** AUTHOR:	Stephen Gould
** COMMENCED:	07 Jun 2002
** MODIFIED:	21 Jan 2003
** DESCRIPTION:	javascript for dymanic menus in web pages for CWC
**
*****************************************************************************/

var sideHeading = "Data Logging & Remote Monitoring";

var sideMenuArray = new Array(
	"Internet Based", "Remote Monitoring (DIGICHEM Plus+)", "dl_cwc_dp.html",	
	"HOBO Data Loggers", "- multi channel", "dl_hobo.html",
	"CWC Remote SMS", "Diallers & Loggers", "dl_cwc_sms.html",
	"HOBO & Datanet", "Wireless Remote Data Loggers", "dl_wr_hobo.html"
);

var sideSubMenu = new Array();

sideSubMenu[0] = new Array();
sideSubMenu[1] = new Array();
sideSubMenu[2] = new Array();
sideSubMenu[3] = new Array(
	"Datanet Systems","","dl_datanet.html",
	"Hobo Systems","","dl_wr_hobo.html"
	);



/* 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
*****************************************************************************/
