function Loading() {
}

Loading.prototype = new GControl();

Loading.prototype.initialize = function(map) {
	this.map = map;
	this.container = document.createElement("div");

	this.container.style.border = '1px solid black';
	this.container.style.paddingLeft = '50px';
	this.container.style.paddingRight = '50px';
	this.container.style.backgroundColor = 'white';

	this.container.appendChild(document.createTextNode('Loading...'));

	this.container.style.display = 'inline';

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

Loading.prototype.getDefaultPosition = function() {
	return new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(7, 30));
}
