Hi
I have been trying to learn about just what I need to know about the "object tag" to play a small "click" onclick sound without learning everything I ever could conceivably want to know about starting every conceivable plug-in. And I have found it most frustrating. So I would appreciate it if somebody here could translate the code below to appropriate code for the "object tag" and perhaps that would give me the words I need to search on to inform me about what I was just given. Of course I would even be more appreciative if the same or another person could tell me just where to look on just what page to inform me about the translation. The reason I am not ambitious to learn everything about plug-ins at this point is that this little onclick sound is not crucial to my design I think it just adds a little for people who have the appropriate plugin. The code is below.

Sincerely
Marc

HTML
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>relative snippets from much more complicated page</title>
 <meta content="text/html; charset=us-ascii" http-equiv="Content-Type" />
 <script src="GaS.js" type="text/javascript"></script> 
</head>
    <ul>
          <li id="prev">
             <a href="GaS2.html"><img  src="p1images/prevpointer.gif" alt="prev"/></a>
         </li>
         <li id="return">
            <a href="../gallery.html"><img src="p1images/return.gif" alt="return" /></a>
         </li>   
         <li id="next">
           <a href="GaS4.html"><img  src="p1images/nextpointer.gif" alt="next" /></a>
         </li>  
    </ul>
<embed src="click_x.wav" autostart=false width=0 height=0 id="sound1"
enablejavascript="true" volume="30">
javaScript
Code:
function onClickDelayLocation(){
    goURL(this.href);
    return false;
        function goURL(url){
          onClickSound();          
          setTimeout(function(){window.location.href=url},100)
        };
};
function onClickSound () {
   var thissound=document.getElementById("sound1");
       thissound.Play();
}
window.onload = function () {
document.getElementById("prev").getElementsByTagName('A')[0].onclick=onClickDelayLocation;
document.getElementById("return").getElementsByTagName('A')[0].onclick=onClickDelayLocation;
document.getElementById("next").getElementsByTagName('A')[0].onclick=onClickDelayLocation;
}