// Get the element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks on (x), close the modal
span.onclick = function() {
modal.style.display = "none";
location.reload();
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
location.reload();
}
}
jQuery(document).on('click','.view_more_cta',function(){
jQuery(this).closest('.frm12').addClass('loadfull-content');
})
jQuery(document).on('click','.view_less_cta',function(){
jQuery(this).closest('.frm12').removeClass('loadfull-content');
})