(function(b){var a=function(c){(function d(){b("input[data-role=calendar]").datepicker({dateFormat:"yy-mm-dd",firstDay:1}).prev("span").on("click",function(){b(this).datepicker("show")});b("a[data-role=heatmap]").fancybox({width:"100%",height:"95%",autoScale:false,transitionOut:"none",type:"iframe",title:"Heatmap",onComplete:function(e){var f=b("#fancybox-title-float-main");f.text("Heatmap: "+b(e).text());b("#fancybox-title").css({left:"50%","margin-left":"-"+parseInt(f.width()/2)+"px"})}})}).call(this)};b(function(){window.JRealtimeHeatmapList=new a()})})(jQuery);