function backward(){
if (which>0){
	which--
	thecontent3=(which==-1)? "" : noticias[which]
	if (document.getElementById || document.all)
		menuobj3.innerHTML=thecontent3
}
	if (which==0) 
	menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward();return false" title="Noticia anterior">&lt;&lt;</a></p>'
	else if (which == noticias.length-1) 
		menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="backward();return false" title="Noticia posterior">&gt;&gt;</a></p>'
		 else menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward();return false" title="Noticia anterior">&lt;&lt;</a> | <a class="rojo" href="#" onClick="backward();return false" title="Noticia posterior">&gt;&gt;</a></p>'
}

function backward2(){
if (which2>0){
	which2--
	thecontent3=(which2==-1)? "" : noticias2[which2]
	if (document.getElementById || document.all)
		menuobj1.innerHTML=thecontent3
}
	if (which2==0) 
	menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward2();return false" title="Noticia anterior">&lt;&lt;</a></p>'
	else if (which2 == noticias2.length-1) 
		menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="backward2();return false" title="Noticia posterior">&gt;&gt;</a></p>'
		 else menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward2();return false" title="Noticia anterior">&lt;&lt;</a> | <a class="rojo" href="#" onClick="backward2();return false" title="Noticia posterior">&gt;&gt;</a></p>'
}

function forward(){
if (which<noticias.length-1){
	which++
	thecontent3=(which==-1)? "" : noticias[which]
	if (document.getElementById || document.all)
		menuobj3.innerHTML=thecontent3
}
	if (which==0) 
	menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward();return false" title="Noticia anterior">&lt;&lt;</a></p>'
	else if (which == noticias.length-1) 
		menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="backward();return false" title="Noticia posterior">&gt;&gt;</a></p>'
		 else menuobj4.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward();return false" title="Noticia anterior">&lt;&lt;</a> | <a class="rojo" href="#" onClick="backward();return false" title="Noticia posterior">&gt;&gt;</a></p>'
}

function forward2(){
if (which2<noticias2.length-1){
	which2++
	thecontent3=(which2==-1)? "" : noticias2[which2]
	if (document.getElementById || document.all)
		menuobj1.innerHTML=thecontent3
}
	if (which2==0) 
	menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward2();return false" title="Noticia anterior">&lt;&lt;</a></p>'
	else if (which2 == noticias2.length-1) 
		menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="backward2();return false" title="Noticia posterior">&gt;&gt;</a></p>'
		 else menuobj2.innerHTML='<p class="flechas"><a class="rojo" href="#" onClick="forward2();return false" title="Noticia anterior">&lt;&lt;</a> | <a class="rojo" href="#" onClick="backward2();return false" title="Noticia posterior">&gt;&gt;</a></p>'
}

	
	if (document.getElementById||document.all)
	{
		document.write('<div id="noticia">'+noticias[0]+'</div>')
		document.write('<div id="scroll"><p class="flechas"><a href="#" onClick="forward();return false" title="Noticia anterior">&lt;&lt;</a></p></div>')
		document.write('<p>'+'<strong class="rojo">Les sugerimos...</strong>'+'</p>')
		document.write('<div id="noticia2">'+noticias2[0]+'</div>')
		document.write('<div id="scroll2"><p class="flechas"><a href="#" onClick="forward2();return false" title="Noticia anterior">&lt;&lt;</a></p></div>')
	}
	else if (document.layers)
	{
		document.write('<div id="noticia">'+noticias[0]+'</div>')
		document.write('<div id="scroll"><p class="flechas"><a href="/noticias/noticias.jsp">Más noticias</a></p></div>')
		document.write('<p>'+'<strong class="rojo">Les sugerimos...</strong>'+'</p>')
		document.write('<div id="noticia2">'+noticias2[0]+'</div>')
		document.write('<div id="scroll2"><p class="flechas"><a href="/noticias/otrasnoticias.jsp">Más noticias</a></p></div>')
	}

		
var menuobj1=document.getElementById? document.getElementById("noticia2") : document.all? document.all.noticia2 : ""
var menuobj2=document.getElementById? document.getElementById("scroll2") : document.all? document.all.scroll2 : ""
var menuobj3=document.getElementById? document.getElementById("noticia") : document.all? document.all.noticia : ""
var menuobj4=document.getElementById? document.getElementById("scroll") : document.all? document.all.scroll : ""