<!-- //
	function click(e) {
		if (document.all) {
			if (event.button==2||event.button==3) {
				oncontextmenu='return false';
				setInterval("window.status=''",10);
			}
		}
		if (document.layers) {
			if (e.which == 3) {
				oncontextmenu='return false';
				setInterval("window.status=''",10);
			}
		}
	}
	
	if (document.layers) {
		document.captureEvents(Event.MOUSEDOWN);
	}
	document.onmousedown=click;
	
	function obtener_resolucion(p, r) {
      var ancho_pantalla=screen.width;
      var alto_pantalla=screen.height;
      if (ancho_pantalla != r) {
         document.location.href = '?p=' + p + '&r=' + ancho_pantalla
      }
   }
	
	function abrir_ventana (vurl, vnom, vanc, valt) {		
		var vnom;
		ventana=open(vurl,vnom,"resizable=no,scrollbars=yes,status=yes,width=" + vanc + ",height=" + valt + ",top=20,left=20");
		ventana.focus();		
	}
	
	function navegar_url(purl) {		
		location.href=purl;
	}
	
	function cerrar_ventana() {
		window.close();
	}
	
	function volver() {
		history.go(-1)
	}
	
	function eliminar_item (pag_item, num_item) {      
      if (window.confirm("¿Está seguro de querer eliminar el ítem " + num_item + " de la base de datos? ")) {
         document.location.href="?p=" + pag_item +  "&f_id=" + num_item;        
      }	
   }
	
	function SolicitarAutentificacion() {		
		if (window.confirm("Para accesar esta sección debe autentificarse. Si no   \nestá suscrito y desea suscribirse haga clic en OK! ")) {
			location='?p=sus,ra';
		}		
	}
		
	// Capas
	
	var ie=document.all?1:0; // IE 4+
	var ns=document.layers?1:0; // NS 4
	var dom=document.getElementById?1:0; // NS6/IE5+
	
	var mostrar=
	ie?function(obj) {	 
	  //document.all[obj].filters.blendtrans.Apply();	  
	  document.all[obj].style.visibility="visible";
	  //document.all[obj].filters.blendtrans.Play(); 
	}:	
   ns?function(obj) {
	 document.layers[obj].visibility="show";
	}:	
   function(obj) {
	 document.getElementById(obj).style.visibility="visible";
	};
	
	var esconder=
	ie?function(obj) {
	 //document.all[obj].filters.blendtrans.Apply();	 	  
	 document.all[obj].style.visibility="hidden";
	 //document.all[obj].filters.blendtrans.Play(); 
	}:
	ns?function(obj) {
	 document.layers[obj].visibility="hide";
	}:
	function(obj) {
	 document.getElementById(obj).style.visibility="hidden"
	};  
	
	function mostrar_imagen(o_img, i_img) {
		document[o_img].src=i_img;
	} 
	
	function esconder_imagen(o_img, i_img) {
		document[o_img].src=i_img;
	} 
	
	function mostrar_descripcion(o_des) {		
		if (document.getElementById(o_des).style.visibility == "hidden") {
			mostrar(o_des);         
		}      
	}	
   
   function esconder_descripcion(o_des) {		
		esconder(o_des);
	}   
   
// -->
