/*
 * This is the Gameyola Flash AS3 API
 */

function showUploadProgress() {
    //$("#upload-button").hide();
    $("#progress-bar").show();
}

function showProgressBar() {
    $("#progress-bar").show();
}

function showOK() {
    $("#progress-bar").hide();
    $("#done-ok").show();
}

function changeGoLink(i) {
    $("#go-live-link-" + i).html("Live");
}

function showProgressLive(i) {
    $("#go-live-link-" + i).html("<img src='/loading.png' />");
}

function enableStartButton(){
    if ($('#terms').attr('checked')){
        $('#startBtn').attr('disabled', '');
    }else{
        $('#startBtn').attr('disabled', 'disabled');
    }
}