/**
 * All global and core class objects.
 *
 * @copyright	2011, Blizzard Entertainment, Inc
 * @class		Core
 */


var Core = {

	locale: 'en-us',

	project: '',

	/**
	 * Conveniently jump to a page.
	 *
	 * @param url
	 * @param base
	 */
	goTo: function(url, base) {
		//window.location.href = (base ? Core.baseUrl : '') + url;
		window.open ((base ? Core.baseUrl : '') + url)

		if (window.event)
			window.event.returnValue = false;
	}

};
