function numbersonly(myfield, e, dec) {
        var key;
        var keychar;

        if (window.event)
            key = window.event.keyCode;
        else if (e)
            key = e.which;
        else
            return true;
        keychar = String.fromCharCode(key);

        // control keys
        if ((key == null) || (key == 0) || (key == 8) ||
    (key == 9) || (key == 13) || (key == 27))
            return true;

        // numbers
        else if ((("0123456789").indexOf(keychar) > -1))
            return true;

        // decimal point jump
        else if (dec && (keychar == ".")) {
            myfield.form.elements[dec].focus();
            return false;
        }
        else
            return false;
    }
 function next(currentControl, maxLength, nextControl) {
        if (document.getElementById(currentControl).value.length >= maxLength) {
            document.getElementById(nextControl).focus();
            document.getElementById(nextControl).select();
        }

    }

			function OnSuccess(){
				if (location.search != ""){
					var Success = location.search.substr(1).split(";")
					if (Success=="0")  {
						alert("Thank you! You will receive a message on your cellphone, please reply Yes to confirm.");
						}
					if (Success!="0") {
						alert("Transaction unsuccessful Please enter cell-phone number again.");
						}
				}
		}
			function chk() {
				if (widget.area.value=='') {
					alert('Please Enter # ');
					widget.area.focus();
					return false;
				}
				if (widget.sarea.value=='') {
					alert('Please Enter # ');
					widget.sarea.focus();
					return false;
				}
				if (widget.Cnumber.value=='') {
					alert('Please Enter # ');
					widget.Cnumber.focus();
					return false;
				}
				widget.submit();
			}
		
