var Underground = function(){
	return {
		init: function(){
			Skinbox.init( { storage_ns: 'underground' } );
		},
		
		shides: function(){				
			Skinbox.shide( {
				ns: 'welcome',
				element: '#welcome-bottom > *:not(.hideit)',
				trigger: '#welcome-bottom .hideit',
				callback: function($, opts, visible){
					if( visible )
					{
						$('.welcome').switchClass('sb-shide-element-off', 'sb-shide-element-on', 500);
					}
					else
					{
						$('.welcome').switchClass('sb-shide-element-on', 'sb-shide-element-off', 500);
					}
				}
			} );
		},
	
		dropdowns: function(){
			Skinbox.dropdown( {
				element: '#dropdown_1'
			} );
		}
	};
}();

Skinbox.ready( [
	Underground.init,
	Skinbox.topLink,
	Skinbox.loginBox,
	Skinbox.creditsBox,
	Underground.shides,
	Underground.dropdowns
] );
