if(typeof VGISW == "undefined") VGISW={};
VGISW_class = function() {};
Object.extend(VGISW_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	getModels: function() {
		return this.invoke("getModels", {}, this.getModels.getArguments().slice(0));
	},
	clearCurrentSession: function() {
		return this.invoke("clearCurrentSession", {}, this.clearCurrentSession.getArguments().slice(0));
	},
	createLayer: function(routeID, isPrivacy) {
		return this.invoke("createLayer", {"routeID":routeID, "isPrivacy":isPrivacy}, this.createLayer.getArguments().slice(2));
	},
	getLayersByRouteId: function(routeID) {
		return this.invoke("getLayersByRouteId", {"routeID":routeID}, this.getLayersByRouteId.getArguments().slice(1));
	},
	getTagInfo: function(tagID) {
		return this.invoke("getTagInfo", {"tagID":tagID}, this.getTagInfo.getArguments().slice(1));
	},
	getInfoByTagId: function(id, isAll) {
		return this.invoke("getInfoByTagId", {"id":id, "isAll":isAll}, this.getInfoByTagId.getArguments().slice(2));
	},
	getInfoByTagCode: function(code, isAll) {
		return this.invoke("getInfoByTagCode", {"code":code, "isAll":isAll}, this.getInfoByTagCode.getArguments().slice(2));
	},
	getUserName: function() {
		return this.invoke("getUserName", {}, this.getUserName.getArguments().slice(0));
	},
	getRights: function() {
		return this.invoke("getRights", {}, this.getRights.getArguments().slice(0));
	},
	isOwner: function(table, id) {
		return this.invoke("isOwner", {"table":table, "id":id}, this.isOwner.getArguments().slice(2));
	},
	logonAs: function(username, password) {
		return this.invoke("logonAs", {"username":username, "password":password}, this.logonAs.getArguments().slice(2));
	},
	createTag: function(videoID, modelID, layerID, frameID, coordX, coordY, coordZ) {
		return this.invoke("createTag", {"videoID":videoID, "modelID":modelID, "layerID":layerID, "frameID":frameID, "coordX":coordX, "coordY":coordY, "coordZ":coordZ}, this.createTag.getArguments().slice(7));
	},
	deleteTag: function(tagID, persistency) {
		return this.invoke("deleteTag", {"tagID":tagID, "persistency":persistency}, this.deleteTag.getArguments().slice(2));
	},
	getAllTags: function(routeID, videoID) {
		return this.invoke("getAllTags", {"routeID":routeID, "videoID":videoID}, this.getAllTags.getArguments().slice(2));
	},
	getTags: function(routeID, videoID) {
		return this.invoke("getTags", {"routeID":routeID, "videoID":videoID}, this.getTags.getArguments().slice(2));
	},
	getTagsByDataReader: function(routeID, videoID) {
		return this.invoke("getTagsByDataReader", {"routeID":routeID, "videoID":videoID}, this.getTagsByDataReader.getArguments().slice(2));
	},
	getRoute: function(routeID) {
		return this.invoke("getRoute", {"routeID":routeID}, this.getRoute.getArguments().slice(1));
	},
	getSessionInfo: function() {
		return this.invoke("getSessionInfo", {}, this.getSessionInfo.getArguments().slice(0));
	},
	getInfo: function(keyword) {
		return this.invoke("getInfo", {"keyword":keyword}, this.getInfo.getArguments().slice(1));
	},
	selectDataFromTable: function(tablename, keys, fieldnames) {
		return this.invoke("selectDataFromTable", {"tablename":tablename, "keys":keys, "fieldnames":fieldnames}, this.selectDataFromTable.getArguments().slice(3));
	},
	InsertDataInTable: function(tablename, keys, fieldnames, contents) {
		return this.invoke("InsertDataInTable", {"tablename":tablename, "keys":keys, "fieldnames":fieldnames, "contents":contents}, this.InsertDataInTable.getArguments().slice(4));
	},
	updateDataInTable: function(tablename, keys, fieldnames, contents) {
		return this.invoke("updateDataInTable", {"tablename":tablename, "keys":keys, "fieldnames":fieldnames, "contents":contents}, this.updateDataInTable.getArguments().slice(4));
	},
	updateDataInTagTable: function(tagID, names, contents) {
		return this.invoke("updateDataInTagTable", {"tagID":tagID, "names":names, "contents":contents}, this.updateDataInTagTable.getArguments().slice(3));
	},
	InsertSignUpToTable: function(tablename, fieldnames, contents) {
		return this.invoke("InsertSignUpToTable", {"tablename":tablename, "fieldnames":fieldnames, "contents":contents}, this.InsertSignUpToTable.getArguments().slice(3));
	},
	InsertFormMailToTable: function(tablename, fieldnames, contents) {
		return this.invoke("InsertFormMailToTable", {"tablename":tablename, "fieldnames":fieldnames, "contents":contents}, this.InsertFormMailToTable.getArguments().slice(3));
	},
	InsertQuestionnaireToTable: function(tablename, fieldnames, contents) {
		return this.invoke("InsertQuestionnaireToTable", {"tablename":tablename, "fieldnames":fieldnames, "contents":contents}, this.InsertQuestionnaireToTable.getArguments().slice(3));
	},
	checkAvailableUser: function(userName) {
		return this.invoke("checkAvailableUser", {"userName":userName}, this.checkAvailableUser.getArguments().slice(1));
	},
	getVPlane: function(videoID, frameID) {
		return this.invoke("getVPlane", {"videoID":videoID, "frameID":frameID}, this.getVPlane.getArguments().slice(2));
	},
	setVPlane: function(videoID, frameID, vplane) {
		return this.invoke("setVPlane", {"videoID":videoID, "frameID":frameID, "vplane":vplane}, this.setVPlane.getArguments().slice(3));
	},
	getSphereRadius: function(videoID) {
		return this.invoke("getSphereRadius", {"videoID":videoID}, this.getSphereRadius.getArguments().slice(1));
	},
	setSphereRadius: function(videoID, raduis) {
		return this.invoke("setSphereRadius", {"videoID":videoID, "raduis":raduis}, this.setSphereRadius.getArguments().slice(2));
	},
	url: '/1.5.0.0/ajaxpro/VGISW,App_Web_xqby5jzi.ashx'
}));
VGISW = new VGISW_class();

