<!--
/***********************************************
* JavaScript Sound effect- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

var soundfile="slot02.wav" //path to sound file, or pass in filename directly into playsound()

function playsound(soundfile)
{
/*	if( is_ie )
    {
        document.getElementById("iesoundeffect").src = ""; //reset first in case of problems
        document.getElementById("iesoundeffect").src = soundfile;
    }
    else
    {
        var thissound = document.navsoundeffect;
        thissound.Play();
    }
*/	
}

function checkSoundFlag()
{
/*    var soundFlag = getCookie("soundFlag");
    if( soundFlag != null )
    {
        playsound(soundfile);
        deleteCookie("soundFlag");
    }
*/	
}

function setSoundFlag()
{
/*    var now = new Date();
    fixDate(now);
    now.setTime( now.getTime() + 5000 );
    setCookie("soundFlag", "true", now );
*/	
}

function bindsound(tag, soundfile, masterElement)
{
/*    if (!window.event) return;
    var source=event.srcElement;
    while (source!=masterElement && source.tagName!="HTML")
    {
        if (source.tagName==tag.toUpperCase())
        {
            playsound(soundfile);
            break;
        }
        source=source.parentElement;
    }
*/	
}
