Type.registerNamespace('SNPhA.Web.Services');
SNPhA.Web.Services.Ajax=function() {
SNPhA.Web.Services.Ajax.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SNPhA.Web.Services.Ajax.prototype={
CreateChapter:function(name,region,intro,advisorInfo,longitude,latitude,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateChapter',false,{name:name,region:region,intro:intro,advisorInfo:advisorInfo,longitude:longitude,latitude:latitude},succeededCallback,failedCallback,userContext); },
UpdateChapter:function(chapterId,name,region,intro,advisorInfo,longitude,latitude,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateChapter',false,{chapterId:chapterId,name:name,region:region,intro:intro,advisorInfo:advisorInfo,longitude:longitude,latitude:latitude},succeededCallback,failedCallback,userContext); },
GetChapter:function(ideaId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'GetChapter',false,{ideaId:ideaId},succeededCallback,failedCallback,userContext); },
CreateEvent:function(chapterId,name,description,dateTimeLoc,projectId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateEvent',false,{chapterId:chapterId,name:name,description:description,dateTimeLoc:dateTimeLoc,projectId:projectId},succeededCallback,failedCallback,userContext); },
UpdateEvent:function(chapterId,eventId,name,description,dateTimeLoc,projectId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateEvent',false,{chapterId:chapterId,eventId:eventId,name:name,description:description,dateTimeLoc:dateTimeLoc,projectId:projectId},succeededCallback,failedCallback,userContext); },
CreateGallery:function(chapterId,name,date,projectId,eventId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateGallery',false,{chapterId:chapterId,name:name,date:date,projectId:projectId,eventId:eventId},succeededCallback,failedCallback,userContext); },
UpdateGallery:function(chapterId,galleryId,name,date,projectId,eventId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateGallery',false,{chapterId:chapterId,galleryId:galleryId,name:name,date:date,projectId:projectId,eventId:eventId},succeededCallback,failedCallback,userContext); },
DeleteGallery:function(galleryId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'DeleteGallery',false,{galleryId:galleryId},succeededCallback,failedCallback,userContext); },
DeletePhoto:function(photoId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'DeletePhoto',false,{photoId:photoId},succeededCallback,failedCallback,userContext); },
CreateUser:function(firstName,lastName,username,password,chapterId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateUser',false,{firstName:firstName,lastName:lastName,username:username,password:password,chapterId:chapterId},succeededCallback,failedCallback,userContext); },
CreateProject:function(name,description,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateProject',false,{name:name,description:description,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateProject:function(projectId,name,description,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateProject',false,{projectId:projectId,name:name,description:description,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
CreateFormSet:function(chapterId,name,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateFormSet',false,{chapterId:chapterId,name:name},succeededCallback,failedCallback,userContext); },
UpdateFormSet:function(formSetId,name,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateFormSet',false,{formSetId:formSetId,name:name},succeededCallback,failedCallback,userContext); },
CreateForm:function(name,formSetId,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateForm',false,{name:name,formSetId:formSetId,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateForm:function(formId,name,formSetId,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateForm',false,{formId:formId,name:name,formSetId:formSetId,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
CreateNewsletter:function(name,archived,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateNewsletter',false,{name:name,archived:archived,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateNewsletter:function(newsletterId,name,archived,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateNewsletter',false,{newsletterId:newsletterId,name:name,archived:archived,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateChapterPhoto:function(chapterId,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateChapterPhoto',false,{chapterId:chapterId,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
CreateBioArchive:function(year,col1,col2,col3,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateBioArchive',false,{year:year,col1:col1,col2:col2,col3:col3},succeededCallback,failedCallback,userContext); },
UpdateBioArchive:function(bioArchiveId,year,col1,col2,col3,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateBioArchive',false,{bioArchiveId:bioArchiveId,year:year,col1:col1,col2:col2,col3:col3},succeededCallback,failedCallback,userContext); },
CreateHomeImage:function(documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateHomeImage',false,{documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateHomeImage:function(homeImageId,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateHomeImage',false,{homeImageId:homeImageId,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
CreateBiography:function(category,name,title,bio,height,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'CreateBiography',false,{category:category,name:name,title:title,bio:bio,height:height,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateBiography:function(biographyId,category,name,title,bio,height,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateBiography',false,{biographyId:biographyId,category:category,name:name,title:title,bio:bio,height:height,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
UpdateUser:function(userId,firstName,lastName,username,password,chapterId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateUser',false,{userId:userId,firstName:firstName,lastName:lastName,username:username,password:password,chapterId:chapterId},succeededCallback,failedCallback,userContext); },
UpdateContent:function(contentKey,updatedHTML,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateContent',false,{contentKey:contentKey,updatedHTML:updatedHTML},succeededCallback,failedCallback,userContext); },
UpdateImage:function(imageKey,maxWidth,documentId,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'UpdateImage',false,{imageKey:imageKey,maxWidth:maxWidth,documentId:documentId,fileName:fileName},succeededCallback,failedCallback,userContext); },
DeleteObject:function(objectType,objectId,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'DeleteObject',false,{objectType:objectType,objectId:objectId},succeededCallback,failedCallback,userContext); },
ReorderObjects:function(chapterId,objectType,orderedIds,succeededCallback, failedCallback, userContext) {
return this._invoke(SNPhA.Web.Services.Ajax.get_path(), 'ReorderObjects',false,{chapterId:chapterId,objectType:objectType,orderedIds:orderedIds},succeededCallback,failedCallback,userContext); }}
SNPhA.Web.Services.Ajax.registerClass('SNPhA.Web.Services.Ajax',Sys.Net.WebServiceProxy);
SNPhA.Web.Services.Ajax._staticInstance = new SNPhA.Web.Services.Ajax();
SNPhA.Web.Services.Ajax.set_path = function(value) { SNPhA.Web.Services.Ajax._staticInstance._path = value; }
SNPhA.Web.Services.Ajax.get_path = function() { return SNPhA.Web.Services.Ajax._staticInstance._path; }
SNPhA.Web.Services.Ajax.set_timeout = function(value) { SNPhA.Web.Services.Ajax._staticInstance._timeout = value; }
SNPhA.Web.Services.Ajax.get_timeout = function() { return SNPhA.Web.Services.Ajax._staticInstance._timeout; }
SNPhA.Web.Services.Ajax.set_defaultUserContext = function(value) { SNPhA.Web.Services.Ajax._staticInstance._userContext = value; }
SNPhA.Web.Services.Ajax.get_defaultUserContext = function() { return SNPhA.Web.Services.Ajax._staticInstance._userContext; }
SNPhA.Web.Services.Ajax.set_defaultSucceededCallback = function(value) { SNPhA.Web.Services.Ajax._staticInstance._succeeded = value; }
SNPhA.Web.Services.Ajax.get_defaultSucceededCallback = function() { return SNPhA.Web.Services.Ajax._staticInstance._succeeded; }
SNPhA.Web.Services.Ajax.set_defaultFailedCallback = function(value) { SNPhA.Web.Services.Ajax._staticInstance._failed = value; }
SNPhA.Web.Services.Ajax.get_defaultFailedCallback = function() { return SNPhA.Web.Services.Ajax._staticInstance._failed; }
SNPhA.Web.Services.Ajax.set_path("/Services/Ajax.asmx");
SNPhA.Web.Services.Ajax.CreateChapter= function(name,region,intro,advisorInfo,longitude,latitude,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateChapter(name,region,intro,advisorInfo,longitude,latitude,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateChapter= function(chapterId,name,region,intro,advisorInfo,longitude,latitude,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateChapter(chapterId,name,region,intro,advisorInfo,longitude,latitude,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.GetChapter= function(ideaId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.GetChapter(ideaId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateEvent= function(chapterId,name,description,dateTimeLoc,projectId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateEvent(chapterId,name,description,dateTimeLoc,projectId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateEvent= function(chapterId,eventId,name,description,dateTimeLoc,projectId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateEvent(chapterId,eventId,name,description,dateTimeLoc,projectId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateGallery= function(chapterId,name,date,projectId,eventId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateGallery(chapterId,name,date,projectId,eventId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateGallery= function(chapterId,galleryId,name,date,projectId,eventId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateGallery(chapterId,galleryId,name,date,projectId,eventId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.DeleteGallery= function(galleryId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.DeleteGallery(galleryId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.DeletePhoto= function(photoId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.DeletePhoto(photoId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateUser= function(firstName,lastName,username,password,chapterId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateUser(firstName,lastName,username,password,chapterId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateProject= function(name,description,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateProject(name,description,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateProject= function(projectId,name,description,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateProject(projectId,name,description,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateFormSet= function(chapterId,name,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateFormSet(chapterId,name,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateFormSet= function(formSetId,name,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateFormSet(formSetId,name,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateForm= function(name,formSetId,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateForm(name,formSetId,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateForm= function(formId,name,formSetId,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateForm(formId,name,formSetId,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateNewsletter= function(name,archived,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateNewsletter(name,archived,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateNewsletter= function(newsletterId,name,archived,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateNewsletter(newsletterId,name,archived,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateChapterPhoto= function(chapterId,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateChapterPhoto(chapterId,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateBioArchive= function(year,col1,col2,col3,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateBioArchive(year,col1,col2,col3,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateBioArchive= function(bioArchiveId,year,col1,col2,col3,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateBioArchive(bioArchiveId,year,col1,col2,col3,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateHomeImage= function(documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateHomeImage(documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateHomeImage= function(homeImageId,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateHomeImage(homeImageId,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.CreateBiography= function(category,name,title,bio,height,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.CreateBiography(category,name,title,bio,height,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateBiography= function(biographyId,category,name,title,bio,height,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateBiography(biographyId,category,name,title,bio,height,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateUser= function(userId,firstName,lastName,username,password,chapterId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateUser(userId,firstName,lastName,username,password,chapterId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateContent= function(contentKey,updatedHTML,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateContent(contentKey,updatedHTML,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.UpdateImage= function(imageKey,maxWidth,documentId,fileName,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.UpdateImage(imageKey,maxWidth,documentId,fileName,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.DeleteObject= function(objectType,objectId,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.DeleteObject(objectType,objectId,onSuccess,onFailed,userContext); }
SNPhA.Web.Services.Ajax.ReorderObjects= function(chapterId,objectType,orderedIds,onSuccess,onFailed,userContext) {SNPhA.Web.Services.Ajax._staticInstance.ReorderObjects(chapterId,objectType,orderedIds,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SNPhA.Model.Util.JSON');
if (typeof(SNPhA.Model.Util.JSON.JsonDomElement) === 'undefined') {
SNPhA.Model.Util.JSON.JsonDomElement=gtc("SNPhA.Model.Util.JSON.JsonDomElement");
SNPhA.Model.Util.JSON.JsonDomElement.registerClass('SNPhA.Model.Util.JSON.JsonDomElement');
}
if (typeof(SNPhA.Model.Util.JSON.JsonChapter) === 'undefined') {
SNPhA.Model.Util.JSON.JsonChapter=gtc("SNPhA.Model.Util.JSON.JsonChapter");
SNPhA.Model.Util.JSON.JsonChapter.registerClass('SNPhA.Model.Util.JSON.JsonChapter');
}
if (typeof(SNPhA.Model.Util.JSON.JsonEvent) === 'undefined') {
SNPhA.Model.Util.JSON.JsonEvent=gtc("SNPhA.Model.Util.JSON.JsonEvent");
SNPhA.Model.Util.JSON.JsonEvent.registerClass('SNPhA.Model.Util.JSON.JsonEvent');
}
if (typeof(SNPhA.Model.Util.JSON.JsonGallery) === 'undefined') {
SNPhA.Model.Util.JSON.JsonGallery=gtc("SNPhA.Model.Util.JSON.JsonGallery");
SNPhA.Model.Util.JSON.JsonGallery.registerClass('SNPhA.Model.Util.JSON.JsonGallery');
}
if (typeof(SNPhA.Model.Util.JSON.JsonProject) === 'undefined') {
SNPhA.Model.Util.JSON.JsonProject=gtc("SNPhA.Model.Util.JSON.JsonProject");
SNPhA.Model.Util.JSON.JsonProject.registerClass('SNPhA.Model.Util.JSON.JsonProject');
}
if (typeof(SNPhA.Model.Util.JSON.JsonFormSet) === 'undefined') {
SNPhA.Model.Util.JSON.JsonFormSet=gtc("SNPhA.Model.Util.JSON.JsonFormSet");
SNPhA.Model.Util.JSON.JsonFormSet.registerClass('SNPhA.Model.Util.JSON.JsonFormSet');
}
if (typeof(SNPhA.Model.Util.JSON.JsonForm) === 'undefined') {
SNPhA.Model.Util.JSON.JsonForm=gtc("SNPhA.Model.Util.JSON.JsonForm");
SNPhA.Model.Util.JSON.JsonForm.registerClass('SNPhA.Model.Util.JSON.JsonForm');
}
if (typeof(SNPhA.Model.Util.JSON.JsonNewsletter) === 'undefined') {
SNPhA.Model.Util.JSON.JsonNewsletter=gtc("SNPhA.Model.Util.JSON.JsonNewsletter");
SNPhA.Model.Util.JSON.JsonNewsletter.registerClass('SNPhA.Model.Util.JSON.JsonNewsletter');
}
if (typeof(SNPhA.Model.Util.JSON.JsonBioArchive) === 'undefined') {
SNPhA.Model.Util.JSON.JsonBioArchive=gtc("SNPhA.Model.Util.JSON.JsonBioArchive");
SNPhA.Model.Util.JSON.JsonBioArchive.registerClass('SNPhA.Model.Util.JSON.JsonBioArchive');
}
if (typeof(SNPhA.Model.Util.JSON.JsonHomeImage) === 'undefined') {
SNPhA.Model.Util.JSON.JsonHomeImage=gtc("SNPhA.Model.Util.JSON.JsonHomeImage");
SNPhA.Model.Util.JSON.JsonHomeImage.registerClass('SNPhA.Model.Util.JSON.JsonHomeImage');
}
if (typeof(SNPhA.Model.Util.JSON.JsonBiography) === 'undefined') {
SNPhA.Model.Util.JSON.JsonBiography=gtc("SNPhA.Model.Util.JSON.JsonBiography");
SNPhA.Model.Util.JSON.JsonBiography.registerClass('SNPhA.Model.Util.JSON.JsonBiography');
}
if (typeof(SNPhA.Model.Util.JSON.JsonPerson) === 'undefined') {
SNPhA.Model.Util.JSON.JsonPerson=gtc("SNPhA.Model.Util.JSON.JsonPerson");
SNPhA.Model.Util.JSON.JsonPerson.registerClass('SNPhA.Model.Util.JSON.JsonPerson');
}
if (typeof(SNPhA.Model.Util.JSON.JsonImage) === 'undefined') {
SNPhA.Model.Util.JSON.JsonImage=gtc("SNPhA.Model.Util.JSON.JsonImage");
SNPhA.Model.Util.JSON.JsonImage.registerClass('SNPhA.Model.Util.JSON.JsonImage');
}
Type.registerNamespace('SNPhA.Model.Util');
if (typeof(SNPhA.Model.Util.ChapterRegion) === 'undefined') {
SNPhA.Model.Util.ChapterRegion = function() { throw Error.invalidOperation(); }
SNPhA.Model.Util.ChapterRegion.prototype = {Region1: 0,Region2: 1,Region3: 2,Region4: 3,Region5: 4,National: 5}
SNPhA.Model.Util.ChapterRegion.registerEnum('SNPhA.Model.Util.ChapterRegion', true);
}
if (typeof(SNPhA.Model.Util.OfficerCategory) === 'undefined') {
SNPhA.Model.Util.OfficerCategory = function() { throw Error.invalidOperation(); }
SNPhA.Model.Util.OfficerCategory.prototype = {Administrative: 0,Facilitator: 1,ProjectChair: 2}
SNPhA.Model.Util.OfficerCategory.registerEnum('SNPhA.Model.Util.OfficerCategory', true);
}
