globals = {};
globals.prefetch = [];
globals.basePath = "/";
globals.width = $(window).width();
globals.height = $(window).height();

statuses = {'greenhorn': 0, 'adventurer': 1, 'trail_leader': 2 };

if(!Array.indexOf) {
	Array.prototype.indexOf = function(obj) {
		for (var i = 0; i < this.length; i++)
			if(this[i]==obj)
				return i;
		return -1;
	}
}

