$(function() {
		   
	$(".png").supersleight();

	$("a").click(function(){
		var href = $(this).attr("href");
		if(href == "#"){
			return false;
		}
	});
	
	$(".side-nav li a").hover(function(){
		if(!$(this).parent().hasClass("active")){
			$(this).stop().animate({"background-position": "0 100%"}, 400);
		}
	},function(){
		if(!$(this).parent().hasClass("active")){
			$(this).stop().animate({"background-position": "0 0"}, 400);
		}
	});

	$(".textbox, textarea").focus(function(){
		$(".focused").removeClass("focused");
		$(this).addClass("focused");
	});
	$(".textbox, textarea").blur(function(){
		$(this).removeClass("focused");
	});
	
});
