rem: */ if (typeof marker!=undefined && marker.length==1) { 
add:  if (marker.length==1) { 
context: function onLoad() {    if (GBrowserIsCompatible()) {        // do nothing    } else {        document.getElementById('browserwontwork').className= '';    }    map = new GMap(document.getElementById("map"));    map.addControl(new GLargeMapControl());    map.addControl(new GMapTypeControl());//    map.setMapType( _HYBRID_TYPE );if (adding)    GEvent.addListener(map, 'click', function(overlay, point) {        if (!adding) return false        if (overlay) return false        else if (point) {            var latLngStr =  "lat=" + point.y + "; long=" + point.x;            document.getElementById('where').innerHTML = latLngStr;            document.getElementById('location').value = latLngStr            if (add_marker) map.removeOverlay(add_marker)            add_marker = new GMarker(point, yellowPin)            map.addOverlay(add_marker)//            keep_adding_pin()        }    });/*    // Not perfect, but it'll do for now    GEvent.addListener(map, 'moveend', keep_adding_pin);    GEvent.addListener(map, 'moveend', update_place_list);*/    if (typeof marker!=undefined && marker.length==1) {        map.centerAndZoom(marker[0].point, marker[0].zoomlevel);    } else {        map.centerAndZoom(new GPoint(-4.218750, 54.724620), 12);    }    for (p=0; p<marker.length; p++)        map.addOverlay(marker[p])    if (marker.length==1)        GEvent.trigger(marker[0], "click")    d = document.getElementById('f')    if (d)        InstallAC(d,d.q,d.btnG,"/cgi-bin/suggest.cgi","en", true);}
meta: 4679	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4679/e39998e711ef78ac933b164842b9851bd0ee5946/yhh.js/buggy/docs/js/yhh.js