$(document).ready(function() {

// General rollover
	$(".rollover").hover(function() {
		this.src = this.src.replace("-off","-on");
	}, function() {
		this.src = this.src.replace("-on","-off");
	});

// Feeds-rollover
//	$("li.feeds").hover(function() {
//		$(this).css({'background-image' : 'url(http://douglasstridsberg.com/themes/site_themes/default/icons/feed-icon-on.png)'});
//	}, function() {
//		$(this).css({'background-image' : 'url(http://douglasstridsberg.com/themes/site_themes/default/icons/feed-icon-off.png)'});
//	});

// Search form hide and click
	$("#search form").hide();
	$("#search h2").css({'display' : 'block'});

	$("#search h2").click(function() {
		$("#search h2").fadeOut("fast", function() {
			$("div#search").css({'margin-top' : '10px'});
			$("#search form").fadeIn("fast");
		});
	});
});