var message="Luis Conde®"; 

function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(message);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);
			return false;
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

//////////////////////////////////////////////

function setVariables() {
	if (navigator.appName == "Netscape") {		
		v = ".top=";
		h = ".left=";
		dS = "document.";
		sD = "";
		y = "window.pageYOffset";
		x = "window.pageXOffset";
		iW = "window.innerWidth";
		iH = "window.innerHeight";
	}else {
		h = ".pixelLeft=";
		v = ".pixelTop=";
		dS = "";
		sD = ".style";
		y = "document.body.scrollTop";
		x = "document.body.scrollLeft";
		iW = "document.body.clientWidth";
		iH = "document.body.clientHeight";
	}
	xyz = 500;
	innerX = eval(iW) - 115;
	innerY = eval(iH) - 350;
	object = "logo";
	checkLocationA();
}
movex = 0;
movey = 0;
xdiff = 0;
ydiff = 0;
ystart = 0;
xstart = 0;
function checkLocation() {
	yy = eval(y);
	xx = eval(x);
	ydiff = ystart - yy;
	xdiff = xstart - xx;
	if ((ydiff < (-1)) || (ydiff > (1))) movey = Math.round(ydiff / 10), ystart -= movey;
	if ((xdiff < (-1)) || (xdiff > (1))) movex = Math.round(xdiff / 10), xstart -= movex;
	eval(dS + object + sD + v + (ystart + innerY));
	eval(dS + object + sD + h + (xstart + innerX));
	setTimeout("checkLocation()", 10);
}
function checkLocationA() {
	ystart = eval(y);
	xstart=eval(x);
}
function switchLogo(abc) {
	if (abc == "menu") {
		eval(dS + object + sD + v + 0);
		eval(dS + object + sD + h + (-200));
		object = abc;
	}else 
		xyz = setTimeout("delayLogo()", 2000)
}
function delayLogo() {
	eval(dS + object + sD + v + 0);
	eval(dS + object + sD + h + (-200));
	object = 'logo';
}

//////////////////////////////////////////////

function movein(which,html){
	which.style.background='#cc8800'
	description.innerHTML=html
}
function moveout(which){
	which.style.background='bisque'
	description.innerHTML='&nbsp;'
}
function foto()
  {  
	miVentana = window.open("Foto_Libro.html", "Ventana", "dependent=1,screenX=0,screenY=0,toolbar=0,menubar=0,scrollbars=1,status=0,resizable=1,width=490,height=650");
      	miVentana.focus();
  }
    function fotos()
  {  
	   miVentana = window.open("Fotos_Instituto.html", "Ventana", "dependent=1,screenX=0,screenY=0,toolbar=0,menubar=0,scrollbars=1,status=0,resizable=1,width=355,height=440");
      miVentana.focus();
  }

