$(document).ready(function() {
	$("#s").click(function(){
		this.select();
	})
	$("#s").blur(function(){
		if($(this).val()=="") {
			$(this).val("Ihr Suchbegriff...");
		}
	});
	
	/* Browser fixes */
	
	if(parseInt($("#left").css("height"))+parseInt($("#left").css("padding-top")) < parseInt($("#sidebar").css("height"))) {
		$("#left").css("min-height",parseInt($("#sidebar").css("height")));
	}
	
	// Opera: Remove gecko/webkit anti flickering height exta == -1px
	if( $.browser.opera ){
		$("head").append("<style type=\"text/css\" media=\"screen\" title=\"Main\">.box ul li.act a,.box ul li.par a, .box ul li a:hover {height:28px;}</style>");
	}
	// Remove a grade stamp - non ie
	if( $.browser.msie ){
		$("#sidebar").removeClass("a");
	}
});

