function Misspelled(query, url) {
	//this.query = query;
	var f=$('#misspelled');
	//alert('getSpelling.php?q='+query+"&u="+url);
	$.ajax({url:'/getSpelling.php', data:{q:query, u:url}, dataType:"json", success:function(d, s, r) {
		//alert(d.u+"-"+d.q);
		if(d && d.q.length>0 && d.u.length>0 && f) f.html(' (czy chodziło Ci o <a href="'+d.u+'">'+d.q+'</a>?)');
	}});
}

