// JavaScript Document
$(document).ready(function() { 
   $('#slider').s3Slider({ 
      timeOut: 4000 
   });

$(function() {
		$("#socialapp").tabs().find(".ui-tabs-nav").sortable({axis:'x'});
	});

}); 

$(document).ready(function() { 
$(".lavalamp").lavaLamp({
			fx: 'easeInExpo',
			speed: 800,
			homeTop:0,
			homeLeft:0
		});
		
						   });
$(function(){
        $("#socialcon").carousel( {
	autoSlide: true,
	dispItems: 3,
	loop: true
	});
    });

//function loadmodal(id) {
//Get the A tag
		//Get the screen height and width
		//var maskHeight = $(document).height();
		//var maskWidth = $(window).width();
	
		//Set height and width to mask to fill up the whole screen
		//$('#cover').css({'width':maskWidth,'height':maskHeight});
		
		//transition effect		
		//$('#cover').fadeIn(1000);	
		//$('#cover').fadeTo("slow",0.8);	
	
		//Get the window height and width
		//var winH = $(window).height();
		//var winW = $(window).width();
		//Set the popup window to center
		//$(id).css('top',  winH/2-$(id).height()/2);
		//$(id).css('left', winW/2-$(id).width()/2);
		//transition effect
		//$(id).fadeIn(2000); 

	
//}
		




