<script type="text/javascript">
$(document).ready(function(){
//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
//Vertical Sliding
$('.semi-wide-box.slidedown').hover(function(){
$(".cover", this).stop().animate({top:'-80px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
});
//Horizontal Sliding
$('.box.slideright').hover(function(){
$(".cover", this).stop().animate({left:'210px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
});
//Vertical Sliding2
$('.semi-box-top.slidedown').hover(function(){
$(".cover", this).stop().animate({top:'-95px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
});
//Vertical Sliding2
$('.semi-box-bottom.slidedown').hover(function(){
$(".cover", this).stop().animate({top:'-95px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
});
//Vertical Sliding3
$('.small-ad.slidedown').hover(function(){
$(".cover", this).stop().animate({top:'-60px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
});
//Vertical Sliding3
$('.big-ad.slidedown').hover(function(){
$(".cover", this).stop().animate({top:'-60px'},{queue:false,duration:300});
}, function() {
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
});
//Full Caption Sliding (Hidden to Visible)
$('.wide-box.captionfull').hover(function(){
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
}, function() {
$(".cover", this).stop().animate({top:'130px'},{queue:false,duration:160});
});
//Caption Sliding (Partially Hidden to Visible)
$('.boxgrid.caption').hover(function(){
$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
}, function() {
$(".cover", this).stop().animate({top:'220px'},{queue:false,duration:160});
});
});
</script>