// Browser detect
if (document.layers) {
	navigator.family = "nn4";
}
if (document.all) {
	navigator.family = "ie4";
}
if (window.navigator.userAgent.toLowerCase().match(/gecko/)) {
	navigator.family = "gecko";
}
if (window.navigator.userAgent.toLowerCase().indexOf('opera') != -1) {
	navigator.family = 'opera';
}
topz="4";
bottomz="1";
toplevel="block";
bottomlevel="none";

offclass="sidetext";
onclass="sidetexton";

function riseup(num,lines) {
	objId = "sl" + num;
	document.getElementById(objId).className = onclass;
	imgName = "img" + num;
	rollon(imgName,lines);
}

function stepdown(num) {
	objId = "sl" + num;
	document.getElementById(objId).className = offclass;
	imgName = "img" + num;
	rolloff(imgName);
}

function Form_Validator(theForm)
{

  if (theForm.FormEmail.value == "")
  {
    alert("You must enter your complete e-mail address.");
    theForm.FormEmail.focus();
    return (false);
  }

  return (true);
}

if (document.images) {
	imgon = new Image();
	imgon.src = "/graphics/on1.gif";
	imgon2 = new Image();
	imgon2.src = "/graphics/on2.gif";
	imgoff = new Image();
	imgoff.src = "/graphics/space.gif";
}

function rollon(imgName,lines) {
	if (document.images) {
		if (lines == 2) {
			document.getElementById(imgName).src = eval("imgon2.src");
		} else {
			document.getElementById(imgName).src = eval("imgon.src");
		}
	}
}

function rolloff(imgName) {
	if (document.images) {
		document.getElementById(imgName).src = eval("imgoff.src");
	}
}
