window.open('http://www.bn.com.pe/doc_oplinea/publicidad.htm','p1','scrollbars=no,Left=120,Top=160,Width=333,Height=360' );

	function ctasctes(){ 
	x=window.open('https://zonasegura.bn.com.pe/POCC/w_login.aspx','new','scrollbars=yes, resizable=yes, status=yes, toolbar=no, width=0, height=0 aling=center, directories=no, chanelmode=no, left=0, top=0, location=no, menubar=no, titlebar=yes, toolbar=no, copyhistory=no') 
	var ventana = window.self; 
   	 ventana.opener = window.self; 
    	ventana.close(); 
	} 	

	function ctasdetracciones(){ 
	x=window.open('https://zonasegura.bn.com.pe/POCC/w_login.aspx','new','scrollbars=yes, resizable=yes, status=yes, toolbar=no, width=0, height=0 aling=center, directories=no, chanelmode=no, left=0, top=0, location=no, menubar=no, titlebar=yes, toolbar=no, copyhistory=no') 
	var ventana = window.self; 
   	 ventana.opener = window.self; 
    	ventana.close(); 
	} 

		var isnn,isie
	if(navigator.appName=='Microsoft Internet Explorer') //check the browser
	{  isie=true }

	if(navigator.appName=='Netscape')
	{  isnn=true }


   if (window.Event) 
   document.captureEvents(Event.MOUSEUP); 

   function nocontextmenu() 
   { 
   event.cancelBubble = true 
   event.returnValue = false; 
   return false; 
   } 

   function norightclick(e) 
   { 
     if (window.Event) 
     { 
       if (e.which == 2 || e.which == 3) 
       return false; 
     } 
     else 
       if (event.button == 2 || event.button == 3) 
       { 
         alert('© Copyright 2002-2007 BN Todos los derechos reservados')
         event.cancelBubble = true 
         event.returnValue = false; 
         return false; 
       } 
   }
   

    function key(k)   
   {
	if(isie) {
		if(event.keyCode==16 || event.keyCode==17 || event.keyCode==18 || event.keyCode==93 || (event.keyCode>=112 && event.keyCode<=123 && event.keyCode!=116)) {
			alert('Operación no Autorizada - © Banco de la Nación') 
			return false;
		 } 
	}

	if(isnn){
		alert("Perdone, pero Ud. no tiene permiso para presionar esta tecla.") 
		return false; }   
   }
   
   if (document.layers) 
   { 
       
     document.captureEvents(Event.MOUSEDOWN); 
           
   } 

   if (document.layers) window.captureEvents(Event.KEYPRESS);
   document.onkeydown=key;  
   document.onmousedown = norightclick; 
   document.onmouseup = norightclick;

