jQuery(document).ready(function() {
    // initialize carousel
    $("#carousel").simplecarousel({
        next: $('.next'),
        prev: $('.prev'),
        slidespeed: 700,
        auto: 5000,
        width: 166,
        height: 104,
		fade: 400
    });


	// initialize feedback
	$('.slide-out-div').tabSlideOut({
	    tabHandle: '.handle',					//class of the element that will be your tab
	    pathToTabImage: 'u/contact_tab.gif',	//path to the image for the tab *required*
	    imageHeight: '30px',					//height of tab image *required*
	    imageWidth: '120px',						//width of tab image *required*    
	    tabLocation: 'top',					//side of screen where tab lives, top, right, bottom, or left
	    speed: 300,								//speed of animation
	    action: 'click',						//options: 'click' or 'hover', action to trigger animation
	    topPos: '20px',						//position from the top
	    leftPos: '0',						//position from left/ use if tabLocation is bottom or top
	    fixedPosition: true						//options: true makes it stick(fixed position) on scroll
	});
});
