//---setup the alt tags for the different languages
if(language==1) {
	alts=new Array('null','Back To Homepage','Renée Fleming Sings Bel Canto','The Ultimate Challenge','Buy The Album','Music','Download E-Sampler');
}
else if (language==2) {
	alts=new Array('null','Retour à la homepage','Renée Fleming chante du bel canto',"L'épreuve ultime","Achetez l'album",'Musique','Téléchargez le E-sampler');
}
else if (language==3){
	alts=new Array('null','Zurück zur Homepage','','Die größte Herausforderung','Kaufen','Musik','Hörproben');
}
else if (language==4) {
	alts=new Array('null','Tillbaka till startsidan','Renée Fleming sjunger Bel Canto','Den ultimata utmaningen','Kof','Musik','Ladda ner E-sampler');
}

//--nav button names setup
names=new Array('','back','sings','challenge','buy','music','download');
i=1;
while(i<=names.length) {
	if(i==thisPage) {names[i]+='_roll';}
	i++;
}
currentSection=thisPage;
	
var sampler_variable="";
if(language==2) {
sampler_variable=2;
}
else if(language==4) {
sampler_variable=4;
}

//---write out the nav
document.writeln("<div id=\"nav\" style=\"position:absolute; left:65px; top:351px; width:640; height:37; z-index:3; visibility:visible\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td><a href=\"../index.html\" onmouseover=\"menu_over(1);\" onmouseout=\"menu_out(1);\" onfocus=\"blur();\"><img src=\"img/nav/button_"+names[1]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[1]+"\" name=\"button1\"></a></td><td><img src=\"../img/blank.gif\" width=\"20\" height=\"2\" border=\"0\" alt=\"\"></td><td><a href=\"sings.html\" onmouseover=\"menu_over(2);\" onmouseout=\"menu_out(2);\" onfocus=\"blur();\"><img src=\"img/nav/button_"+names[2]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[2]+"\" name=\"button2\"></a></td><td><img src=\"../img/blank.gif\" width=\"20\" height=\"2\" border=\"0\" alt=\"\"></td><td><a href=\"challenge.html\" onmouseover=\"menu_over(3);\" onmouseout=\"menu_out(3);\" onfocus=\"blur();\"><img src=\"img/nav/button_"+names[3]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[3]+"\" name=\"button3\"></a></td></tr><tr><td colspan=\"5\"><img src=\"../img/blank.gif\" width=\"2\" height=\"5\" border=\"0\" alt=\"\"></td></tr><tr><td><a href=\"http://www.iclassics.com\" onmouseover=\"menu_over(4);\" onmouseout=\"menu_out(4);\" onfocus=\"blur();\" target=\"_blank\"><img src=\"img/nav/button_"+names[4]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[4]+"\" name=\"button4\"></a></td><td><img src=\"../img/blank.gif\" width=\"20\" height=\"2\" border=\"0\" alt=\"\"></td><td><a href=\"music.html\" onmouseover=\"menu_over(5);\" onmouseout=\"menu_out(5);\" onfocus=\"blur();\"><img src=\"img/nav/button_"+names[5]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[5]+"\" name=\"button5\"></a></td><td><img src=\"../img/blank.gif\" width=\"20\" height=\"2\" border=\"0\" alt=\"\"></td><td><a href=\"javascript:popwin('http://www.tidalflow.co.uk/outside/players/online/renee_fleming/renee_online.php?variables="+sampler_variable+"','sampler',430,400,1,1,1);\" onmouseover=\"menu_over(6);\" onmouseout=\"menu_out(6);\" onfocus=\"blur();\"><img src=\"img/nav/button_"+names[6]+".gif\" width=\"200\" height=\"16\" border=\"0\" alt=\""+alts[6]+"\" name=\"button6\"></a></td></tr></table></div>");


//--menu functions
function menu_over(choice) {
	if(currentSection!=choice) {
		MM_swapImage("button"+choice,'',"img/nav/button_"+names[choice]+"_roll.gif");
	}
}

function menu_out(choice) {
	if(currentSection!=choice) {
		MM_swapImage("button"+choice,'',"img/nav/button_"+names[choice]+".gif");
	}
}
