
/**
 * Note: The functions contained in this file are for demonstration purposes
 * only and are not necessary in your own project.
 */

function initDemos(){
    // setup flash gallery demo, use a css selector
    Shadowbox.setup('a.flash-gallery', {
        gallery:        'Flash',
        continuous:     true,
        counterType:    'skip',
        animSequence:   'sync'
    });

    Shadowbox.setup('a.crematorium', {
        gallery: 'Flash',
        continuous: true,
        counterType: 'skip',
        animSequence: 'sync'
    });

    Shadowbox.setup('a.ruler_swf_gallery', {
        gallery: 'Flash',
        continuous: true,
        counterType: 'skip',
        animSequence: 'sync',
        overlayColor: '#333333',
        overlayOpacity: 0.8
    });

    Shadowbox.setup('a.works_swf_gallery', {
        gallery: 'Flash',
        continuous: true,
        counterType: 'skip',
        animSequence: 'sync',
        overlayColor: '#333333',
        overlayOpacity: 0.8
    });

    // setup image map demo
    //Shadowbox.setup(document.getElementById('hongkongmap').getElementsByTagName('area'));

}


window.onload = initDemos;

