function checkLen(x,y)
	{
	if (y.length==x.maxLength)
		{
		var next=x.tabIndex
		if (next<document.getElementById("myForm").length)
			{
			document.getElementById("myForm").elements[next].focus()
			}
		}	
}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=400,left = 440,top = 227');");
}

function formcheck(zform) {
//	if ((zform.ZipCode.value == "") || (zform.l142911-142911.value == "") || (zform.name.value == "")) {
	if (zform.name.value == "") {
		window.alert("We need your name before you can submit this form!");
		return (false);
	} 
	return (true); 
}

function formcheck2(zform) {
	window.alert("I'm leaving. Thanks!");
	if (zform.cm-142911-142911.value != zform.confirmemail.value) {
		window.alert("Your email fields do not match. Please be sure you typed everything correctly. Thanks!");
		return (false);
	} 
	return (true); 
}

function redirect () { setTimeout("go_now()",8500); }

function go_now ()   { window.location.href = "http://www.myringthing.com"; }

function areyousure(){ 
       var agree = false; 
       agree = confirm("are you sure?"); 
       if(agree){ 

       } 
       return agree; 
    } 