$(document).ready(function(){	

	
	$.supersized({
		slides : [ 		//Background image
					{ image : '../images/mainPic.jpg' },
		]					
	});

});

	/*
	
	if ( $('body').hasClass('home') ) {

		$(function() {
		    setInterval( "slideSwitch()", 6000 );
		});
		 
		slideSwitch();
		
		//alert('go');
	
	}
	
	else {
	
		//alert('do not go');
		
		return false;
	
	}
	
	*/



/*
function slideSwitch() {

    var $active = $('#slideshow li.active');
    
    if ( $active.length == 0 ) $active = $('#slideshow li:last');
    
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow li:first');
    
    $active.addClass('last-active');
    
    var $title = $("#slideshow li.last-active img").attr("title");
    
    var $link = $("#slideshow li.last-active img").attr("class");
    
    $next.css({opacity: 0})
    	.css({top: 0})
    	.addClass('active');
    	
    $active.animate({top: -80},{queue:false, duration: 7000});
    
    //alert($title);
    
    $("#slideshow .caption").text($title);
    
    $("#slideshow #vig a").attr("href", "/work/#" + $link);
    
    setTimeout(function() {
        $active.fadeTo( 1000, 1 );
        
    },100);
    
    setTimeout(function() {
        $active.fadeTo( 200, 0 );
    },6000);
    
	$active.removeClass('active last-active');
		
}
*/

