		// Place all Javascript code here
		$(document).ready(function(){
 			$("label.inlined + .text-input").each(function (type) {
		     	$(this).focus(function () {
		      		$(this).prev("label.inlined").addClass("focus");
		     	});
		     	$(this).keypress(function () {
		      		$(this).prev("label.inlined").addClass("has-text").removeClass("focus");
		     	});
		     	$(this).blur(function () {
		      		if($(this).val() == "") {
		      			$(this).prev("label.inlined").removeClass("has-text").removeClass("focus");
		      		}
		     	});
		    });
		});



// http://codylindley.com/jqueryselectors/ *-*

	$.easing.elasout = function(x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	};
/*var newBackgroundColor = "#181818";


$("#con").hover(
function(){
  $("#contact").animate({ backgroundColor: newBackgroundColor }, 250);
});
*/

$(document).ready(function(){

      $("#about").slideToggle("slow");

$(".info").click(function () {
      $("#about").slideToggle("slow");
	  $.scrollTo( '#about', 1000 );
    });
});
$(document).ready(function(){

	// This one is important, many browsers don't reset scroll on refreshes
	// Reset all scrollable panes to (0,0)
	//$('div.pane').scrollTo( 0 );
	// Reset the screen to (0,0)
	$.scrollTo( 0 );

$("#con").click(function () {
	//$.scrollTo( '#contact', 1000, { easing:'elasout' } );
	//$.scrollTo( '#contact', 1000 );
    $("#contact").effect("pulsate", { times:1 }, 1500);
});





$('a[rel="front"]').click(function () {
      //$.scrollTo( '#front', 3000, { easing:'elasout' } );
	  $.scrollTo( '#front', 1000 );
	  //$("div.wrapper").effect("bounce", { times:3 }, 500);
	  //$.scrollTo( '#target-examples', 800, {easing:'elasout'} );
	  //$.scrollTo( "#front", 800, {easing:'elasout'} );//specify an easing equation
	  //$.scrollTo("#front", {speed:2500, easing:'elasout' });
});



$('a[rel="works"]').click(function () {
      $.scrollTo("#works", 1000 );
	  //$("div.wrapper").effect("bounce", { times:3 }, 500);
	  //$.scrollTo( '#works', 3000, { easing:'elasout' } );
});

$('a[rel="about"]').click(function () {
      $.scrollTo("#about", 1000 );
	  //$("div.wrapper").effect("bounce", { times:3 }, 500);
	  //$.scrollTo( '#about', 3000, { easing:'elasout' } );
});

});


/*$(document).ready(function() { alert('Hswswello World'); });*/
$(document).ready(function() {
				$("#twitter").getTwitter({
					userName: "raozuzu",
					numTweets: 3,
					loaderText: "Loading tweets...",
					slideIn: false,
					slideDuration: 750,
					showHeading: false,
					headingText: "Latest Tweets",
					showProfileLink: false,
					showTimestamp: true
				});
			});


