			// Artwork Gallery Controls...
			
			jQuery(document).ready(function($) {
				var onMouseOutOpacity = 1.0;
				$('#thumbs ul.thumbs li').opacityrollover({
					mouseOutOpacity:   onMouseOutOpacity,
					mouseOverOpacity:  1.0,
					fadeSpeed:         'fast',
					exemptionSelector: '.selected'
				});
				var gallery = $('#thumbs').galleriffic({
					delay:                     2000,
					numThumbs:                 30,
					preloadAhead:              30,
					enableTopPager:            false,
					enableBottomPager:         true,
					maxPagesToShow:            4,
					imageContainerSel:         '#slideshow',
					controlsContainerSel:      '#controls',
					captionContainerSel:       '#caption',
					loadingContainerSel:       '#loading',
					renderSSControls:          true,
					renderNavControls:         true,
					playLinkText:              'Play slideshow',
					pauseLinkText:             'Pause slideshow',
					prevLinkText:              '',
					nextLinkText:              '',
					nextPageLinkText:          '&rarr;',
					prevPageLinkText:          '&larr;',
					enableHistory:             false,
					autoStart:                 false,
					syncTransitions:           true,
					defaultTransitionDuration: 200,
					onSlideChangeOut:             function(prevIndex) {
						this.find('ul.thumbs').children()
							.eq(prevIndex).fadeTo('fast', onMouseOutOpacity);
					},
					onSlideChangeIn:              function(nextIndex) {
						this.find('ul.thumbs').children()
							.eq(nextIndex).fadeTo('fast', 1.0);
					},
					onPageTransitionOut:       function(callback) {
						this.fadeTo('fast', 0.0, callback);
					},
					onPageTransitionIn:        function() {
						this.fadeTo('fast', 1.0);
					}
				});
				function pageload(hash) {
					if(hash) {
						$.galleriffic.gotoImage(hash);
					} else {
						gallery.gotoIndex(0);
					}
				}
				
				$.history.init(pageload);
				
				$("a[rel='history']").live('click', function(e) {
					if (e.button != 0) return true;
					
					var hash = this.href;
					hash = hash.replace(/^.*#/, '');
					$.history.load(hash);
				
					return false;
				});
			});

 			// Slide and Hide...
 			
			$(document).ready(function() {
			  $('#content-about').hide();
			  $('#sidebar-about').hide();
			  $('.about-toggle').click(function() {
				$('.video-player').slideUp(200);
				$('.gallery-content').slideUp(200);
				$('.gallery-thumbs').slideUp(200);
				$('.video-thumbs').slideUp(200);
				$('#content-about').delay(200).slideDown(200);
				$('#sidebar-about').delay(200).slideDown(200);
				return false;
			  });
			  
			  $('.video-player').hide();
			  $('.video').click(function() {
				$('.video-player').slideUp(200);
				return false;
			  });
			  $('.video').click(function() {
				var dataID = $(this).attr("data-id");
				$('#video' + dataID + '').delay(200).slideDown(200);
				return false;
			  });
			  $('.toggle-images').click(function() {
				$('.video-thumbs').slideUp(200);
				$('#content-about').slideUp(200);
				$('#sidebar-about').slideUp(200);
				$('.video-player').slideUp(200);
				$('.gallery-content').delay(200).slideDown(200);
				$('.gallery-thumbs').delay(200).slideDown(200);
				return false;
			  });
			  $('.video-thumbs').hide();
			  $('.toggle-video').click(function() {
				$('.gallery-content').slideUp(200);
				$('.gallery-thumbs').slideUp(200);
				$('#content-about').slideUp(200);
				$('#sidebar-about').slideUp(200);
				$('#video1').delay(200).slideDown(200);
				$('.video-thumbs').delay(200).slideDown(200);
				return false;
			  });
			});
			
			// Google Analytics...
			
			  var _gaq = _gaq || [];
			  _gaq.push(['_setAccount', 'UA-10930027-2']);
			  _gaq.push(['_trackPageview']);
	
			  (function() {
				var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
				ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
				var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
			  })();
			  
			// StatCounter... 
			
			sc_project=3010648; 
			sc_invisible=1; 
			sc_partition=32; 
			sc_security="30829914"; 
