<script> $(function() { $.fancybox.defaults.afterClose = function() { window.top.location.reload(true)} }); </script>