function SubmitPhoneNumber() {
btn = document.getElementById("call_btn");
btn.src="images/images/ibp2p.gif";
rnum = Math.random();
myurl = "ax_client_ifbyphone.php?property=" + document.getElementById("id_property").value + "&npa=" + document.getElementById("npa").value + "&nnx=" + document.getElementById("nnx").value + "&line=" + document.getElementById("line").value + "&rnum=" + rnum;
AxRequest(myurl,"left_clicktocall_repl");
return false;
}
function autofocs(field, limit, next, evt) {
evt = (evt) ? evt : event;
var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode : ((evt.which) ? evt.which : 0));
var nxo = document.getElementById(next);
if (charCode > 31 && field.value.length == limit) {
nxo.focus();
}
}
function if_by_phone_handle_error(params) {
alert(params);
// jQuery("#left_clicktocall_error_msg").html = params;
// jQuery("#left_clicktocall_errorbox").dialog({ modal: true, autoOpen: true, resizable:true, width:300, closeOnEscape:true, position: "top" }).dialog("open");
}