			$(document).ready(function(){
				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
				//Vertical Sliding
				$('.boxgrid.slidedown').hover(function(){
					$(".cover", this).stop().animate({top:'-260px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
				});
				//Horizontal Sliding
				$('.boxgrid.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});
                    //Horizontal Sliding - PISIKAST
				$('.pisikast.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'240px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});
//Horizontal Sliding - PISIKAST >> LEFT
				$('.pisikast.slideleft').hover(function(){
					$(".cover", this).stop().animate({left:'-240px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});

		//Horizontal Sliding - ASUKOHT
				$('.asukoht.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'510px'},{queue:false,duration:200});
				}, function() {
					$(".cover", this).stop().animate({left:'248px'},{queue:false,duration:200});
				});
				//Diagnal Sliding , oli top = 260, left 325 liikumise ulatus
				$('.boxgrid.thecombo').hover(function(){
					$(".cover", this).stop().animate({top:'180px', left:'240px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
				});
                    //Diagnal Sliding  -paremale, oli top - 260, left 325
				$('.boxgrid.thecombo2').hover(function(){
					$(".cover", this).stop().animate({top:'180px', left:'-240px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
				});
				//Partial Sliding (Only show some of background)
				$('.boxgrid.peek').hover(function(){
					$(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
				});
				//Full Caption Sliding (Hidden to Visible)
				$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'260px'},{queue:false,duration:160});
				});
				//Caption Sliding (Partially Hidden to Visible)
				$('.boxgrid.caption').hover(function(){
					$(".cover", this).stop().animate({top:'64px'},{queue:false,duration:190});
				}, function() {
					$(".cover", this).stop().animate({top:'132px'},{queue:false,duration:190});
				});
                    //Caption Sliding (Partially Hidden to Visible)
				$('.juubel.caption').hover(function(){
					$(".cover", this).stop().animate({top:'-74px'},{queue:false,duration:490});
				}, function() {
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:590});
				});
			});

