// JavaScript Document
// DOM Ready
        $(function(){
            $('#slider').anythingSlider({
                // *********** Appearance ***********
                // Override the default CSS width
                width: 950,
                // Override the default CSS height
                height: 215,
                // If true, solitary images/objects in the panel will expand to fit the viewport
                resizeContents: false, // default is true
                // Class added to navigation & start/stop button (text copied to title if it is hidden by a negative text indent)
                tooltipClass: 'tooltip',
                // Theme name; choose from: minimalist-round, minimalist-square, metallic, construction, cs-portfolio
                theme: 'minimalist-square',
                // Theme directory & filename {themeName} is replaced by the theme value above   
                themeDirectory: 'slider/css/theme-{themeName}.css',
				    // *********** Navigation ***********
				// This sets the initial panel
				startPanel: 1,
				// Should links change the hashtag in the URL?
				hashTags: false, // default is true
				// if false, the slider will not wrap
				infiniteSlides: true,
				// if false, keyboard arrow keys will not work for the current panel.
				enableKeyboard: true,
				// If true, builds the forwards and backwards buttons
				buildArrows: true, // default is true
				// If true, side navigation arrows will slide out on hovering & hide @ other times
				toggleArrows: true, // default is false
				// If true, builds a list of anchor links to link to each panel
				buildNavigation: true,
				// if false, navigation links will still be visible, but not clickable.
				enableNavigation: true,
				// if true, slide in controls (navigation + play/stop button) on hover and slide change, hide @ other times
				toggleControls: false, // default is false
				// A HTML element (jQuery Object, selector or HTMLNode) to which the controls will be appended if not null
				appendControlsTo: null,
				// Details at the top of the file on this use (advanced use)
				navigationFormatter: null,
				// Link text used to move the slider forward (hidden by CSS, replaced with arrow image)
				forwardText: "&raquo;",
				// Link text used to move the slider back (hidden by CSS, replace with arrow image)
				backText: "&laquo;",
			
				// *********** Slideshow options ***********
				// if false, the play/stop button will still be visible, but not clickable.
				enablePlay: true,
				// This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
				autoPlay: true,
				// If true, user changing slides will not stop the slideshow
				autoPlayLocked: false,
				// If autoPlay is on, this can force it to start stopped
				startStopped: false,
				// If true & the slideshow is active, the slideshow will pause on hover
				pauseOnHover: true,
				// If true & the slideshow is active & a  youtube video is playing, it will pause the autoplay until the video is  complete
				resumeOnVideoEnd: true,
				// If true & the slideshow is active, the  slideshow will stop on the last page. This also stops the rewind effect  when infiniteSlides is false.
				stopAtEnd: false,
				// If true, the slideshow will move right-to-left
				playRtl: false,
				// Start button text
				startText: "Start",
				// Stop button text
				stopText: "Stop",
				// How long between slideshow transitions in AutoPlay mode (in milliseconds)
				delay: 8000,
				// Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				resumeDelay: 15000,
				// How long the slideshow transition takes (in milliseconds)
				animationTime: 600,
				// Anything other than "linear" or "swing" requires the easing plugin
				easing: "swing",
			
				// *********** Callbacks ***********
				// Callback before the plugin initializes
				onBeforeInitialize: function() {},
				// Callback when the plugin finished initializing
				onInitialized: function() {},
				// Callback on slideshow start
				onShowStart: function() {},
				// Callback after slideshow stops
				onShowStop: function() {},
				// Callback when slideshow pauses
				onShowPause: function() {},
				// Callback when slideshow unpauses - may not trigger properly if user clicks on any controls
				onShowUnpause: function() {},
				// Callback when slide initiates, before control animation
				onSlideInit: function() {},
				// Callback before slide animates
				onSlideBegin: function() {},
				// Callback when slide completes
				onSlideComplete: function() {},
			
				// *********** Interactivity ***********
				// Event used to activate arrow functionality (e.g. "click" or "mouseenter")
				clickArrows: "click",
				// Events used to activate navigation control functionality
				clickControls: "click focusin",
				// Event used to activate slideshow play/stop button
				clickSlideshow: "click",
			
				// *********** Misc options ***********
				// If your slider has an embedded object, the script will automatically add a wmode parameter with this setting
				addWmodeToObject: "opaque",
				// Max width (in pixels) of combined sliders (side-to-side); set to 32766 to prevent problems with Opera
				maxOverallWidth: 32766
            });
        });
