<!--
// MouseOver/MouseClick audio.
// by JS Archive - http://jsarchive.8m.com

var ayAudio = new Array();
// Source for sound files to be preloaded
ayAudio[0] = "click1.au";

function AudioCheck() {
	var n = navigator.appName
	if (n=="Netscape") this.ns = true;
	else if (n=="Microsoft Internet Explorer" && document.all) this.ie = true;
	else this.noAudio = true;
}
function clicksound() {
	is = new AudioCheck()
	if (is.noAudio) return;

	var s = '';
	for (i=0; i<ayAudio.length; i++)
	s += "<EMBED SRC='"+ayAudio[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"

	if (is.ns) {
		auEmb = new Layer(0);
		with (auEmb.document) { open();write(s);close() };
	}
	else document.body.insertAdjacentHTML("BeforeEnd",s);

	auCon = is.ns? auEmb.document.embeds:auIEEmb;
	auCon.ctrl = function(au,play) {
		if (is.ie) this.src = play? ayAudio[au]:'';
		else eval( "this[au]." + (play? "play()":"stop()") );
	}
	is.auDone = true;
}
function playAudio(whAu) { if (window.auCon) auCon.ctrl(whAu,1)
                 }
function stopAudio(whAu) { if (window.auCon) auCon.ctrl(whAu,0)
                 }
//-->