Changes to index.php and added result.php to display results
Adding loading.gif
Added doCheck.php for ajax php checking