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

