$(document).ready(function(){

	$(".showcase-home").mouseleave(function(){
	  $(".showcase-home .post-meta").fadeOut("slow");
	});
	$(".showcase-home").mouseenter(function(){
	  $(".showcase-home .post-meta").fadeIn("slow");
	});
	
	$(".showcase-tv").mouseleave(function(){
	  $(".showcase-tv .play-tv a").fadeOut("fast");
	});
	$(".showcase-tv").mouseenter(function(){
	  $(".showcase-tv .play-tv a").fadeIn("fast");
	});
	
	$(".open-archives").click(function(event) {
		event.preventDefault();
	});
	$(".open-archives").click(function(){
	  $(".archives-list").slideToggle("normal");
	  $(this).toggleClass("active");
	});
	  	
	$(".showcase-home .post-meta").hide();
	$(".archives-list").hide();
	$(".play-tv a").hide();	

    $("#s").focus(function() {
        $(this).filter(function() {
            return $(this).val() == ""
        }).addClass("input-watermark");

    });

    $("#s").blur(function() {
        $(this).filter(function() {
            return $(this).val() == ""
        }).removeClass("input-watermark");
    });	
    
});

