
$(document).ready(function(){
	$("a.enlarge-image").fancybox({
		hideOnContentClick:	false,
		zoomSpeedIn:		500,
		zoomSpeedOut:		500,
		frameWidth:			600,
		frameHeight:		400,
		overlayShow:		true,
		overlayOpacity:		0.4,
		itemLoadCallback:	null		
	});
	$("a.flash-link").fancybox({
		hideOnContentClick:	false,
		zoomSpeedIn:		500,
		zoomSpeedOut:		500,
		frameWidth:			550,
		frameHeight:		420,
		overlayShow:		true,
		overlayOpacity:		0.4,
		itemLoadCallback:	null		
	});	
	
	$('ul.link-list').not('ul.link-list.short').accordion();
	/*$('a.lightbox').lightBox({
		imageLoading:			'../images/fom/lightbox/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
		imageBtnPrev:			'../images/fom/lightbox/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
		imageBtnNext:			'../images/fom/lightbox/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
		imageBtnClose:			'../images/fom/lightbox/lightbox-btn-close.png',		// (string) Path and the name of the close btn
		imageBlank:				'../images/fom/lightbox/lightbox-blank.gif'			// (string) Path and the name of a blank image (one pixel)		
	});*/
    $('#fom-slider').anythingSlider({
        easing: "swing",        // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: false,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
        delay: 3000,                    // How long between slide transitions in AutoPlay mode
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        animationTime: 600,             // How long the slide transition takes
        hashTags: true,                 // Should links change the hashtag in the URL?
        buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
		startText: "Go",             // Start text
        stopText: "Stop"               // Stop text
    });
});
