Added CheckIn Javascript function on delegates.php page and checkin.php to handle checkin call.