function del_confirm(msg,action,itemid) {

if (confirm(msg)) {location="?action="+action+"&itemid="+itemid}

}

function del_confirm2(msg,loc) {

if (confirm(msg)) {location=loc}

}