/*  ############################## Abre ventana con imágenes satélite. Páginas: satlites.html, satlitesen.html */

/* function AbreImgSat(imagsat) {
			   window.open(imagsat,"VerImgSat","scrollbars=yes,resizable=yes,toolbar=no,directories=no,menubar=no,status=no,location=no,width=780,height=550,top=0,left=0");
    } */

/* function AbreImgSat(imagsat) {
			   VerImgSat=open("","VerImgSat","scrollbars=yes,resizable=yes,toolbar=no,directories=no,menubar=no,status=no,location=no,width=790,height=550,top=0,left=0");
			   VerImgSat.document.write("<title>METBEE (EB8BEE) WX Station</title>");
			   VerImgSat.document.write("<body><a href='javascript:window.close();'>Cerrar / Close</a><p></body>");
			   VerImgSat.document.write("<body><img src='"+imagsat+"'></body>");			   
			   VerImgSat.document.write("<body><center><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></center></body>");
    } */


/* ################################ Abre imágenes de SATÉLITE A PANTALLA COMPLETA. (color fondo alternativo bgcolor=lightgrey */

function AbreImgSat(imagsat) {
			   VerImgSat=open("","VerImgSat","fullscreen=yes, scrollbars=yes");
			   VerImgSat.document.write("<body bgcolor=D5D6FD></body>");			   
			   VerImgSat.document.write("<body><table width=100% border=0><tr><td align=left><!--<a href='javascript:window.close();'>Cerrar / Close</a>--><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td><td align=right><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td></tr></table></body>");
			   VerImgSat.document.write("<body><center><img src='"+imagsat+"'></center></body>");			   
			   VerImgSat.document.write("<body><center><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></center></body>");
    }

/* function AbreImgSat(imagsat) {
			   window.open(imagsat,"VerImgSat","fullscreen=yes, scrollbars=yes");
    } */



/* ################################ Abre imágenes SATSIGNAL a PANTALLA COMPLETA.  */

function AbreImgSS(imagsat) {
			   VerImgSS=open("","VerImgSS","fullscreen=yes, scrollbars=yes");
			   VerImgSS.document.write("<body bgcolor=D5D6FD></body>");			   
			   VerImgSS.document.write("<body><table width=100% border=0><tr><td align=left><!--<a href='javascript:window.close();'>Cerrar / Close</a>--><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td><td align=right><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td></tr></table></body>");
			   VerImgSS.document.write("<body><center><img src='"+imagsat+"'></center></body>");
			   VerImgSS.document.write("<body><p><center><img src='ss_colors.jpg'></center></body>");			   
			   VerImgSS.document.write("<body><p><table width=100% border=0><tr><td align=left><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td><td align=right><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td></tr></table></body>");
    }

/* ################################ Abre imágenes SATSIGNAL TERMICO a PANTALLA COMPLETA.  */

function AbreImgSSTherm(imagsat) {
			   VerImgSSTherm=open("","VerImgSSTherm","fullscreen=yes, scrollbars=yes");
			   VerImgSSTherm.document.write("<body bgcolor=D5D6FD></body>");			   
			   VerImgSSTherm.document.write("<body><table width=100% border=0><tr><td align=left><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td><td align=right><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td></tr></table></body>");
			   VerImgSSTherm.document.write("<body><center><img src='"+imagsat+"'></center></body>");
			   VerImgSSTherm.document.write("<body><p><center><img src='ss_temp.jpg'></center></body>");			   
			   VerImgSSTherm.document.write("<body><p><table width=100% border=0><tr><td align=left><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td><td align=right><form><input type=button Value='Cerrar / Close' onClick='window.close();'></form></td></tr></table></body>");
    }



/*  ############################### Abre ventana para ver ENHANCEMENTS */

function AbrirEnhancements() {
			   VerEnhancements=open("enhancements.html","VerEnhancements","toolbar=no,directories=no,menubar=no,status=no,resizable=yes,location=no,scrollbars=yes,width=736,height=530,top=10,left=40");
			   		           	
    }


/*  ############################### Abre ventana para ver BANDAS ESPECTRALES */

function AbrirSpectralBands() {
			   VerSpectralBands=open("spectralbands.html","VerSpectralBands","toolbar=no,directories=no,menubar=no,status=no,resizable=yes,location=no,scrollbars=no,width=780,height=545,top=10,left=10");
			   		           	
    }



/*  ############################### Abre ventana para ver imagen de antena QHA */

function AbrirQHA() {			
			   VerQHA=open("","VerQHA","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=411,height=549,top=25,left=150");
		           VerQHA.document.write("<html><head><title>METBEE (EB8BEE). QHA</title></head><body bgcolor='ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><img src='qha.jpg'></body></html>");	
    }



/*  ############################### Abre ventana para ver WEBCAMS */

function AbrirWebcams() {
			   VerWebcams=open("webcamstf.html","VerWebcams","toolbar=yes,directories=yes,menubar=yes,status=yes,resizable=yes,location=yes,scrollbars=yes,width=760,height=530");
			   		           	
    }


/*  ############################### Abre ventana con KLEPERIANOS. */

function AbrirKeps() {
			   VerKeps=open("http://celestrak.com/NORAD/elements/weather.txt","VerKeps","toolbar=no,directories=no,menubar=yes,status=no,resizable=yes,location=no,scrollbars=yes,width=620,height=530,top=10,left=30");
    }


