function openNewWindow(url, h, w) {
newWin = window.open(url, '', 'resizable,scrollbars,height='+h+',width='+w);
return false;
}

function rollover(button) {
if (document.getElementById(button).style.backgroundPosition=='0px -31px') {
document.getElementById(button).style.backgroundPosition='0px 0px';
} else {
document.getElementById(button).style.backgroundPosition='0px -31px';
}
}

function displayToggle(item) {
thisItem=document.getElementById(item);
thisItem.style.display=(thisItem.style.display=="none" ? "block" : "none");
}

function confirmDelete(myForm, record) {
if (confirm('You are about to delete this record.\r\nContinue?')) {
disableForm(myForm);
location.href='record.php?action=delete&id='+record;
}}