var aNoticia = "#noticia";
var noticias = 7;
var news = "news";
function load()
{
	if (hasHash())
	{
	estaNoticia = document.location.hash;
	a = estaNoticia.substring(aNoticia.length);
	loopDivs(a);
	}
	else
	{
	window.status="Page is loaded without hash";
	}
}
function hasHash()
{
    if (document.location.hash == "")
        return false;
    return true;
}
function loopDivs(showThisNews)
{
	for (var loop = 1; loop <=noticias; loop++)
	{
		node = news + loop;
		if (loop==showThisNews)
		{
			document.getElementById(node).style.display="block";
		}
		else
		{
			document.getElementById(node).style.display="none";
		}
	}
return true;
}