function minitools(){
	document.write("&nbsp;|&nbsp;");
	document.write("<A href=\"javascript:history.back();\"><IMG src=\"img/fizq.gif\" ALIGN=MIDDLE WIDTH=\"18\" HEIGHT=\"18\" border=0 alt=\"Ir a Página anterior\"></A>");
	document.write("&nbsp;|&nbsp;");
/*
	document.write("&nbsp;&nbsp;<IMG src=\"img/print.gif\" ALIGN=MIDDLE height=17 border=0 alt=\"\">");
	document.write("&nbsp;&nbsp;<IMG src=\"img/mail.gif\" ALIGN=MIDDLE height=17 border=0 alt=\"\">");
*/
	document.write("&nbsp;");
}

function Item(){
	this.length = Item.arguments.length 
	for (var i = 0; i < this.length; i++)
	    this[i] = Item.arguments[i]
}

function FechaFichero() {
	var ndia = new Item('Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado')
	var nmes = new Item('enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre')
	var ahora
	var fecha = new Date(document.lastModified)
	var ano = fecha.getYear()
	var mes = fecha.getMonth()
	var dia = fecha.getDay()
	var aux = "" + fecha

	if (ano<10) {
	 ano2 = "200" + eval(ano)
	}
	else if (ano<80) {// ano tiene 2 dígitos 19xx (más de 80)
	 ano2 = "20" + ano
	} 
	else if (ano<=99) {// ano tiene 2 dígitos 20xx (menor de 80)
	 ano2 = "19" + ano
	}
	else if (ano<1000) {// ano tiene 3 dígitos (100 es 2000)
	 ano2 = eval(ano) + eval(1900)
	}
	else {// ano tiene 4 dígitos
	 ano2 = ano
	}
	ahora = ndia[dia] + ", " + eval(aux.substring(7, 10)) + " de " + nmes[mes] + " del " + ano2
	return ahora
}


function ventana(destino, ancho, alto){
if(!ancho){
 ancho = 250;
}
if(!alto){
alto = 370;
}

open(destino, "Aspanion", "toolbar=no, status=no, scrollbars, width=" + ancho + ", height=" + alto);

}

  function mOvr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
	src.style.cursor = 'hand';
	src.bgColor = clrOver;
    }
  }
  function mOut(src,clrIn) {
    if (!src.contains(event.toElement)) {
	src.style.cursor = 'default';
	src.bgColor = clrIn;
    }
  }
  
  function mClk(src) {
    if(event.srcElement.tagName=='TD'){
	  src.children.tags('A')[0].click();
    }
  }
function barra(){
	document.writeln("<HR Size=3 COLOR=\"#00AA00\">");
    document.writeln("<BR>");
}

	function alicante(){
		window.open("mailto:alicante@aspanion.es")
	}

	function valencia(){
		window.open("mailto:valencia@aspanion.es")
	}


function footer(){	
	document.writeln("<FONT colspan=\"4\" face=\"verdana\" color=#ffffff size=1 > ");
	document.writeln("<B>ASPANION - Asociación de Padres de Niños con Cáncer de la Comunidad Valenciana</B> ");
	document.writeln("<br>Pintor Baeza, 5 portal 9 - 1º D. Teléfono 96 591 03 78. Tel/Fax 96 524 59 56. 03010 ALICANTE - <a href='mailto:alicante@aspanion.es' class='pp'>alicante@aspanion.es</a> ");
	document.writeln("<br>Plaza Pablo Picasso, 9 - 3º D. Teléfono 96 347 13 00. Fax 96 348 27 54. 46015 VALENCIA - <a href='mailto:valencia@aspanion.es' class='pp'>valencia@aspanion.es</a>");
	document.writeln("<BR></FONT><BR> ");
}

/* IMPORTANTE: Ojo con la dirección 'dir'	
*/

var dir = "http://www.aspanion.es/"

function abrir(pagina) {
	var url = dir + pagina
	window.location= url
}

function ventanaSecundaria (URL,w,h){ 
   var LeftPosition=(screen.width)?(screen.width-w)/2:100;
   var TopPosition=(screen.height)?(screen.height-h)/2:100;
   window.open(URL,"","width="+w+",height="+h+",scrollbars=YES,top="+TopPosition+",left="+LeftPosition+",location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no") 
} 
