function popup( url, width, height/*, additional_options */ ) {
	// Set defaults
	var options = {
		status: false,
		toolbar: false,
		location: false,
		menubar: false,
		directories: false,
		resizable: true,
		scrollbars: true
	};

	if( arguments.length == 4 ) {
		Object.extend(options, arguments[3]);
	}

	var optstring = "";
	for( var arg in options ) {
		optstring += arg + "=" + (options[arg] ? 'yes' : 'no') + ", ";
	}
	optstring += "width="+width+", height="+height;
	return window.open( url, 'Popup', optstring );
}

Event.observe(window, 'load', function() {
	document.getElementsByClassName('map').each(function(e) {
		Event.observe(e, 'click', (function(event) {
			Event.stop(event);
			popup(e.getAttribute('href'), 650, 525);
		}).bindAsEventListener(e));
	});
});
