function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(55.9539387, 23.3553959), 14);
        map.addControl(new GSmallMapControl());
        
		var icon = new GIcon();
        icon.image = "/img/logas_googlui.gif";
        icon.iconSize = new GSize(172, 29);
        icon.iconAnchor = new GPoint(0, 0);
        icon.infoWindowAnchor = new GPoint(0, 0);
        
		var bounds = map.getBounds();
        var southWest = bounds.getSouthWest();
        var northEast = bounds.getNorthEast();
		var point = new GLatLng(55.9539387, 23.3553959);
		
        map.addOverlay(new GMarker(point, icon));
      }
}

function popupWindow(mypage, myname, w, h){
	var win= null;
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	var settings  ='height='+h+',';
	    settings +='width='+w+',';
	    settings +='top='+wint+',';
	    settings +='left='+winl+',';
	    settings +='scrollbars=no,';
	    settings +='resizable=no';
	win = window.open(mypage, myname, settings);
}

function validate_form(thisform)
{
 with (thisform)
 {
  if(b1.value == "" || b2.value == "" || b3.value == "" || b4.value == "" || b5.value == "" || b6.value == "" || b7.value == "" || b8.value == "" || b10.value == "" || b11.value == "")
  {
   alert("All fields must be filled!");
   return false;
  }
 }
}