function OnSave($is_insert)
	{
		// if the password has changed since load, then we want to crypt it
		// otherwise we don't want to touch it because it is already crypted
		if ($is_insert || $this->PasswordWasChanged() )
		{
			$this->_phreezer->Observe("Account-&gt;OnSave: The password has changed");
			$this->Password = base64_encode(crypt($this->Password,$this->Username));
		}
		else
		{
			$this->Password = $this->_original_password;
			$this->_phreezer->Observe("Account->OnSave: The password was not changed");
		}		

		// update the modified date
		$this->Modified = date('Y-m-d H:i:s');
		return true;
	}