if (!MB) {var MB = new Object();} MB.storeRegistrationItem = function(item) { // something flashy with a server call. } MB.registerNewUser = function(xml){ return Remote.machineCall("matchbook.com/operation/business/registration/RegistrationNewSaveMachine",xml); } MB.registerPendingUser = function(xml){ return Remote.machineCall("matchbook.com/operation/business/registration/RegistrationMachine",xml); } MB.checkUserName = function(xml){ return Remote.machineCall("matchbook.com/operation/business/registration/RegistrationValidationMachine",xml); } MB.getCashCountriesList = function(compId,pXML,handler) { Remote.asynchMachineCall("matchbook.com/operation/business/registration/CountriesListWithRegionsMachine",pXML,handler); } MB.getCashRegionsOfCountry = function(compId,pXML,handler) { Remote.asynchMachineCall("matchbook.com/operation/business/registration/RegionDetailsBasedOnCountryChosenMachine",pXML,handler); } //messages moved to matchbookCommonAPI