function superPopup(){
  // Obtener el link mediante su ID
  var el_link = document.getElementById("popup");
  // Agregar función pop up al evento onClick del link
  el_link.onclick = function(){
   // Obtener atributo HREF del link
   var href = this.href;
   // Abrir pop up usando atributo HREF
   window.open(href,"nueva ventana", "width=550,height=600");
   // Hay que retornar FALSE para anular el comportamiento original del link
   return false;
  }
}

window.onload = function(){
superPopup();
}
//capas FAQS
function mostrar (capa,total){
	
        if(document.getElementById("respuesta" + capa).style.display == "block"){
                document.getElementById('respuesta' + capa).style.display="none";
                
        }else{       
                for(i=0; i<total; i++){
                        document.getElementById('respuesta' + i).style.display="none"; 	
                }
                document.getElementById("respuesta" + capa).style.display="block"; 	
        }
}
function confirmar (mensaje) {
  return confirm( mensaje );
}