
			$(document).ready(function() {
				
				$('#like').hide();
				
				$('.menu_item').css("top", "-900px");
								
				$('#menu_item_4').animate({
					top: '+=900'
				}, 1900, 'swing');
				
				$('#menu_item_3').animate({
					top: '+=900'
				}, 2100, 'swing');
				
				$('#menu_item_2').animate({
					top: '+=900'
				}, 2300, 'swing');
				
				$('#menu_item_1').animate({
					top: '+=900'
				}, 2500, 'swing');
			
			
				$('.inner_content').hide();
				
				
				//setTimeout("$('#menu_item_1').next().slideDown(800)",2600);				
				setTimeout("$('#like').fadeIn(500)",3000);
				setTimeout("$('#news').slideDown(500)",2500);
				
					
				var menu_bar = $('.menu_item');
				
				menu_bar.hover(
					function() {
						$(this).css("background-color", "#7b7c7b");
					},
					
					function() {
						$(this).css("background-color", "");
				});
				
				menu_bar.click(function() {
					var display_style = $(this).next().css("display");
					
					if (display_style == "block"){
						$(this).next().slideUp(300)
						$('#news').slideDown(300);
					}
					
					else{
						$('.inner_content').slideUp(300);
						$(this).next().slideDown(300);
						$('#news').slideUp(300);
						$('#sm_slider').animate({
							bottom: '-280px'
						}, 600, 'swing');
					}
				});
				
				var social_slider = $('#sm_slider');
				
				social_slider.click(function() {
					
				if (!social_slider.hasClass("open")){
					$(this).animate({
					bottom: '+=275'
					}, 600, 'swing');
					social_slider.addClass("open");
				}				
				else{
					$(this).animate({
					bottom: '-280px'
					}, 600, 'swing');
					social_slider.removeClass("open");
				}
				});	
				
				$(".fancy").fancybox({
					'width'				: '90%',
					'height'			: '95%',
					'autoScale'			: false,
					'transitionIn'		: 'fade',
					'transitionOut'		: 'fade',
					'type'				: 'iframe'
				});
				
				$(".instagram").fancybox({
					'autoDimension'		: false,
					'autoScale'			: false,
					'width'				: 618,
					'height'			: 618,
					'titleShow'			: true,
					'transitionIn'		: 'fade',
					'transitionOut'		: 'fade',
					'type'				: 'iframe'
				});
		});
			
