if(typeof StreetCare == "undefined") StreetCare={};
if(typeof StreetCare.Ajax == "undefined") StreetCare.Ajax={};
StreetCare.Ajax.Highway_class = function() {};
Object.extend(StreetCare.Ajax.Highway_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetDefects: function() {
		return this.invoke("GetDefects", {}, this.GetDefects.getArguments().slice(0));
	},
	GetDisplayDefects: function() {
		return this.invoke("GetDisplayDefects", {}, this.GetDisplayDefects.getArguments().slice(0));
	},
	GetDisplayModeDefects: function() {
		return this.invoke("GetDisplayModeDefects", {}, this.GetDisplayModeDefects.getArguments().slice(0));
	},
	CancelDefect: function(defectNumber) {
		return this.invoke("CancelDefect", {"defectNumber":defectNumber}, this.CancelDefect.getArguments().slice(1));
	},
	GetDefect: function(defectId) {
		return this.invoke("GetDefect", {"defectId":defectId}, this.GetDefect.getArguments().slice(1));
	},
	RemoveDefect: function(defectId) {
		return this.invoke("RemoveDefect", {"defectId":defectId}, this.RemoveDefect.getArguments().slice(1));
	},
	GetMatchingStreets: function(name, town) {
		return this.invoke("GetMatchingStreets", {"name":name, "town":town}, this.GetMatchingStreets.getArguments().slice(2));
	},
	GetStreetNameFromStreetID: function(streetId) {
		return this.invoke("GetStreetNameFromStreetID", {"streetId":streetId}, this.GetStreetNameFromStreetID.getArguments().slice(1));
	},
	GetStreetUSRNForSymbolID: function(key, symbolId) {
		return this.invoke("GetStreetUSRNForSymbolID", {"key":key, "symbolId":symbolId}, this.GetStreetUSRNForSymbolID.getArguments().slice(2));
	},
	GetStreetFromStreetID: function(streetId) {
		return this.invoke("GetStreetFromStreetID", {"streetId":streetId}, this.GetStreetFromStreetID.getArguments().slice(1));
	},
	GetStreetNameForSymbolID: function(key, symbolId) {
		return this.invoke("GetStreetNameForSymbolID", {"key":key, "symbolId":symbolId}, this.GetStreetNameForSymbolID.getArguments().slice(2));
	},
	GetSymbol: function(key, symbolId) {
		return this.invoke("GetSymbol", {"key":key, "symbolId":symbolId}, this.GetSymbol.getArguments().slice(2));
	},
	CreateDefect: function(key, symbolId, defectCode, location) {
		return this.invoke("CreateDefect", {"key":key, "symbolId":symbolId, "defectCode":defectCode, "location":location}, this.CreateDefect.getArguments().slice(4));
	},
	UpdateDefect: function(defectId, defectCode, location) {
		return this.invoke("UpdateDefect", {"defectId":defectId, "defectCode":defectCode, "location":location}, this.UpdateDefect.getArguments().slice(3));
	},
	url: '/apps2/StreetCare/ajaxpro/StreetCare.Ajax.Highway, StreetCare, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.ashx'
}));
StreetCare.Ajax.Highway = new StreetCare.Ajax.Highway_class();


