//
//  Highslide JS API Reference .. http://highslide.com/ref/
//
    hs.graphicsDir = '/wp-content/plugins/auto-highslide/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.align = 'center';
//    hs.easing = 'easeOutBack';
    hs.expandDuration = 500;
    hs.restoreDuration = 500;
    hs.transitions = ['expand', 'crossfade'];
    hs.transitionDuration = 1000;
    hs.blockRightClick = true;
    hs.showCredits = false;
    hs.outlineWhileAnimating = true;

// German Language strings
    hs.lang = {
        cssDirection:     'ltr',
        loadingText :     'Lade...',
        loadingTitle :    'Klick zum Abbrechen',
        focusTitle :      'Klick um nach vorn zu bringen',
        fullExpandTitle : 'Zur Originalgröße erweitern',
        fullExpandText :  'Vollbild',
        creditsText :     'Powered by <i>Highslide JS</i>',
        creditsTitle :    'Gehe zur Highslide JS Homepage',
        previousText :    'Voriges',
        previousTitle :   'Voriges (Pfeiltaste links)',
        nextText :        'Nächstes',
        nextTitle :       'Nächstes (Pfeiltaste rechts)',
        moveTitle :       'Verschieben',
        moveText :        'Verschieben',
        closeText :       'Schließen',
        closeTitle :      'Schließen (Esc)',
        resizeTitle :     'Größe wiederherstellen',
        playText :        'Abspielen',
        playTitle :       'Slideshow abspielen (Leertaste)',
        pauseText :       'Pause',
        pauseTitle :      'Pausiere Slideshow (Leertaste)',
        number :          'Bild %1 von %2',
        restoreTitle :    'Klick um das Bild zu schließen, Pfeiltasten für vor und zurück.'
    };

// This line will put the title of the pictures (from nextgen) into
// the caption field in highslide.
    hs.captionEval = 'this.thumb.alt';
// First, we need to turn on the number display
    hs.numberPosition = "caption";

// This line dims the area outside the highslide box.
    hs.dimmingOpacity = 0.80;
    hs.dimmingDuration = 200;

// Add the controlbar
    if (hs.addSlideshow) hs.addSlideshow({
        //slideshowGroup: 'group1',
        interval: 5000,
        repeat: true,
        useControls: true,
        fixedControls: true,
        overlayOptions: {
            opacity: .75,
            position: 'bottom center',
            hideOnMouseOut: true
        }
    });

    if (hs.addSlideshow) hs.addSlideshow({
        slideshowGroup: 'amazon',
        useControls: false,
    });
