function deleteContent(target) {
	/* Remove existing content using the DOM specification. (For Browser Complience) */
	if (target != null)
	{
		if (target.hasChildNodes()) {
			for (i=target.childNodes.length; i>0; i--) {
				target.removeChild(target.childNodes[i-1]);
			}
		}
		if (target.className != '') {
			target.className = '';
		}
	}
}

function MapProvider()
{
	this.map = null;
	this.div = null;
	this.name = 'Map Provider';
	this.LoadMap = mpLoadMap;
	this.DisposeMap = mpDisposeMap;
	this.LatLong = mpLatLong;
	this.AddMarker = mpAddMarker;
	this.ClearMap = mpClearMap;
	this.SetCentre = mpSetCentre;
	this.SetZoom = mpSetZoom;
	this.SetCentreAndZoom = mpSetCentreAndZoom;
}

function mpLoadMap(div)
{
	alert('This function is not implemented yet.');
}

function mpDisposeMap()
{
	alert('This function is not implemented yet.');
}

function mpLatLong(lat, long)
{
	alert('This function is not implemented yet.');	
}

var mpAddMarker = function(id, pos, title, desc, icon, iconstyle, allowclick)
{
	alert('This function is not implemented yet.');
}

function mpClearMap()
{
	alert('This function is not implemented yet.');
}

function mpSetCentre(pos)
{
	alert('This function is not implemented yet.');
}

function mpSetZoom(level)
{
	alert('This function is not implemented yet.');
}

function mpSetCentreAndZoom(pos, level)
{
	alert('This function is not implemented yet.');
}
