$(document).ready(function() {$("#formgr").fancybox(); });