dummy_on = new Image()
dummy_on.src = "images/dummy_hi.gif"

dummy_off = new Image()
dummy_off.src = "images/dummy.gif"

// swap images using the cached images
function glow(x, y)
{
   document.images[x].src=eval(y+'.src')
}

function popUp( url, winname, w, h, scrollbars, location, toolbar ) {
        var optionStr = "scrollbars=" + scrollbars + ",location=" + location + ",toolbar=" + toolbar + ",width=" + w + ",height=" + h;
        var helpWindow = window.open( url, winname, optionStr );
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}


var audio = "on"; 
function imageToggle() {
	if (audio == "on") {
        document.images.audio_button.src="images/audio_button_off.gif"; 
		audio = "off"; 
	}
	else if (audio == "off") { 
        document.images.audio_button.src="images/audio_button_on.gif"; 
		audio = "on"; 
	}
}
