function EvalSound(soundobj) { var thissound=document.getElementById(soundobj); thissound.Play(); } function confirmation($id) { var id = $id; var answer = confirm("Delete entry '$id' ?") if (answer){ alert("Entry Deleted") window.location = "admin_faq.php?sct=Delete&&faq_id=$id"; } else{ alert("No action taken") } }