// SECTION INDICATOR
	function setIndicator(where) {
		var loc;
		
		switch(where) {
			case 'Products': 	loc = 27;		break;
			case 'Solutions':	loc = 110;		break;
			case 'Support':		loc = 225;		break;
			case 'About':		loc = 325;		break;
			case 'Careers':		loc = 391;		break;
			case 'Contact':		loc = 463;		break;
			default:			loc = '-999999';break;
		}
		
		document.getElementById("sectionIndicator").style.marginLeft = loc + 'px';
	}

// TECH SPECIFICATION TABLES
function litRow(which)	{ which.className = which.className + " LIT"; }

function dimRow(which)	{
	var splitClassName   = which.className.split(" ");
		
	delete splitClassName[(splitClassName.length-1)];
	which.className     = splitClassName.join(" ");
}


// VALIDATORS
	function incomplete(which,field) {
		alert("Please complete the " + which + " field.");
		field.focus();
	}

	function validateContactForm() {
		var appForm = document.contactform;
		
		if (appForm.who.options[appForm.who.selectedIndex].value == ""){ incomplete("I am a",appForm.who);	return false;}
		
		if (trim(appForm.firstname.value)	== ""){ incomplete("First Name",appForm.firstname);			return false;}
		if (trim(appForm.lastname.value)	== ""){ incomplete("Last Name",appForm.lastname);			return false;}
		if (trim(appForm.email.value)		== ""){ incomplete("E-mail Address",appForm.email);			return false;}
		if (trim(appForm.comments.value)	== ""){ incomplete("Comments",appForm.comments);			return false;}
		return true;
	}
