rules_ver_bases = {
evento : function() {
             $("a#verBases").click(rules_ver_bases.ejecutar);
         },
ejecutar : function() {
               var aP = "modulo=COPComercialBases2&params=";
               fin = function (html){
                   $("#modal").html(html).popUp();
                   return false;
               }
               $.ajax({ url: "/modulo/comunidad.html", data: aP, success: fin });
               return false;
           }
}
$(document).ready(rules_ver_bases.evento);
rules_validar_datos = {
evento : function() {
             $("a.participa-comercial").click(rules_validar_datos.ejecutar);
         },
ejecutar : function() {
               var acepto = $("#formComercial :checkbox:checked#acepto-comercial").val();
               if(acepto != "acepto-comercial"){
               		aviso("Debe aceptar las condiciones del concurso.");
                   return false;
               }
     
           }
}
$(document).ready(rules_validar_datos.evento);
