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 showField(fieldName, urlName) {
	document.getElementById(fieldName).style.visibility = "visible";
	document.getElementById(fieldName).style.display = "inline";
	document.getElementById(urlName).style.visibility = "hidden";
	}