// JavaScript Document
function bck00(capa) {
	document.getElementById(capa).style.background = 'url(images/white.gif) no-repeat bottom left';
}
function bck01(capa) {
	document.getElementById(capa).style.background = 'url(images/queEs.gif) no-repeat bottom left';
}
function bck02(capa) {
	document.getElementById(capa).style.background = 'url(images/equipo.gif) no-repeat bottom left';
}
function bck03(capa) {
	document.getElementById(capa).style.background = 'url(images/instalaciones.gif) no-repeat bottom left';
}
function bck04(capa) {
	document.getElementById(capa).style.background = 'url(images/zonaInfantil.gif) no-repeat bottom left';
}
function bck05(capa) {
	document.getElementById(capa).style.background = 'url(images/tratamiento.gif) no-repeat bottom left';
}
function bck06(capa) {
	document.getElementById(capa).style.background = 'url(images/contactos.gif) no-repeat bottom left';
}
function visible(capa) {
	document.getElementById(capa).style.display = 'block';
}
function invisible(capa) {
	document.getElementById(capa).style.display = 'none';
}
function val(){
var a='';
var z=false;
if(document.formu['Nombre'].value==''){
a=a+'Nombre y Apellidos-';
z=true;
}
if(document.formu['email'].value==''){
a=a+'E-mail-';
z=true;
}
if(document.formu['Telefono'].value==''){
a=a+'Teléfono-';
z=true;
}
if(document.formu['Comentarios'].value==''){
a=a+'Comentarios-';
z=true;
}
if(document.formu['Fecha'].value==''){
a=a+'Fecha y Hora de la cita-';
z=true;
}
if(z){
alert("Tiene que rellenar los siguientes campos:-"+a);
}else{
document.formu.submit();
}
}

var imginvis = new Array();
imginvis[0] = new Image();
imginvis[0].src ="images/invis_logo.gif";
imginvis[1] = new Image();
imginvis[1].src ="images/invis_logo1.gif";


var imginvis = 1;
function slideInvis() {
        inter=true;
        if (document.all) {
                document.images.logoinvis.style.filter="blendTrans(duration=1)";
                document.images.logoinvis.style.filter="blendTrans(duration=1)";
                document.images.logoinvis.filters.blendTrans.Apply();
        }
        document.images.logoinvis.src = imginvis[logoinvis].src;
        if (document.all) {
                document.images.logoinvis.filters.blendTrans.Play();
        }
        if(logoinvis==1)
                        logoinvis=0
        else
                        logoinvis=1

        var segs=2000;
       interva = setTimeout('slideInvis()', segs);
}


