function VerReportaje2(idreportaje,ancho,alto,barras,totalfotos)
{
	window.open( './prensa_slider/prensa_slider.asp?foto='+ idreportaje+'&total='+totalfotos ,'Prensa','scrollbars=' + barras + ',resize=yes,menubar=no,width=' + ancho + ',height=' + alto);
}

function VerReportaje(idreportaje,ancho,alto,barras){
	var yBarras = 'yes'
	window.open('/ImagenesPropias/ImgPrensa/PrensaEscrita' + idreportaje + '.gif','Prensa','scrollbars=' + yBarras + ',resize=no,top=0,resizable = 1,menubar=no,width=' + ancho + ',height=' + alto);
}
function VerVideo(idvideo)
{
	
	window.open('VerVideo.asp?video=' + idvideo ,'Video','scrollbars=no,resize=no,menubar=no,width=250,height=220');
}
function VerVideo2(idvideo)
{

	//window.open('/VideosTest/video2.php?video=' + idvideo ,'Video','scrollbars=no,resize=no,menubar=no,width=500,height=550');
//	window.open('http://172.16.1.153/Videos/video2.php?video=video','Video','scrollbars=no,resize=no,menubar=no,width=250,height=220');
	//alert('/Videos3/video2.php?video='+idvideo,'Video','scrollbars=no,resize=no,menubar=no,width=250,height=220')
	window.open('/Videos3/'+idvideo+'.html','Video','scrollbars=no,resize=no,menubar=no,width=420,height=400');

}
function OirRadio(idradio)
{
	
	window.open('OirRadio.asp?radio=' + idradio ,'Radio','scrollbars=no,resize=no,menubar=no,width=250,height=30');
}
var esFirefox = (navigator.userAgent.toLowerCase().indexOf('gecko') != -1)?true:false;
function vermas()
{
	if (document.getElementById('masprensa1').style.display == "none")
	{
		document.imgprensa.src="/images/menos.gif";
		document.getElementById('masprensa1').style.display=(esFirefox)?"table-row":"block";
		document.getElementById('masprensa2').style.display=(esFirefox)?"table-row":"block";
		document.getElementById('masprensa3').style.display=(esFirefox)?"table-row":"block";
		document.getElementById('masprensa4').style.display=(esFirefox)?"table-row":"block";
	}
	else
	{
		document.imgprensa.src="/images/mas.gif";
		document.getElementById('masprensa1').style.display="none";
		document.getElementById('masprensa2').style.display="none";
		document.getElementById('masprensa3').style.display="none";
		document.getElementById('masprensa4').style.display="none";
	}
	return true;
}

function mOvr2(src,clrOver) {
 if (!src.contains(event.fromElement)) {
  src.style.cursor = 'hand';
  src.className=clrOver; 
 }
}


function mOut2(src,clrIn) {
 if (!src.contains(event.toElement)) {
  src.style.cursor = 'default';
  src.className=clrIn;


 }
}
