

var shadowDescHash = {
    'shadow_shadow1' : "The Shadow Project<br>2007<br>250x275cm",
    'shadow_shadow2' : "The Shadow Project<br>Utsnitt",
    'shadow_shadow3' : "The Shadow Project<br>Arena Vestfossen<br>2008",
    'shadow_shadow4' : "The Shadow Project<br>Utsnitt",
    'shadow_shadow5' : "The Shadow Project<br>Tr&oslash;ndelagsutstillingen<br>2008",
    /*'shadow_shadow6' : "The Shadow Project<br>Detail",*/
    'confession1' : "Confession<br>2007<br>85x165x7cm",
    'confession2' : "Confession<br>Utsnitt",
    'shadow_host1' : "The Host<br>2008<br>120x85x7cm",
    'shadow_host2' : "The Host II<br>2008<br>28x200x7cm",
    'shadow_dream1' : "Shadow of a Dream<br>2008",
    'shadow_dream2' : "Shadow of a Dream<br>Utsnitt"
};
var shadowDescDiv = 'works_sub_title';


function loadShadowProject() {
    $('#artworks_area').empty().load("_artworks_submenu_template_shadow.html", null,
        function() {
            makeRowCallbackMenu('works_level2_icons',
                ['shadow_shadow1',
                    'confession1',
                    'shadow_host1',
                    'shadow_dream1'],
                ['The Shadow Project', 'Confession', 'The Host', 'Shadow of a Dream'],
                s2,
                740);
            $('#works_sub_text_shadow').load("_artworks_shadow_text.html");
        });
}

function shadowClearAll() {
    $('#works_sub_title').empty();
    $('#works_level3_icons_right').empty();
    //$('#works_sub_text').empty();
    $('#works_level3_icons_column').empty();
}

var s2 = {
    'shadow_shadow1' : function(event) {
        shadowClearAll();
        makeColumnPicMenu(
            "works_level3_icons_column",
            "works_sub_img",
            ['shadow_shadow1',
                'shadow_shadow2',
                'shadow_shadow3',
                'shadow_shadow4',
                'shadow_shadow5'],
                /*'shadow_shadow6'],*/
            50, 240, shadowDescHash, shadowDescDiv );
    },
    'confession1' : function(event) {
        shadowClearAll();
        makeRowPicSwitch("works_sub_img", 'works_level3_icons_right',
            ['confession1', 'confession2'], null, shadowDescHash, shadowDescDiv);
    },
    'shadow_host1' : function(event) {
        shadowClearAll();
        makeRowPicSwitch("works_sub_img", 'works_level3_icons_right',
            ['shadow_host1', 'shadow_host2'], null, shadowDescHash, shadowDescDiv);
    },
    'shadow_dream1' : function(event) {
        shadowClearAll();
        makeRowPicSwitch("works_sub_img", 'works_level3_icons_right',
            ['shadow_dream1', 'shadow_dream2'], null, shadowDescHash, shadowDescDiv);
    }
}



