iisurge method (orig. by TheMan) auto-bet.js