function HistoryControl() {
}

HistoryControl.prototype = new GControl();

HistoryControl.prototype.initialize = function(map) {
	var container = document.createElement("div");
	var hcontrol = document.createElement("a");
	var img = document.createElement("img");
	hcontrol.href = "../history/"; 
	img.src = "../assets/history.png";
	this.setButtonStyle_(hcontrol);
	container.appendChild(hcontrol);
	hcontrol.appendChild(img);

	map.getContainer().appendChild(container);
	return container;
};

HistoryControl.prototype.getDefaultPosition = function() {
	return new GControlPosition(G_ANCHOR_TOP_LEFT , new GSize(5, 5));
};

HistoryControl.prototype.setButtonStyle_ = function(button) {
	button.style.width = "24px";
	button.style.height = "24px";
	button.style.cursor = "pointer";
};