var org;if (!org)org={};
if (!org.resoa)org.resoa={};
org.resoa.website=(function(){
function AuthRequest(jsonstring){
this.id=null;this.dns=null;this.agreed=null;this.timestamp=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
AuthRequest.prototype.getId=function(){return this.id;};
AuthRequest.prototype.setId=function(param){this.id=param;};
AuthRequest.prototype.getDns=function(){return this.dns;};
AuthRequest.prototype.setDns=function(param){this.dns=param;};
AuthRequest.prototype.getAgreed=function(){return this.agreed;};
AuthRequest.prototype.setAgreed=function(param){this.agreed=param;};
AuthRequest.prototype.getTimestamp=function(){return this.timestamp;};
AuthRequest.prototype.setTimestamp=function(param){this.timestamp=param;};
AuthRequest.prototype.toString=function(){return 'AuthRequest';};
AuthRequest.prototype.getInstance=function(){return new AuthRequest();};
AuthRequest.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?AuthRequest') == 0);};return (obj.toString() == 'AuthRequest');};
AuthRequest.prototype.isClassProperty=function(param){return (AuthRequest.prototype[param] == undefined);};
AuthRequest.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
AuthRequest.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
AuthRequest.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
AuthRequest.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function ContactRequest(jsonstring){
this.partner=null;this.keywords=new Array();this.id=null;this.dns=null;this.type=null;this.message=null;this.timestamp=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
ContactRequest.prototype.getPartner=function(){return this.partner;};
ContactRequest.prototype.setPartner=function(param){this.partner=param;};
ContactRequest.prototype.getKeywords=function(){return this.keywords;};
ContactRequest.prototype.setKeywords=function(param){this.keywords=param;};
ContactRequest.prototype.getId=function(){return this.id;};
ContactRequest.prototype.setId=function(param){this.id=param;};
ContactRequest.prototype.getDns=function(){return this.dns;};
ContactRequest.prototype.setDns=function(param){this.dns=param;};
ContactRequest.prototype.getType=function(){return this.type;};
ContactRequest.prototype.setType=function(param){this.type=param;};
ContactRequest.prototype.getMessage=function(){return this.message;};
ContactRequest.prototype.setMessage=function(param){this.message=param;};
ContactRequest.prototype.getTimestamp=function(){return this.timestamp;};
ContactRequest.prototype.setTimestamp=function(param){this.timestamp=param;};
ContactRequest.prototype.toString=function(){return 'ContactRequest';};
ContactRequest.prototype.getInstance=function(){return new ContactRequest();};
ContactRequest.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?ContactRequest') == 0);};return (obj.toString() == 'ContactRequest');};
ContactRequest.prototype.isClassProperty=function(param){return (ContactRequest.prototype[param] == undefined);};
ContactRequest.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
ContactRequest.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
ContactRequest.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
ContactRequest.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function Country(jsonstring){
this.id=null;this.name=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
Country.prototype.getId=function(){return this.id;};
Country.prototype.setId=function(param){this.id=param;};
Country.prototype.getName=function(){return this.name;};
Country.prototype.setName=function(param){this.name=param;};
Country.prototype.toString=function(){return 'Country';};
Country.prototype.getInstance=function(){return new Country();};
Country.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?Country') == 0);};return (obj.toString() == 'Country');};
Country.prototype.isClassProperty=function(param){return (Country.prototype[param] == undefined);};
Country.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
Country.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
Country.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
Country.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function CountryList(jsonstring){
this.country=new Array();this.language=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
CountryList.prototype.getCountry=function(){return this.country;};
CountryList.prototype.setCountry=function(param){this.country=param;};
CountryList.prototype.getLanguage=function(){return this.language;};
CountryList.prototype.setLanguage=function(param){this.language=param;};
CountryList.prototype.toString=function(){return 'CountryList';};
CountryList.prototype.getInstance=function(){return new CountryList();};
CountryList.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?CountryList') == 0);};return (obj.toString() == 'CountryList');};
CountryList.prototype.isClassProperty=function(param){return (CountryList.prototype[param] == undefined);};
CountryList.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
CountryList.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
CountryList.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
CountryList.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
function Partner(jsonstring){
this.country=null;this.UID=null;this.address=null;this.company=null;this.firstname=null;this.surname=null;this.email=null;this.street=null;this.zipcode=null;this.city=null;
if (jsonstring != null){var jsonobj = JSON.parse(jsonstring)[this];
 if (jsonobj == null)return;for (var p in jsonobj){if (jsonobj[p] != null)this[p] = jsonobj[p];};};}
Partner.prototype.getCountry=function(){return this.country;};
Partner.prototype.setCountry=function(param){this.country=param;};
Partner.prototype.getUID=function(){return this.UID;};
Partner.prototype.setUID=function(param){this.UID=param;};
Partner.prototype.getAddress=function(){return this.address;};
Partner.prototype.setAddress=function(param){this.address=param;};
Partner.prototype.getCompany=function(){return this.company;};
Partner.prototype.setCompany=function(param){this.company=param;};
Partner.prototype.getFirstname=function(){return this.firstname;};
Partner.prototype.setFirstname=function(param){this.firstname=param;};
Partner.prototype.getSurname=function(){return this.surname;};
Partner.prototype.setSurname=function(param){this.surname=param;};
Partner.prototype.getEmail=function(){return this.email;};
Partner.prototype.setEmail=function(param){this.email=param;};
Partner.prototype.getStreet=function(){return this.street;};
Partner.prototype.setStreet=function(param){this.street=param;};
Partner.prototype.getZipcode=function(){return this.zipcode;};
Partner.prototype.setZipcode=function(param){this.zipcode=param;};
Partner.prototype.getCity=function(){return this.city;};
Partner.prototype.setCity=function(param){this.city=param;};
Partner.prototype.toString=function(){return 'Partner';};
Partner.prototype.getInstance=function(){return new Partner();};
Partner.prototype.instanceOf=function(obj){if (typeof obj == 'string'){var js = new String(obj);return (js.search('[{]{1}"?Partner') == 0);};return (obj.toString() == 'Partner');};
Partner.prototype.isClassProperty=function(param){return (Partner.prototype[param] == undefined);};
Partner.prototype.toJson=function(method,callback,priority,async){var tmp={};tmp[this]=this;tmp.method=method;
 if(callback != null)tmp.callback = callback;if(priority != null)tmp.priority = priority;if(async != null)tmp.async = true;
 return JSON.stringify(tmp)};
Partner.prototype.fromForm=function(form){for (var p in this){var fp = form[this + "_" + p];if (fp != null && fp.value != null && fp.value.length > 0) this[p] = fp.value;}};
Partner.prototype.fillForm=function(form){if (form == null)return;if (form.size != null){if (form.size() > 0)form = form[0];else return;}
 for (var p in this){if (! this.isClassProperty(p) || this[p] == null || form.elements[this.toString() + "_" + p] == null) continue;form.elements[this.toString() + "_" + p].value = this[p].toString();}};
Partner.prototype.wrap=function(obj){var inst = this.getInstance();if (obj == null)return inst;
 for (var p in inst){if (! this.isClassProperty(p) || obj[p] == null)continue;inst[p] = obj[p];} return inst;};
return{AuthRequest:AuthRequest,ContactRequest:ContactRequest,Country:Country,CountryList:CountryList,Partner:Partner};})();