

	function boo(){}
	window.onerror=boo
	window.error=boo

	var dxsate=1;
	function check_dialxs(frm,id,target){

		if(!id) id='phone_results';

		function handler(stat,response)
		{
			if(stat == 200){
				s=response.split('#');
				ok=document.getElementById(id);
				if(parseInt(s)){
					ok.innerHTML=s[2];
					document.location.href=s[1];
				}else{
					ok.innerHTML=s[2];
				}
			}else if(stat){	// firefox put status 0 in some weird circunstances, the error is recuperable
				o=document.getElementById(id);
				o.innerHTML='Error '+stat;
			}
			if(document.documentElement){
				document.documentElement.style.cursor="default"
			}
		}
		o=document.getElementById(id);
		o.innerHTML='<span style=\"text-decoration: blink;\">...</span>';
		apost('util/payp.php?jump=dialxs_by_phone.xsproxy',id,'call',frm,handler);
	}
