googlemaps['domains']['http://192.168.1.5/NETGEMAK'] = new Object(
	{
		key : 'ABQIAAAAe08uJSn9glgvj0IhnTPA1RRFMhZqpO54J63ybjL7b0fV9x6mTxSoiYEzUfS-kyeTfAYvfh47n-tHww',
		loc : 'loc1'
	}
);
googlemaps['domains']['http://www.netgemak.nl'] = new Object(
	{
		key : 'ABQIAAAAe08uJSn9glgvj0IhnTPA1RS1_XGOIGAzkEYLkuc7gWa4sn3psRTuN3na4YtyzYgep2u7YVPUuVGAdg',
		loc : 'loc1'
	}
);
googlemaps['domains']['http://netgemak.nl'] = new Object(
	{
		key : 'ABQIAAAAe08uJSn9glgvj0IhnTPA1RR3s2lvy_UUNSKHxQXJCshtGSDzURR_Mg7iy3eohPhUvcfdbi1emRHW6A',
		loc : 'loc1'
	}
);

googlemaps['locations']['loc1'] = new Object(
	{
		latitude : 52.28532,
		longitude : 6.77965,
		adres : new Object(
			{
				nl : 'Welbergweg 9 7556 PE Hengelo Nederland'
			}
		),
		name : new Object(
			{
				nl : 'Netgemak, Nederland'
			}
		),
		directions_bg : '#eeeeee',
		directions_border : '#cccccc',
		marker_a : 'a.png',
		marker_b : 'b.png',
		marker_source : 'loc1.png',
		marker_width : 60,
		marker_height : 100,
		marker_x : 42,
		marker_y : 30,
		zoom : 16
	}
);

function googlemaps_custom_build(map) {
	//map.addControl(new GSmallMapControl());
}

function googlemaps_custom_marker(marker) {
	GEvent.addListener(marker, 'click', function() {
		var question = prompt(googlemaps['texts'].question, '');
		if(question == '') {
		} else if(question == null) {
		} else {
			document.getElementById('googlemaps_input').value = question;
			googlemaps_submit();
		}
	});
}

function googlemaps_custom_submit() {
	for(i = 0; i < document.getElementById(googlemaps['id']).getElementsByTagName('img').length; i++) {
		if(document.getElementById(googlemaps['id']).getElementsByTagName('img')[i].src == googlemaps['images'] + googlemaps['locations'][googlemaps['loc']].marker_source) {
			document.getElementById(googlemaps['id']).getElementsByTagName('img')[i].style.display = 'none';
		}
	}
}