function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(55.9214042, 23.2942499), 15);
        map.addControl(new GSmallMapControl());
        
		var icon = new GIcon();
        icon.image = "img/logo.gif";
        icon.iconSize = new GSize(82, 40);
        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.9214042, 23.2942499);
		
        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(name.value == "" || email.value == "" || tel.value == "" || question.value == "")
		{
			alert("All fields must be filled!");			
			return false;
		}
	}	
}
