function win(url,name,feat) {
	name=window.open(url,name,feat);
	name.focus();
}
function tranq(f,u) {
	m = new Array("&#105;","&#116;","&#111;","&#109;","&#97;","&#108;");
	document.write("<a href="+m[3]+m[4]+m[0]+m[5]+m[1]+m[2]+"&#58;"+u+"&#64;"+f+">");
	document.write(u+"&#64;"+f+"</a>");
}

$(document).ready(function() {
	var in_suche = 'Suche...';
	$('#suche').focus(function() { $(this).removeClass('error'); if (this.value==in_suche) this.value='' })
	$('#suche').blur(function() { this.value = this.value == '' ? in_suche : this.value; })
	$('form.suche').submit(function() {
		var s = $('#suche');
		if (s.val() == in_suche) { s.addClass('error') }
		else { window.location.href = '/?q='+encodeURIComponent(s.val()); /* &x=0&y=0 umgehen */ }
		return false;
	})
})
