function navGo(url) {
top.location = url;
}

function mailto(domain,user) 
{ 
document.location.href = "mailto:" + user + "@" + domain;
}



function windowOpen(windowname,wp,hp) {
      
var thiswin= open('',windowname,'width='+wp+',height='+hp+',scrollbars=no,directories=no,'+'location=no,menubar=no,scrollbars=YES,status=no,'+'toolbar=no,resizeable=no');
if(navigator.appVersion.substring(0,1)!="2") thiswin.focus();
if(thiswin.opener == null) thiswin.opener = self;
return thiswin;
}

 function doGMapStuff() {
        if (GBrowserIsCompatible()) { 

          function createMarker(point,html) {
            var marker = new GMarker(point);
            GEvent.addListener(marker, "click", function() {
              marker.openInfoWindowHtml(html);
            });
            return marker;
          }

          // Display the map, with zoom controls and center it
          var map = new GMap2(document.getElementById("map"));
          map.addControl(new GSmallMapControl());
          map.addControl(new GMapTypeControl());
          map.setCenter(new GLatLng(55.901977,-2.757311), 11);

          // Set up a marker with info window
          var point = new GLatLng(55.898000,-2.758311);
          var marker = createMarker(point,'<p style="font-family: "verdana", sans-serif; font-size: 60%;"><strong>Gifford Golf Club </strong><br />Edinburgh Road<br />Gifford<br />East Lothian<br /> EH41 4JE</p>')
          map.addOverlay(marker);
        }

        // display a warning if the browser was not compatible
        else {
          alert("Sorry, the Google Maps API is not compatible with this browser");
        }
      }






