
    var endLoc = setupString.indexOf("&gTarget=");
    gAppName = setupString.substring(startLoc, endLoc)
    startLoc = setupString.indexOf("&gTarget=")+9
    endLoc = setupString.indexOf("&gCoins=")
    gTarget = setupString.substring(startLoc, endLoc)
    startLoc =  setupString.indexOf("&gCoins=")+8
    endLoc = setupString.length;
    gCoins = setupString.substring(startLoc, endLoc)
    gLoadGame = true
}
function manager_OnDownloadUpdate(gameID, bytesDownload, bytesTotal) {
    percentage = Math.floo