<!--
/*
This code is from Dynamic Web Coding
www.dyn-web.com
Permission granted to use this code as long as this 
entire notice is included.
*/
dom = (document.getElementById) ? true : false;
ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
ns4 = (document.layers && !dom) ? true : false;
ie4 = (document.all && !dom) ? true : false;
nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

var curPg='lyr1';
function loadLyr(pg) {
	var oldPg = curPg;
	hide(oldPg);
  curPg = pg;
	show(pg);
}

function show(lyr) {
	var theLyr = (ns4)? document.relDiv.document.layers[lyr] : (ie4)? document.all[lyr].style : (ie5||ns5)? document.getElementById(lyr).style: null;
	if (!theLyr) return;
	theLyr.visibility = "visible";
}

function hide(lyr) {
	var theLyr = (ns4)? document.relDiv.document.layers[lyr] : (ie4)? document.all[lyr].style : (ie5||ns5)? document.getElementById(lyr).style: null;
	if (!theLyr) return;
	theLyr.visibility = "hidden";	
}

//-->