
//Expanding Vertical List as used on Newsletter Prior Issues Sheet
menu_status = new Array(); 
function showhide(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);
        if(menu_status[theid] != 'show') {
           switch_id.className = 'show';
           menu_status[theid] = 'show';
        }else{
           switch_id.className = 'hide';
           menu_status[theid] = 'hide';
        }
    }
}

function showbar(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);
        if(menu_status[theid] != 'showbar') {
           switch_id.className = 'showbar';
           menu_status[theid] = 'showbar';
        }else{
           switch_id.className = 'hidebar';
           menu_status[theid] = 'hidebar';
        }
    }
}

function showhide1(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);
        if(menu_status[theid] != 'show1') {
           switch_id.className = 'show1';
           menu_status[theid] = 'show1';
        }else{
           switch_id.className = 'hide1';
           menu_status[theid] = 'hide1';
        }
    }
}
//var x = 1
function switchview(x){
	if(x==1){
		menu_status.movingx='show1';
		menu_status.stopingx='hide1';
	}else{ 
		menu_status.stopingx='show1';
		menu_status.movingx='hide1';
	}
	showHide1("stopingx");
	showHide1("movingx");
}

//menu_status1 = new Array();
function stopscroll(theid){
if (document.getElementById) {
    var switch_id = document.getElementById(theid);
        if(menu_status[theid] != 'noscroll') {
           switch_id.className = 'noscroll';
           menu_status[theid] = 'noscroll';
        }else{
           switch_id.className = 'scroll';
           menu_status[theid] = 'scroll';
        }
    }
}

