$.backstretch("http://www.nlguk.de/images/backgrounds/rotate.php");


$(document).ready(function(){

	$(function() {
		$('.scrollable').jScrollPane({showArrows:true});
	});


/*************************
	Navigation
*************************/


	/*$("li.navi").mouseover(function () {
		$(this).css({'background-color' : '#bfae51','color' : 'white'});
	});
	
	$("li.navi").mouseout(function () {
		$("li#nav_1").css({'background-color' : '#e3e4e5','color' : '#707173'});
		$("li#nav_2").css({'background-color' : '#ebebec','color' : '#707173'});
		$("li#nav_3").css({'background-color' : '#f0f1f1','color' : '#707173'});
		$("li#nav_4").css({'background-color' : '#f6f6f6','color' : '#707173'});
	});*/



/*************************
	Formular
*************************/
	
	$("input.submit").mouseover(function () {
		$(this).animate( { backgroundColor: 'yellow' }, 300);
	});
	
	$("input.submit").mouseout(function () {
		$(this).animate( { backgroundColor: 'lightyellow' }, 300);
	});
	
	$("input.searchsubmit").mouseover(function () {
		$(this).animate( { backgroundColor: 'yellow' }, 300);
	});
	
	$("input.searchsubmit").mouseout(function () {
		$(this).animate( { backgroundColor: 'lightyellow' }, 300);
	});

	$(".blog-navigation a").mouseover(function () {
		$(this).animate( { backgroundColor: 'yellow' }, 300);
	});
	
	$(".blog-navigation a").mouseout(function () {
		$(this).animate( { backgroundColor: 'lightyellow' }, 300);
	});

/*************************
	Blog Teaser
*************************/

	$(".sidebar-header").mouseover(function () {
		$(this).animate( { backgroundColor: 'yellow' }, 300);
	});

	$(".sidebar-header").mouseout(function () {
		$(this).animate( { backgroundColor: 'lightyellow' }, 300);
	});

/*************************
	Referenzen items
*************************/

	$("div#item_1").mouseover(function () {
		$("div#info_1").show();
	});
	
	$("div#item_2").mouseover(function () {
		$("div#info_2").show();
	});
	
	$("div#item_3").mouseover(function () {
		$("div#info_3").show();
	});
	
	$("div#item_4").mouseover(function () {
		$("div#info_4").show();
	});
	
	$("div#item_5").mouseover(function () {
		$("div#info_5").show();
	});
	
	$("div#item_6").mouseover(function () {
		$("div#info_6").show();
	});
	
	$("div#item_7").mouseover(function () {
		$("div#info_7").show();
	});
	
	$("div#item_8").mouseover(function () {
		$("div#info_8").show();
	});
	
	$("div#item_9").mouseover(function () {
		$("div#info_9").show();
	});
	
	$("div#item_10").mouseover(function () {
		$("div#info_10").show();
	});
	
	$("div#item_11").mouseover(function () {
		$("div#info_11").show();
	});
	
	$("div#item_12").mouseover(function () {
		$("div#info_12").show();
	});
	
	$("div#item_13").mouseover(function () {
		$("div#info_13").show();
	});
	
	$("div#item_14").mouseover(function () {
		$("div#info_14").show();
	});
	
	$("div#item_15").mouseover(function () {
		$("div#info_15").show();
	});
	
	$("div#item_16").mouseover(function () {
		$("div#info_16").show();
	});
	
	
	$("div#item_1").mouseout(function () {
		$("div#info_1").hide();
	});
	
	$("div#item_2").mouseout(function () {
		$("div#info_2").hide();
	});
	
	$("div#item_3").mouseout(function () {
		$("div#info_3").hide();
	});
	
	$("div#item_4").mouseout(function () {
		$("div#info_4").hide();
	});
	
	$("div#item_5").mouseout(function () {
		$("div#info_5").hide();
	});
	
	$("div#item_6").mouseout(function () {
		$("div#info_6").hide();
	});
	
	$("div#item_7").mouseout(function () {
		$("div#info_7").hide();
	});
	
	$("div#item_8").mouseout(function () {
		$("div#info_8").hide();
	});
	
	$("div#item_9").mouseout(function () {
		$("div#info_9").hide();
	});
	
	$("div#item_10").mouseout(function () {
		$("div#info_10").hide();
	});
	
	$("div#item_11").mouseout(function () {
		$("div#info_11").hide();
	});
	
	$("div#item_12").mouseout(function () {
		$("div#info_12").hide();
	});
	
	$("div#item_13").mouseout(function () {
		$("div#info_13").hide();
	});
	
	$("div#item_14").mouseout(function () {
		$("div#info_14").hide();
	});
	
	$("div#item_15").mouseout(function () {
		$("div#info_15").hide();
	});
	
	$("div#item_16").mouseout(function () {
		$("div#info_16").hide();
	});
});
