jQuery.loHash = {
	set: function(hash)
	{
		hash = hash.replace(/^#/, '');
		
		var fx, node = $( '#' + hash );
		if (node.length)
		{
			fx = $('<div></div>').css({
				position:'absolute',
				visibility:'hidden',
				top: $.scroll().top + 'px'
			})
			.attr('id', hash)
			.appendTo(document.body);
			node.attr('id', '');
		}
		document.location.hash = hash;
		if (node.length)
		{
			fx.remove();
			node.attr('id', hash);
		}
	},
	get: function()
	{
		hash = document.location.hash;
		hash = hash.replace(/^#/, '');
		return hash;
	}
};

