if(typeof Tracker == "undefined") Tracker={};
Tracker.NHTMap_class = function() {};
Object.extend(Tracker.NHTMap_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SaveAccordionTabState: function(accQuery, accAddObs, accPhotos, accLayers, accSearch, accSearchNamedFeatures, accSearchMapName, accSearchTR, accSearchSP, accSearchLL1, accSearchLL2, accSearchLL3) {
		return this.invoke("SaveAccordionTabState", {"accQuery":accQuery, "accAddObs":accAddObs, "accPhotos":accPhotos, "accLayers":accLayers, "accSearch":accSearch, "accSearchNamedFeatures":accSearchNamedFeatures, "accSearchMapName":accSearchMapName, "accSearchTR":accSearchTR, "accSearchSP":accSearchSP, "accSearchLL1":accSearchLL1, "accSearchLL2":accSearchLL2, "accSearchLL3":accSearchLL3}, this.SaveAccordionTabState.getArguments().slice(12));
	},
	ChangeVisibleLayer: function(layerNames) {
		return this.invoke("ChangeVisibleLayer", {"layerNames":layerNames}, this.ChangeVisibleLayer.getArguments().slice(1));
	},
	GetNewImage: function(layerNames, canvasWidth, canvasHeight, zoomBoxLeft, zoomBoxTop, zoomBoxWidth, zoomBoxHeight) {
		return this.invoke("GetNewImage", {"layerNames":layerNames, "canvasWidth":canvasWidth, "canvasHeight":canvasHeight, "zoomBoxLeft":zoomBoxLeft, "zoomBoxTop":zoomBoxTop, "zoomBoxWidth":zoomBoxWidth, "zoomBoxHeight":zoomBoxHeight}, this.GetNewImage.getArguments().slice(7));
	},
	ZoomToPoint: function(centerX, centerY) {
		return this.invoke("ZoomToPoint", {"centerX":centerX, "centerY":centerY}, this.ZoomToPoint.getArguments().slice(2));
	},
	ZoomToRectangle: function(minx, miny, maxx, maxy, showPoint) {
		return this.invoke("ZoomToRectangle", {"minx":minx, "miny":miny, "maxx":maxx, "maxy":maxy, "showPoint":showPoint}, this.ZoomToRectangle.getArguments().slice(5));
	},
	PrevZoom: function() {
		return this.invoke("PrevZoom", {}, this.PrevZoom.getArguments().slice(0));
	},
	ResetFullExtent: function() {
		return this.invoke("ResetFullExtent", {}, this.ResetFullExtent.getArguments().slice(0));
	},
	SaveMyPlace: function(PlaceName) {
		return this.invoke("SaveMyPlace", {"PlaceName":PlaceName}, this.SaveMyPlace.getArguments().slice(1));
	},
	LoadSavedPlace: function(PlaceID) {
		return this.invoke("LoadSavedPlace", {"PlaceID":PlaceID}, this.LoadSavedPlace.getArguments().slice(1));
	},
	GetMapLocations: function(x, y) {
		return this.invoke("GetMapLocations", {"x":x, "y":y}, this.GetMapLocations.getArguments().slice(2));
	},
	TryLogin: function(un, pw) {
		return this.invoke("TryLogin", {"un":un, "pw":pw}, this.TryLogin.getArguments().slice(2));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	AddByTRS: function(township, range, ns, ew, section) {
		return this.invoke("AddByTRS", {"township":township, "range":range, "ns":ns, "ew":ew, "section":section}, this.AddByTRS.getArguments().slice(5));
	},
	SearchByNamedFeature: function(fName, fType) {
		return this.invoke("SearchByNamedFeature", {"fName":fName, "fType":fType}, this.SearchByNamedFeature.getArguments().slice(2));
	},
	SearchByMapName: function(mName) {
		return this.invoke("SearchByMapName", {"mName":mName}, this.SearchByMapName.getArguments().slice(1));
	},
	SearchByTRS: function(township, range, ns, ew, sections) {
		return this.invoke("SearchByTRS", {"township":township, "range":range, "ns":ns, "ew":ew, "sections":sections}, this.SearchByTRS.getArguments().slice(5));
	},
	ResetSearch: function() {
		return this.invoke("ResetSearch", {}, this.ResetSearch.getArguments().slice(0));
	},
	QuerySearch: function(report, mammals, birds, reptiles, amphibians, fish, invertebrates, vascular, nonvascular, global, state, soc, usfws, cfwcs, usfs, blm, county, ll, qll, qqll, obsmonth, obsyear, users, pending) {
		return this.invoke("QuerySearch", {"report":report, "mammals":mammals, "birds":birds, "reptiles":reptiles, "amphibians":amphibians, "fish":fish, "invertebrates":invertebrates, "vascular":vascular, "nonvascular":nonvascular, "global":global, "state":state, "soc":soc, "usfws":usfws, "cfwcs":cfwcs, "usfs":usfs, "blm":blm, "county":county, "ll":ll, "qll":qll, "qqll":qqll, "obsmonth":obsmonth, "obsyear":obsyear, "users":users, "pending":pending}, this.QuerySearch.getArguments().slice(24));
	},
	QuerySearchIncomingElcode: function(report, mammals, birds, reptiles, amphibians, fish, invertebrates, vascular, nonvascular, global, state, soc, usfws, cfwcs, usfs, blm, county, ll, qll, qqll, obsmonth, obsyear, users, pending, w, h) {
		return this.invoke("QuerySearchIncomingElcode", {"report":report, "mammals":mammals, "birds":birds, "reptiles":reptiles, "amphibians":amphibians, "fish":fish, "invertebrates":invertebrates, "vascular":vascular, "nonvascular":nonvascular, "global":global, "state":state, "soc":soc, "usfws":usfws, "cfwcs":cfwcs, "usfs":usfs, "blm":blm, "county":county, "ll":ll, "qll":qll, "qqll":qqll, "obsmonth":obsmonth, "obsyear":obsyear, "users":users, "pending":pending, "w":w, "h":h}, this.QuerySearchIncomingElcode.getArguments().slice(26));
	},
	QueryReset: function() {
		return this.invoke("QueryReset", {}, this.QueryReset.getArguments().slice(0));
	},
	ChangePage: function(pagenum) {
		return this.invoke("ChangePage", {"pagenum":pagenum}, this.ChangePage.getArguments().slice(1));
	},
	SortTableDetail: function(sortorder) {
		return this.invoke("SortTableDetail", {"sortorder":sortorder}, this.SortTableDetail.getArguments().slice(1));
	},
	SortTableSummary: function(sortorder) {
		return this.invoke("SortTableSummary", {"sortorder":sortorder}, this.SortTableSummary.getArguments().slice(1));
	},
	ShowPhotos: function(animal, canvasWidth, canvasHeight, zoomBoxLeft, zoomBoxTop, zoomBoxWidth, zoomBoxHeight) {
		return this.invoke("ShowPhotos", {"animal":animal, "canvasWidth":canvasWidth, "canvasHeight":canvasHeight, "zoomBoxLeft":zoomBoxLeft, "zoomBoxTop":zoomBoxTop, "zoomBoxWidth":zoomBoxWidth, "zoomBoxHeight":zoomBoxHeight}, this.ShowPhotos.getArguments().slice(7));
	},
	HidePhotos: function(animal) {
		return this.invoke("HidePhotos", {"animal":animal}, this.HidePhotos.getArguments().slice(1));
	},
	ChangeBottomOptions: function(chkShowCharts, chkShowPhotos, chkShowSummaryTable, chkShowDetailTable) {
		return this.invoke("ChangeBottomOptions", {"chkShowCharts":chkShowCharts, "chkShowPhotos":chkShowPhotos, "chkShowSummaryTable":chkShowSummaryTable, "chkShowDetailTable":chkShowDetailTable}, this.ChangeBottomOptions.getArguments().slice(4));
	},
	url: '/Tracker/ajaxpro/Tracker.NHTMap,Tracker.ashx'
}));
Tracker.NHTMap = new Tracker.NHTMap_class();

