function fecha(){
			days = new Array(7)
			days[1] = "Domingo";
			days[2] = "Lunes";
			days[3] = "Martes";
			days[4] = "Mi&eacute;rcoles";
			days[5] = "Jueves";
			days[6] = "Viernes";
			days[7] = "S&aacute;bado";
			months = new Array(12)
			months[1] = "Enero";
			months[2] = "Febrero";
			months[3] = "Marzo";
			months[4] = "Abril";
			months[5] = "Mayo";
			months[6] = "Junio";
			months[7] = "Julio";
			months[8] = "Agosto";
			months[9] = "Septiembre";
			months[10] = "Octubre";
			months[11] = "Noviembre";
			months[12] = "Diciembre";
			today = new Date(); day = days[today.getDay() + 1]
			month = months[today.getMonth() + 1]
			date = today.getDate()
			year=today.getYear();
			if (year<=1999)
			year = year + 1900;
			document.write ("<font size='2px' face='Arial, verdana, sans-serif' color='000000'> "+ day +
			", " + date + " de " + month + " del " + year + "</font>")
}			

function fecha_en(){
			days = new Array(7)
			days[1] = "Sunday";
			days[2] = "Monday";
			days[3] = "Tuesday";
			days[4] = "Wednesday";
			days[5] = "Thursday";
			days[6] = "Friday";
			days[7] = "Saturday";
			months = new Array(12)
			months[1] = "January";
			months[2] = "February";
			months[3] = "March";
			months[4] = "April";
			months[5] = "May";
			months[6] = "June";
			months[7] = "July";
			months[8] = "August";
			months[9] = "September";
			months[10] = "October";
			months[11] = "November";
			months[12] = "December";
			today = new Date(); day = days[today.getDay() + 1]
			month = months[today.getMonth() + 1]
			date = today.getDate()
			year=today.getYear();
			if (year<=1999)
			year = year + 1900;
			document.write ("<font size='2px' face='Arial, verdana, sans-serif' color='000000'> "+ day +
			", " + date + " " + month + " of " + year + "</font>")
}	
//::::::::::::::::::::::::::::::::::::::::::::::::::::::
//POPUP IMAGENES
var newwindow;
var wheight = 0, wwidth = 0;
function popimg(url, title, iwidth, iheight, colour) {
	var pwidth, pheight;
	
	if ( !newwindow || newwindow.closed ) {
		pwidth=iwidth+30;
		pheight=iheight+30;
		newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=1,top=50,left=10');
		wheight=iheight;
		wwidth=iwidth;
	}
	
	if (wheight!=iheight || wwidth!=iwidth ) {
		pwidth=iwidth+30;
		pheight=iheight+60;
		newwindow.resizeTo(pwidth, pheight);
		wheight=iheight;
		wwidth=iwidth;
	}
	
	newwindow.document.clear();
	newwindow.focus();
	newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body bgcolor= \"' + colour + '\"> <center>');
	newwindow.document.writeln('<a title="click para cerrar!" href="javascript:window.close();"><img src=' + url + ' border=0></a>');
	newwindow.document.writeln('<\/center> <\/body> <\/html>');
	newwindow.document.close();
	newwindow.focus();
}

function lanzar_form(){
	document.form_noticias.submit();
}