function maximo(webpage){
off();
window.open(webpage,"","fullscreen=1,location=0,menubar=0,directories=0,scrollbars=1,resizable=0,toolbars=0,status=0");
}
function estado(){
var fecha = new Date
var horas = fecha.getHours()
var minutos = fecha.getMinutes()
var segundos = fecha.getSeconds()
if (horas>=12&&horas!=24){
estado="P.M";
horas=horas-12;
if (horas>=7){
alert("Buenas Noches!");
}
else{
alert("Buenas Tardes!");
}
}
else{
estado="A.M";
alert("Buenos Días!")
}
if (horas<10){
horas="0"+horas;
}
if (minutos<10){
minutos="0"+minutos;
}
if (segundos<10){
segundos="0"+segundos;
}
document.write("
Información del Sistema");
document.write("");
document.write("Información del Sistema
");
document.write("Explorador: "+navigator.appName+"
");
document.write("Idioma: "+navigator.browserLanguage+"
");
document.write("OnLine: "+navigator.onLine+"
");
document.write("CPU: "+navigator.cpuClass+"
");
document.write("Profundidad: "+screen.colorDepth+" bit
");
document.write("Plataforma: "+navigator.platform+"
");
document.write("Resolución: "+screen.width+" x "+screen.height+"
");
document.write("Acepta Cookies: "+navigator.cookieEnabled+"
");
document.write("Hora: "+horas+":"+minutos+":"+segundos+" "+estado+"
Sitio: "+parent.frames(0).document.title);
document.write("
");
}
var actual = 1;
function grande(filename,ancho,alto){
ancho+=35;
alto+=30; window.open('./images/'+filename+'.jpg','principal','toolbar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1,width='+ancho+',height='+alto+'');
}
function slideshow(){
var filename='gf'+actual+'.jpg';
window.open('./images/'+filename,'slide');
if (actual < 12) {
actual=actual+1;
}
else actual=1;
setTimeout("slideshow();",5000);
}
function salida(){
if (confirm("¿ Realmente desea abandonar "+parent.document.title+" ?")){
vbscript:parent.close();
}
}
function grande(foto,ancho,alto){
ancho+=35;
alto+=30;
window.open('images/'+foto+'.jpg','principal','toolbar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1,width='+ancho+',height='+alto+'');
}
function destino(nombre)
{
if (nombre == "") alert("La búsqueda no puede ser nula!");
else location.href="#"+nombre;
}
function update(ruta)
{
hojeador.location.href=ruta;
}
function searchme(form){
var site=form.dest.selectedIndex;
if (site==0){
var where="http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&kl=XX&q="
var where2="&search.x=46&search.y=3"
location.href=where + form.text1.value + where2;}
if (site==1){
var where="http://www.excite.com/search.gw?trace=a&search="
location.href= where + form.text1.value;}
if (site==2){
var where="http://www.hotbot.com/?SW=web&SM=MC&MT="
var where2="&DC=100&DE=2&RG=NA&_v=2&act.search.x=97&act.search.y=15"
location.href=where + form.text1.value + where2;}
if (site==3){
var where="http://www.infoseek.com/Titles?qt="
var where2="&col=WW&sv=IS&lk=noframes&nh=100"
location.href=where + form.text1.value + where2;}
if (site==4){
var where="http://www.lycos.com/cgi-bin/pursuit?matchmode=and&cat=lycos&query="
var where2="&x=22&y=8"
location.href=where + form.text1.value + where2;}
if (site==5){
var where="http://www.metacrawler.com/crawler?general="
var where2="&target=&method=0®ion=&rpp=20&timeout=10&hpe=100"
location.href=where + form.text1.value + where2;}
if (site==6){
var where="http://www.webcrawler.com/cgi-bin/WebQuery?searchText="
location.href= where + form.text1.value;}
if (site==7){
var where="http://search.yahoo.com/bin/search?p="
location.href=where + form.text1.value; }
}
function show(elemento){
alert('Espere por favor, esta operación puede tomar algún tiempo. Haga click en Aceptar para cerrar este cuadro de diálogo.');
foto.src="images/"+elemento+".jpg";
foto2.src="images/"+elemento+"2.jpg";
}
function aviso(){
alert("La sección seleccionada se encuentra en construcción");
}
function tema(musica){
parent.frames(0).N1.src="images/"+musica;
}
function off(){
document.stop;
}
function next(){
history.forward();
}
function back(){
history.back();
}
function boton(color){
var estado;
if (color == 1) estado = 'LIME';
else estado = 'GREEN';
event.srcElement.style.backgroundColor=estado;
}
function pagina(destino){
parent.frames(0).location.href=destino;
}
function reloj(){
var fecha = new Date;
var hora = fecha.getHours();
var minutos = fecha.getMinutes();
var segundos = fecha.getSeconds();
var tipo = "a.m."
if (hora == 12) tipo = "p.m."
else
if (hora>12){
if (hora == 24) tipo = "a.m.";
else tipo = "p.m.";
hora=hora-12;
}
else
if (hora<10) hora="0"+hora;
if (minutos<10) minutos = "0"+minutos;
if (segundos<10) segundos = "0"+segundos;
clock.value=hora+":"+minutos+":"+segundos+" "+tipo;
setTimeout("reloj()",1000);
}
function bypage(elemento){
if (elemento == 0) tema("inicio.wav"); // index.html
else if (elemento == 1) tema("inicio.mid"); // inicio.html
else if (elemento == 2) tema("aliv.mid"); // notas.html
else if (elemento == 3) tema("mib.mid"); // 1999.html
else if (elemento == 4) tema("musletra.mid") // musletra.html
else if (elemento == 5) tema("upload.mid"); // ele2.html
else if (elemento == 6) tema("gbu.mid"); // ele3.html
else if (elemento == 7) tema("funk.mid"); // ele4.html
else if (elemento == 8) tema("himno.mid"); // ele5.html
else if (elemento == 9) tema("makinglv.mid"); // ele6.html
else if (elemento == 10) tema("mk.mid"); // juegos.html
else if (elemento == 11) tema("pretty.mid"); // buscar.html
else if (elemento == 12) tema("without.mid"); // fotos.html
else if (elemento == 13) tema("gilligan.mid"); // mas.html
else if (elemento == 14) tema("jaws.mid"); // ele1.html
else if (elemento == 15) tema("crypt.mid"); // adme.html
else if (elemento == 16) tema("back.mid"); // ele9.html
else if (elemento == 17) tema("money.mid"); // ele8.html
else if (elemento == 18) tema("ghostb.mid"); // ele7.html
else if (elemento == 19) tema("rocky.mid"); // mapa.html
else if (elemento == 20) tema("reggae.mid"); // ?.html
else if (elemento == 21) tema("happy"); // ?.html
else if (elemento == 22) tema("hawaii50.mid"); // ?.html
else if (elemento == 23) tema("titanic.mid"); // ?.html
}