// Home
function audioHome(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Home');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",2470);
		timers[timerCount++] = setTimeout("highlight(3)",9010);
		timers[timerCount++] = setTimeout("highlight(4)",13940);
		timers[timerCount++] = setTimeout("highlight(5)",17400);
		timers[timerCount++] = setTimeout("highlight(6)",19350);
		timers[timerCount++] = setTimeout("highlight(7)",22390);
		timers[timerCount++] = setTimeout("highlight(8)",24470);
		timers[timerCount++] = setTimeout("highlight(9)",26890);
		timers[timerCount++] = setTimeout("highlight(10)",31540);
		timers[timerCount++] = setTimeout("highlight(11)",34810);
		timers[timerCount++] = setTimeout("highlight(12)",38050);
		timers[timerCount++] = setTimeout("highlight(13)",41100);
		timers[timerCount++] = setTimeout("highlight(14)",44810);
		timers[timerCount++] = setTimeout("resetHighlight()",48560);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",48560);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",48560);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Home');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// The School
function audioTheSchool(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('TheSchool');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1460);
		timers[timerCount++] = setTimeout("highlight(3)",8410);
		timers[timerCount++] = setTimeout("highlight(4)",13890);
		timers[timerCount++] = setTimeout("highlight(5)",15760);
		timers[timerCount++] = setTimeout("highlight(6)",17900);
		timers[timerCount++] = setTimeout("highlight(7)",20110);
		timers[timerCount++] = setTimeout("highlight(8)",22090);
		timers[timerCount++] = setTimeout("highlight(9)",25340);
		timers[timerCount++] = setTimeout("highlight(10)",26970);
		timers[timerCount++] = setTimeout("highlight(11)",29590);
		timers[timerCount++] = setTimeout("highlight(12)",31220);
		timers[timerCount++] = setTimeout("highlight(13)",35000);
		timers[timerCount++] = setTimeout("highlight(14)",37540);
		timers[timerCount++] = setTimeout("highlight(15)",40410);
		timers[timerCount++] = setTimeout("highlight(16)",45030);
		timers[timerCount++] = setTimeout("highlight(17)",49600);
		timers[timerCount++] = setTimeout("highlight(18)",51690);
		timers[timerCount++] = setTimeout("highlight(19)",54970);
		timers[timerCount++] = setTimeout("highlight(20)",58550);
		timers[timerCount++] = setTimeout("highlight(21)",60750);
		timers[timerCount++] = setTimeout("resetHighlight()",64780);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",64780);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",64780);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('TheSchool');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Chester
function audioChester(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Chester');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1090);
		timers[timerCount++] = setTimeout("highlight(3)",5430);
		timers[timerCount++] = setTimeout("highlight(4)",9590);
		timers[timerCount++] = setTimeout("highlight(5)",12540);
		timers[timerCount++] = setTimeout("highlight(6)",15770);
		timers[timerCount++] = setTimeout("highlight(7)",17790);
		timers[timerCount++] = setTimeout("highlight(8)",20760);
		timers[timerCount++] = setTimeout("highlight(9)",22640);
		timers[timerCount++] = setTimeout("highlight(10)",26260);
		timers[timerCount++] = setTimeout("highlight(11)",28380);
		timers[timerCount++] = setTimeout("highlight(12)",30030);
		timers[timerCount++] = setTimeout("highlight(13)",33360);
		timers[timerCount++] = setTimeout("highlight(14)",36690);
		timers[timerCount++] = setTimeout("highlight(15)",42990);
		timers[timerCount++] = setTimeout("highlight(16)",45950);
		timers[timerCount++] = setTimeout("highlight(17)",53630);
		timers[timerCount++] = setTimeout("highlight(18)",59090);
		timers[timerCount++] = setTimeout("highlight(19)",63530);
		timers[timerCount++] = setTimeout("highlight(20)",77620);
		timers[timerCount++] = setTimeout("highlight(21)",85800);
		timers[timerCount++] = setTimeout("resetHighlight()",96800);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",96800);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",96800);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Chester');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Courses
