1// (c) 2000-2009 by Gemius SA 2 3function gemius_parameters() { 4 var d=document; 5 var href=new String(d.location.href); 6 var ref; 7 var f=0; 8 var fv='-'; 9 if (d.referrer) { ref=new String(d.referrer); } else { ref=''; } 10 if (typeof Error!='undefined') { 11 var fo; 12 eval('try { f=(d==top.document)?1:2; if (typeof top.document.referrer=="string") { ref=top.document.referrer } } catch(e) {f=3;}'); 13 eval('try { fv=navigator.plugins["Shockwave Flash"].description; } catch (e) {}'); 14 eval('if (typeof ActiveXObject!="undefined") { try { fo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); } catch(e) { try { fo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); fv="X"; fo.AllowScriptAccess="always"; } catch(e) { if (fv=="X") { fv="WIN 6,0,20,0"; }} try { fo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); } catch(e) {} } if ((fv=="-" || fv=="X") && fo) { fv=fo.GetVariable("$version"); }}'); 15 } 16 var url='&fr='+f+'&fv='+escape(fv)+'&tz='+(new Date()).getTimezoneOffset()+'&href='+escape(href.substring(0,499))+'&ref='+escape(ref.substring(0,499)); 17 if (screen) { 18 var s=screen; 19 if (s.width) url+='&screen='+s.width+'x'+s.height; 20 if (s.colorDepth) url+='&col='+s.colorDepth; 21 } 22 return url; 23} 24function gemius_add_onload_event(obj,fn) { 25 if (obj.attachEvent) { 26 obj.attachEvent('onload', fn); 27 } else if(obj.addEventListener) { 28 obj.addEventListener('load', fn, false); 29 } 30} 31function gemius_append_script(xp_url) { 32 if (typeof Error!='undefined') { 33 eval('try { xp_javascript=document.createElement("script"); xp_javascript.src=xp_url; xp_javascript.type="text/javascript"; xp_javascript.defer=true; document.body.appendChild(xp_javascript); } catch(e) {}'); 34 } 35} 36function gemius_obj_loaded() { 37 window.pp_gemius_loaded+=1; 38 if (window.pp_gemius_loaded==2 && window.pp_gemius_image.width && window.pp_gemius_image.width>1) { 39 gemius_append_script(window.pp_gemius_script); 40 } 41} 42var pp_gemius_proto = (document.location && document.location.protocol && document.location.protocol=='https:')?'https://':'http://'; 43if (typeof pp_gemius_hitcollector == 'undefined') { 44 if (typeof gemius_hitcollector != 'undefined') { 45 pp_gemius_hitcollector = gemius_hitcollector; 46 } else { 47 pp_gemius_hitcollector = 'gask.hit.gemius.pl'; 48 } 49} 50var pp_gemius_host = pp_gemius_proto+pp_gemius_hitcollector+'/_'; 51if (typeof pp_gemius_nhit == 'undefined') { 52 if (typeof pp_gemius_identifier == 'undefined') { 53 if (typeof gemius_identifier != 'undefined') { 54 pp_gemius_identifier = gemius_identifier; 55 gemius_identifier = 'USED_'+gemius_identifier; 56 } else { 57 pp_gemius_identifier = ''; 58 } 59 } 60 if (typeof window.pp_gemius_cnt != 'undefined') { 61 if (typeof window.pp_gemius_images == 'undefined') { 62 window.pp_gemius_images = new Array(); 63 } 64 var gemius_l = window.pp_gemius_images.length; 65 window.pp_gemius_images[gemius_l]=new Image(); 66 window.pp_gemius_images[gemius_l].src = pp_gemius_host+(new Date()).getTime()+'/redot.gif?l=33&id=ERR_'+pp_gemius_identifier.replace(/id=/,'id=ERR_')+gemius_parameters(); 67 } else { 68 if (typeof pp_gemius_mode == 'undefined') { 69 window.pp_gemius_loaded = 0; 70 window.pp_gemius_script = pp_gemius_host+(new Date()).getTime()+'/pp.js?id='+pp_gemius_identifier; 71 gemius_add_onload_event(window,gemius_obj_loaded); 72 window.pp_gemius_image = new Image(); 73 gemius_add_onload_event(window.pp_gemius_image,gemius_obj_loaded); 74 window.pp_gemius_image.src = pp_gemius_host+(new Date()).getTime()+'/rexdot.gif?l=30&id='+pp_gemius_identifier+gemius_parameters(); 75 window.pp_gemius_cnt = 1; 76 } else { 77 window.pp_gemius_image = new Image(); 78 window.pp_gemius_image.src = pp_gemius_host+(new Date()).getTime()+'/rexdot.gif?l=31&id='+pp_gemius_identifier+gemius_parameters(); 79 window.pp_gemius_cnt = 1; 80 } 81 } 82 pp_gemius_identifier = 'USED_'+pp_gemius_identifier; 83} 84function pp_gemius_hit_int(list,rfrom,rto) { 85 var gu = pp_gemius_host+(new Date()).getTime()+'/redot.gif?l=32'; 86 if (typeof window.xgemius_prot_cnt == 'undefined') { 87 window.xgemius_prot_cnt=0; 88 } 89 if (typeof xgemius_prot_cnt == 'undefined') { 90 xgemius_prot_cnt=0; 91 } 92 if (window.xgemius_prot_cnt<=xgemius_prot_cnt) { 93 go=1; 94 window.xgemius_prot_cnt++; 95 } else { 96 go=0; 97 } 98 xgemius_prot_cnt++; 99 for (var i=rfrom ; i<rto ; i++) { 100 gu += '&id='+list[i]; 101 } 102 gu += gemius_parameters(); 103 if (typeof window.gemius_hit_images == 'undefined') { 104 window.gemius_hit_images = new Array(); 105 } 106 var gl = window.gemius_hit_images.length; 107 window.gemius_hit_images[gl]=new Image(); 108 if (go) { 109 window.gemius_hit_images[gl].src = gu; 110 } else { 111 window.gemius_hit_images[gl].src = gu.replace(/id=/,'id=DBL_'); 112 } 113} 114function pp_gemius_hit() { 115 for (i=0 ; i<arguments.length ; i+=5) { 116 if (i+5<arguments.length) { 117 pp_gemius_hit_int(arguments,i,i+5); 118 } else { 119 pp_gemius_hit_int(arguments,i,arguments.length); 120 } 121 } 122} 123if (typeof gemius_hit != 'function') { 124 gemius_hit=pp_gemius_hit; 125}
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.