var kva={},svgNS="http://www.w3.org/2000/svg",jl0=0,jl1=1,jl2=2,jl3=3,jl4=4,jl5=5,jl6=6,jl7=7,jc0=0,jc1=1,jc2=2,jc3=3,jc4=4,jc5=5,jc6=6,jc7=7,jc8=8,jc9=9,jc10=10,jc11=11,jc12=12,jc13=13,ug_00=null,ug_01=null,ug_02=null,ug_03=0,ug_05=27,ug_06,ug_07=0,ug_08=0,ug_09=0,ug_10=0,ug_11=0,ug_12=65535,ug_13=null,ug_14="DMEFPNJKO";
function voa(a,b,f,e,m,n,t,u){ug_01&&ug_01.close();ug_01=window.open("http://www.voacap.com/voacap.php?year="+a+"&month="+b+"&txname="+f+"&txlat="+m+"&txlon="+n+"&txantenna=3el10m.ant&txpower=0.8000&txmode=24&rxname="+e+"&rxlat="+t+"&rxlon="+u+"&rxantenna=3el10m.ant&path=Short","ug_01","menubar=0,resizable=1,scrollbars=1,status=1,width=730,height=800,left="+(screen.width-730)/2+",top="+(screen.height-800)/2)}
function pe(a){try{var b=document.getElementById("sh5ago");var f=(new Date).getTime()-(new Date(a)).getTime(),e=Math.floor(f/864E5),m=Math.floor(f/31536E6),n=Math.floor(f/2628E6%12);a="";if(0==m&&0==n&&0==e)var t="";else 30>e&&(_d=1==e?" day ":" days ",a=e+_d),0!=m&&(_y=1==m?" year ":" years ",a=m+_y),0!=n&&10>m&&(_m=1==n?" month ":" months ",a=a+n+_m),t=a+" ago";b.innerHTML=t}catch(u){}}function fc09(a){return void 0==a?"":a}
function mapf(a,b){var f=screen.width,e=screen.height;ug_02&&ug_02.close();ug_02=window.open("map.html#|"+a+"|"+b,"mapw","location=0,menubar=0,resizable=1,scrollbars=1,status=1,width="+(f-200)+",height="+(e-240)+",left=100,top=120")}
function o9(){function a(a,c){return 1==l[a][jl4]||l[a][jl1]!=c&&c!=ug_05}function b(a,c){return l[a][jl2]!=c}function f(a,c){return ca[a][jc12]==ug_12||ca[a][jc12]!=c}function e(a,c){return ca[a][jc12]==ug_12||cty[ca[a][jc12]][2]!=c}function m(a,c){return ca[a][jc8]<50*c||ca[a][jc8]>50*c+50}function n(a,c){return ca[a][jc9]<c||ca[a][jc9]>c+9}function t(a,c){return ca[a][jc11]!=c}function u(a,c){return ca[a][jc10]!=c}function r(a,c){return ca[a][jc5]!=c}function A(a){var c=!1,b=ca[a][jc5],d=ca[a][jc6],
e=ca[a][jc7];if(-1!=b){var p=fc10(b);b=p[0];p=p[1];if(-1!=d){d=d.toString();if(1==d.length){var g="0";var w=d.charAt(0)}else g=d.charAt(0),w=d.charAt(1);if(-1!=e){var h=String.fromCharCode(e%24+65);var f=String.fromCharCode(e/24+65)}else f=h=""}g=b+p+w+g+h+f;4==g.length&&(c=!0);e=kva[g];void 0==e&&(e=0);e++;kva[g]=e;g=fc12(g);ug_08+=g.lng();ug_07+=g.lat();ug_09++;1!=ug_10&&ug_13.extend(g);if(1<e&&10>e)for(b=d=0,w=1,h=0,f=1;f<=e;f++)8==h&&(h=0,w++),h++,1==h&&(d=1,b=0),2==h&&(b=d=1),3==h&&(d=0,b=1),
4==h&&(d=-1,b=1),5==h&&(d=-1,b=0),6==h&&(b=d=-1),7==h&&(d=0,b=-1),8==h&&(d=1,b=-1),f==e-1&&(g=new google.maps.LatLng(g.lat()+1/48*b*w,g.lng()+1/24*d*w));10>e&&(a=new google.maps.Marker({position:g,map:ug_06,title:ca[a][jc0]+(1==c?"*":"")+" - "+ca[a][jc4]+" QSO",icon:0==c?null:"https://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png"}),v.push(a))}}var v=[];ug_13=new google.maps.LatLngBounds;var k=location.hash.split("|"),p="",w="station",d=0;ug_10=parseInt(k[1]);ug_11=parseInt(k[2]);ug_06=new google.maps.Map(document.getElementById("map-canvas"),
{zoom:3,scaleControl:!0});home=new google.maps.Marker({map:ug_06,position:fc12(myqth),title:mycall+" ("+myqth+")",icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAACmAAAApgHdff84AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAACpQTFRF////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5lNJigAAAA10Uk5TAAIQIDBggIKeoLDQ7uXlaoAAAABxSURBVBhXY2DAAIwCSByJRgbXEJhE7w2B3Gswibt3G2Ecxt67d2/UXoNL3L179hpcAgiuISSgHKjE3VsCCAmggQgJoIECCAmQFFwCKMUwcy6MfXMmAwMvjHOBAQtn52wkTgIbaRxmY2NjBSYgYcCAAgC51IKRAxRjtAAAAABJRU5ErkJgggf6bd11711d9b5292bd4815d8aee94e1b"});
if(5==ug_10){var h=new google.maps.Circle({map:ug_06,radius:5E5*ug_11,fillColor:"#FFFF00",fillOpacity:.2,clickable:!1,editable:!1});k=new google.maps.Circle({map:ug_06,radius:5E5*(ug_11+1),fillColor:"#FFFF00",fillOpacity:.1,clickable:!1,editable:!1});h.bindTo("center",home,"position");k.bindTo("center",home,"position")}switch(ug_10){case 1:var c=a;p="Summary - "+ba[ug_11];w="QSO";break;case 2:c=b;break;case 3:c=f;p=cty[ug_11][0];break;case 4:p=con[ug_11];c=e;break;case 5:p="Distance "+500*ug_11+"-"+
500*(ug_11+1)+" km.";c=m;break;case 6:p="Beam heading "+ug_11+"-"+(ug_11+9)+" degrees";c=n;break;case 8:p="CQ zone "+ug_11;c=t;break;case 9:p="ITU zone "+ug_11;c=u;break;case 10:c=fc10(ug_11),p="Field "+c[0]+c[1],c=r}if(1==ug_10||2==ug_10)for(k=0;k<l.length;k++)c(k,ug_11)||(A(l[k][0]),d++);else for(k=0;k<ca.length;k++)c(k,ug_11)||(A(k),d++);w=ct+" - "+p+" - "+d+" "+w+(1==d?"":"s");document.title=w;document.getElementById("ttl").innerHTML=w;100<v.length&&0!=e00eeeee00eeee0000000ee00ee00ee0&&new MarkerClusterer(ug_06,
v,{imagePath:"m"});10==ug_10?(c=fc10(ug_11),x=20*g65(c[0],0)-180,y=10*g65(c[1],0)-90,new google.maps.Rectangle({strokeColor:"#000000",strokeOpacity:.8,strokeWeight:2,fillColor:"#ffff00",fillOpacity:.15,map:ug_06,bounds:new google.maps.LatLngBounds(new google.maps.LatLng(y,x),new google.maps.LatLng(y+10,x+20))}),ug_06.setCenter(new google.maps.LatLng(y+5,x+10)),ug_06.setZoom(5)):1==ug_10||1==d?ug_06.setCenter(new google.maps.LatLng(ug_07/ug_09,ug_08/ug_09)):ug_06.fitBounds(ug_13)}
function fc10(a){function b(a){return ug_14.charAt(a)}if(10>a){if(0==a){var f=b(0);var e=b(1)}1==a&&(f=b(2),e=b(1));2==a&&(f=b(3),e=b(1));3==a&&(f=b(4),e=b(1));4==a&&(f=b(2),e=b(5));5==a&&(f=b(3),e=b(5));6==a&&(f=b(6),e=b(5));7==a&&(f=b(7),e=b(5));8==a&&(f=b(6),e=b(8));9==a&&(f=b(7),e=b(8))}else a-=10,e=String.fromCharCode(a%18+65),f=String.fromCharCode(a/18+65);return[f,e]}function g65(a,b){return a.charCodeAt(b)-65}
function fc12(a){4==a.length&&(a+="LL");var b=20*g65(a,0)-180+2*(a.charCodeAt(2)-48)+2/24*g65(a,4);a=10*g65(a,1)-90+(a.charCodeAt(3)-48)+1/24*g65(a,5);return new google.maps.LatLng(a+1/48,b+1/24)}String.prototype.hashCode=function(){var a=0,b;if(0===this.length)return a;var f=0;for(b=this.length;f<b;f++){var e=this.charCodeAt(f);a=(a<<5)-a+e;a|=0}return a};
function drawChart(){function a(a,b,d){var e=document.createElement("label"),c=document.createElement("input");c.setAttribute("type","radio");c.setAttribute("name","rb");d&&c.setAttribute("id",d);b==ug_05&&c.setAttribute("checked","true");e.onchange=function(){currentChartBand=b;A(b)};e.appendChild(c);e.innerHTML+=a;return e}function b(a){a=a.hashCode();0>a&&(a*=-1);return v[(a+0)%v.length]}function f(a,b,e,h,c){var d=document.createElementNS(svgNS,"circle");d.setAttributeNS(null,"cx",a);d.setAttributeNS(null,
"cy",b);d.setAttributeNS(null,"r",e);d.setAttributeNS(null,"fill",h);d.setAttributeNS(null,"stroke","none");d.setAttributeNS(null,"fill-opacity","0.5");c&&(a=document.createElementNS(svgNS,"title"),a.textContent=c,d.appendChild(a));return d}function e(a,b,d,e,c,g,f,B){var h=document.createElementNS(svgNS,"text");h.setAttribute("x",a);h.setAttribute("y",b);h.setAttribute("text-anchor",e);h.textContent=d;c&&h.setAttribute("font-weight",c);g&&h.setAttribute("transform","rotate("+g+" "+a+" "+b+")");f&&
h.setAttribute("fill","#"+f);return B?(a=document.createElementNS("http://www.w3.org/2000/svg","a"),a.setAttribute("onclick",B),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""),h.setAttribute("fill","#0000ff"),a.appendChild(h),a):h}function m(){for(var a=Array(24),b=0;b<a.length;b++)a[b]=[];for(b=0;b<l.length;b++){var d=(new Date(sd+6E4*l[b][jl3])).getUTCHours(),h=Math.floor(ca[l[b][jl0]][jc9]/10);a[d][h]=(a[d][h]||0)+1}d=document.getElementById("gcc");b=document.createElementNS(svgNS,
"svg");b.setAttribute("height",640);b.setAttribute("width",915);d.appendChild(b);for(d=0;360>=d;d++)0==d%20&&(b.appendChild(e(50,50+1.5*d,d,"end","bold")),r(b,60,50+1.5*d,865,50+1.5*d,"#eeeeee",1));for(h=0;24>h;h++)r(b,35*h+60,50,35*h+60,590,"#eeeeee",1),b.appendChild(e(35*h+60,40,9<h?h.toString():"0"+h,"middle","bold"));b.appendChild(e(480,20,"Hour","middle"));b.appendChild(e(20,320,"Beam heading","middle",null,-90));for(h=0;24>h;h++)for(d=0;360>d;d++){var c=a[h][d],g=c;0<c&&(50<c&&(c=50+c/5),b.appendChild(f(35*
h+60,15*d+50,c/2,"#0000ff","Qs: "+g+", Hour: "+(9<h?h.toString():"0"+h)+", Beam: "+10*d)))}}function n(){var a=new google.visualization.DataTable;a.addColumn("date","Time");a.addColumn("number","QSOs");a.addColumn("number","Minutes 1");a.addColumn("number","Minutes 2");for(var b=[],d=0;d<l.length;d+=5){var e=l[d][jl3],c=new Date(sd+6E4*e);c=new Date(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate(),c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds());b.push([c,d,e,2*e])}a.addRows(b);(new google.visualization.LineChart(document.getElementById("gcc"))).draw(a,
{explorer:{maxZoomOut:2,keepInBounds:!1},vAxes:{0:{title:"QSOs"},1:{title:"Minutes"}}})}function t(a){var b=parseInt(a.substr(0,2),16),e=parseInt(a.substr(2,2),16);a=parseInt(a.substr(4,2),16);return 128<=(299*b+587*e+114*a)/1E3?"000000":"ffffff"}function u(a,b,e,h,c,g,f){var d=document.createElementNS(svgNS,"rect");d.setAttributeNS(null,"x",b);d.setAttributeNS(null,"y",e);d.setAttributeNS(null,"height",h);d.setAttributeNS(null,"width",c);d.setAttributeNS(null,"fill","#"+g);b=document.createElementNS(svgNS,
"title");b.textContent=f;d.appendChild(b);a.appendChild(d)}function r(a,b,e,h,c,g,f){var d=document.createElementNS(svgNS,"line");d.setAttribute("x1",b);d.setAttribute("y1",e);d.setAttribute("x2",h);d.setAttribute("y2",c);d.setAttribute("stroke","#"+g);d.setAttribute("stroke-width",f);a.appendChild(d)}function A(f){var n=ug_05;f&&(n=f);var d=[];f=0;for(var h=Array(cty.length),c=0;c<l.length;c++)if(n==ug_05||l[c][jl1]==n){var g=ca[l[c][jl0]][jc12];if(ug_12==g)f+=1;else{var k=h[g]||0;k+=1;h[g]=k}}for(g=
c=0;g<cty.length;g++)k=h[g]||0,c+=k,0<k&&d.push([cty[g][0],k,g]);0<f&&(d.push(["Unknown",f]),c+=f);d.sort(function(a,b){result=b[1]-a[1];0==result&&(result=a[0].localeCompare(b[0]));return result});f=[];h=c;for(g=0;g<d.length;g++)10>f.length&&(c-=d[g][1],f.push(d[g]));0<c&&f.push(["Others",c]);for(d=document.getElementById("gcc");d.firstChild;)d.removeChild(d.firstChild);g=document.getElementById("brbd");if(!g.firstChild)for(k=!1,bandIndex=0;bandIndex<sba.length;bandIndex++)if(0!=sba[bandIndex]){if((c=
sba[bandIndex]==sba[ug_05])&&bandIndex!=ug_05){n=bandIndex;break}k||(k=document.createElement("span"),k.innerHTML="Band:",g.appendChild(k),k=!0);var m=a(ba[bandIndex],new Number(bandIndex),c?"selectedBand":null);g.appendChild(m);if(c)break}g=document.createElementNS(svgNS,"svg");g.setAttribute("height",640);g.setAttribute("width",915);d.appendChild(g);var q=c=0;for(m=k=0;m<f.length;m++){d=f[m];var p=800*d[1]/h;k+=d[1];c=0==c?50:c+q+3;var v=b(d[0]),z=(100*d[1]/h).toFixed(1)+"%";u(g,c,260,70,p,v,d[0]+
" - "+d[1]+" Qs - "+z);q=50+16*m;u(g,c+1,q-10,14,45,v);g.appendChild(e(c+25,q,z,"middle",null,null,t(v)));g.appendChild(e(c+50,q,d[0],"start",null,null,"000000",3==d.length?"sqs(1,"+d[2]+","+n+");return false;":null));15<p&&g.appendChild(e(c+10,265,d[1],"end",null,-90,t(v)));r(g,c+2,q-10,c+2,258,v,3);10>m&&g.appendChild(e(c-4+p,345,m+1,"end",null,null,"000000"));0<m&&(d=c-5+p,z=9==m?"000000":"bbbbbb",r(g,53,q+260+50,c-70+p,q+260+50,z,1),r(g,c-30+p,q+260+50,d,q+260+50,z,1),r(g,c-10+p,q+260+50-3,d,
q+260+50,z,2),r(g,c-10+p,q+260+50+3,d,q+260+50,z,2),r(g,53,q+260+50,58,q+260+50-3,z,2),r(g,53,q+260+50,58,q+260+50+3,z,2),r(g,c+p-2,332,c+p-2,q+260+50+5,v,3),d=(100*k/h).toFixed(1),g.appendChild(e(c-35+p,q+260+50+3,d,"end",null,null,"000000")));q=p}g.appendChild(e(40,50,"%","end",null,-90,"000000"));g.appendChild(e(40,265,"QSOs","end",null,-90,"000000"));g.appendChild(e(40,383,"Accumulated %","end",null,-90,"000000"));g.appendChild(e(450,30,ct+" - Top 10 countries by QSOs - "+ba[n]+" - "+h+" QSOs",
"middle","bold",null,"000000"));r(g,51,333,50,333+16*(f.length+1),"cccccc",2)}var v="F0F8FF FAEBD7 00FFFF 7FFFD4 F0FFFF F5F5DC FFE4C4 000000 FFEBCD 0000FF 8A2BE2 A52A2A DEB887 5F9EA0 7FFF00 D2691E FF7F50 6495ED FFF8DC DC143C 00FFFF 00008B 008B8B B8860B A9A9A9 A9A9A9 006400 BDB76B 8B008B 556B2F FF8C00 9932CC 8B0000 E9967A 8FBC8F 483D8B 2F4F4F 2F4F4F 00CED1 9400D3 FF1493 00BFFF 696969 696969 1E90FF B22222 FFFAF0 228B22 FF00FF DCDCDC F8F8FF FFD700 DAA520 808080 808080 008000 ADFF2F F0FFF0 FF69B4 CD5C5C 4B0082 FFFFF0 F0E68C E6E6FA FFF0F5 7CFC00 FFFACD ADD8E6 F08080 E0FFFF FAFAD2 D3D3D3 D3D3D3 90EE90 FFB6C1 FFA07A 20B2AA 87CEFA 778899 778899 B0C4DE FFFFE0 00FF00 32CD32 FAF0E6 FF00FF 800000 66CDAA 0000CD BA55D3 9370DB 3CB371 7B68EE 00FA9A 48D1CC C71585 191970 F5FFFA FFE4E1 FFE4B5 FFDEAD 000080 FDF5E6 808000 6B8E23 FFA500 FF4500 DA70D6 EEE8AA 98FB98 AFEEEE DB7093 FFEFD5 FFDAB9 CD853F FFC0CB DDA0DD B0E0E6 800080 663399 FF0000 BC8F8F 4169E1 8B4513 FA8072 F4A460 2E8B57 A0522D C0C0C0 87CEEB 6A5ACD 708090 708090 00FF7F 4682B4 D2B48C 008080 D8BFD8 FF6347 40E0D0 EE82EE F5DEB3 F5F5F5 FFFF00 9ACD32".split(" ");
if(0==l.length)document.getElementById("mt").innerHTML="No log";else{1==chartId&&A();2==chartId&&n();3==chartId&&43!=e00eeeee00eeee00000000e00ee00ee0&&m();var k=document.getElementById("selectedBand");k&&k.focus()}};function sqs(a,b,f){if(0==fg)alert("No log");else{ug_01&&ug_01.close();ug_01=window.open("","sh5w","location=0,menubar=0,resizable=1,scrollbars=1,status=1,width=900,height=550,left="+(screen.width-900)/2+",top="+(screen.height-550)/2);b.constructor===Array?ug_01.document.write("<script>var p1=["+b+"];var p2="+f+";\x3c/script>"):"string"!=typeof b?ug_01.document.write("<script>var p1="+b+";var p2="+f+";\x3c/script>"):ug_01.document.write("<script>var p1='"+b+"';var p2="+f+";\x3c/script>");b=ug_01.document;
b.write('<html><head><meta content="text/html; charset=windows-1252" http-equiv="content-type"/><link rel="stylesheet" href="sh5classic.css" type="text/css"/></head><body><div style="text-align:center;margin-bottom: 5px;" id="pold"></div><script language="javascript" src="l.js">\x3c/script><script language="javascript" src="c.js">\x3c/script><script language="javascript" src="sh5.js">\x3c/script><script language="javascript">var sd=window.opener.sd;var tq=0;var reg=null;document.open();document.write(lh());var ihw="";for(i=0;i<l.length;i++){');
switch(a){case 1:var e="if(ca[l[i][jl0]][jc12]!=p1)continue;";break;case 2:e="if(ca[l[i][jl0]][jc9]<p1||ca[l[i][jl0]][jc9]>p1+9)continue;";break;case 3:e="if(i<p1[0]||i>p1[1])continue;";break;case 4:e="if(ca[l[i][jl0]][jc8]*10<p1 || ca[l[i][jl0]][jc8]*10>=p1+500)continue;";break;case 5:e="if(ca[l[i][jl0]][jc0].search(p1)==-1)continue;";break;case 13:e="if(ca[l[i][jl0]][jc0]!=p1)continue;";break;case 6:e="if(ca[l[i][jl0]][jc10]!=p1)continue;";break;case 7:e="if(ca[l[i][jl0]][jc11]!=p1)continue;";break;
case 8:e="if(fc03(ca[l[i][jl0]][jc12])!=p1)continue;";break;case 10:e="if(p1!=3&&l[i][jl2]!=p1)continue;";break;case 11:e="if(ca[l[i][jl0]][jc0].length != p1)continue;";break;case 12:e='if (reg==null)reg=new RegExp(p1, "i");if(!reg.test(ca[l[i][jl0]][jc0]))continue;'}b.write(e);b.write('if(p2<27&&l[i][jl1]!=p2)continue;ihw+=fc08(i);tq++;}document.write(ihw);document.write("</table>");');switch(a){case 1:e='var t="QSOs with "+fc01(p1);';break;case 2:e='var t="QSOs with beam heading "+p1+"-"+(p1+9)+" degrees";';
break;case 3:e='var t="QSOs #"+(p1[0]+1)+" - "+(p1[1]+1);';break;case 4:e='var t="QSOs with distance "+p1+" - "+(p1+500)+" km";';break;case 13:e='var t="QSOs with "+p1;';break;case 5:e='var t="QSOs with "+p1;';break;case 6:e='var t="QSOs with "+p1+" ITU zone";';break;case 7:e='var t="QSOs with "+p1+" CQ zone";';break;case 8:e='var t="QSOs with "+con[p1]+" continent";';break;case 10:e='var t="QSOs in "+ma[p1];';break;case 11:e='var t="QSOs with "+p1+"-character callsigns";';break;case 12:e='var t="QSOs with stations with "+p1+" callsign structure";'}b.write(e);
b.write('if(p2<27)t+=", "+ba[p2];t=ct+": "+t+" ("+tq+") - SH5 "+sh5ver;document.title=t;document.getElementById(\'pold\').innerHTML=t;');b.write("document.close();\x3c/script></body></html>")}}var monthsNames="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");
function fc08(a){if(-1==a)return"<tr><td colspan='17'>&nbsp;</td></tr>";ug_03++;var b=l[a][jl0],f=ca[b][jc12],e=ca[b][jc4],m=fa[l[a][jl6]];m="<tr align='center' class='td"+ug_03%2+"'><td>"+(a+1)+"</td><td class='b"+(l[a][jl1]+1)+"'>"+(0<m?m:ba[l[a][jl1]])+"</td><td>"+ma[l[a][jl2]]+"</td><td>";var n=new Date(sd+6E4*l[a][jl3]),t=n.getUTCHours(),u=n.getUTCMinutes(),r=n.getUTCDate();t=9<t?t:"0"+t;u=9<u?u:"0"+u;n=(9<r?r:"0"+r)+"-"+monthsNames[n.getUTCMonth()]+"-"+n.getUTCFullYear();43!=e00eeeee00eeee00000000e00ee00ee0&&
(n=n+" "+t+":"+u);b=m+n+"</td>"+("<td class='q"+(6<e?6:e)+"'>"+e+"</td>")+"<td align='left'>"+ca[b][jc0]+"</td><td class='c"+fc03(f)+"'>"+con[fc03(f)]+"</td><td>"+(f==ug_12?"?":cty[f][1])+"</td><td align='left'>"+fc01(f)+"</td><td align='right'>"+10*ca[b][jc8]+"</td><td>"+ca[b][jc9]+"</td><td>"+("<div class='master"+(0!=ca[b][jc13]?"2'>OK":(1<e?"3":"1")+"'>NO")+"</div>")+"</td><td>"+(0!=l[a][jl4]?"<div class='dupe'>Dupe</div>":"")+"</td><td>"+ca[b][jc11]+"</td><td>"+ca[b][jc10]+"</td><td>"+fc09(l[a][jl7])+
"</td>";0!=pq&&(b=b+"<td>"+l[a][jl5]+"</td>");return b+"</tr>"}function wl(a,b,f){null!=a?(null!=ug_00&&ug_00.removeAttribute("class"),a.setAttribute("class","mdv"),ug_00=a):(a=document.getElementById("ll0"),null!=a&&(a.setAttribute("class","mdv"),ug_00=a));for(a=lh();b<=f;b++)a+=fc08(b);a+="</table>";document.getElementById("logdiv").innerHTML=a}
function lh(){var a="<table width='100%' class='mtc'><tr class='thc'><th>QSO<br/>#</th><th>Band,<br/>kHz</th><th>Mode</th><th>Date, time</th><th>Qs</th><th>Callsign</th><th>Cont.</th><th colspan='2'>Country</th><th>Dist.,<br/>km</th><th colspan='1'>Head.,<br/>&#176;</th><th>In<br/>MASTER</th><th>Dupe</th><th>CQ</th><th>ITU</th><th>Tx</th>";43==e00eeeee00eeee00000000e00ee00ee0&&(a=a.replace(", time",""));0!=pq&&(a+="<th>Qs<br/>Pts</th>");return a+"</tr>"}
function wsq(a){var b=lh(),f;for(f=0;f<a.length;f++)b+=fc08(a[f]);b+="</table>";document.getElementById("logdiv").innerHTML=b}function fc01(a){return a==ug_12?"<b>UNKNOWN</b>":cty[a][0]}function fc03(a){return a==ug_12?"0":cty[a][2]};
