$(function() {
	$('#one').ContentSlider({
		width : '930px',
		height : '280px',
		speed : 800,
		easing : 'easeInOutBack'
	});
});
			
$(document).ready(function() {
	$("#searchbar").attr("value", "Search this site...");

	var text = "Search this site...";

	$("#searchbar").focus(function() {
		$(this).addClass("active");
		if($(this).attr("value") == text) $(this).attr("value", "");
	});

	$("#searchbar").blur(function() {
		$(this).removeClass("active");
		if($(this).attr("value") == "") $(this).attr("value", text);
	});
});

/* initialising facebook FBML*/
      window.fbAsyncInit = function() {
        FB.init({appId: '169256756429862', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
      }());
	  
