// JavaScript Document

// You need to specify the size of your background image here (could be done automatically by some PHP code)
		var FullscreenrOptions = {  width: 2500, height: 1600, bgID: '#bgimg' };
		// This will activate the full screen background!
		jQuery.fn.fullscreenr(FullscreenrOptions);

		if (navigator && navigator.platform && navigator.platform.match(/^(iPad|iPod|iPhone)$/)) {
			// If iphone/ipad lets turn off the fullscreen options
					
		} else {
			$(document).ready(function(){
				
				$("#wrapper").css("height","100%");
				
				// Set the Navigation height to be the height of the window
				$("#navigation-panel").height($(window).height());	
				
				// As the window size changes adjust the height of the navigation
				$(window).resize(function() {
					$("#navigation-panel").height($(window).height());
				});			
							
			});
		
		}
		
		$(document).ready(function(){
			$(".nav").fadeIn("slow");
			$(".twitternav").fadeIn("slow");	
		});
		
		/*$(document).ready(function(){
			
			
			
			var navposition = "closed";
					$("#nav-link").click(function(){
							if (navposition == "closed"){
								$("#navigation-panel").animate({"left": "+=150px"}, "fast");
								$(".nav").fadeIn("slow");
								$(".twitternav").fadeIn("slow");
								$("#nav-link-image").rotate({animateTo:180});
								navposition = "open";
							} else { 
								$("#navigation-panel").animate({"left": "-=150px"}, "fast");
								navposition = "closed";
								
								$(".nav").fadeOut("slow");
								$(".twitternav").fadeOut("slow");
								$("#nav-link-image").rotate({animateTo:0});
							}
						});
		});	*/	
      Cufon.replace('h1', { fontFamily: 'PT Sans Narrow' });
	  Cufon.replace('h2', { fontFamily: 'PT Sans Italic' });
	  Cufon.replace('h3', { fontFamily: 'PT Sans Italic' });
	  Cufon.replace('h4', { fontFamily: 'PT Sans Narrow' });
	  Cufon.replace('h5', { fontFamily: 'PT Sans Narrow' });
	  Cufon.replace('h6', { fontFamily: 'PT Sans Italic' });
	  Cufon.replace('.promo', { fontFamily: 'PT Sans Narrow' });
