$(document).ready(function() {

	// To fix issue with IE not displaying post tag until it's been initialized...?
	$(".postMark").addClass("postMarkSelected");
	$(".postMark").removeClass("postMarkSelected");
	


	$(".postTitle a").hover(function() {
		
		// Show fully opaque post tag
		$(this).parent().parent().parent().children(".postMark").addClass("postMarkSelected");
		
	}, function() {
	
		// Revert to normal post tag
		$(this).parent().parent().parent().children(".postMark").removeClass("postMarkSelected");
	
	});
	
	$("#btnSearch").click(function() {
		$("#sidebarSearch form").submit();
	});



});
