I have updated the rsobj.php file to support this more easily. Just update the first line manually to:
$Events = new WA_MySQLi_RS("Events",$DBConnection,4,1);
I have attached the updated rsobj.php file. (make sure to update the CrossSiteProtect attribute if you have turned it off in your file)