// JavaScript Document


$(document).ready(function(){


if ((screen.width<1920) && (screen.height<1200)) {
window.resizeTo(screen.width, screen.height);
$('#header').css('width','1480px');

}



else  {
window.resizeTo(1920, 1200);
$('#header').css('width','1480px');
}

$('#infoPanel').hide();

});


//hide show toggle
	$(document).ready(function(){
	$("#showHide").click(function(){	
	
	$(".shownav").toggleClass("hidenav");
	
	//toggle the text
	$("#status").text($("#status").text() == 'show' ? 'hide' : 'show');
	
	
	$("#menu").slideToggle(500);

	});
	});
	
	

//hide show toggle
	$(document).ready(function(){
	//$("#prevNextContainer").hide();
	
	$(".projectTitle").click(function(){	
	
	$("#prevNextContainer").slideDown(400);
	
	});

	
	});
    
    
    
    $(document).ready(function(){
		
	 $('.movie').live('click', function() { 
                Shadowbox.open(this); 
                return false; 
        });
	
	
	
	});

	    
    $(document).ready(function(){
		
	 $('#title').click(function() { 
	window.open('index.html','_self')
               
        });
	
	
	
	});
	
	
	 
    $(document).ready(function(){
		
	 $('.menuItemContainer').live('click', function() { 
              $("#menu").slideUp(400);
			  $("#status").text($("#status").text() == 'show' ? 'hide' : 'show');
        });
	
	
	
	});
