// -----------------------------------------------------------------
//						Redland Shire Council 
// -----------------------------------------------------------------
// Class    : FullExtent 
// Purpose  : Handles the full extent button functionality required on client side.
// -----------------------------------------------------------------
// Calls    : 
// Called by: the onclick event of the imgFullExtent image which is
//			  assigned in default.aspx
// -----------------------------------------------------------------
// Arguments:
// Globals  :
// Returns  :
// -----------------------------------------------------------------
// Notes    : This client side function sets the current tool to be
//			  zoom to full extent, and then forces a postback (form.submit)
// -----------------------------------------------------------------
// History  :
// =================================================================

function zoomToFullExtent()
{
	//Set current tool to zoom to full extent
	document.forms["frmMapPage"].txtCurrentTool.value = "ZoomToFullExtent";

	//Show the loading splash
	LoadNextImage();

	//Submit the page to the server for processing, which will check
	//what current tool is set.
	document.getElementById('frmMapPage').submit();
}