// JavaScript Document
function jumpPhone(whereFrom, whereTo, size)
{
	firstBox = document.getElementById(whereFrom);
	number = firstBox.value;
	if(whereTo != "none")
	{
		secondBox = document.getElementById(whereTo);
	}
	
	if (isNaN(number))
	{
		alert ("Please type in numbers only");
		firstBox.value = "";
		firstBox.focus();
		return;
	}
	else
	{
		if(number.length >= size && whereTo == "none")
		{
			firstBox.blur();
		}
		else if(number.length >= size)
		{
			secondBox.select();
		}
	}
}
function checkCancel()
{
	var dblCheck = confirm("This will cancel your account.\nDo you want to continue?") ;
	if (dblCheck)
	{
		window.location = "cancel.php";
	}
}

