<head>
<script type="text/javascript">
function playPause(x)
{
var myAudio=document.getElementById(x);
if (myAudio.paused)
myAudio.play();
else
myAudio.pause();
}
</script>
<head>
<body>
<audio id="Soundx1" src="../audio/2.mp3"></audio>
<button style="background-image:url(../images/audio1.jpg); width:45px; height:45px;
border:transparent; margin:0px 0px 0px 0px;background-repeat:
no-repeat;background-color:white;" onclick="playPause('Soundx1');" ></button>
<audio id="Soundx2" src="../audio/2.mp3"></audio>
<button style="background-image:url(../images/audio2.jpg);background-color:white;
width:45px; height:45px; border:transparent; margin:0px 0px 0px 0px;background-repeat:
no-repeat;" onclick="playPause('Soundx2');" ></button>
<body>
<Article moved from Java to JavaScript by JamesCherrill>