t.movie.TGotoFrame(gTarget, 3);
}
function manager_OnGameEnd(gameID) {
    // code to get rid of querystring
    if (gLoadGame) {
        removeQuerystring();
    }
    document.movie.SetVariable(gTarget + "/:coinswon", getTokenValue(gameID));
    document.movie.TGotoLabel(gTarget, "afterGame");
}
function removeQuerystring() {
        url_array = setupString.split("?");
        no_qs_url = url_array[0];
        window.location.replace(no_qs_url);
}
// token methods
function isTokenEnabled(gameID) {
    
  