/* Start Up */
var StartUp = Class.create(); StartUp.prototype = {

	initialize: function(runnable)
	{
		Event.observe(document, 'dom:loaded', runnable.run.bindAsEventListener(runnable));
	}

}

function openGamePopup()
{	
	HighslideSetup.open($('game_popup'));
}

var Utils = {

	getUrl: function(url) {
		if (!url) {
			var url = location.href;
		}
		var hash = url.indexOf('#');
		if (hash != -1) {
			return url.substring(0, hash);
		} else {
			return url;
		}
	}
	
}