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,c,f,h,k,t,v){ug_01&&ug_01.close();ug_01=window.open("http://www.voacap.com/voacap.php?year="+a+"&month="+b+"&txname="+c+"&txlat="+h+"&txlon="+k+"&txantenna=3el10m.ant&txpower=0.8000&txmode=24&rxname="+f+"&rxlat="+t+"&rxlon="+v+"&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"),c;var f=(new Date).getTime()-(new Date(a)).getTime(),h=Math.floor(f/864E5),k=Math.floor(f/31536E6),t=Math.floor(f/2628E6%12);a="";0==k&&0==t&&0==h?c="":(30>h&&(_d=1==h?" day ":" days ",a=h+_d),0!=k&&(_y=1==k?" year ":" years ",a=k+_y),0!=t&&10>k&&(_m=1==t?" month ":" months ",a=a+t+_m),c=a+" ago");b.innerHTML=c}catch(v){}}function fc09(a){return void 0==a?"":a}
function mapf(a,b){var c=screen.width,f=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="+(c-200)+",height="+(f-240)+",left=100,top=120")}
function o9(){function a(a,b){return 1==l[a][jl4]||l[a][jl1]!=b&&b!=ug_05}function b(a,b){return l[a][jl2]!=b}function c(a,b){return ca[a][jc12]==ug_12||ca[a][jc12]!=b}function f(a,b){return ca[a][jc12]==ug_12||cty[ca[a][jc12]][2]!=b}function h(a,b){return ca[a][jc8]<50*b||ca[a][jc8]>50*b+50}function k(a,b){return ca[a][jc9]<b||ca[a][jc9]>b+9}function t(a,b){return ca[a][jc11]!=b}function v(a,b){return ca[a][jc10]!=b}function z(a,b){return ca[a][jc5]!=b}function B(a){var b=!1,p=ca[a][jc5],d=ca[a][jc6],
e=ca[a][jc7],u,m,c,f,h;if(-1!=p){u=fc10(p);p=u[0];u=u[1];-1!=d&&(d=d.toString(),1==d.length?(c="0",m=d.charAt(0)):(c=d.charAt(0),m=d.charAt(1)),-1!=e?(f=String.fromCharCode(e%24+65),h=String.fromCharCode(e/24+65)):h=f="");c=p+u+m+c+f+h;4==c.length&&(b=!0);e=kva[c];void 0==e&&(e=0);e++;kva[c]=e;c=fc12(c);ug_08+=c.lng();ug_07+=c.lat();ug_09++;1!=ug_10&&ug_13.extend(c);if(1<e&&10>e)for(p=d=0,m=1,f=0,h=1;h<=e;h++)8==f&&(f=0,m++),f++,1==f&&(d=1,p=0),2==f&&(p=d=1),3==f&&(d=0,p=1),4==f&&(d=-1,p=1),5==f&&
(d=-1,p=0),6==f&&(p=d=-1),7==f&&(d=0,p=-1),8==f&&(d=1,p=-1),h==e-1&&(c=new google.maps.LatLng(c.lat()+1/48*p*m,c.lng()+1/24*d*m));10>e&&(a=new google.maps.Marker({position:c,map:ug_06,title:ca[a][jc0]+(1==b?"*":"")+" - "+ca[a][jc4]+" QSO",icon:0==b?null:"https://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png"}),A.push(a))}}var A=[];ug_13=new google.maps.LatLngBounds;var q=location.hash.split("|"),p,u="",e="station",m,d=0;ug_10=parseInt(q[1]);ug_11=parseInt(q[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"});
5==ug_10&&(m=new google.maps.Circle({map:ug_06,radius:5E5*ug_11,fillColor:"#FFFF00",fillOpacity:.2,clickable:!1,editable:!1}),q=new google.maps.Circle({map:ug_06,radius:5E5*(ug_11+1),fillColor:"#FFFF00",fillOpacity:.1,clickable:!1,editable:!1}),m.bindTo("center",home,"position"),q.bindTo("center",home,"position"));switch(ug_10){case 1:p=a;u="Summary - "+ba[ug_11];e="QSO";break;case 2:p=b;break;case 3:p=c;u=cty[ug_11][0];break;case 4:u=con[ug_11];p=f;break;case 5:u="Distance "+500*ug_11+"-"+500*(ug_11+
1)+" km.";p=h;break;case 6:u="Beam heading "+ug_11+"-"+(ug_11+9)+" degrees";p=k;break;case 8:u="CQ zone "+ug_11;p=t;break;case 9:u="ITU zone "+ug_11;p=v;break;case 10:p=fc10(ug_11),u="Field "+p[0]+p[1],p=z}if(1==ug_10||2==ug_10)for(q=0;q<l.length;q++)p(q,ug_11)||(B(l[q][0]),d++);else for(q=0;q<ca.length;q++)p(q,ug_11)||(B(q),d++);e=ct+" - "+u+" - "+d+" "+e+(1==d?"":"s");document.title=e;document.getElementById("ttl").innerHTML=e;100<A.length&&new MarkerClusterer(ug_06,A,{imagePath:"m"});10==ug_10?
(p=fc10(ug_11),x=20*g65(p[0],0)-180,y=10*g65(p[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)}var c,f;10>a?(0==a&&(c=b(0),f=b(1)),1==a&&(c=b(2),f=b(1)),2==a&&(c=b(3),f=b(1)),3==a&&(c=b(4),f=b(1)),4==a&&(c=b(2),f=b(5)),5==a&&(c=b(3),f=b(5)),6==a&&(c=b(6),f=b(5)),7==a&&(c=b(7),f=b(5)),8==a&&(c=b(6),f=b(8)),9==a&&(c=b(7),f=b(8))):(a-=10,f=String.fromCharCode(a%18+65),c=String.fromCharCode(a/18+65));return[c,f]}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+1*(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,c,f;if(0===this.length)return a;b=0;for(f=this.length;b<f;b++)c=this.charCodeAt(b),a=(a<<5)-a+c,a|=0;return a};
function drawChart(){function a(a,b,e){var c=document.createElement("label"),d=document.createElement("input");d.setAttribute("type","radio");d.setAttribute("name","rb");e&&d.setAttribute("id",e);b==ug_05&&d.setAttribute("checked","true");c.onchange=function(){currentChartBand=b;B(b)};c.appendChild(d);c.innerHTML+=a;return c}function b(a){a=a.hashCode();0>a&&(a*=-1);return A[(a+0)%A.length]}function c(a,b,e,c,d){var g=document.createElementNS(svgNS,"circle");g.setAttributeNS(null,"cx",a);g.setAttributeNS(null,
"cy",b);g.setAttributeNS(null,"r",e);g.setAttributeNS(null,"fill",c);g.setAttributeNS(null,"stroke","none");g.setAttributeNS(null,"fill-opacity","0.5");d&&(a=document.createElementNS(svgNS,"title"),a.textContent=d,g.appendChild(a));return g}function f(a,b,e,c,d,g,f,h){var n=document.createElementNS(svgNS,"text");n.setAttribute("x",a);n.setAttribute("y",b);n.setAttribute("text-anchor",c);n.textContent=e;d&&n.setAttribute("font-weight",d);g&&n.setAttribute("transform","rotate("+g+" "+a+" "+b+")");f&&
n.setAttribute("fill","#"+f);return h?(a=document.createElementNS("http://www.w3.org/2000/svg","a"),a.setAttribute("onclick",h),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""),n.setAttribute("fill","#0000ff"),a.appendChild(n),a):n}function h(a,b,e,c,d,f){var h=document.createElementNS(svgNS,"line");h.setAttribute("x1",a);h.setAttribute("y1",b);h.setAttribute("x2",e);h.setAttribute("y2",c);h.setAttribute("stroke",d);h.setAttribute("stroke-width",f);return h}function k(){for(var a=
Array(24),b=0;b<a.length;b++)a[b]=[];for(b=0;b<l.length;b++){var e=(new Date(sd+6E4*l[b][jl3])).getUTCHours(),m=Math.floor(ca[l[b][jl0]][jc9]/10);a[e][m]=(a[e][m]||0)+1}e=document.getElementById("gcc");b=document.createElementNS(svgNS,"svg");b.setAttribute("height",640);b.setAttribute("width",915);e.appendChild(b);for(e=0;360>=e;e++)0==e%20&&(b.appendChild(f(50,50+1.5*e,e,"end","bold")),h(b,60,50+1.5*e,865,50+1.5*e,"#eeeeee",1));for(m=0;24>m;m++)h(b,35*m+60,50,35*m+60,590,"#eeeeee",1),b.appendChild(f(35*
m+60,40,9<m?m.toString():"0"+m,"middle","bold"));b.appendChild(f(480,20,"Hour","middle"));b.appendChild(f(20,320,"Beam heading","middle",null,-90));for(m=0;24>m;m++)for(e=0;360>e;e++){var d=a[m][e],g=d;0<d&&(50<d&&(d=50+d/5),b.appendChild(c(35*m+60,15*e+50,d/2,"#0000ff","Qs: "+g+", Hour: "+(9<m?m.toString():"0"+m)+", Beam: "+10*e)))}}function t(){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=[],e=0;e<l.length;e+=5){var c=l[e][jl3],d=new Date(sd+6E4*c),d=new Date(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate(),d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds());b.push([d,e,c,2*c])}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 v(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 z(a,b,e,c,d,f,h){var r=document.createElementNS(svgNS,"rect");r.setAttributeNS(null,"x",b);r.setAttributeNS(null,"y",e);r.setAttributeNS(null,"height",c);r.setAttributeNS(null,"width",d);r.setAttributeNS(null,"fill","#"+f);b=document.createElementNS(svgNS,"title");b.textContent=h;r.appendChild(b);a.appendChild(r)}function h(a,b,e,c,d,f,h){var r=document.createElementNS(svgNS,"line");r.setAttribute("x1",b);r.setAttribute("y1",e);r.setAttribute("x2",
c);r.setAttribute("y2",d);r.setAttribute("stroke","#"+f);r.setAttribute("stroke-width",h);a.appendChild(r)}function B(c){var u=ug_05;c&&(u=c);var e=[];c=0;for(var m=Array(cty.length),d=0;d<l.length;d++)if(u==ug_05||l[d][jl1]==u){var g=ca[l[d][jl0]][jc12];if(ug_12==g)c+=1;else{var k=m[g]||0,k=k+1;m[g]=k}}for(g=d=0;g<cty.length;g++)k=m[g]||0,d+=k,0<k&&e.push([cty[g][0],k,g]);0<c&&(e.push(["Unknown",c]),d+=c);e.sort(function(a,b){result=b[1]-a[1];0==result&&(result=a[0].localeCompare(b[0]));return result});
c=[];m=d;for(g=0;g<e.length;g++)10>c.length&&(d-=e[g][1],c.push(e[g]));0<d&&c.push(["Others",d]);for(e=document.getElementById("gcc");e.firstChild;)e.removeChild(e.firstChild);g=document.getElementById("brbd");if(!g.firstChild)for(k=!1,bandIndex=0;bandIndex<sba.length;bandIndex++)if(0!=sba[bandIndex]){if((d=sba[bandIndex]==sba[ug_05])&&bandIndex!=ug_05){u=bandIndex;break}k||(k=document.createElement("span"),k.innerHTML="Band:",g.appendChild(k),k=!0);var r=a(ba[bandIndex],new Number(bandIndex),d?"selectedBand":
null);g.appendChild(r);if(d)break}g=document.createElementNS(svgNS,"svg");g.setAttribute("height",640);g.setAttribute("width",915);e.appendChild(g);for(var n=d=0,r=k=0;r<c.length;r++){var e=c[r],q=800*e[1]/m,k=k+e[1],d=0==d?50:d+n+3,t=b(e[0]),w=(100*e[1]/m).toFixed(1)+"%";z(g,d,260,70,q,t,e[0]+" - "+e[1]+" Qs - "+w);n=50+16*r;z(g,d+1,n-10,14,45,t);g.appendChild(f(d+25,n,w,"middle",null,null,v(t)));g.appendChild(f(d+50,n,e[0],"start",null,null,"000000",3==e.length?"sqs(1,"+e[2]+","+u+");return false;":
null));15<q&&g.appendChild(f(d+10,265,e[1],"end",null,-90,v(t)));h(g,d+2,n-10,d+2,258,t,3);10>r&&g.appendChild(f(d-4+q,345,r+1,"end",null,null,"000000"));0<r&&(e=d-5+q,w=9==r?"000000":"bbbbbb",h(g,53,n+260+50,d-70+q,n+260+50,w,1),h(g,d-30+q,n+260+50,e,n+260+50,w,1),h(g,d-10+q,n+260+50-3,e,n+260+50,w,2),h(g,d-10+q,n+260+50+3,e,n+260+50,w,2),h(g,53,n+260+50,58,n+260+50-3,w,2),h(g,53,n+260+50,58,n+260+50+3,w,2),h(g,d+q-2,332,d+q-2,n+260+50+5,t,3),e=(100*k/m).toFixed(1),g.appendChild(f(d-35+q,n+260+50+
3,e,"end",null,null,"000000")));n=q}g.appendChild(f(40,50,"%","end",null,-90,"000000"));g.appendChild(f(40,265,"QSOs","end",null,-90,"000000"));g.appendChild(f(40,383,"Accumulated %","end",null,-90,"000000"));g.appendChild(f(450,30,ct+" - Top 10 countries by QSOs - "+ba[u]+" - "+m+" QSOs","middle","bold",null,"000000"));h(g,51,333,50,333+16*(c.length+1),"cccccc",2)}var A="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&&B();2==chartId&&t();3==chartId&&43!=k99&&k();var q=document.getElementById("selectedBand");q&&q.focus()}};function sqs(a,b,c){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="+c+";\x3c/script>"):"string"!=typeof b?ug_01.document.write("<script>var p1="+b+";var p2="+c+";\x3c/script>"):ug_01.document.write("<script>var p1='"+b+"';var p2="+c+";\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:b.write("if(ca[l[i][jl0]][jc12]!=p1)continue;");break;case 2:b.write("if(ca[l[i][jl0]][jc9]<p1||ca[l[i][jl0]][jc9]>p1+9)continue;");break;case 3:b.write("if(i<p1[0]||i>p1[1])continue;");break;case 4:b.write("if(ca[l[i][jl0]][jc8]*10<p1 || ca[l[i][jl0]][jc8]*10>=p1+500)continue;");break;case 5:b.write("if(ca[l[i][jl0]][jc0].search(p1)==-1)continue;");break;case 13:b.write("if(ca[l[i][jl0]][jc0]!=p1)continue;");break;case 6:b.write("if(ca[l[i][jl0]][jc10]!=p1)continue;");break;case 7:b.write("if(ca[l[i][jl0]][jc11]!=p1)continue;");
break;case 8:b.write("if(fc03(ca[l[i][jl0]][jc12])!=p1)continue;");break;case 10:b.write("if(p1!=3&&l[i][jl2]!=p1)continue;");break;case 11:b.write("if(ca[l[i][jl0]][jc0].length != p1)continue;");break;case 12:b.write('if (reg==null)reg=new RegExp(p1, "i");if(!reg.test(ca[l[i][jl0]][jc0]))continue;')}b.write('if(p2<27&&l[i][jl1]!=p2)continue;ihw+=fc08(i);tq++;}document.write(ihw);document.write("</table>");');switch(a){case 1:b.write('var t="QSOs with "+fc01(p1);');break;case 2:b.write('var t="QSOs with beam heading "+p1+"-"+(p1+9)+" degrees";');
break;case 3:b.write('var t="QSOs #"+(p1[0]+1)+" - "+(p1[1]+1);');break;case 4:b.write('var t="QSOs with distance "+p1+" - "+(p1+500)+" km";');break;case 5,13:b.write('var t="QSOs with "+p1;');break;case 6:b.write('var t="QSOs with "+p1+" ITU zone";');break;case 7:b.write('var t="QSOs with "+p1+" CQ zone";');break;case 8:b.write('var t="QSOs with "+con[p1]+" continent";');break;case 10:b.write('var t="QSOs in "+ma[p1];');break;case 11:b.write('var t="QSOs with "+p1+"-char* callsigns";');break;case 12:b.write('var t="QSOs with stations with "+p1+" callsign structure";')}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],c=ca[b][jc12],f=ca[b][jc4],h=fa[l[a][jl6]],h="<tr align='center' class='td"+ug_03%2+"'><td>"+(a+1)+"</td><td class='b"+(l[a][jl1]+1)+"'>"+(0<h?h:ba[l[a][jl1]])+"</td><td>"+ma[l[a][jl2]]+"</td><td>",k=new Date(sd+6E4*l[a][jl3]),t=k.getUTCHours(),v=k.getUTCMinutes(),z=k.getUTCDate(),t=9<t?t:"0"+t,v=9<v?v:"0"+v,k=(9<z?z:"0"+z)+"-"+monthsNames[k.getUTCMonth()]+"-"+k.getUTCFullYear();43!=k99&&(k=k+" "+t+":"+
v);b=h+k+"</td>"+("<td class='q"+(6<f?6:f)+"'>"+f+"</td>")+"<td align='left'>"+ca[b][jc0]+"</td><td class='c"+fc03(c)+"'>"+con[fc03(c)]+"</td><td>"+(c==ug_12?"?":cty[c][1])+"</td><td align='left'>"+fc01(c)+"</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<f?"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,c){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<=c;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==k99&&(a=a.replace(", time",""));0!=pq&&(a+="<th>Qs<br/>Pts</th>");return a+"</tr>"}
function wsq(a){var b=lh(),c;for(c=0;c<a.length;c++)b+=fc08(a[c]);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]};
