
     jQuery(function(){
          // Navigation JS
          $('body div#canvas div#nav ul#menu').superfish();
          
          // Image Gallery?
          $('body#artwork div#twdcontainer a').lightBox({
              imageLoading: '/images/lightbox-ico-loading.gif',
  		      imageBtnPrev:	'/images/lightbox-btn-prev.gif',
			  imageBtnNext:	'/images/lightbox-btn-next.gif',
              imageBtnClose: '/images/lightbox-btn-close.gif',
	          imageBlank: '/images/lightbox-blank.gif'
          });
          
          // Setup animation rollovers
          $('body#animation table tr td a').hover(function() {
              var c = $(this).children('img');
              c.attr('src', c.attr('src').replace(/.jpg/, '-hover.jpg'));
            }, function() {
              var c = $(this).children('img');
              c.attr('src', c.attr('src').replace(/-hover/, ''));
          });

          // Setup unique center rollovers for artwork page
          $('body#artwork div#content div#art-hovers div#twodlink a').hover(function() {
              // onmouseover
              $(this).children('img.showme').fadeOut(300);
              $(this).children('img.nocss').fadeIn(300);
              $('div#art-center img').fadeOut(150);
              $('img#twdhover').fadeIn(150);
            }, function() {
              // onmouseout
              $(this).children('img.showme').fadeIn(500);
              $(this).children('img.nocss').fadeOut(500);
              $('div#art-center img').fadeOut(150);
              $('img#nohover').fadeIn(150);
          });

          // Setup unique center rollovers for artwork page
          $('body#artwork div#content div#art-hovers div#threedlink a').hover(function() {
              // onmouseover
              $(this).children('img.showme').fadeOut(300);
              $(this).children('img.nocss').fadeIn(300);
              $('div#art-center img').fadeOut(150);
              $('img#thdhover').fadeIn(150);
            }, function() {
              // onmouseout
              $(this).children('img.showme').fadeIn(500);
              $(this).children('img.nocss').fadeOut(500);
              $('div#art-center img').fadeOut(150);
              $('img#nohover').fadeIn(150);
          });

      });
      