function audioCourses(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Courses');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1310);
		timers[timerCount++] = setTimeout("highlight(3)",8160);
		timers[timerCount++] = setTimeout("highlight(4)",10540);
		timers[timerCount++] = setTimeout("highlight(5)",16350);
		timers[timerCount++] = setTimeout("highlight(6)",18100);
		timers[timerCount++] = setTimeout("highlight(7)",22330);
		timers[timerCount++] = setTimeout("highlight(8)",29790);
		timers[timerCount++] = setTimeout("highlight(9)",32370);
		timers[timerCount++] = setTimeout("highlight(10)",35400);
		timers[timerCount++] = setTimeout("highlight(11)",40470);
		timers[timerCount++] = setTimeout("highlight(12)",43530);
		timers[timerCount++] = setTimeout("highlight(13)",48120);
		timers[timerCount++] = setTimeout("highlight(14)",52790);
		timers[timerCount++] = setTimeout("highlight(15)",55620);
		timers[timerCount++] = setTimeout("highlight(16)",64910);
		timers[timerCount++] = setTimeout("highlight(17)",68080);
		timers[timerCount++] = setTimeout("highlight(18)",77000);
		timers[timerCount++] = setTimeout("highlight(19)",79530);
		timers[timerCount++] = setTimeout("highlight(20)",81100);
		timers[timerCount++] = setTimeout("highlight(21)",83270);
		timers[timerCount++] = setTimeout("highlight(22)",87010);
		timers[timerCount++] = setTimeout("highlight(23)",90390);
		timers[timerCount++] = setTimeout("highlight(24)",98470);
		timers[timerCount++] = setTimeout("highlight(25)",105080);
		timers[timerCount++] = setTimeout("highlight(26)",110220);
		timers[timerCount++] = setTimeout("highlight(27)",115600);
		timers[timerCount++] = setTimeout("highlight(28)",120390);
		timers[timerCount++] = setTimeout("highlight(29)",128970);
		timers[timerCount++] = setTimeout("highlight(30)",131790);
		timers[timerCount++] = setTimeout("highlight(31)",142520);
		timers[timerCount++] = setTimeout("highlight(32)",148740);
		timers[timerCount++] = setTimeout("resetHighlight()",155580);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",155580);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",155580);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Courses');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Travelling
function audioTravelling(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Travelling');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",2540);
		timers[timerCount++] = setTimeout("highlight(3)",4080);
		timers[timerCount++] = setTimeout("highlight(4)",10680);
		timers[timerCount++] = setTimeout("highlight(5)",16540);
		timers[timerCount++] = setTimeout("highlight(6)",23030);
		timers[timerCount++] = setTimeout("highlight(7)",27880);
		timers[timerCount++] = setTimeout("highlight(8)",29050);
		timers[timerCount++] = setTimeout("highlight(9)",34380);
		timers[timerCount++] = setTimeout("highlight(10)",35810);
		timers[timerCount++] = setTimeout("highlight(11)",41070);
		timers[timerCount++] = setTimeout("highlight(12)",43930);
		timers[timerCount++] = setTimeout("resetHighlight()",63450);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",63450);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",63450);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Travelling');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Accommodation
function audioAccommodation(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Accommodation');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",2150);
		timers[timerCount++] = setTimeout("highlight(3)",4120);
		timers[timerCount++] = setTimeout("highlight(4)",7790);
		timers[timerCount++] = setTimeout("highlight(5)",12910);
		timers[timerCount++] = setTimeout("highlight(6)",16330);
		timers[timerCount++] = setTimeout("highlight(7)",20680);
		timers[timerCount++] = setTimeout("highlight(8)",25770);
		timers[timerCount++] = setTimeout("highlight(9)",31090);
		timers[timerCount++] = setTimeout("highlight(10)",33440);
		timers[timerCount++] = setTimeout("highlight(11)",36560);
		timers[timerCount++] = setTimeout("highlight(12)",53760);
		timers[timerCount++] = setTimeout("highlight(13)",57110);
		timers[timerCount++] = setTimeout("highlight(14)",80006);
		timers[timerCount++] = setTimeout("highlight(15)",83380);
		timers[timerCount++] = setTimeout("highlight(16)",92880);
		timers[timerCount++] = setTimeout("highlight(17)",96590);
		timers[timerCount++] = setTimeout("resetHighlight()",105500);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",105500);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",105500);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Accommodation');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Excursions
function audioExcursions(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Excursions');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1460);
		timers[timerCount++] = setTimeout("highlight(3)",7050);
		timers[timerCount++] = setTimeout("highlight(4)",14030);
		timers[timerCount++] = setTimeout("highlight(5)",25320);
		timers[timerCount++] = setTimeout("highlight(6)",26980);
		timers[timerCount++] = setTimeout("highlight(7)",33170);
		timers[timerCount++] = setTimeout("highlight(8)",35790);
		timers[timerCount++] = setTimeout("highlight(9)",41200);
		timers[timerCount++] = setTimeout("resetHighlight()",49290);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",49290);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",49290);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Excursions');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// FAQs
function audioFAQs(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('FAQs');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",2620);
		timers[timerCount++] = setTimeout("highlight(3)",7000);
		timers[timerCount++] = setTimeout("resetHighlight()",9970);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",9970);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",9970);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('FAQs');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Apply
function audioApply(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Apply');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1130);
		timers[timerCount++] = setTimeout("highlight(3)",7930);
		timers[timerCount++] = setTimeout("highlight(4)",13470);
		timers[timerCount++] = setTimeout("highlight(5)",21980);
		timers[timerCount++] = setTimeout("resetHighlight()",26400);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",26400);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",26400);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Apply');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Stay In Touch
