document.write('
');jQuery(function(){ jQuery('div.email, td.studentEmail').click(function(){ var mytext = $(this).text(); if(mytext.includes('.edu')){ } else{ $('#myCaptcha').css({'width':'100%'}); //Find the email id var id = $(this).attr('id'); var form = $('.custom-cap'); form.on('submit',function(e){ e.preventDefault(); //e.stopImmediatePropagation(); $.ajax({ type:'POST', url:'/search/verifier.php', data:{id:id,captcha:grecaptcha.getResponse()}, success:function(result){ $('#myCaptcha').css({'width':'0%'}); myid = 'div#'+id; if(result=='1' || result== '0'){ //location.reload(); } else{ if(result.includes('warhawks')){ myid = 'td#'+id; } $(myid).html(result); } grecaptcha.reset(); } }); }); } }); //Function to close the overlay jQuery('a.closebtn').click(function(){ $('#myCaptcha').css({'width':'0%'}); }); }); function popitup_98461(url) { newwindow=window.open(url,'mapit_popup_ext','height=500,width=600'); if (window.focus) {newwindow.focus()} return false; }