Create func2ajax.php

Still not sure how you want to incorporate ajax into the scripts.. but here the start of a working example... ill try to keep it as simple as possible :)