function $(strInput) {
	try { return document.getElementById(strInput); }
	catch (e) { return false; }
}
function $$(strInput) {
	try { return document.getElementsByTagName(strInput); }
	catch (e) { return false; }
}

	function showImg(strImagePath) {
		$("imgViewer").innerHTML = "<p align=\"right\" style=\"margin:0px;padding:0px;margin-right:15px;\"><a href=\"javascript:closeImg();\">x - close</a></p>";
		$("imgViewer").innerHTML += "<img src=\"" + strImagePath + "\" alt=\"\" />";
		$("imgViewer").style.display = "block";
		return false;
	}
	
	function closeImg()  {
		$("imgViewer").innerHTML = "";
		$("imgViewer").style.display = "none";
	}
	
	function windowOpener(windowHeight, windowWidth, windowName, windowUri) {
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;
    newWindow = window.open(windowUri, windowName, 'scrollbars=yes,resizable=1,width=' + windowWidth + 
        ',height=' + windowHeight + 
        ',left=' + centerWidth + 
        ',top=' + centerHeight);

    newWindow.focus();
	}
	
	window.onload = function() {
		tbls = $$("table");
		for (var t = 0; t < tbls.length; t++) {
			if (tbls[t].className == "stripe") {
				tblRows = tbls[t].getElementsByTagName("tr");
				for (var i = 1; i < tblRows.length; i+=2) {
					tblRows[i].style.background = "#BB9E4C";
				} // next
			} // end if		
		} // next
		setTimeout("initExpander(\"copy\",\"h\",1,324,3)",1000);
	} // end window.onload function

	
	