$(document).ready( function() {

	$('.slide-out-div').tabSlideOut({
		tabHandle: '.handle',                     //class of the element that will become your tab
		pathToTabImage: '/img/soundcloud_icon.png', //path to the image for the tab //Optionally can be set using css
		imageHeight: '50px',                     //height of tab image           //Optionally can be set using css
		imageWidth: '75px',                       //width of tab image            //Optionally can be set using css
		tabLocation: 'bottom',                      //side of screen where tab lives, top, right, bottom, or left
		speed: 200,                               //speed of animation
		action: 'click',                          //options: 'click' or 'hover', action to trigger animation
		topPos: '350px',                          //position from the top/ use if tabLocation is left or right
		leftPos: '10px',                          //position from left/ use if tabLocation is bottom or top
		fixedPosition: true                      //options: true makes it stick(fixed position) on scroll
	});
	
	$('.slide-out-newsletter').tabSlideOut({
		tabHandle: '.handle_news',                     //class of the element that will become your tab
		pathToTabImage: '/img/newsletter_mini_no.png', //path to the image for the tab //Optionally can be set using css
		imageHeight: '70px',                     //height of tab image           //Optionally can be set using css
		imageWidth: '93px',                       //width of tab image            //Optionally can be set using css
		tabLocation: 'right',                      //side of screen where tab lives, top, right, bottom, or left
		speed: 200,                               //speed of animation
		action: 'click',                          //options: 'click' or 'hover', action to trigger animation
		topPos: '10px',                          //position from the top/ use if tabLocation is left or right
		leftPos: '10px',                          //position from left/ use if tabLocation is bottom or top
		fixedPosition: true                      //options: true makes it stick(fixed position) on scroll
	});
});
