1function licz_promocja(yr,m,d,hh,mm,ss,klasa){ 2 3 var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); 4 var current="0:00:00 Koniec Promocji"; 5 6 theyear=yr;themonth=m;theday=d;thehh=hh;themm=mm;thess=ss;theklasa=klasa; 7 var today=new Date(); 8 var todayy=today.getYear(); 9 10 if (todayy < 1000) { todayy+=1900; } 11 12 var todaym=today.getMonth(); 13 var todayd=today.getDate(); 14 var todayh=today.getHours(); 15 var todaymin=today.getMinutes(); 16 var todaysec=today.getSeconds(); 17 var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec; 18 19 futurestring=montharray[m-1]+" "+d+", "+yr+", "+hh+":"+mm+":"+ss+""; 20 21 dd=Date.parse(futurestring)-Date.parse(todaystring); 22 dday=Math.floor(dd/(60*60*1000*24)*1); 23 dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1); 24 dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1); 25 dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1); 26 27 if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=0){ 28 $('.promocja_czas'+klasa+'').html(current); 29 return 30 }else if(dday<=0&&dhour<=0){ 31 $('.promocja_czas'+klasa+'').html("0h "+dmin+"m i "+dsec+"s"); 32 setTimeout("licz_promocja(theyear,themonth,theday, thehh, themm, thess,theklasa)",1000); 33 }else if(dday<=0){ 34 $('.promocja_czas'+klasa+'').html(dhour+"h "+dmin+"m "+dsec+"s"); 35 setTimeout("licz_promocja(theyear,themonth,theday, thehh, themm, thess,theklasa)",1000); 36 }else{ 37 $('.promocja_czas'+klasa+'').html(dday+ "d "+dhour+"h "+dmin+"m i "+dsec+"s"); 38 setTimeout("licz_promocja(theyear,themonth,theday, thehh, themm, thess,theklasa)",1000); 39 } 40} 41 42 43 44WebFontConfig = { 45 google: { families: ['FontOne', 'FontTwo'] }, 46 fontinactive: function (fontFamily, fontDescription) { 47 //Something went wrong! Let's load our local fonts. 48 WebFontConfig = { 49 custom: { families: ['FontOne', 'FontTwo'], 50 urls: ['font-one.css', 'font-two.css'] 51 } 52 }; 53 loadFonts(); 54 } 55}; 56 57function loadFonts() { 58 var wf = document.createElement('script'); 59 wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + 60 '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; 61 wf.type = 'text/javascript'; 62 wf.async = 'true'; 63 var s = document.getElementsByTagName('script')[0]; 64 s.parentNode.insertBefore(wf, s); 65} 66 67(function () { 68 //Once document is ready, load the fonts. 69 loadFonts(); 70 })();
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.