/*
 *	Boy van Amstel
 *	copyright 2010
 *
 *	@author 	Boy van Amstel
 *	@version 	1.0
 *
 *	Changes 1.0:
 *	[03/02/2010]	- First release 
 *
 */

var engine;
//engine = setInterval("engineTick()", settings['engine']['update']);

/**********
*
*	jQuery
*
**********/

$(document).ready(function() {

	initInterface();

});

/**********
*
*	Methods
*
**********/

function initInterface() {

}

/**********
*
*	Engine
*
**********/

function engineTick() {
	
}


function changeScreens(_this, target, callback) {
	
	$(".page.active").fadeOut(function() {
		$(".page").removeClass("active");
		$(target).addClass("active");
		if(callback != null) callback.call(this, _this, target);
		$(target).fadeIn(function(){ attachClicks(); scroll(0,0); });	
	});

}

