public function lookup_token_type($findThis) {
		$retval = 0;
		$sql = "SELECT * FROM cswal_token_type_table WHERE token_type=:type";
		
		try {
			$numrows = $this->db->run_query($sql, array('type'=> $findThis));
			
			if($numrows == 1) {
				$data = $this->db->get_single_record();
				$retval = $data['token_type_id'];
			}
		} catch (Exception $ex) {
			throw new exception(__METHOD__ .": failed to retrieve token type::: ". $ex->getMessage());
		}
		
		return $retval;
	}