  function selChange(val) {
    document.f1.kd.value = val;
    document.f1.submit();
  }
  function tdfknChange(value) {
    document.f1.sk.value = -1;
    document.f1.act.value = value;
    document.f1.submit();
  }
  function gsChange() {
    document.f1.g2.value = 0;
    document.f1.act.value = 1;
    document.f1.submit();
  }
  function ybopen() {
    url = "ybsel.php?t=" + document.f1.t.value;
    url = url + "&sk=" + document.f1.sk.value;
    url = url + "&js3=" + document.f1.js3.value + "&";
    window.open(encodeURI(url),'_blank','width=400,height=500,status=no,scrollbars=yes,titlebar=no,toolbar=no,resizable=yes')
  }

  function kgref(val) {
    document.f1.rf.value = val;
    document.f1.submit();
  }

  function smt(val) {
    document.f1.act.value = val;
    document.f1.submit();
  }

function sel(rb)
{
  document.f1.sel1.value = rb.value;
}
function closewn()
{
  opener.document.f1.yb.value = document.f1.sel1.value;
  window.close();
}

function aa1(address,map) { 
  if (GBrowserIsCompatible()) { 
    var mp = document.getElementById("map");
//    mp.setAttribute('style','height:450px;'); 
    mp.style.cssText = 'height:450px;'; 
    var map1 = new GMap2(mp); 
geocoder = new GClientGeocoder(); 
if (geocoder) { 
          geocoder.getLatLng( 
            address, 
            function(point) { 
              if (!point) { 
//                alert(address + " not found"); 
              } else { 
                map1.addControl(new GLargeMapControl()); 
                map1.setCenter( point, 16); 
                var marker = new GMarker(point); 
                map1.addOverlay(marker); 
//                marker.openInfoWindowHtml(address); 
              } 
            } 
          ) 
       }   } 
  return false;
} 
function aa2(mp1,mp2,map) { 
  if (GBrowserIsCompatible()) { 
    var mp = document.getElementById("map");
    mp.style.cssText = 'height:450px;'; 
    var map1 = new GMap2(mp); 
          var point = new GLatLng(mp1,mp2); 
          if ( !point) { 
//            alert("() not found"); 
          } else {
            map1.addControl(new GLargeMapControl()); 
            map1.setCenter(point,16); 
            var marker = new GMarker(point); 
            map1.addOverlay(marker);
	  }
   } 
  return false;
} 

