<!--

// lectura musical

var lnkLM = new Array();
var txtLM = new Array();

lnkLM[0] = "index.htm";
lnkLM[1] = "01-beats.htm";
lnkLM[2] = "02-measure.htm";
lnkLM[3] = "03-values.htm";
lnkLM[4] = "04-dot.htm";
lnkLM[5] = "05-rests.htm";
lnkLM[6] = "06-figures.htm";
lnkLM[7] = "07-8-16.htm";
lnkLM[8] = "08-rests-8-16.htm";
lnkLM[9] = "09-triplets.htm";
lnkLM[10] = "10-units.htm";
lnkLM[11] = "11-compound.htm";
lnkLM[12] = "12-notes.htm";
lnkLM[13] = "13-frere.htm";
lnkLM[14] = "14-acc.htm";
lnkLM[15] = "15-ks.htm";
lnkLM[16] = "16-keyboard.htm";

txtLM[0] = "Introduction";
txtLM[1] = "Beats and Measures";
txtLM[2] = "Time Signature";
txtLM[3] = "Note Value";
txtLM[4] = "Dotted Notes and the Tie";
txtLM[5] = "Rests";
txtLM[6] = "Values Shorter Than a Beat";
txtLM[7] = "Eighth and Sixteenth Notes";
txtLM[8] = "Eighth-Note and Sixteenth-Note Rests";
txtLM[9] = "Triplets";
txtLM[10] = "Beat Unit";
txtLM[11] = "Simple and Compound Meters";
txtLM[12] = "Reading Musical Notes";
txtLM[13] = "An Example";
txtLM[14] = "Accidentals";
txtLM[15] = "Key Signatures";
txtLM[16] = "Keyboard Notes";

function subMenu() {
	
	var i;
	
	for (i=0; i < txtLM.length; i++) {
		
		if (document.title == txtLM[i])
		
			document.write('<p class="idx3"><b>' + txtLM[i] + '</b></p>');
			
		else
		
			document.write('<p class="idx3"><a href="' + lnkLM[i] + '">' + txtLM[i] + '</a></p>');
	}
}

function pasaPag() {
	var i;
	
	for (i=0; i < txtLM.length; i++) {
		
		if (document.title == txtLM[i]) {
			
			if (i == 0)
				document.write('<a href="' + lnkLM[i+1] + '"><img border="0" src="../../images/pasapagina01.gif" width="18" height="25" align="right"></a>');
				
			else if (i + 1 == txtLM.length)
				document.write('<map name="pp"><area href="' + lnkLM[i-1] + '" shape="rect" coords="0, 0, 17, 24"></map><img border="0" src="../../images/pasapagina03.gif" usemap="#pp" width="18" height="25" align="right">');
			
			else
				document.write('<map name="pp"><area href="' + lnkLM[i-1] +'" shape="rect" coords="0, 0, 17, 24"><area href="' + lnkLM[i+1] +'" shape="rect" coords="36, 0, 53, 24"></map><img border="0" src="../../images/pasapagina02.gif" usemap="#pp" width="54" height="25" align="right">');
		}
	}
}

// -->
