// JavaScript created by MakeArt and jQuery

//	$(document).ready(function(){
//		$("#sidebar").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 000, true);
//	});
	

		
	$(function() {
	$('.ngg-gallery-thumbnail-box a').lightBox({fixedNavigation:true});
});
	
	$(function () {
	  
	  var msie6 = $.browser == 'msie' && $.browser.version < 7;
	  
	  if (!msie6) {
		var top = $('#content').offset().top + parseFloat($('.fix').css('margin-top')) + parseFloat($('#content').css('padding-top'));
		$(window).scroll(function (event) {
		  // what the y position of the scroll is
		  var y = $(this).scrollTop();
		  
		  // whether that's below the form
		  if (y >= top) {
			// if so, ad the fixed class
			$('.fix').addClass('fixed');
		  } else {
			// otherwise remove it
			$('.fix').removeClass('fixed');
		  }
		});
	  }  
	});	
	
	$(function() {
$('body *').tooltip();

});

