function ApareceCapa(capa){
var orden="";
orden=capa+".style.visibility";
eval(orden+"='visible'");
return true;
}
function ApagaCapa(capa){
var orden="";
orden=capa+".style.visibility";
eval(orden+"='hidden'");
return true;
}

function mClk(src) {
	if(event.srcElement.tagName=='TD') {
		src.children.tags('A')[0].click();
	}
}

function Atras(){
history.back();
return true;
}

function Adelante(){
history.forward();
return true;
}

redirTime = "8000";
redirURL = "principal.asp";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }

function PopupImage(img) {
	titre=":: Instituto Santacruz :: Kinder, Preprimaria, Primaria";
	w=open("",'image','width=300,height=300,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function PopupImage2(img) {
	titre=":: Instituto Santacruz :: Kinder, Preprimaria, Primaria";
	w=open("",'image','width=300,height=300,toolbar=no,scrollbars=yes,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


<!-- Inicia programación par música -->
songNum = new Array();
songNum[0] = "musica/araña.wav";
songNum[1] = "musica/estrellita.mid";
songNum[2] = "musica/a_la_vibora.mid";

var music = null;
var track = 0;
var ver = navigator.appName;
function audioCheck(plugName) {
for (var i = 0; i < navigator.plugins.length; i++) {
if (navigator.plugins[i].name.toLowerCase() == plugName.toLowerCase()) {
for (var j = 0; j < navigator.plugins[i].length; j++) {
if (navigator.plugins[i][j].enabledPlugin) {
return true;
   }
}
return false;
   }
}
return false;
}
function chooseSong(s) { // ie
track = s.options[s.selectedIndex].value; 
if (ver == "Microsoft Internet Explorer") {
document.all.fondo.src = songNum[track]; 
} else {
songPlay('play');
   }
}
function songPlay(cmd) { // netscape
if (audioCheck("LiveAudio")) {
if (cmd == 'play') {
document.musicSource.play(false, songNum[track]);
   }
} else {
alert("You Do Not Have The Correct Plugin");
   }
}
<!-- Termina programación par música -->    