function audioStayInTouch(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('StayInTouch');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1490);
		timers[timerCount++] = setTimeout("highlight(3)",11190);
		timers[timerCount++] = setTimeout("resetHighlight()",13940);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",13940);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",13940);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('StayInTouch');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Search
function audioSearch(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Search');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",1270);
		timers[timerCount++] = setTimeout("highlight(3)",6600);
		timers[timerCount++] = setTimeout("resetHighlight()",11410);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",11410);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",11410);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Search');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}

// Accessibility
function audioAccessibility(theButton) {
	var state = theButton.id;
	if(state == "play") {
		theButton.id = "stop"
		setImageOff(theButton);
		soundManager.play('Accessibility');
		timers[timerCount] = setTimeout("highlight(1)",0);
		timers[timerCount++] = setTimeout("highlight(2)",2340);
		timers[timerCount++] = setTimeout("highlight(3)",9780);
		timers[timerCount++] = setTimeout("highlight(4)",16730);
		timers[timerCount++] = setTimeout("highlight(5)",21600);
		timers[timerCount++] = setTimeout("highlight(6)",34290);
		timers[timerCount++] = setTimeout("highlight(7)",43570);
		timers[timerCount++] = setTimeout("highlight(8)",52140);
		timers[timerCount++] = setTimeout("highlight(9)",54620);
		timers[timerCount++] = setTimeout("highlight(10)",56080);
		timers[timerCount++] = setTimeout("highlight(11)",68260);
		timers[timerCount++] = setTimeout("highlight(12)",77560);
		timers[timerCount++] = setTimeout("highlight(13)",86430);
		timers[timerCount++] = setTimeout("highlight(14)",92990);
		timers[timerCount++] = setTimeout("highlight(15)",94590);
		timers[timerCount++] = setTimeout("highlight(16)",103450);
		timers[timerCount++] = setTimeout("highlight(17)",108040);
		timers[timerCount++] = setTimeout("highlight(18)",113330);
		timers[timerCount++] = setTimeout("highlight(19)",115570);
		timers[timerCount++] = setTimeout("highlight(20)",124110);
		timers[timerCount++] = setTimeout("highlight(21)",129830);
		timers[timerCount++] = setTimeout("highlight(22)",131360);
		timers[timerCount++] = setTimeout("highlight(23)",136760);
		timers[timerCount++] = setTimeout("highlight(24)",143550);
		timers[timerCount++] = setTimeout("highlight(25)",149630);
		timers[timerCount++] = setTimeout("highlight(26)",150390);
		timers[timerCount++] = setTimeout("highlight(27)",151650);
		timers[timerCount++] = setTimeout("highlight(28)",152690);
		timers[timerCount++] = setTimeout("highlight(29)",156250);
		timers[timerCount++] = setTimeout("highlight(30)",157570);
		timers[timerCount++] = setTimeout("highlight(31)",161530);
		timers[timerCount++] = setTimeout("highlight(32)",162700);
		timers[timerCount++] = setTimeout("highlight(33)",163770);
		timers[timerCount++] = setTimeout("highlight(34)",164910);
		timers[timerCount++] = setTimeout("highlight(35)",166260);
		timers[timerCount++] = setTimeout("highlight(36)",167500);
		timers[timerCount++] = setTimeout("highlight(37)",168720);
		timers[timerCount++] = setTimeout("highlight(38)",170000);
		timers[timerCount++] = setTimeout("highlight(39)",171490);
		timers[timerCount++] = setTimeout("highlight(40)",172950);
		timers[timerCount++] = setTimeout("highlight(41)",174250);
		timers[timerCount++] = setTimeout("highlight(42)",175780);
		timers[timerCount++] = setTimeout("highlight(43)",177410);
		timers[timerCount++] = setTimeout("highlight(44)",178580);
		timers[timerCount++] = setTimeout("highlight(45)",180290);
		timers[timerCount++] = setTimeout("highlight(46)",181430);
		timers[timerCount++] = setTimeout("highlight(47)",184070);
		timers[timerCount++] = setTimeout("highlight(48)",185350);
		timers[timerCount++] = setTimeout("resetHighlight()",186740);
		var reset = setTimeout("document.getElementById('stop').src='/images/icons/soundon.gif'",186740);
		var resetbutton = setTimeout("document.getElementById('stop').id='play'",186740);
	} else if(state == "stop") {
		theButton.id = "play";
		setImageOn(theButton);
		soundManager.stop('Accessibility');
		for(i=0; i<timerCount; i++) {
			clearTimeout(timers[i]);
		}
		resetHighlight();
	}
}