public function genAI($sTable) {
		$sTable = '`' . addslashes($sTable) . '`';
		$sQuery = 'INSERT INTO ' . $sTable . ' () VALUES ()';
		$iID = $this->getInsertID($sQuery);
		if ($iID && ($iID % 1000 == 0)) {
			$sQuery = 'DELETE FROM ' . $sTable;
			$this->exec($sQuery);
		}
		return $iID;
	}