function TControlMapButtons(options)
{
	// save params
	this._options = options;
}

TControlMapButtons.prototype = new GControl();
TControlMapButtons.prototype.initialize = function (map)
{
	// store map reference
	this._map = map;

	// create elements
	this._container = new Element('div', {
		id: "map_buttons1",
		style: "height:35px;"
	}).insert('<table id="Table_01" height="35" border="0" cellpadding="0" cellspacing="0">'+
				'<tr>'+
					'<td>'+
						'<img src="new/images/map_buttons_09.png" width="10" height="35" alt=""></td>'+
					'<td>'+
						'<img style="cursor:pointer" src="new/images/map_buttons_02.png" width="144" height="35" alt="" onclick="if($(\'map_legend\').visible()) { this.src=\'new/images/map_buttons_02.png\'; $(\'map_legend\').hide(); } else { this.src=\'new/images/map_buttons_02_over.png\'; $(\'map_legend\').show(); }"></td>'+
					'<td>'+
						'<img id="hybrid" style="cursor:pointer" src="new/images/map_buttons_03.png" width="80" height="35" alt="" onclick="this.src = \'new/images/map_buttons_03_over.png\'; $(\'normal\').src=\'new/images/map_buttons_05.png\';map.setMapType(G_HYBRID_MAP);"></td>'+
					'<td>'+
						'<img id="normal" style="cursor:pointer" src="new/images/map_buttons_05_over.png" width="79" height="35" alt="" onclick="this.src = \'new/images/map_buttons_05_over.png\'; $(\'hybrid\').src=\'new/images/map_buttons_03.png\';map.setMapType(G_NORMAL_MAP);"></td>'+
					'<td>'+
						'<img id="traffic" style="cursor:pointer" src="new/images/map_buttons_04_over.png" width="117" height="35" alt="" onclick="if(!trafficov) return; if(trafficov.isHidden) { trafficov.show(); this.src = \'new/images/map_buttons_04_over.png\'; trafficov.isHidden = false; } else { trafficov.hide(); this.src = \'new/images/map_buttons_04.png\'; trafficov.isHidden = true; }"></td>'+
			  '<td>'+
						'<img src="new/images/map_buttons_06.png" width="204" height="35" alt="" id="get_started"></td>'+
					'<td>'+
						'<img style="cursor:pointer" src="new/images/map_buttons_08.png" width="233" height="35" alt="" onmouseover="this.src=\'new/images/map_buttons_07_over.png\';" onmouseout="this.src=\'new/images/map_buttons_08.png\';" onclick="window.location.href=\'/rl/Trapster.php#directions\';"></td>'+
					'<td>'+
						'<img src="new/images/map_buttons_07.png" width="10" height="35" alt=""></td>'+
				'</tr>'+
			'</table>');

	// add to map	
	map.getContainer().appendChild(this._container);

	return this._container;
}
TControlMapButtons.prototype.getDefaultPosition = function() { return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(30,0)); }
TControlMapButtons.prototype.printable = function () { return true; }
TControlMapButtons.prototype.selectable = function () { return false; }
