function elem(id) {
    if (document.getElementById != null) {
	return document.getElementById(id);
    }
    if (document.all != null) {
	return document.all[id];
    }
    if (document.layers != null) {
	return document.layers[id];
    }
    return null;
}

//function init() {
//}

//window.onload = init;

/* context help helpers */
function show(help_id) {
    elem(help_id + '_q').style.display = 'none';
    elem(help_id + "_context").style.display = "block";
}

function hide(help_id) {
    elem(help_id + "_q").style.display = "inline";
    elem(help_id + "_context").style.display = "none";
}
