// JavaScript Document



function fmail()

{

window.open('http://mail.canaletes.net/correoweb/index.php', 'campos', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=750,height=650')

}

function fqsomos()

{

window.open('quienesomos.htm', 'campos', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=460,height=240')

}



function boletin()

{

window.open('boletines/nov03.pdf', 'campos', '')

}



function album()

{

window.open('album', 'campos', '')

}



function fescola()

{

window.open('escuela.htm', 'campos', '')

}

function fmain()

{

window.open('index.htm', 'campos', '')

}

function fpreinsc()

{

window.open('formescola.php', 'campos', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=795,height=440')

}



function fcontr()

{

}





/* function derecha(e) {

if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){

alert('Botón derecho inhabilitado')

return false;

}



else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)){

alert('Botón derecho inhabilitado')

}

}

document.onmousedown=derecha */





function movein(which,html){

which.style.background="#79CBFF"

if (document.getElementById)

document.getElementById("boxdescription").innerHTML=html

else

boxdescription.innerHTML=html

}



function moveout(which){

which.style.background="#eeffff"

if (document.getElementById)

document.getElementById("boxdescription").innerHTML='&nbsp;'

else

boxdescription.innerHTML='&nbsp;'

}



function tomalink(which){

 javascipt.qsomos()

}



  function saveResult(sMessage) {

            var divStatus = document.getElementById("divStatus");

            divStatus.innerHTML = "Request completed: " + sMessage;            

        }



		function displayCustomerInfo(sText) {

            var msg = document.getElementById("msg");

            msg.innerHTML = sText;

        }



		var oIFrame = null;

        

        function createIFrame() {

            var oIFrameElement = document.createElement("iframe");

            oIFrameElement.width=0;

            oIFrameElement.height=0;

            oIFrameElement.frameBorder=0;

            oIFrameElement.name = "hiddenFrame";

            oIFrameElement.id = "hiddenFrame";

            document.body.appendChild(oIFrameElement);

            

            oIFrame = frames["hiddenFrame"];

        }

                   

        function checkIFrame() {

            if (!oIFrame) {

                createIFrame();                

            } 

            setTimeout(function () {

                oIFrame.location = "aplic.htm";

            }, 10);                              

        }

        

        function formReady() {

            var oHiddenForm = oIFrame.document.forms[0];

            var oForm = document.forms[0];

            

            for (var i=0 ; i < oForm.elements.length; i++) {

                var oHidden = oIFrame.document.createElement("input");

                oHidden.type = "hidden";

                oHidden.name = oForm.elements[i].name;

                oHidden.value = oForm.elements[i].value;

                oHiddenForm.appendChild(oHidden);

            }

            

            oHiddenForm.action = oForm.action;

            oHiddenForm.submit();

        }

		

		function noticia( divId ) {

			var id = document.getElementById( divId );

			if (id.style.display == "none") {

				id.style.display = 'block';        

			}

			else {

				id.style.display = 'none';                

			}

		}

