// JavaScript Document

function getUrlHash() {
	
	var urlHash;
	
	urlData = self.document.location.hash.split( "/" );
	urlHash = { director: urlData[2], cat: urlData[3], index: urlData[4] };

	return urlHash;
	
	
}

function clearHash() {
	self.document.location.hash = ' ';
}

function setHash(text) {
	self.document.location.hash = text;
}
