//  magic tab script
var maxSize = 0 ;
var rExp  =  /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/;
function inputTab(obj,len,nextElement) {
	if (obj.value.length != maxSize) {
		maxSize = obj.value.length;
		numTrue = rExp.test(obj.value);
		if ((maxSize == len) && (numTrue)) {
			nextElement.focus();
		}
	}
}


function goSite(form) {
	var destination = form.url.options[form.url.selectedIndex].value;
	if (destination != "#"){
		parent.location = destination;
		return false;
	}

	else {
		alert("You must first select a\nstate from the menu.");
		return false;
	}
}

