	/*
var errorcount;
window.onerror = function (msg, url, num) {
	errorcount++;
	var msga ="<div id=\"err_"+errorcount+"\" class=\"jserr\">Script Fejl i \"<b style=\"color:#008800;\">"+url+"</b>\" på linie <b style=\"color:#000088;\">"+num+"</b>: <b style=\"color:#880000;\">"+msg+"</b><div class=\"closebtn\" style=\"float:right; margin-right:20px;\" onclick=\"$('#err_"+errorcount+"').remove();\">X</div></div>";
	
	$("body").prepend(msga);

	$.ajax({			
		cache:false,
		data:{action:"logjserror",msg:msg,url:url,num:num,caller:"/index.php",querystring:"",posts:""},
		global:	false,
		url:	'/ajax.php',
		success: function(data){
			$("body").prepend(data);
		}
	});

	return true;
}

	*/




