function updateLocation(type)
{
	//update url
	
	window.location = window.location.pathname + "#" + type;
	
}

function gethash()
{
	// get the hash
	var hash=window.location.hash;
	hash=hash.replace(/#/,'');
	//if(hash == settings.currenthash) return;
	return hash;
}

function bootstrap()
{
	
	$('a.ajax').click(function(ev){ gosection(ev.target.href,ev.target.rel); ev.preventDefault(); });
	
	$('a.ajax').focus(function(ev){ ev.target.blur() });

}
