//
//*-*-*-*-*-*-*-*-*-*-*Java's Script'S disponibles:
//   ______________________________________________________________________________________________________
//  |LINE  |LLAMADA                      |DESCRIPCION                 |PARAMETROS                        |												
//  |13    |function MM_preloadImages()  | Contiene MM_preloadImages  | -                                |
//	|21    |CerrarPopup()                | Cierra popup               | -                                |	
//	|26    |PopWindow(url,width,height)  | Abre popup                 | url=archivo para abrir           |
//	|      |                                                          | width=propiedad width del popup  |
//	|      |                                                          | height=propiedad height del popup|
//

// Funcion MM_PreloadImages
function MM_preloadImages() {
  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];}}
}

// Funcion Cierra PopUp

function CerrarPopup() {
	close();
}

<!--Funcion Abrir PopUp--!>
function PopWindow(url,width,height) {
	var properties = "scrollbars=no, menubar=no, location=no, resizable=no, height = " + height;
	properties = properties + ", width=" + width;
	var screenX, screenY,leftvar,rightvar;
	if(navigator.appName == "Microsoft Internet Explorer") {
		screenY = document.body.offsetHeight;
		screenX = window.screen.availWidth;
	}else{
		screenY = window.outerHeight
		screenX = window.outerWidth
	}
			leftvar = (screenX - width) / 2;
			rightvar = (screenY - height) / 2;
			properties = properties + ", left = " + leftvar;
			properties = properties + ", top = " + rightvar;
	document.open(url,name,properties);
}
//Fubcion nueva ventana popup
function PopWindowImagenes(URL,widt,heigh,left,top){
		window.open(URL,"ventana1","width=" + widt + ", height=" + heigh + ", scrollbars=no, menubar=no, location=no, esizable=no,top=" + top + ", left=" + left + "");
	
}
//Funcion especial para abrir popup de practica 800x600
function PopWindowPractica(URL){ 
	if(navigator.appName == "Microsoft Internet Explorer") {
		screenX = window.screen.availWidth;
	}else{
		screenX = window.outerWidth
	}
	if (screenX==800){
		window.open(URL,"ventana1","width=723, height=550, scrollbars=no, menubar=no, location=no, esizable=no,top=0,left=35") ;
	}else{
		window.open(URL,"ventana1","width=723, height=550, scrollbars=no, menubar=no, location=no, resizable=no,top=65,left=150") ;
	}
}
//Funcion blockea click derecho , invocar con: document.onmousedown=click
function click() {
	if (event.button== 2 ) {
		alert( ' Lo siento, no se puede usar ese botón.' ); 
	}
}