/* author: Felicia Betancourt
date: 10.03.2010
file: jq_galleriffic_galleries.js
Place image gallery and slideshow in regular Joomla! content page using a jQuery command
and jQuery plugin Galleriffic.
Stripped of comments to lower file size
*/

$(document).ready(function(){
	
// 2010 Annual Meeting galleries   	
	if(document.getElementById("2010AM")) 
		{var gallery = $('#thumbs').galleriffic({
        delay:                     3000, 
        numThumbs:                 25, 
        preloadAhead:              25, 
        enableTopPager:            false,
        enableBottomPager:         true,
        maxPagesToShow:            7,  
        imageContainerSel:         'div#galf_slideshow', 
        controlsContainerSel:      'div#galf_controls', 
        captionContainerSel:       'div#galf_caption', 
        loadingContainerSel:       'div#galf_loading',
        renderSSControls:          true, 
        renderNavControls:         true, 
        playLinkText:              'Play',
        pauseLinkText:             'Pause',
        prevLinkText:              'Previous',
        nextLinkText:              'Next',
        nextPageLinkText:          'Next &rsaquo;',
        prevPageLinkText:          '&lsaquo; Prev',
        enableHistory:             false, 
        enableKeyboardNavigation:  true, 
        autoStart:                 false, 
        syncTransitions:           false, 
        defaultTransitionDuration: 1000, 
        onSlideChange:             undefined, 
        onTransitionOut:           undefined, 
        onTransitionIn:            undefined, 
        onPageTransitionOut:       undefined, 
        onPageTransitionIn:        undefined, 
        onImageAdded:              undefined, 
        onImageRemoved:            undefined  
    });}
	
 });
