// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function showInfo(template_version_id) {
    document.getElementsByClassName('templateInfo').each(function(node) {
        node.hide();
    });
    $('templatetype_'+template_version_id+'_info').show();
}

function selectTemplaceVersion(radioButton) {
    $('article_template_version_'+radioButton).checked = 1;
}    
function setIndicators() {
    $('refresh_indicator').innerHTML = 'Refreshing...';
    Element.show('progress_indicator');
}

function resetIndicators() {
    $('refresh_indicator').innerHTML = '';
    Element.hide('progress_indicator');
}

function initialize(page) {
    switch (page) {
        case "picture_admin":
        break
    }
}
