if(typeof NVMSFunctions == "undefined") NVMSFunctions={};
NVMSFunctions_class = function() {};
Object.extend(NVMSFunctions_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoadPage: function(page) {
		return this.invoke("LoadPage", {"page":page}, this.LoadPage.getArguments().slice(1));
	},
	MapAddress: function(orderID) {
		return this.invoke("MapAddress", {"orderID":orderID}, this.MapAddress.getArguments().slice(1));
	},
	GetOrderFromGuid: function(oGuid) {
		return this.invoke("GetOrderFromGuid", {"oGuid":oGuid}, this.GetOrderFromGuid.getArguments().slice(1));
	},
	GetOrderStatus: function(orderID) {
		return this.invoke("GetOrderStatus", {"orderID":orderID}, this.GetOrderStatus.getArguments().slice(1));
	},
	GetOrderTimeZone: function(orderiD) {
		return this.invoke("GetOrderTimeZone", {"orderiD":orderiD}, this.GetOrderTimeZone.getArguments().slice(1));
	},
	GetZipTimeZone: function(ZipCode) {
		return this.invoke("GetZipTimeZone", {"ZipCode":ZipCode}, this.GetZipTimeZone.getArguments().slice(1));
	},
	GetPropertyDetails: function(orderID) {
		return this.invoke("GetPropertyDetails", {"orderID":orderID}, this.GetPropertyDetails.getArguments().slice(1));
	},
	GetPropertyDetailsNoRep: function(orderID) {
		return this.invoke("GetPropertyDetailsNoRep", {"orderID":orderID}, this.GetPropertyDetailsNoRep.getArguments().slice(1));
	},
	DoOrderFlag: function(userID, orderID, flag, myCo) {
		return this.invoke("DoOrderFlag", {"userID":userID, "orderID":orderID, "flag":flag, "myCo":myCo}, this.DoOrderFlag.getArguments().slice(4));
	},
	AcceptClientBid: function(orderID, username) {
		return this.invoke("AcceptClientBid", {"orderID":orderID, "username":username}, this.AcceptClientBid.getArguments().slice(2));
	},
	OrderBidManager: function(orderID) {
		return this.invoke("OrderBidManager", {"orderID":orderID}, this.OrderBidManager.getArguments().slice(1));
	},
	GetVendorStatus: function(vendorID) {
		return this.invoke("GetVendorStatus", {"vendorID":vendorID}, this.GetVendorStatus.getArguments().slice(1));
	},
	FieldRepOrderPrint: function(orderID) {
		return this.invoke("FieldRepOrderPrint", {"orderID":orderID}, this.FieldRepOrderPrint.getArguments().slice(1));
	},
	PaymentOrderDetails: function(orderID) {
		return this.invoke("PaymentOrderDetails", {"orderID":orderID}, this.PaymentOrderDetails.getArguments().slice(1));
	},
	InternalUserLogin: function(username, password) {
		return this.invoke("InternalUserLogin", {"username":username, "password":password}, this.InternalUserLogin.getArguments().slice(2));
	},
	SmartClientSearch: function(stext) {
		return this.invoke("SmartClientSearch", {"stext":stext}, this.SmartClientSearch.getArguments().slice(1));
	},
	SmartUserSearch: function(stext, oClient) {
		return this.invoke("SmartUserSearch", {"stext":stext, "oClient":oClient}, this.SmartUserSearch.getArguments().slice(2));
	},
	SmartFileSearch: function(stext, oClient) {
		return this.invoke("SmartFileSearch", {"stext":stext, "oClient":oClient}, this.SmartFileSearch.getArguments().slice(2));
	},
	SmartRepSearch: function(stext) {
		return this.invoke("SmartRepSearch", {"stext":stext}, this.SmartRepSearch.getArguments().slice(1));
	},
	SmartServiceSearch: function(stext, filter) {
		return this.invoke("SmartServiceSearch", {"stext":stext, "filter":filter}, this.SmartServiceSearch.getArguments().slice(2));
	},
	SmartFormSearch: function(stext, filter) {
		return this.invoke("SmartFormSearch", {"stext":stext, "filter":filter}, this.SmartFormSearch.getArguments().slice(2));
	},
	SmartTemplateSearch: function(stext, filter) {
		return this.invoke("SmartTemplateSearch", {"stext":stext, "filter":filter}, this.SmartTemplateSearch.getArguments().slice(2));
	},
	GetDBADrop: function(gClientID, gval) {
		return this.invoke("GetDBADrop", {"gClientID":gClientID, "gval":gval}, this.GetDBADrop.getArguments().slice(2));
	},
	ClientServiceList: function(clientID, FileNumber) {
		return this.invoke("ClientServiceList", {"clientID":clientID, "FileNumber":FileNumber}, this.ClientServiceList.getArguments().slice(2));
	},
	ShowTimeTracker: function(userID) {
		return this.invoke("ShowTimeTracker", {"userID":userID}, this.ShowTimeTracker.getArguments().slice(1));
	},
	TimePunch: function(userID, username, pAction, IPAddress) {
		return this.invoke("TimePunch", {"userID":userID, "username":username, "pAction":pAction, "IPAddress":IPAddress}, this.TimePunch.getArguments().slice(4));
	},
	TimeTrackerReport: function(userID, Date1, Date2) {
		return this.invoke("TimeTrackerReport", {"userID":userID, "Date1":Date1, "Date2":Date2}, this.TimeTrackerReport.getArguments().slice(3));
	},
	ShowMyNewMessages: function(userID) {
		return this.invoke("ShowMyNewMessages", {"userID":userID}, this.ShowMyNewMessages.getArguments().slice(1));
	},
	SmartClientSearchSelect: function(stext) {
		return this.invoke("SmartClientSearchSelect", {"stext":stext}, this.SmartClientSearchSelect.getArguments().slice(1));
	},
	SmartUserSearchSelect: function(stext, oClient) {
		return this.invoke("SmartUserSearchSelect", {"stext":stext, "oClient":oClient}, this.SmartUserSearchSelect.getArguments().slice(2));
	},
	SmartUserAllSearchSelect: function(stext, utype) {
		return this.invoke("SmartUserAllSearchSelect", {"stext":stext, "utype":utype}, this.SmartUserAllSearchSelect.getArguments().slice(2));
	},
	SmartServiceSearchSelect: function(stext, filter) {
		return this.invoke("SmartServiceSearchSelect", {"stext":stext, "filter":filter}, this.SmartServiceSearchSelect.getArguments().slice(2));
	},
	SmartRepSearchSelect: function(stext) {
		return this.invoke("SmartRepSearchSelect", {"stext":stext}, this.SmartRepSearchSelect.getArguments().slice(1));
	},
	GetQuickNoteList: function(orderID, ptype) {
		return this.invoke("GetQuickNoteList", {"orderID":orderID, "ptype":ptype}, this.GetQuickNoteList.getArguments().slice(2));
	},
	InventorySummary: function(vendorID) {
		return this.invoke("InventorySummary", {"vendorID":vendorID}, this.InventorySummary.getArguments().slice(1));
	},
	InventorySummaryUpdateList: function(vendorID) {
		return this.invoke("InventorySummaryUpdateList", {"vendorID":vendorID}, this.InventorySummaryUpdateList.getArguments().slice(1));
	},
	InventoryListing: function(vendorID, status) {
		return this.invoke("InventoryListing", {"vendorID":vendorID, "status":status}, this.InventoryListing.getArguments().slice(2));
	},
	InventoryOrderListing: function(orderID, status) {
		return this.invoke("InventoryOrderListing", {"orderID":orderID, "status":status}, this.InventoryOrderListing.getArguments().slice(2));
	},
	GetInventoryData: function(InvOrderID) {
		return this.invoke("GetInventoryData", {"InvOrderID":InvOrderID}, this.GetInventoryData.getArguments().slice(1));
	},
	GetInventoryClass: function() {
		return this.invoke("GetInventoryClass", {}, this.GetInventoryClass.getArguments().slice(0));
	},
	GetProductList: function(prodID, CoType) {
		return this.invoke("GetProductList", {"prodID":prodID, "CoType":CoType}, this.GetProductList.getArguments().slice(2));
	},
	GetShippingList: function(UnitID, ProductID, ZipCode, units, override) {
		return this.invoke("GetShippingList", {"UnitID":UnitID, "ProductID":ProductID, "ZipCode":ZipCode, "units":units, "override":override}, this.GetShippingList.getArguments().slice(5));
	},
	ProcessInventory: function(mc) {
		return this.invoke("ProcessInventory", {"mc":mc}, this.ProcessInventory.getArguments().slice(1));
	},
	AdjustInventory: function(vInventoryID, vendorID, Units, username) {
		return this.invoke("AdjustInventory", {"vInventoryID":vInventoryID, "vendorID":vendorID, "Units":Units, "username":username}, this.AdjustInventory.getArguments().slice(4));
	},
	DeleteInventory: function(InvOrderID, vendorID, ProductID) {
		return this.invoke("DeleteInventory", {"InvOrderID":InvOrderID, "vendorID":vendorID, "ProductID":ProductID}, this.DeleteInventory.getArguments().slice(3));
	},
	GetVendorOnOrder: function(orderID) {
		return this.invoke("GetVendorOnOrder", {"orderID":orderID}, this.GetVendorOnOrder.getArguments().slice(1));
	},
	VendorServiceListAll: function(vendorID, Filter) {
		return this.invoke("VendorServiceListAll", {"vendorID":vendorID, "Filter":Filter}, this.VendorServiceListAll.getArguments().slice(2));
	},
	VendorAssignManual: function(orderID, username, email, VendorID) {
		return this.invoke("VendorAssignManual", {"orderID":orderID, "username":username, "email":email, "VendorID":VendorID}, this.VendorAssignManual.getArguments().slice(4));
	},
	RateVendorStars: function(Rating, vendorID, orderID, reasons, username) {
		return this.invoke("RateVendorStars", {"Rating":Rating, "vendorID":vendorID, "orderID":orderID, "reasons":reasons, "username":username}, this.RateVendorStars.getArguments().slice(5));
	},
	GetVendorStarsByOrder: function(orderID) {
		return this.invoke("GetVendorStarsByOrder", {"orderID":orderID}, this.GetVendorStarsByOrder.getArguments().slice(1));
	},
	ClientServiceListAll: function(clientID, Filter) {
		return this.invoke("ClientServiceListAll", {"clientID":clientID, "Filter":Filter}, this.ClientServiceListAll.getArguments().slice(2));
	},
	SmartServiceClientSelect: function(ClientID, Ele) {
		return this.invoke("SmartServiceClientSelect", {"ClientID":ClientID, "Ele":Ele}, this.SmartServiceClientSelect.getArguments().slice(2));
	},
	SetDefaultHeaderFields: function(orderID) {
		return this.invoke("SetDefaultHeaderFields", {"orderID":orderID}, this.SetDefaultHeaderFields.getArguments().slice(1));
	},
	RandomImageShow: function(ImageCount, ImgSrc) {
		return this.invoke("RandomImageShow", {"ImageCount":ImageCount, "ImgSrc":ImgSrc}, this.RandomImageShow.getArguments().slice(2));
	},
	PropertyImageCompare: function(orderID) {
		return this.invoke("PropertyImageCompare", {"orderID":orderID}, this.PropertyImageCompare.getArguments().slice(1));
	},
	GetImageDetails: function(imageID, width, CoType) {
		return this.invoke("GetImageDetails", {"imageID":imageID, "width":width, "CoType":CoType}, this.GetImageDetails.getArguments().slice(3));
	},
	GetImageAttachments_All: function(orderID, width, iGroup, detailID) {
		return this.invoke("GetImageAttachments_All", {"orderID":orderID, "width":width, "iGroup":iGroup, "detailID":detailID}, this.GetImageAttachments_All.getArguments().slice(4));
	},
	GetImageAttachments_Client: function(orderID, width, access, detailID, layout) {
		return this.invoke("GetImageAttachments_Client", {"orderID":orderID, "width":width, "access":access, "detailID":detailID, "layout":layout}, this.GetImageAttachments_Client.getArguments().slice(5));
	},
	GetImageAttachments_Keyed: function(orderID, width, access, layout) {
		return this.invoke("GetImageAttachments_Keyed", {"orderID":orderID, "width":width, "access":access, "layout":layout}, this.GetImageAttachments_Keyed.getArguments().slice(4));
	},
	GetImageAttachments_ClientHorizontal: function(orderID, width, access, detailID) {
		return this.invoke("GetImageAttachments_ClientHorizontal", {"orderID":orderID, "width":width, "access":access, "detailID":detailID}, this.GetImageAttachments_ClientHorizontal.getArguments().slice(4));
	},
	GetImageAttachments_Print: function(orderID, width, access, detailID) {
		return this.invoke("GetImageAttachments_Print", {"orderID":orderID, "width":width, "access":access, "detailID":detailID}, this.GetImageAttachments_Print.getArguments().slice(4));
	},
	GetImageAttachments_Vault: function(orderID) {
		return this.invoke("GetImageAttachments_Vault", {"orderID":orderID}, this.GetImageAttachments_Vault.getArguments().slice(1));
	},
	GetDocumentAttachments_Order: function(orderID, access, detailID) {
		return this.invoke("GetDocumentAttachments_Order", {"orderID":orderID, "access":access, "detailID":detailID}, this.GetDocumentAttachments_Order.getArguments().slice(3));
	},
	DownloadAttachments: function(orderID) {
		return this.invoke("DownloadAttachments", {"orderID":orderID}, this.DownloadAttachments.getArguments().slice(1));
	},
	ToggleImageFlags: function(imageID, flag, FlagType) {
		return this.invoke("ToggleImageFlags", {"imageID":imageID, "flag":flag, "FlagType":FlagType}, this.ToggleImageFlags.getArguments().slice(3));
	},
	DeleteImage: function(imageID) {
		return this.invoke("DeleteImage", {"imageID":imageID}, this.DeleteImage.getArguments().slice(1));
	},
	DeleteDuplicateImages: function(OrderID) {
		return this.invoke("DeleteDuplicateImages", {"OrderID":OrderID}, this.DeleteDuplicateImages.getArguments().slice(1));
	},
	RotateImages: function(imageID, Rotation) {
		return this.invoke("RotateImages", {"imageID":imageID, "Rotation":Rotation}, this.RotateImages.getArguments().slice(2));
	},
	ResizeOrderImages: function(orderID, NewWidth) {
		return this.invoke("ResizeOrderImages", {"orderID":orderID, "NewWidth":NewWidth}, this.ResizeOrderImages.getArguments().slice(2));
	},
	InstructionList: function(orderID) {
		return this.invoke("InstructionList", {"orderID":orderID}, this.InstructionList.getArguments().slice(1));
	},
	url: '/ajaxpro/NVMSFunctions,App_Code.ashx'
}));
NVMSFunctions = new NVMSFunctions_class();

