function Index(){}
Index.prototype = {
	init:function() {
		// init homepage content carrousel
			   $('.inner-shadow').focus(function() {
			if (this.value == this.defaultValue) {
				$(this).val('');
			}
		}).blur(function() {
			if (this.value == '') {
				$(this).val(this.defaultValue)
			}
		});
		$('#home-carousel').cycle({ 
			fx:     'fade', 
			timeout: 6000,
			next:   '#next', 
    		prev:   '#prev'
    	});
		// display and refresh wall posts widget
		// var wall = showWall(0,0,0);
		// 		$('#olderPosts').click(function() {
		// 			wall.slideUp();
		// 			wall = showWall(0,1,0);
		// 			wall.slideDown();
		// 		});

	}
}
$(function(){
	var index = new Index();
	index.init();
})
