$(document).ready(function(){
	
	/*
	$(".input_small_left, .input_small_right, .form textarea").hover(function() {
	  $(this).stop().animate({ opacity: "0.5"}, 400);
	}, function() {
	  $(this).stop().animate({ opacity: "1"}, 400);
	});
	
	$("").hover(function() {
	  $(this).stop().animate({ "margin-left": "10px", opacity: "0.5"}, 100);
	}, function() {
	  $(this).stop().animate({ "margin-left": "0px", opacity: "1"}, 100);
	});
	
	$(".menu_element, .table_show_all a, .table_title a").hover(function() {
	  $(this).stop().animate({"padding-left": "3px", opacity: "0.7"}, 200);
	}, function() {
	  $(this).stop().animate({"padding-left": "0px", opacity: "1"}, 400);
	});
	
	$("#flashing_input").css("border", "1px solid red").animate({ "margin-left": "20px" }, 300);
	$("#flashing_input").animate({ "margin-left": "0px" }, 300);
	$("#flashing_input").animate({ "margin-left": "10px" }, 300);
	$("#flashing_input").animate({ "margin-left": "0px" }, 500);
	
	$("#status_symbol").fadeIn(1500);
	*/
	
	/*
	$("#header").hover(function() {
		$(".form-search, .form-search-submit").fadeIn(1500);
		$("#logo img").animate({ "margin-top": "50px" }, 500);
	}, function() {
		$(".form-search, .form-search-submit").fadeOut(1000);
		$("#logo img").animate({ "margin-top": "57px" }, 500);
	});
	*/
	
	/*
	$(".content-picture").hover(function(){
		$(".content-picture-text").fadeIn(100);
		$(".content-picture-text").animate({ "bottom": "50px" }, 300);
	}, function() {
		$(".content-picture-text").fadeOut(1500);
		$(".content-picture-text").animate({ "bottom": "0px" }, 300);
	}); 
	*/
	
	//$(".content-picture").append('<div class="hover"><\\/div>');
	
	$(".content-picture li").append('<p><\/p>');
	
	$(".content-picture li").hover(function(){
		$(this).children('div p').fadeIn('1000');
	}, function() {
		$(this).children('div p').fadeOut('1000');
	});
	
	$(".content-picture li, #footer img, #logo, #post-content img").hover(function(){
		$(this).stop().animate( { opacity: "1" }, 300 );
	}, function() {
		$(this).stop().animate( { opacity: "0.8" }, 300 );
	});
	
	//FADE INDIVIDUELL ANSATT
	
	$('.fadeThis').append('<span class="hover"></span>').each(function () {
		  var $span = $('> span.hover', this).css('opacity', 0);
		  $(this).hover(function () {
		    $span.stop().fadeTo(500, 1);
		  }, function () {
		    $span.stop().fadeTo(500, 0);
		  });
		});
		
	//FADE ANSATT ALLE
	
	$("#content-js-ansatt").hover(function(){
		$(this).stop().animate( { opacity: "0.9" }, 300 );
	}, function() {
		$(this).stop().animate( { opacity: "1" }, 300 );
	})
	
	$(".ansatt-block").hover(function(){
		$(this).stop().animate( { opacity: "1" }, 300 );
	}, function() {
		$(this).stop().animate( { opacity: "0" }, 300 );
	});	
	
	// MENY
	
	/* $(".menu_element").click(function() { 
		$(this).stop().animate( { "height": "100px" }, 700 );
		$("#feature").css( { "display": "block" } );
		var clicked = yes;
	}); */

});
