function setFocus(){(navigator.userAgent.toLowerCase().indexOf("msie")<0||parseInt(navigator.appVersion)>=4)&&focus()}function requireFrames(n){top.frames.length<1&&(top.location=n)}function breakFrames(){top.location!=self.location&&(top.location=self.location)}function fccApps(n){open("http://wireless2.fcc.gov/UlsApp/ApplicationSearch/applMain.jsp?applID="+n,"NewWindow","status=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes")}function fccCall(n){open("http://gullfoss2.fcc.gov/cgi-bin/ws.exe/genmen/uls/call_res.hts?db_id=19&rows=&callsign="+n,"NewWindow","status=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes")}function fccLics(n){open("http://wireless2.fcc.gov/UlsApp/UlsSearch/license.jsp?licKey="+n,"NewWindow","status=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes")}function GotoPage(n){location.href=n>1?GPageURL.replace(/{%PAGENO%}/,n):GPageURL.replace(/{%PAGENO%}/,"")}function stopRKey(n){var t=n?n:event?event:null,i=t.target?t.target:t.srcElement?t.srcElement:null;if(t.keyCode==13&&i.type=="text")return!1}function disableBackSpace(n){var t;if(n){if(t=n.which?n.which:n.keyCode,t==null||t!=8)return!0}else return!0;if(n.srcElement){if(tag=n.srcElement.tagName.toUpperCase(),type=n.srcElement.type,readOnly=n.srcElement.readOnly,type==null)return!1;type=n.srcElement.type.toUpperCase()}else tag=n.target.nodeName.toUpperCase(),type=n.target.type?n.target.type.toUpperCase():"";return tag=="INPUT"||type=="TEXT"||type=="TEXTAREA"?readOnly==!0?!1:(tag=="INPUT"&&type=="RADIO"||tag=="INPUT"&&type=="CHECKBOX")&&t==8?!1:!0:t!=8}function browserName(){var n=navigator.userAgent.toLowerCase();return n.indexOf("opera")!=-1?"Opera":n.indexOf("staroffice")!=-1?"Star Office":n.indexOf("webtv")!=-1?"WebTV":n.indexOf("beonex")!=-1?"Beonex":n.indexOf("chimera")!=-1?"Chimera":n.indexOf("netpositive")!=-1?"NetPositive":n.indexOf("phoenix")!=-1?"Phoenix":n.indexOf("firefox")!=-1?"Firefox":n.indexOf("safari")!=-1?"Safari":n.indexOf("skipstone")!=-1?"SkipStone":n.indexOf("msie")!=-1?"Internet Explorer":n.indexOf("netscape")!=-1?"Netscape":n.indexOf("mozilla/5.0")!=-1?"Mozilla":n.indexOf("/")!=-1?n.substr(0,n.indexOf("/"))!="mozilla"?navigator.userAgent.substr(0,n.indexOf("/")):"Netscape":n.indexOf(" ")!=-1?navigator.userAgent.substr(0,n.indexOf(" ")):navigator.userAgent}function CallFormatChanged(n){var r=n.value,f=document.getElementById("updateProgress"),i,u,t;for(f.innerHTML="",i=document.getElementById("CallPrefix");i.firstChild!=null;)i.removeChild(i.lastChild);u=document.getElementById("CallPrefix2");u&&(u.style.display=r!="cf2x1"&&r!="cf2x2"&&r!="cf2x3"?"none":"inline");r=="cf1x2"||r=="cf1x3"?(t=document.createElement("option"),t.text="K",t.value="K",t.innerHtml="K",t.innerText="K",i.appendChild(t),t=document.createElement("option"),t.text="N",t.value="N",t.innerHtml="N",t.innerText="N",i.appendChild(t),t=document.createElement("option"),t.text="W",t.value="W",t.innerHtml="W",t.innerText="W",i.appendChild(t),i.value="K"):r=="cf2x1"||r=="cf2x2"?(t=document.createElement("option"),t.text="A",t.value="A",t.innerHtml="A",t.innerText="A",i.appendChild(t),t=document.createElement("option"),t.text="K",t.value="K",t.innerHtml="K",t.innerText="K",i.appendChild(t),t=document.createElement("option"),t.text="N",t.value="N",t.innerHtml="N",t.innerText="N",i.appendChild(t),t=document.createElement("option"),t.text="W",t.value="W",t.innerHtml="W",t.innerText="W",i.appendChild(t),i.value="K"):r=="cf2x3"&&(t=document.createElement("option"),t.text="K",t.value="K",t.innerHtml="K",t.innerText="K",i.appendChild(t),t=document.createElement("option"),t.text="W",t.value="W",t.innerHtml="W",t.innerText="W",i.appendChild(t),i.value="K")}browserName()=="FireFox"?document.onkeypress=function(n){return disableBackSpace(n)}:document.onkeydown=function(n){return disableBackSpace(n)}