//var flashcontent = '<OBJECT id="kuruwi" height="100%" width="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><PARAM name="_cx" value="5080"><PARAM name="_cy" value="5080"><PARAM name="FlashVars" value=""><PARAM name="Movie" value="kuruwi_mod_cs3.swf"><PARAM name="Src" value="kuruwi_mod_cs3.swf"><PARAM name="WMode" value="Window"><PARAM name="Play" value="-1"><PARAM name="Loop" value="-1"><PARAM name="Quality" value="High"><PARAM name="SAlign" value=""><PARAM name="Menu" value="-1"><PARAM name="Base" value=""><PARAM name="AllowScriptAccess" value=""><PARAM name="Scale" value="NoScale"><PARAM name="DeviceFont" value="0"><PARAM name="EmbedMovie" value="0"><PARAM name="BGColor" value="FFFFFF"><PARAM name="SWRemote" value=""><PARAM name="MovieData" value=""><PARAM name="SeamlessTabbing" value="1"><PARAM name="Profile" value="0"><PARAM name="ProfileAddress" value=""><PARAM name="ProfilePort" value="0"><PARAM name="AllowNetworking" value="all"><PARAM name="AllowFullScreen" value="false"></OBJECT>';


function abrirAvisos()
{
	var field = document.getElementById("avisos");
	var menu = document.getElementById("menu");
	var content = document.getElementById("contenido");
	var screen = document.getElementById("fullscreen");
	var flash= document.getElementById("flashcontent");
	
	screen.style.display = "";
	
	//flash.style.zIndex ="-1";
	//flash.innerHTML= "";
	field.style.display = "";	
}

function cerrarAvisos()
{
	var field = document.getElementById("avisos");
	var screen = document.getElementById("fullscreen");
	var flash= document.getElementById("flashcontent");
	
	//flash.style.zIndex = "1";
	//flash.innerHTML = eval(flashcontent);
	field.style.display = "none";	
	screen.style.display = "none";
}

function abrirNoticia(x)
{
	document.getElementById("noticia"+x).style.display = "";
	document.getElementById("link"+x).href = "javascript:cerrarNoticia('"+x+"');";	
}

function cerrarNoticia(x)
{
	document.getElementById("noticia"+x).style.display = "none";
	document.getElementById("link"+x).href = "javascript: abrirNoticia('"+x+"');";
	
}

