1jQuery(document).ready(function($){ 2 3 $("pre br").remove(); 4 $("#footer").hide(); 5 6 // Countdown ////////////////////////////////////////////////////////////////////////////////////////////////////// 7 var curDate = new Date(); 8 var myY = curDate.getFullYear(); 9 var myM = curDate.getMonth(); 10 var myD = curDate.getDate(); 11 var myDay = curDate.getDay(); 12 13 $('.year').each(function(){ 14 $(this).text( myY ); 15 }); 16 17 // date_in /////////////////////////////////////////////////// 18 $('.date_in').each(function(){ 19 if(myD == 1){$(this).text( "25" );} 20 if(myD == 2){$(this).text( "26" );} 21 if(myD == 3){$(this).text( "27" );} 22 if(myD == 4){$(this).text( "28" );} 23 if(myD == 5){$(this).text( "29" );} 24 if(myD > 5){$(this).text( myD - 5 );} 25 }); 26 27 // date_out /////////////////////////////////////////////////// 28 $('.date_out').each(function(){$(this).text( myD );}); 29 30 // month_in /////////////////////////////////////////////////// 31 $('.month_in').each(function(){ 32 if (myD == 1 || myD == 2 || myD == 3 || myD == 4 || myD == 5 ) { 33 if ( myM <= 9 ) { $(this).text( "0" + myM ); } 34 else { $(this).text( myM ); } 35 } 36 if (myD > 5) { 37 if ( myM <= 9 ) { $(this).text( "0" + ( myM + 1 ) ); } 38 else { $(this).text( myM + 1 ); } 39 } 40 }); 41 42 // month_out /////////////////////////////////////////////////// 43 $('.month_out').each(function(){ 44 if ( myM <= 9 ) { $(this).text( "0" + ( myM + 1 )); } 45 else { $(this).text( myM + 1 ); } 46 }); 47 48 // countdown /////////////////////////////////////////////////// 49 $('.countdown').each(function(){ 50 $(this).countdown({ 51 until: new Date(myY, myM, myD + 1), 52 padZeroes: true, 53 format: 'DHMS' 54 }); 55 }); 56 57 58 /////////////////////////////////////////////////////////////////////////////////////////////////// 59 $(".fancybox").fancybox(); 60 61 // rotator /////////////////////////////////////////////////// 62 $( '.rotator' ).cycle(); 63 64});
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.