function NavigationControl() {
}

NavigationControl.prototype = new GControl();

NavigationControl.prototype.initialize = function(map) {
	var container = document.createElement("div");
	var ncontrol = document.createElement("a");
	var img = document.createElement("img");
	ncontrol.href = "../iphone/"; 
	img.src = "../assets/home.png";
	this.setButtonStyle_(ncontrol);
	container.appendChild(ncontrol);
	ncontrol.appendChild(img);

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

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

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