
	var Ss = {

		init : function() {

			Ss.tweaks();
			Ss.gallery();

		},	//	init : function()



		gallery : function () {

			if ($('.gallery_thumbs').get(0)) {

				var li_count = 0;

				$('.gallery_thumbs li').hover(
					function() { $(this).addClass('active'); },
					function() { $(this).removeClass('active'); }
				).each(function() {
					li_count++;

					if (li_count == 4) {
						$(this).addClass('last');
						$('<li class="float_clear"><!-- --></li>').insertAfter(this);
						li_count = 0;
					}
				});

				$('.gallery_thumbs li a[rel^=gallery]').prettyPhoto({
					padding:     8,
					allowresize: false,
					showTitle:   false
				});
			}

		},



		tweaks : function () {

			//	TWEAK CSS AND THAT

			$('#footer ul li:last').css({ border : 'none' });

			//	Hide stuff
			$('.hide_inner').each(function() { $(this).removeClass('hide_inner').wrapInner('<span class="hide_this"></span>');});

			//	Remove stuff
			$('.remove_this').each(function() { $(this).remove(); });

			//	FIREBUG - Load it up, load it up real good!
			if ($.isFunction(window.loadFirebugConsole))
				window.loadFirebugConsole();
//			else
//				$('<script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>').appendTo('head');

		}	//	tweaks : function ()

	};	//	var Ss = {}


	//	Set this thing on fire!
	$(function() { Ss.init(); });
