var Page = new function PageObject() {
	this._uri	= window.location.href.replace('http://' + window.location.hostname, '').replace(window.location.hash, '');
	this._hash	= window.location.hash.replace(/[#\/]?/g, '');
	
	this.init = function() {
		Page._validate();
	}
	
	this._validate = function() {
		if(!(/^\/?$/.test(Page._uri))) {
			window.location.href = 'http://' + window.location.hostname + '/' + Page._hash;
			return false;
		} else {
			return true;
		}
	}
	
	this.change = function(hash) {
		window.location.hash = '/' + hash;
	}
};