// JOBBL - by Bramus!
	if (!JOBBL) { var JOBBL = new Object(); }
	
// JOBBL - main
	JOBBL.main = {
		
		init			: function() {
			
			// nice and simple (and clean of course)
				JOBBL.common.init();

		}
		
	}
	
// JOBBL - main - hook it!
	Event.observe(window, 'load', JOBBL.main.init, false);
	
	
	
	
	
	
	
	
	
	
	

// JOBBL - common
	JOBBL.common = {

		isExplorer			: false,
		verExplorer			: 0,

		init				: function() {
			JOBBL.common.isExplorer 	= (navigator.appVersion.match(/MSIE (\d+\.\d+)/, '') != null)? true : false;
			JOBBL.common.verExplorer	= (JOBBL.common.isExplorer != false)? Number(navigator.appVersion.match(/MSIE (\d+\.\d+)/, '')[1]) : 0;
			$('btn_light').onclick 		= this.killTheLights.bindAsEventListener(this);
		},
		
		// Bramus! Says hi to all rippers out there ;)
		killTheLights		: function(evt) {
			el = Event.element(evt);
			
			if (el.hasClassName('inv')) {
				Effect.Fade('killTheLights', { duration: 1.25, queue: 'end' });
				el.removeClassName('inv');
			} else {
				Effect.Appear('killTheLights', { duration: 1.25, to: 0.85, queue: 'end' });
				el.addClassName('inv');	
			}
		}
	}
