$(document).ready(function(){
	 $(document).pngFix(); 
	$("h2.entry-title").hover(function(){
		$(this).animate({ opacity: 0.6 }, 0);
	},function(){
		$(this).animate({ opacity: 1 }, 0);
	});
	
	//Remove default value of all text fields on click 
	$('input, textarea').click(
		function() {
			if (this.value == this.defaultValue) {
				this.value = '';
			}
		}
	);
	//Replace default value if nothing is typed
	$('input, textarea').blur(
		function() {
			if (this.value == '') {
				this.value = this.defaultValue;
			}
		}
	);
	
	//add rel to lightbox
	$('.hentry a:has(img)').lightBox();
	
	//remove height and width from images to let css do the work!
	$('.hentry a img.size-full').removeAttr("height");
	$('.hentry a img.size-ful').attr({ 
          width: "660",
    });

	
});