$(document).ready(function(){
//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
//Vertical Sliding
//Caption Sliding (Partially Hidden to Visible)


$("#nav_bottom", this).css("bottom","-85px");
$(".csc-textpic-imagerow", this).css("width","930px");
//$('#nav_bottom').hide().slideDown('slow');


//$("img.csc-textpic").colorbox({width:"80%",height:"80%",iframe:true});

$(function() {
	var open = false;
	$('#nav_bottom').hover(function() {
		if(open === false) {
			$('#nav_bottom').animate({ bottom: '0px' });
			$(this).css('backgroundPosition', 'bottom left');
			open = true;
		} else {
			$('#nav_bottom').animate({ bottom: '-85px' });
			$(this).css('backgroundPosition', 'top left');
			open = false;
		}
	});
});




$(".cover", this).css("top","149px");

$('.boxgrid.caption').hover(function(){
$(".cover", this).stop().animate({top:'50px'},{queue:false,duration:160});
}, 
function() {
$(".cover", this).stop().animate({top:'149px'},{queue:false,duration:160});
});
});






