function cleanURL(url){
	//return url.replace('#\/', '');		
	return getDomain(url) + getContentPath(url);		
}

function hashifyURL(url){
	tmpA = url.split('//');
	tmpC = tmpA[1].split('/');
	tmpC.splice(1,0,'#');
	tmpD = tmpC.join('/');
	tmpE = 'http://' + tmpD;
	return tmpE;
}
	
function hashIsPresent(url){
	return url.indexOf('#') > 0;
}

function getContentPath(url){
	return url.substring(url.indexOf('#')+2);
}

function getDomain(url){
	return 'http://homeinvest/';
}