    
    // Load slideout div //
		
    $(function(){
        $('.slide-out-div').tabSlideOut({
            tabHandle: '.handle',                     //class of the element that will become your tab
            pathToTabImage: '/images/layout/contact_tab.gif', //path to the image for the tab //Optionally can be set using css
            imageHeight: '122px',                     //height of tab image           //Optionally can be set using css
            imageWidth: '40px',                       //width of tab image            //Optionally can be set using css
            tabLocation: 'left',                      //side of screen where tab lives, top, right, bottom, or left
            speed: 50,                               //speed of animation
            action: 'click',                          //options: 'click' or 'hover', action to trigger animation
            topPos: '402px',                          //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
        });

    });

// Set pause for bigslider //
		
		var custompause;
		custompause = 5000;
		
			function increaseSpeed(pause)
			{
				custompause = 10000-pause;
				
			}
		
		var initial = {
				auto: true, 
				continuous: true,
				numeric: true,
				speed: 1000,
				pause: custompause
			};
		
		$(document).ready(function()
			{	
				$("#slider").easySlider(initial);
		});	

// Set slidercontrol //

/*	$(function() {
		$("#sliderc").slider({
			value:custompause,
			min: 1000,
			max: 10000,
			step: 2000,
			slide: function(event, ui) {
				$("#amount").val('$' + ui.value);
				increaseSpeed(ui.value);
								
			}
		});
		$("#amount").val('$' + $("#sliderc").slider("value"));
	});*/
