betting function
ajax
fix