/* This file is required to run the demos on the "Work" section */

function setupDemos() {

    Shadowbox.setup("a.gallery", {
      continuous: true,
      counterType:  "skip",
      handleOversize: "resize",
      modal: false,
      slideshowDelay: 5
    });
    Shadowbox.setup(".web1", {
      gallery: "web1",
      slideshowDelay: 5
    });
    Shadowbox.setup(".web2", {
      gallery: "web2",
      slideshowDelay: 5
    });
    Shadowbox.setup(".web3", {
      gallery: "web3",
      slideshowDelay: 5
    });
    Shadowbox.setup(".web4", {
      gallery: "gq",
      slideshowDelay: 5
    });
    
    Shadowbox.setup(".print1", {
      gallery: "print1",
      slideshowDelay: 5
    });
    Shadowbox.setup(".print2", {
      gallery: "print2",
      slideshowDelay: 5
    });
    Shadowbox.setup(".print3", {
      gallery: "print3",
      slideshowDelay: 5
    });
    Shadowbox.setup(".print4", {
      gallery: "print4",
      slideshowDelay: 5
    });
    
    Shadowbox.setup(".ident1", {
      gallery: "ident1",
      slideshowDelay: 5
    });
    Shadowbox.setup(".ident2", {
      gallery: "ident2",
      slideshowDelay: 5
    });
    Shadowbox.setup(".ident3", {
      gallery: "ident3",
      slideshowDelay: 5
    });
    Shadowbox.setup(".ident4", {
      gallery: "ident4",
      slideshowDelay: 5
    });
    
    Shadowbox.setup(".motion1", {
      gallery: "motion1",
      slideshowDelay: 5
    });
    Shadowbox.setup(".motion2", {
      gallery: "motion2",
      slideshowDelay: 5
    });
    Shadowbox.setup(".motion3", {
      gallery: "motion3",
      slideshowDelay: 5
    });
    Shadowbox.setup(".motion4", {
      gallery: "motion4",
      slideshowDelay: 5
    });
    Shadowbox.setup(".home-intro", {
      gallery: "home-intro",
      handleOversize: "resize",
      overlayColor: "#000000"
    });
    
/* Example options */   
/*
    Shadowbox.setup("a.swf-gallery", {
        gallery:    "swf",
        continuous: true
    });

    Shadowbox.setup('a[title="Sweetness"]', {
        width: 512,
        height: 322,
        flashVars: {
            id:         "v2155043",
            vid:        "2021599",
            autoPlay:   1
        },
        flashParams: {
            AllowScriptAccess: "always",
            allowFullScreen: "true"
        }
    });

    Shadowbox.setup('a[title="The Last Eggtion Hero"]', {
        height:     360,
        width:      640,
        flashVars:  {
            clip_id:    "1893986",
            autoplay:   "1"
        }
    });

    Shadowbox.setup('a[title="While My Ukulele Gently Weeps"]', {
        height:     327,
        width:      400,
        flashVars:  {
            docid:    "1352016870638076087",
            autoplay: "1"
        }
    });

    Shadowbox.setup('a[title="Altaic Warrior - Clipped"]', {
        handleOversize: "none"
    });

    Shadowbox.setup('a[title="Altaic Warrior - Draggable"]', {
        handleOversize: "drag"
    });
*/
}
