// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

menu_status = new Array();

function showHide(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);

        if(menu_status[theid] != 'show') {
           switch_id.className = 'sidebar_calendar_item show';
           menu_status[theid] = 'show';
        }else{
           switch_id.className = 'sidebar_calendar_item hide';
           menu_status[theid] = 'hide';
        }
    }
}