/*****************************************************************************
** 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 = "Corrosion Monitoring";

var sideMenuArray = new Array(
	"PVC Racks for 2", "Corrosion Coupons", "ccr2.html",
	"PVC Racks for 4", "Corrosion Coupons", "ccr4.html",
	"SS Racks for 2", "Corrosion Coupons", "ccr2ss.html",
	"SS Racks for 4", "Corrosion Coupons", "ccr4ss.html",
	"Spare Coupon Holders", "", "cch.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();


/* 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
*****************************************************************************/