/*  ############################### Abre ventana con imagen METEOSAT 7. */

function AbrirMeteosat() {			
			   VerMeteosat=open("","VerMeteosat","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=1,width=594,height=570,top=0,left=50");
		           VerMeteosat.document.write("<html><head><title>IAC - Meteosat7</title></head><body bgcolor='D5D6FD' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><img src='http://www.iac.es/weather/latest/can.jpg'></body></html>");	
    }



/*  ############################### Abre ventana para ver FOTOS WEBCAM. Página: webcamstf.html  */

var win=null;
function AbrirWebcamstf(url_imagen,titulo){
 	var img = new Image();
 	img.src = url_imagen;
	win=window.open('','','width=640,height=480,resizable=1,location=no,scrollbars=0,toolbar=0,top=25,left=100');
	win.document.write ('<html><head><title>'+titulo+'</title><META http-equiv=REFRESH content=60></head><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="D5D6FD"><center><img src="'+url_imagen+'"></center></body></html>');	
}


/*  ############################### Abre ventana para ver la TABLA DE COLOR de SATSIGNAL */

function AbrirSSColor() {			
			   VerSSColor=open("","VerSSColor","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=430,height=203,top=25,left=150");
		           VerSSColor.document.write("<html><head><title>Thermal colour map - HLS colour model - SatSignal</title></head><body bgcolor='ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><img src='ss_colors.jpg'></body></html>");	
    }


/*  ############################### Abre ventana para ver la TABLA DE COLOR TERMICA de SATSIGNAL */

function AbrirSSColorTherm() {			
			   VerSSColorTherm=open("","VerSSColorTherm","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=430,height=203,top=280,left=150");
		           VerSSColorTherm.document.write("<html><head><title>Thermal colour map - Therm colour model - SatSignal</title></head><body bgcolor='ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><img src='ss_temp.jpg'></body></html>");	
    }

/*  ############################### Abre ventana para ver la FOTO PANORÁMICA */

function AbrirPanorama() {			
			   VerPanorama=open("","VerSSColor","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=1,width=795,height=368,top=100,left=0");
		           VerPanorama.document.write("<html><head><title>Panoramic View of Santa Cruz de Tenerife</title></head><body bgcolor='ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><img src='panorama.jpg'></body></html>");	
    }


/*  ############################### Abre ventana para ver WEBCAMS de Tráfico del Ayuntamiento de Santa Cruz */

function AbrirTrafico1() {
			   VerTrafico1=open("http://www.sctfe.es/trafico/camara1.html","VerTrafico1","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=356,height=292,top=100,left=100");
		           
    }

function AbrirTrafico2() {
			   VerTrafico2=open("http://www.sctfe.es/trafico/camara2.html","VerTrafico2","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=356,height=292,top=150,left=150");
		           
    }

function AbrirTrafico3() {
			   VerTrafico3=open("http://www.sctfe.es/trafico/camara3.html","VerTrafico3","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=356,height=292,top=200,left=200");
		           
    }

function AbrirTrafico4() {
			   VerTrafico4=open("http://www.sctfe.es/trafico/camara4.html","VerTrafico4","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=356,height=292,top=250,left=250");
		           
    }



/*  ############################### Abre ventana para ver METBEE IP CAM Gadspot NC1000-L10 Dirección Noreste */

function AbrirMetbeeIPCam() {
			   VerMetbeeIPCam()=open("metbee_ipcam.html","VerMetbeeIPCam","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=640,height=480,top=30,left=30");
		           
    }


/*  ############################### Abre ventana para ver METBEE IP CAM Axis 2100 Dirección Norte */

function AbrirMetbeeIPCam1() {
			   VerMetbeeIPCam1()=open("metbee_ipcam1.html","VerMetbeeIPCam1","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=640,height=480,top=60,left=60");
		           
    }


/*  ############################### Abre ventana para ver METBEE IP CAM Axis 210 Dirección Noreste */

function AbrirMetbeeIPCam2() {
			   VerMetbeeIPCam2()=open("metbee_ipcam2.html","VerMetbeeIPCam2","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=640,height=480,top=60,left=60");
		           
    }

/*  ############################### Abre ventana para ver Problemas de la cámara IP */

function AbrirIProblems() {
			   VerIProblems=open("iproblems.html","VerIProblems","toolbar=no,directories=no,menubar=no,status=no,resizable=yes,location=no,scrollbars=yes,width=550,height=450,top=10,left=40");
			   		           	
    }

/*  ############################### Abre ventana para ver La PISCINA DE MARQUES PALACE (Puerto Santiago, vista a Los Gigantes) */

function AbrirPiscinaMarques() {
			   VerPiscinaMarques()=open("webcams/piscinamarques.html","VerPiscinaMarques","toolbar=no,directories=no,menubar=no,status=no,resizable=0,location=no,scrollbars=0,width=640,height=480,top=60,left=60");
		           
    }


/*  ############################### Abre ventana para ver los Mapas de Google */

var win=null;
function AbrirMetbeeMap(url_map) {
			var img = new Image();
 			img.src = url_map;
			win=window.open('','','width=750,height=550,resizable=1,location=no,scrollbars=1,toolbar=0,top=10,left=10');
			win.document.write ('<html><head><title>Metbee webcams direction</title></head><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="D5D6FD"><center><img src="'+url_map+'"></center></body></html>');	
}


