var x1388506111909; var x1388506111910; var x1388506111911 = {geodesic:true}; var x1388506111912 = new google.maps.Geocoder(); var x1388506111913; var x1388506111914 = ""; var x1388506111915 = new Array(); var x1388506111916 = ''; function doInit() { x1388506111913 = 0; var x1388506111917 = navigator.userAgent.toLowerCase(); x1388506111914 = (x1388506111917.indexOf("msie")>-1); var x1388506111918 = 7; var x1388506111919 = 47.4020; var x1388506111920 = 7.7838; if (strCookie = x1388506111931("LocatorMap")) { var x1388506111921 = strCookie.split("/"); if (x1388506111914 == true) { document.getElementById('id_Locator_my').innerText = x1388506111921[2]; document.getElementById('id_Lat_my').innerText = x1388506111921[0]; document.getElementById('id_Lon_my').innerText = x1388506111921[1]; } else { document.getElementById('id_Locator_my').value = x1388506111921[2]; document.getElementById('id_Lat_my').value = x1388506111921[0]; document.getElementById('id_Lon_my').value = x1388506111921[1]; } x1388506111919 = x1388506111921[0]; x1388506111920 = x1388506111921[1]; x1388506111918 = x1388506111921[3]; x1388506111918 = parseFloat(x1388506111918); } var x1388506111922 = { center: new google.maps.LatLng(x1388506111919, x1388506111920), zoom: x1388506111918, draggableCursor: 'crosshair', scaleControl: true, overviewMapControl: true, overviewMapControlOptions:{opened:true} }; x1388506111909 = new google.maps.Map(document.getElementById("id_map"), x1388506111922); x1388506111909.setMapTypeId(google.maps.MapTypeId.TERRAIN); x1388506111910 = new google.maps.Polyline(); google.maps.event.addListener(x1388506111909, 'click', x1388506111948 ); google.maps.event.addListener(x1388506111909, "mouseout", x1388506111993 ); google.maps.event.addListener(x1388506111909, "mousemove", x1388506111994 ); x1388506111996(); google.maps.event.addListener(x1388506111909, "zoomend", x1388506111996 ); x1388506111998(); } function setCookie(x1388506111923, x1388506111924, x1388506111925, x1388506111926, x1388506111927, x1388506111928) { var x1388506111921 = x1388506111924.split("/"); if (x1388506111914 == true) { document.getElementById('id_Locator_my').innerText = x1388506111921[2]; document.getElementById('id_Lat_my').innerText = x1388506111921[0]; document.getElementById('id_Lon_my').innerText = x1388506111921[1]; } else { document.getElementById('id_Locator_my').value = x1388506111921[2]; document.getElementById('id_Lat_my').value = x1388506111921[0]; document.getElementById('id_Lon_my').value = x1388506111921[1]; } x1388506111946.setMap(null); x1388506111947.setMap(null); x1388506111998(); if (x1388506112000 != null){ x1388506112000.setMap(null); } var x1388506111929 = new Date(); x1388506111929.setTime(x1388506111929.getTime()); if (x1388506111925) x1388506111925 = x1388506111925 * 1000 * 60 * 60 * 24; var x1388506111930 = new Date( x1388506111929.getTime() + (x1388506111925) ); document.cookie = x1388506111923 + "=" + escape(x1388506111924) + ((x1388506111925) ? ";expires=" + x1388506111930.toGMTString() : "") + ((x1388506111926) ? ";path=" + x1388506111926 : "") + ((x1388506111927) ? ";domain=" + x1388506111927 : "") + ((x1388506111928) ? ";secure" : ""); } function x1388506111931(x1388506111932) { var x1388506111933 = document.cookie.split(';'); var x1388506111934 = ''; var x1388506111935 = ''; var x1388506111936 = ''; var x1388506111937 = false; for (i = 0; i < x1388506111933.length; i++) { x1388506111934 = x1388506111933[i].split('='); x1388506111935 = x1388506111934[0].replace(/^\s+|\s+$/g, ''); if (x1388506111935 == x1388506111932) { x1388506111937 = true; if (x1388506111934.length > 1) x1388506111936 = unescape(x1388506111934[1].replace(/^\s+|\s+$/g, '')); return x1388506111936; break; } x1388506111934 = null; x1388506111935 = ''; } if (!x1388506111937) { return null; } } function setTempQTHdrag(x1388506111938) { var x1388506111919 = x1388506111938.lat(); x1388506111919 = Math.round(x1388506111919 * 10000) / 10000; var x1388506111939 = x1388506111938.lng(); x1388506111939 = Math.round(x1388506111939 * 10000) / 10000; var x1388506111940 = x1388506111981(x1388506111919, x1388506111939); alert("hier2 " + x1388506111940 + " " + x1388506111919 + " " + x1388506111939); setTempQTH(x1388506111940, x1388506111919, x1388506111939); x1388506112002(); } function setTempQTH(x1388506111941, x1388506111942, x1388506111943) { if (x1388506111914 == true) { document.getElementById('id_Locator_temp').innerText = x1388506111941; document.getElementById('id_Lat_temp').innerText = x1388506111942; document.getElementById('id_Lon_temp').innerText = x1388506111943; } else { document.getElementById('id_Locator_temp').value = x1388506111941; document.getElementById('id_Lat_temp').value = x1388506111942; document.getElementById('id_Lon_temp').value = x1388506111943; } x1388506112009(); } var x1388506111944; var x1388506111945; var x1388506111946; var x1388506111947; function x1388506111948(x1388506111949, x1388506111950) { var x1388506111919; var x1388506111939; if (!x1388506111949) { return; } if (x1388506111950 != 'LL') { x1388506111919 = x1388506111949.latLng.lat(); x1388506111939 = x1388506111949.latLng.lng(); } else { x1388506111919 = x1388506111949.lat(); x1388506111939 = x1388506111949.lng(); } var x1388506111951 = new google.maps.LatLng(x1388506111919, x1388506111939); var x1388506111952; if (x1388506111939 < 0) x1388506111952 = "W"; else x1388506111952 = "E"; var x1388506111953; if (x1388506111919 < 0) x1388506111953 = "S"; else x1388506111953 = "N"; var x1388506111954; var x1388506111955; if (x1388506111939 > 0) { x1388506111954 = Math.floor(x1388506111939); x1388506111955 = (x1388506111939 - x1388506111954) * 100; } else { x1388506111954 = Math.ceil(x1388506111939); x1388506111955 = (x1388506111954 - x1388506111939) * 100; } var x1388506111956 = x1388506111955 * 60 / 100; var x1388506111957 = Math.round((x1388506111956 - Math.floor(x1388506111956)) * 60); var x1388506111958; var x1388506111959; if (x1388506111919 > 0) { x1388506111958 = Math.floor(x1388506111919); x1388506111959 = (x1388506111919 - x1388506111958) * 100; } else { x1388506111958 = Math.ceil(x1388506111919); x1388506111959 = (x1388506111958 - x1388506111919) * 100; } var x1388506111960 = x1388506111959 * 60 / 100; var x1388506111961 = Math.round((x1388506111960 - Math.floor(x1388506111960)) * 60); var x1388506111962 = ""; var x1388506111963 = ""; var x1388506111964 = x1388506111981(x1388506111919, x1388506111939); var x1388506111965 = Math.round(x1388506111919 * 10000) / 10000; var x1388506111966 = Math.round(x1388506111939 * 10000) / 10000; x1388506111962 += "Locator : " + x1388506111964 + ""; x1388506111962 += "  "; x1388506111962 += "" + x1388506111965 + "° " + x1388506111953 + ""; x1388506111962 += " / "; x1388506111962 += "" + x1388506111966 + "° " + x1388506111952 + ""; x1388506111962 += "
\n"; var x1388506111918 = x1388506111909.getZoom(); strCookieBtn = "
"; strCookieBtn += "  
"; if (x1388506111914 == true) { document.getElementById('id_Locator_sel').innerText = x1388506111964; document.getElementById('id_Lat_sel').innerText = x1388506111965; document.getElementById('id_Lon_sel').innerText = x1388506111966; } else { document.getElementById('id_Locator_sel').value = x1388506111964; document.getElementById('id_Lat_sel').value = x1388506111965; document.getElementById('id_Lon_sel').value = x1388506111966; } var x1388506111967; var x1388506111968; var x1388506111969; var x1388506111970; var x1388506111971 = document.getElementById('id_Lat_my').value; var x1388506111972 = document.getElementById('id_Lon_my').value; if (x1388506111971 != null) { var x1388506111973 = new google.maps.LatLng(x1388506111971, x1388506111972); x1388506111967 = google.maps.geometry.spherical.computeDistanceBetween(x1388506111973, x1388506111951); if (x1388506111967 >= 10000) { x1388506111968 = Math.round(x1388506111967 / 1000); x1388506111969 = Math.round(x1388506111967 * 0.621371192 / 1000); x1388506111962 += "From MyHomeQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi)"; x1388506111963 += "From MyHomeQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi)"; } else if (x1388506111967 >= 1000) { x1388506111968 = Math.round(x1388506111967 / 100) / 10; x1388506111969 = Math.round(x1388506111967 * 0.621371192 / 100) / 10; x1388506111962 += "" + "From MyHomeQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi) "; x1388506111963 += "" + "From MyHomeQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi) "; } x1388506111970 = LatLon.bearing(parseFloat(x1388506111971), parseFloat(x1388506111972), x1388506111965, x1388506111966); x1388506111970 = Math.round(x1388506111970 * 1) / 1; x1388506111962 += "Bearing: " + x1388506111970 + "°"; x1388506111963 += "
Bearing: " + x1388506111970 + "°"; x1388506111962 += "
\n"; x1388506111963 += "
\n"; } else { x1388506111962 += "
\n"; x1388506111963 += "
\n"; } var x1388506111974 = document.getElementById('id_Lat_temp').value; var x1388506111975 = document.getElementById('id_Lon_temp').value; if (x1388506111974 != '') { var x1388506111976 = new google.maps.LatLng(x1388506111974, x1388506111975); x1388506111967 = google.maps.geometry.spherical.computeDistanceBetween(x1388506111976, x1388506111951); if (x1388506111967 >= 10000) { x1388506111968 = Math.round(x1388506111967 / 1000); x1388506111969 = Math.round(x1388506111967 * 0.621371192 / 1000); x1388506111962 += "From MyTempQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi)"; x1388506111963 += "From MyTempQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi)"; } else if (x1388506111967 >= 1000) { x1388506111968 = Math.round(x1388506111967 / 100) / 10; x1388506111969 = Math.round(x1388506111967 * 0.621371192 / 100) / 10; x1388506111962 += "" + "From MyTempQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi) "; x1388506111963 += "" + "From MyTempQTH: " + x1388506111968 + " km (" + x1388506111969 + " mi) "; } x1388506111970 = LatLon.bearing(parseFloat(x1388506111974), parseFloat(x1388506111975), x1388506111965, x1388506111966); x1388506111970 = Math.round(x1388506111970 * 1) / 1; x1388506111962 += "Bearing: " + x1388506111970 + "°"; x1388506111963 += "
Bearing: " + x1388506111970 + "°"; x1388506111962 += "
\n"; x1388506111963 += "
\n"; } else { x1388506111962 += "
\n"; x1388506111963 += "
\n"; } x1388506111962 += "
\n"; x1388506111963 += "
\n"; x1388506111962 += strCookieBtn; document.getElementById('id_Dist').innerHTML = x1388506111963; if (x1388506111947 != null){ x1388506111947.setMap(null); } x1388506111947 = new google.maps.Marker({ position: new google.maps.LatLng(x1388506111965, x1388506111966), map: x1388506111909, title: 'Info Window' }); var x1388506111977 = new google.maps.InfoWindow({ content: x1388506111962 }); x1388506111977.open(x1388506111909, x1388506111947); x1388506111910.setMap(null); var x1388506111978 = Math.floor(x1388506111939 / 0.0833333333) * 0.0833333333; var x1388506111979 = Math.floor(x1388506111919 / 0.0416666666) * 0.0416666666; var x1388506111980 = [ new google.maps.LatLng(x1388506111979, x1388506111978), new google.maps.LatLng(x1388506111979, x1388506111978 + 0.0833333333), new google.maps.LatLng(x1388506111979 + 0.0416666666, x1388506111978 + 0.0833333333), new google.maps.LatLng(x1388506111979 + 0.0416666666, x1388506111978), new google.maps.LatLng(x1388506111979, x1388506111978) ]; x1388506111910 = new google.maps.Polyline({ path: x1388506111980, geodesic: true, strokeColor: "#FF0000", strokeOpacity: 1.0, strokeWeight: 6 }); x1388506111910.setMap(x1388506111909); if (x1388506111946 != null){ x1388506111946.setMap(null); } x1388506111946 = new google.maps.Marker({ position: new google.maps.LatLng(x1388506111965, x1388506111966), map: x1388506111909, title: 'Position Selected' }); x1388506111944 = x1388506111919; x1388506111945 = x1388506111939; x1388506112002(); } function x1388506111981(x1388506111982, x1388506111983) { var x1388506111984 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var x1388506111985 = "0123456789"; var x1388506111964, x1388506111986, x1388506111987, x1388506111988, x1388506111989, x1388506111990, y; var y = 0; var x1388506111991 = new Array(0,0,0); var x1388506111992 = new Array(0,0,0,0,0,0,0); x1388506111991[1] = x1388506111983 + 180; x1388506111991[2] = x1388506111982 + 90; for (x1388506111986 = 1; x1388506111986 < 3; ++x1388506111986) { for (x1388506111987 = 1; x1388506111987 < 4; ++x1388506111987) { if (x1388506111987 != 3) { if (x1388506111986 == 1) { if (x1388506111987 == 1) x1388506111988 = 20; if (x1388506111987 == 2) x1388506111988 = 2; } if (x1388506111986 == 2) { if (x1388506111987 == 1) x1388506111988 = 10; if (x1388506111987 == 2) x1388506111988 = 1; } x1388506111989 = x1388506111991[x1388506111986] / x1388506111988; x1388506111991[x1388506111986] = x1388506111989; if (x1388506111991[x1388506111986]>0) x1388506111990 = Math.floor(x1388506111989); else x1388506111990 = Math.ceil(x1388506111989); x1388506111991[x1388506111986] = (x1388506111991[x1388506111986] - x1388506111990) * x1388506111988; } else { if (x1388506111986 == 1) x1388506111988 = 12; else x1388506111988 = 24; x1388506111989 = x1388506111991[x1388506111986] * x1388506111988; x1388506111991[x1388506111986] = x1388506111989; if (x1388506111991[x1388506111986] > 0) x1388506111990 = Math.floor(x1388506111989); else x1388506111990 = Math.ceil(x1388506111989); } ++y; x1388506111992[y] = x1388506111990; } } x1388506111964 = x1388506111984.charAt(x1388506111992[1]) + x1388506111984.charAt(x1388506111992[4]) + x1388506111985.charAt(x1388506111992[2]); x1388506111964 += x1388506111985.charAt(x1388506111992[5]) + x1388506111984.charAt(x1388506111992[3])+ x1388506111984.charAt(x1388506111992[6]); return x1388506111964; } function x1388506111993(x1388506111938) { document.getElementById("id_position").innerHTML = 'Locator Lat/Lon'; } function x1388506111994(x1388506111949) { var x1388506111919 = x1388506111949.latLng.lat(); x1388506111919 = Math.round(x1388506111919 * 10000) / 10000; var x1388506111939 = x1388506111949.latLng.lng(); x1388506111939 = Math.round(x1388506111939 * 10000) / 10000; var x1388506111940 = x1388506111981(x1388506111919, x1388506111939); var x1388506111995 = x1388506111940 + " " + x1388506111919 + " / " + x1388506111939; document.getElementById("id_position").innerHTML = x1388506111995; } function x1388506111996() { var x1388506111918 = x1388506111909.getZoom(); if (x1388506111914 == true) { document.getElementById("id_zl").innerText = x1388506111918; } else { document.getElementById("id_zl").textContent = x1388506111918; } } var x1388506111997; function x1388506111998() { var x1388506111919; x1388506111919 = document.getElementById("id_Lat_my").value; if (x1388506111919 == '') { return; } var x1388506111920; if (x1388506111914 == true) { x1388506111920 = document.getElementById("id_Lon_my").innerText; } else { x1388506111920 = document.getElementById("id_Lon_my").value; } x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); if (x1388506111997 != null){ x1388506111997.setMap(null); } var x1388506111999 = "http:/" + "/www.google.com/intl/en_us/mapfiles/ms/micons/"; x1388506111997 = new google.maps.Marker({ position: new google.maps.LatLng(x1388506111919, x1388506111920), map: x1388506111909, icon: x1388506111999 + 'green-dot.png', title: 'Position My' }); } var x1388506112000; var x1388506112001; function x1388506112002() { var x1388506112003; var x1388506112004 = document.getElementById('id_Lat_my').value; if (x1388506112004 == '') { return; } var x1388506112005 = document.getElementById('id_Lon_my').value; x1388506112004 = parseFloat(x1388506112004); x1388506112005 = parseFloat(x1388506112005); if (x1388506112000 != null){ x1388506112000.setMap(null); } var x1388506111980 = [ new google.maps.LatLng(x1388506112004, x1388506112005), new google.maps.LatLng(x1388506111944, x1388506111945), ]; x1388506112000 = new google.maps.Polyline({ path: x1388506111980, geodesic: true, strokeColor: "#00EE00", strokeOpacity: 1.0, strokeWeight: 6 }); x1388506112000.setMap(x1388506111909); var x1388506112006 = document.getElementById('id_Lat_temp').value; if (x1388506112006 > '') { var x1388506112007 = document.getElementById('id_Lon_temp').value; x1388506112006 = parseFloat(x1388506112006); x1388506112007 = parseFloat(x1388506112007); if (x1388506112001 != null){ x1388506112001.setMap(null); } var x1388506111980 = [ new google.maps.LatLng(x1388506112006, x1388506112007), new google.maps.LatLng(x1388506111944, x1388506111945), ]; x1388506112001 = new google.maps.Polyline({ path: x1388506111980, geodesic: true, strokeColor: "#1E90FF", strokeOpacity: 1.0, strokeWeight: 6 }); x1388506112001.setMap(x1388506111909); } x1388506112010(); } var x1388506112008; function x1388506112009() { var x1388506111919; x1388506111919 = document.getElementById("id_Lat_temp").value; if (x1388506111919 == '') { return; } var x1388506111920; x1388506111920 = document.getElementById("id_Lon_temp").value; x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); if (x1388506112008 != null){ x1388506111909.removeOverlay(x1388506112008); } if (x1388506112008 != null){ x1388506112008.setMap(null); } var x1388506111999 = "http:/" + "/www.google.com/intl/en_us/mapfiles/ms/micons/"; x1388506112008 = new google.maps.Marker({ position: new google.maps.LatLng(x1388506111919, x1388506111920), map: x1388506111909, icon: x1388506111999 + 'blue-dot.png', title: 'Position Temp' }); } function x1388506112010() { var x1388506111919; var x1388506111920; if (document.getElementById("id_QTH_M").checked == true) { x1388506111919 = document.getElementById("id_Lat_my").value; x1388506111920 = document.getElementById("id_Lon_my").value; } else { x1388506111919 = document.getElementById("id_Lat_temp").value; x1388506111920 = document.getElementById("id_Lon_temp").value; } if (x1388506111919 == '') { return; } x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); document.getElementById('id_profile').src = "profile-hit-calculate.png"; var x1388506112011 = "http:/" + "/www.heywhatsthat.com/bin/profile.cgi?src=profiler&axes=1&curvature=" + x1388506111913 + "&metric=1&pt0=" + x1388506111919 + "," + x1388506111920 + ",ff0000,&pt1=" + x1388506111944 + "," + x1388506111945 + ",ff0000"; document.getElementById('id_profile').src = x1388506112011; } function f_gotoLocatorMyHomeQTH() { var x1388506111919 = document.getElementById("id_Lat_my").value; var x1388506111920 = document.getElementById("id_Lon_my").value; x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); x1388506111909.setCenter(new google.maps.LatLng (x1388506111919, x1388506111920)); } function f_gotoLocatorMyTempQTH() { var x1388506111919 = document.getElementById("id_Lat_temp").value; var x1388506111920 = document.getElementById("id_Lon_temp").value; x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); x1388506111909.setCenter(new google.maps.LatLng (x1388506111919, x1388506111920)); } function f_gotoLocatorSelectedQTH() { var x1388506111919 = document.getElementById("id_Lat_sel").value; var x1388506111920 = document.getElementById("id_Lon_sel").value; x1388506111919 = parseFloat(x1388506111919); x1388506111920 = parseFloat(x1388506111920); x1388506111909.setCenter(new google.maps.LatLng (x1388506111919, x1388506111920)); } function f_gotoPolyline(x1388506112012) { var x1388506111919; var x1388506111920; var x1388506112004; var x1388506112005; if (document.getElementById("id_QTH_M").checked == true) { x1388506112004 = document.getElementById("id_Lat_my").value; x1388506112005 = document.getElementById("id_Lon_my").value; } else { x1388506112004 = document.getElementById("id_Lat_temp").value; x1388506112005 = document.getElementById("id_Lon_temp").value; } x1388506112004 = parseFloat(x1388506112004); x1388506112005 = parseFloat(x1388506112005); if ( isNaN(x1388506112004) || isNaN(x1388506112005) ) { return; } var x1388506112013 = document.getElementById("id_Lat_sel").value; var x1388506112014 = document.getElementById("id_Lon_sel").value; x1388506112013 = parseFloat(x1388506112013); x1388506112014 = parseFloat(x1388506112014); if ( isNaN(x1388506112013) || isNaN(x1388506112014) ) { return; } var x1388506112015 = x1388506112004 - x1388506112013; if (x1388506112015 < 0) { x1388506112015 = x1388506112015 * -1; } var x1388506112016 = x1388506112005 - x1388506112014; if (x1388506112016 < 0) { x1388506112016 = x1388506112016 * -1; } var x1388506112017 = gProfileWidth / 266; x1388506112017 = Math.round(x1388506112017); var x1388506112018 = gProfileWidth - (x1388506112017 * 10); var x1388506112019 = x1388506112012 - x1388506112017; if (x1388506112019 < 1) { x1388506112019 = 1; } var x1388506112020 = 770 / x1388506112018; x1388506112015 = (x1388506112015 / 77) * x1388506112020 * x1388506112019; x1388506112016 = (x1388506112016 / 77) * x1388506112020 * x1388506112019; if (x1388506112004 < x1388506112013) { x1388506111919 = x1388506112004 + x1388506112015; } else { x1388506111919 = x1388506112004 - x1388506112015; } if (x1388506112005 < x1388506112014) { x1388506111920 = x1388506112005 + x1388506112016; } else { x1388506111920 = x1388506112005 - x1388506112016; } x1388506111919 = Math.round(x1388506111919 * 10000) / 10000; x1388506111920 = Math.round(x1388506111920 * 10000) / 10000; x1388506111909.setCenter(new google.maps.LatLng (x1388506111919, x1388506111920)); } function f_reset() { document.getElementById('id_Locator_s').value = ''; document.getElementById('id_Lat_s').value = ''; document.getElementById('id_Lon_s').value = ''; document.getElementById('id_Address').value = ''; if (x1388506111997 != null){ x1388506111997.setMap(null); } if (x1388506112000 != null){ x1388506112000.setMap(null); } } function f_searchLocator() { var x1388506112021 = document.getElementById('id_Locator_s').value; var x1388506112022 = document.getElementById('id_Lat_s').value; var x1388506112023 = document.getElementById('id_Lon_s').value; var x1388506112024 = document.getElementById('id_Address').value; if (x1388506112021 == '') { if ((x1388506112022 == '') || (x1388506112023 == '')) { if (x1388506112024 == '') { return; } else { x1388506112043(x1388506112024); } } else { x1388506112042(x1388506112022, x1388506112023); } } else { x1388506112025(x1388506112021); } } function x1388506112025(x1388506112026) { var x1388506112021 = x1388506112026.toUpperCase(); var x1388506111919 = 0; var x1388506111920 = 0; var x1388506112027 = new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'); var x1388506112028 = x1388506112021.substr(0,1); var x1388506112029 = x1388506112021.substr(1,1); var x1388506112030 = x1388506112021.substr(2,1); var x1388506112031 = x1388506112021.substr(3,1); var x1388506112032 = x1388506112021.substr(4,1); var x1388506112033 = x1388506112021.substr(5,1); var x1388506112034 = x1388506112027.length; var x; var x1388506112035=0; for (x=0; x < x1388506112034; x++) { if (x1388506112028 == x1388506112027[x]) { x1388506112035 = x + 1; break; } } x1388506112035 = ((x1388506112035 - 1) * 20) - 180; var x1388506112036=0; for (x=0; x < x1388506112034; x++) { if (x1388506112029 == x1388506112027[x]) { x1388506112036 = x + 1; break; } } x1388506112036 = ((x1388506112036 - 1) * 10) - 90; var x1388506112037 = x1388506112030 * 2; var x1388506112038 = x1388506112031 * 1; var x1388506112039=0; for (x = 0; x < x1388506112034; x++) { if (x1388506112032 == x1388506112027[x]) { x1388506112039 = x + 1; break; } } x1388506112039 = x1388506112039 * 0.08; var x1388506112040=0; for (x = 0; x < x1388506112034; x++) { if (x1388506112033 == x1388506112027[x]) { x1388506112040 = x + 1; break; } } x1388506112040 = x1388506112040 * 0.04; x1388506111919 = x1388506112036 + x1388506112038 + x1388506112040; x1388506111920 = x1388506112035 + x1388506112037 + x1388506112039; var x1388506112041 = new google.maps.LatLng(x1388506111919, x1388506111920); x1388506111948(x1388506112041, 'LL'); } function x1388506112042(x1388506111942, x1388506111943) { var x1388506112041 = new google.maps.LatLng(x1388506111942, x1388506111943); x1388506111948(x1388506112041, 'LL'); } function x1388506112043(x1388506112044) { if (x1388506111912) { x1388506111912.geocode({ 'address': x1388506112044, 'partialmatch': true}, function(inResults, inStatus) { if (inStatus == 'OK' && inResults.length > 0) { var x1388506111918 = x1388506111909.getZoom(); x1388506111909.setCenter(inResults[0].geometry.location, x1388506111918); var x1388506111951 = new google.maps.LatLng(inResults[0].geometry.location.lat(), inResults[0].geometry.location.lng()); x1388506111948(x1388506111951, 'LL'); } else { alert("Geocode was not successful for the following reason: " + inStatus) } } ); } } function f_swapQTH(x1388506112045) { x1388506112010(); } function f_swapCurv(x1388506112046) { if (x1388506111913 == null) { x1388506111913 = 0; return; } if (x1388506112046 == x1388506111913) { return; } if (x1388506112046 == 0) { x1388506111913 = 0; } else { x1388506111913 = 1; } x1388506112010(); } function f_showLoc(x1388506112047) { if (gHost == 'localhost') { } wChecked = document.getElementById(x1388506112047).checked; if (wChecked == true) { x1388506112049(); if (gHost != 'localhost') { for (i = 0; i < x1388506111915.length; i++) { var x1388506112048 = x1388506111915[i]; x1388506111909.addOverlay(x1388506112048); } } } else { if (gHost != 'localhost') { for (i = 0; i < x1388506111915.length; i++) { var x1388506112048 = x1388506111915[i]; x1388506111909.removeOverlay(x1388506112048); } } } } function x1388506112049() { if (x1388506111916 == 'y') { return; } x1388506111916 = 'y'; var x1388506112050 = 32; var x1388506112051 = 60; var x1388506112052 = -10; var x1388506112053 = 28; var x1388506112054 = {geodesic:true}; wOut = ''; for (x1388506111919 = x1388506112050; x1388506111919 <= x1388506112051; x1388506111919 = x1388506111919 + 1) { wR1 = (x1388506111919 / 10) - parseInt(x1388506111919 / 10); wW = 2; if (wR1 == 0) { wW = 4; } wOut = wOut + x1388506111919 + '/' + x1388506112052 + ' - ' + x1388506111919 + '/' + x1388506112053 + ' R1: ' + wR1 + '\n'; if (gHost != 'localhost') { var x1388506111980 = [ new google.maps.LatLng(parseFloat(x1388506111919), x1388506112052), new google.maps.LatLng(parseFloat(x1388506111919), x1388506112053), ]; wPolyline = new google.maps.Polyline({ path: x1388506111980, geodesic: true, strokeColor: "#00BFFF", strokeOpacity: 1.0, strokeWeight: wW }); x1388506111915.push(wPolyline); } } for (x1388506111920 = x1388506112052; x1388506111920 <= x1388506112053; x1388506111920 = x1388506111920 + 2) { wR1 = (x1388506111920 / 20) - parseInt(x1388506111920 / 20); wW = 2; if (wR1 == 0) { wW = 4; } wOut = wOut + x1388506112050 + '/' + x1388506111920 + ' - ' + x1388506112051 + '/' + x1388506111920 + ' R1: ' + wR1 + '\n'; if (gHost != 'localhost') { var x1388506111980 = [ new google.maps.LatLng(x1388506112050, parseFloat(x1388506111920)), new google.maps.LatLng(x1388506112051, parseFloat(x1388506111920)), ]; wPolyline = new google.maps.Polyline({ path: x1388506111980, geodesic: true, strokeColor: "#00BFFF", strokeOpacity: 1.0, strokeWeight: wW }); x1388506111915.push(wPolyline); } } if (gHost != 'localhost') { wOut = wOut + '\n' + x1388506111915.length; } else { alert(wOut); } }