1 ////SCRIPT FOR MODAL POPUP WINDOW 2setTimeout(function(){ 3 jQuery('#popup-container a.close').click(function(){ 4 $.cookie('reject', 'userrejected', { expires: 30 ,path: '/' , domain: '.lifesciencesreview.com' }); 5 jQuery('#popup-container').fadeOut(); 6 jQuery('#active-popup').fadeOut(); 7 jQuery('#rightsideform').show(); 8 }); 9 jQuery('#popup-container button#close2').click(function(){ 10 jQuery('#popup-container').fadeOut(); 11 jQuery('#active-popup').fadeOut(); 12 }); 13 /*jQuery('#popup-container a#clse').click(function(){ 14 jQuery('#popup-container').fadeOut(); 15 jQuery('#active-popup').fadeOut(); 16 });*/ 17 var site = document.referrer; 18 if(site!='' && !site.match(/lifesciencesreview/)) 19 { 20 var visits = jQuery.cookie('visits') || 0; 21 visits++; 22 var test = jQuery.cookie('test'); 23 var reject = jQuery.cookie('reject'); 24 25 jQuery.cookie('visits', visits, { expires: null, path: '/', domain: '.lifesciencesreview.com' }); 26 27 28 console.debug(jQuery.cookie('visits')); 29 30 if ( jQuery.cookie('visits') > 1 ) { 31 jQuery('#active-popup').hide(); 32 jQuery('#popup-container').hide(); 33 } 34 35 36 else if( jQuery.cookie('test')== 'exist' ) 37 { 38 jQuery('#active-popup').hide(); 39 jQuery('#popup-container').hide(); 40 41 } 42 else if( jQuery.cookie('reject')== 'userrejected' ) 43 { 44 jQuery('#active-popup').hide(); 45 jQuery('#popup-container').hide(); 46 47 } 48 49 else { 50 var pageHeight = jQuery(document).height(); 51 jQuery('<div id="active-popup"></div>').insertBefore('body'); 52 jQuery('#active-popup').css("height", pageHeight); 53 jQuery('#popup-container').show(); 54 $.ajax({
55 type:"post", 56 dataType: "text", 57 url:'/newsletter_subscribe.php', 58 data:{'track' : 1}, 59 success: function (response) { 60 61 } 62 63 }) 64 } 65 } 66 if (jQuery.cookie('noShowWelcome')) { jQuery('#popup-container').hide(); jQuery('#active-popup').hide(); } 67}, 120000); 68
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.