function load() {
      if (GBrowserIsCompatible()) {		
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(50.819278, 5.832433), 10);
		map.addOverlay(new GMarker(new GLatLng(50.819278, 5.832433)));
		GEvent.addListener(map, "click", function(marker,point) {
        if (marker) {
              window.open("/RoverMapBig.html", "_blank", "width=700,height=500,left=50,top=50");              
		} else {
              window.open("/RoverMapBig.html", "_blank", "width=700,height=500,left=50,top=50");
		}
	  }
	}
    }
}

function open_window(link,name,w,h) { //opens new window
	var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes";
	newWin = window.open(link,name,win);
	newWin.focus();
}

function open_full_window(link,name,w,h) { //opens new window
	var win = "width="+w+",height="+h+",menubar=yes,location=yes,resizable=yes,scrollbars=yes";
	newWin = window.open(link,name,win);
	newWin.focus();
}


