/**
 * Update the page address and title.
 * @param locationInfo Query string anchor data.
 * @param pageTitle Page title.
**/
function setDetails(locationInfo, pageTitle)
{
	// intentionally empty
}

/**
 * Split the hash string into separate values (as if it were a normal query string
**/
function getHashValue(name)
{
	if(!window.hashSplit)
		splitHashValues();

	return window.hashSplit[name];
}


function splitHashValues()
{
	window.hashSplit = {};

	if(location.hash)
	{
		var arr = location.hash.substring(1).split("&");
	
		var i, tmp;
		for(i=0;i<arr.length;i++)
		{
			tmp = arr[i].split("=");
			hashSplit[tmp[0]] = tmp[1];
		}
	}
}

function getWindowHeight() {
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	
	return myHeight;
}	