// JavaScript Document

<!--
function touchCDmenu() {
document.getElementById('cdsubmenu').style.visibility = 'visible';
document.getElementById('padsubmenu').style.visibility = 'hidden';
document.getElementById('othersubmenu').style.visibility = 'hidden';
}

function touchPADmenu() {
document.getElementById('cdsubmenu').style.visibility = 'hidden';
document.getElementById('padsubmenu').style.visibility = 'visible';
document.getElementById('othersubmenu').style.visibility = 'hidden';
}

function touchOTHERmenu() {
document.getElementById('cdsubmenu').style.visibility = 'hidden';
document.getElementById('padsubmenu').style.visibility = 'hidden';
document.getElementById('othersubmenu').style.visibility = 'visible';
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function showScreenshotpop() {
	hideRequirements();
	hideContentspop();
	hideReviewpop();
	hideBuypop();
	// the ID name for the requirements div should be "requirements"
	// absolute position the div where you want it, then change the 500 to the correct left
	document.getElementById('screenshotpop').style.left  = '82px';
}
function hideScreenshotpop() {
	// just push it way off the screen
	document.getElementById('screenshotpop').style.left  = '-40000px';
}
<!--this is the new showDemopop with the audio fix for all browsers-->

function showDemopopWithAudio(audioFile) {
	hideRequirements();
	hideContentspop();
	hideReviewpop();
	hideBuypop();
	// the ID name for the requirements div should be "requirements"
	// absolute position the div where you want it, then change the 500 to the correct left
	document.getElementById('demopop').style.left  = '83px';
	// this starts the audio with autostart
	document.getElementById('demoaudio').innerHTML= "<embed src='"+audioFile+"' hidden=true autostart=true loop=false>";
}
function hideDemopopWithAudio() {
	// just push it way off the screen
	document.getElementById('demopop').style.left  = '-40000px';
	document.getElementById('demoaudio').innerHTML= "";  
}
function stopandPopdemoWithAudio(fileName,windowName) {
	document.getElementById('demoaudio').innerHTML= "";
	MM_openBrWindow(fileName,windowName,'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=638');
}
<!--these are the old showDemopop that keep the old pages working-->
function showDemopop() {
	hideRequirements();
	hideContentspop();
	hideReviewpop();
	hideBuypop();
	// the ID name for the requirements div should be "requirements"
	// absolute position the div where you want it, then change the 500 to the correct left
	document.getElementById('demopop').style.left  = '83px';
	var thissound=document.getElementById('demoaudio');
  thissound.Rewind();
  thissound.Play();
}
function hideDemopop() {
	// just push it way off the screen
	document.getElementById('demopop').style.left  = '-40000px';
	var thissound=document.getElementById('demoaudio');
  thissound.Stop();
}
function stopandPopdemo(fileName,windowName) {
	var thissound=document.getElementById('demoaudio');
  	thissound.Stop();
	MM_openBrWindow(fileName,windowName,'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=638');
}
function showRequirements() {
	hideContentspop();
	hideReviewpop();
	hideBuypop();
	// the ID name for the requirements div should be "requirements"
	// absolute position the div where you want it, then change the 500 to the correct left
	document.getElementById('requirements').style.left  = '370px';
}
function hideRequirements() {
	// just push it way off the screen
	document.getElementById('requirements').style.left  = '-40000px';
}
function showContentspop() {
	hideDemopopWithAudio();
	hideScreenshotpop();
	hideRequirements();
	hideReviewpop();
	hideBuypop();
	document.getElementById('contentspop').style.left  = '80px';
}
function hideContentspop() {
	// just push it way off the screen
	document.getElementById('contentspop').style.left  = '-40000px';
}
function showContentsMorepop() {
	hideContentspop();
	document.getElementById('contentsmorepop').style.left  = '80px';
}
function hideContentsMorepop() {
	// just push it way off the screen
	document.getElementById('contentsmorepop').style.left  = '-40000px';
}
function showReviewpop() {
	hideContentspop();
	hideRequirements();
	hideReviewpop();
	hideBuypop();
	document.getElementById('reviewpop').style.left  = '460px';
}
function hideReviewpop() {
	// just push it way off the screen
	document.getElementById('reviewpop').style.left  = '-40000px';
}
function showBuypop() {
	hideDemopopWithAudio();
	hideScreenshotpop();
	hideContentspop();
	hideContentsMorepop();
	hideRequirements();
	hideReviewpop();
	document.getElementById('buypop').style.left  = '384px';
}
function showBuypopNoDemo() {
	hideScreenshotpop();
	hideContentspop();
	hideContentsMorepop();
	hideRequirements();
	hideReviewpop();
	document.getElementById('buypop').style.left  = '384px';
}
function hideBuypop() {
	// just push it way off the screen
	document.getElementById('buypop').style.left  = '-40000px';
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
