function show(element_id)
{
	if( document.getElementById(element_id).style.display == "none" ){
		document.getElementById(element_id).style.display = "";
	}else{
		document.getElementById(element_id).style.display = "none";
	}
}

function getSelectedValue(selectId)
{
    var select = document.getElementById(selectId);
    if (select)
    {
        return select.options[select.selectedIndex].value;
    }
    return false;
}

function reload()
{
	window.location.reload();
}function reloadOpener(){	if (window.opener) window.opener.doReload();
}