jQuery(document).ready(function($) { $('.popup').click(function() { var w = $(this).data('width'); var h = $(this).data('height'); var s = $(this).data('scrollbars'); var left = (screen.width/2) - (w/2); var top = (screen.height/2) - (h/2); var NWin = window.open($(this).prop('href'),'','scrollbars=' + s + ',resizable=yes,width=' + w + ',height=' + h + ',top=' + top + ',left=' + left); if (window.focus) { NWin.focus(); } return false; }); }); /* FILE ARCHIVED ON 16:34:01 May 02, 2017 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 21:15:25 Oct 25, 2018. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): LoadShardBlock: 31.667 (3) esindex: 0.01 captures_list: 126.57 CDXLines.iter: 13.369 (3) PetaboxLoader3.datanode: 51.907 (5) exclusion.robots: 0.217 exclusion.robots.policy: 0.202 RedisCDXSource: 77.753 PetaboxLoader3.resolve: 262.462 (2) load_resource: 313.197 */