var createMenu = function() {
    var menuItem = $('ul.menu li a').click(function () {
        $("ul.menu li a.selected-menu-item").removeClass("selected-menu-item");
        $(this).addClass('selected-menu-item');
    });

    var menuItem = $('#menu-item-home').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_03.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false)
            $(this).attr('src', '/img/header_black_03.gif');
        }
    );
    
    var menuItem = $('#menu-item-work').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_05.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_black_05.gif');
        }
    );
    
    var menuItem = $('#menu-item-artist').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_07.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_black_07.gif');
        }
    );
    
    var menuItem = $('#menu-item-news').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_09.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_black_09.gif');
        }
    );
    
    var menuItem = $('#menu-item-video').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_11.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_black_11.gif');
        }
    );
    
    var menuItem = $('#menu-item-contact').find('img').hover(
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_13.gif');
        }, 
        function () {
        if ( $(this).parent().hasClass('selected-menu-item') == false )
            $(this).attr('src', '/img/header_black_13.gif');
        }
    );

    $(".location").fancybox({
        'autoScale'     : false,
        'transitionIn'  : 'none',
        'transitionOut' : 'none',
        'type'          : 'iframe',
        'showNavArrows' : false
    });
}

