$(function(){
	$('.slide-out-div').css("display","block");
	$('.slide-out-div').tabSlideOut({
            tabHandle: '.handle',                     //class of the element that will become your tab
            pathToTabImage: '/images/social.gif',     //path to the image for the tab //Optionally can be set using css
            imageHeight: '89px',                     //height of tab image           //Optionally can be set using css
            imageWidth: '36px',                       //width of tab image            //Optionally can be set using css
            tabLocation: 'left',                      //side of screen where tab lives, top, right, bottom, or left
            speed: 300,                               //speed of animation
            action: 'hover',                          //options: 'click' or 'hover', action to trigger animation
            topPos: '0px',                          //position from the top/ use if tabLocation is left or right
           // leftPos: '20px',                          //position from left/ use if tabLocation is bottom or top
            fixedPosition: true                      //options: true makes it stick(fixed position) on scroll
        });
});


$(document).ready(function() {

//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
//Caption Sliding (Partially Hidden to Visible)
$('.boxgrid.caption').hover(function(){ 
	$("#cover", this).stop().animate({top:'0px',right:'0px'},{queue:false,duration:160});
	}, function() {
		//$("#cover", this).stop().animate({top:'129px',right:'0px'},{queue:false,duration:160});
});

$("a[rel='group']").colorbox();
$(".single").colorbox();
$(".colorbox").colorbox({width:500});
$('#floater').aqFloater({attach: 'se', duration: 0, offsetX: 10, offsetY: 10});

$('#pane1').height(331);
$('#pane1').jScrollPane({scrollbarWidth:12, scrollbarMargin:15, wheelSpeed:30, reinitialiseOnImageLoad:true});

});


