// aimsGeneric.js
/*
*  JavaScript template file for ArcIMS HTML Viewer
*		dependent on aimsXML.js, ArcIMSparam.js, aimsCommon.js, aimsMap.js,
*		aimsLayers.js, aimsDHTML.js
*/


// load in MapService
function loadMapService(mapURL,ovURL){
       	if (mapURL!="") {
		showRetrieveData();
		saveLastExtent();
		ActiveLayerIndex=0;
		showGeocode=false;
		clickCount=0;
		imsURL = mapURL;
		imsOVURL = ovURL;
		changingService=true;
		var theText = writeXML();
	    sendToServer(imsURL,theText,3);


	
	} 
}


