// JavaScript Document
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

window.onscroll = function(){volg()};
function volg() {
	var vanTop;
	if (!document.body.scrollTop) {
		vanTop = document.documentElement.scrollTop;}
	else {
		vanTop = document.body.scrollTop;
	}
	document.getElementById('logo_vzw').style.pixelTop = vanTop + 350;}

//extra info
var info_zichtb = new Array();
var info_tabel = new Array();
var brol;

if(navigator.userAgent.indexOf('Win') != -1 && navigator.userAgent.indexOf('MSIE') != -1) {brol = 'block';} else {brol = 'table-row';}
for (x=1; x<14 + 1; x++)
	{info_zichtb[x] = 0;
	 info_tabel[x] = false;}
//item aan deze lijst toevoegen als het een table-element is
info_tabel[1] = true;
info_tabel[2] = true;
info_tabel[10] = true;
info_tabel[12] = true;
info_tabel[14] = true;
info_tabel[15] = true;
var pad = ""

	
function info(obj) {
	if (info_zichtb[obj] == 0) {
		document.getElementById('ei_dh_' + obj).src = pad + 'images/algemeen/dh_o.jpg';
		if (info_tabel[obj]) {document.getElementById('extra_info_tr_' + obj).style.display = brol;};
		document.getElementById('extra_info_' + obj).style.display = 'block';
		info_zichtb[obj] = 1;}
	else {
		document.getElementById('extra_info_' + obj).style.display = 'none';
		if (info_tabel[obj]) {document.getElementById('extra_info_tr_' + obj).style.display = 'none';};
		document.getElementById('ei_dh_' + obj).src = pad + 'images/algemeen/dh_r.jpg';
		info_zichtb[obj] = 0;}
	}
	
function verberg_extra(obj) {
	document.getElementById(obj).style.display = 'none';}
//hoezen voor pag_03
var hoes_zichtb = new Array();
var hoes_id = new Array();
var frag_omschr = new Array();
var frag_best = new Array();
hoes_zichtb[1] = 0;
hoes_id[1] = '1910_1_b';
hoes_zichtb[2] = 0;
hoes_id[2] = '1910_1_c';
hoes_zichtb[3] = 0;
hoes_id[3] = '1970_1_a';
frag_omschr[30] = '<strong>Grand Duo de Concert<br>sur deux airs nationaux anglais<br> (Servais & Léonard)</strong><br>Jascha Silberstein, cello & Aaron Rosand, violin (1970)<br>with kind permission of Kurakichi Studio<br>(excerpt 2’39”)';
frag_best[30] = 'silberstein_vol_5_1.mp3';
hoes_zichtb[4] = 0;
hoes_id[4] = '1972_1_a';
frag_omschr[40] = '<strong>Le Barbier de Séville<br> grande fantaisie - opus 6</strong><br>Joel Krosnick, cello & Cameron Grant, piano<br>with kind permission of Orion Master Recordings<br>(excerpt 2’25”)';
frag_best[40] = 'krosnick_barbier.mp3';
frag_omschr[41] = '<strong>La Fille du Régiment<br> Fantaisie et Variations</strong><br>Joel Krosnick, cello & Cameron Grant, piano<br>with kind permission of Orion Master Recordings<br>(excerpt 3’07”)';
frag_best[41] = 'krosnick_fille.mp3';
hoes_zichtb[5] = 0;
hoes_id[5] = '1973_1_a';
frag_omschr[5] = '<strong>Les Huguenots. Fantaisie</strong><br>Jascha Silberstein, cello & Eve Queler, piano<br>with kind permission of Kurakichi Studio<br>(excerpt 2’06”)';
frag_best[5] = 'silberstein_vol_1.mp3';
hoes_zichtb[6] = 0; //niet gebruikt
hoes_id[6] = '0000_1_a'; //niet gebruikt
hoes_zichtb[7] = 0;
hoes_id[7] = '1985_1_a';
frag_omschr[70] = '<strong>Souvenir de Spa – opus 2</strong><br>Adrien François Servais Ensemble<br>with kind permission of Roel Dieltiens<br>(excerpt 2’12”)';
frag_best[70] = 'servaisensemble_souvenir.mp3'
frag_omschr[71] = '<strong>Joseph Servais: Quatuor<br>Allegro moderato</strong><br>Adrien François Servais Ensemble<br>with kind permission of Roel Dieltiens<br>(excerpt 1’20”)';
frag_best[71] = 'j_servais_allegro_mod.mp3';
frag_omschr[72] = '<strong>Joseph Servais: Quatuor<br>Menuetto</strong><br>Adrien François Servais Ensemble<br>with kind permission of Roel Dieltiens<br>(excerpt 35”)';
frag_best[72] = 'j_servais_menuetto.mp3';
hoes_zichtb[8] = 0;
hoes_id[8] = '1985_1_b';
hoes_zichtb[9] = 0;
hoes_id[9] = '1985_1_c';
hoes_zichtb[10] = 0;
hoes_id[10] = '1985_3_a';
hoes_zichtb[11] = 0;
hoes_id[11] = '1985_3_b';
hoes_zichtb[12] = 0;
hoes_id[12] = '1985_3_c';
hoes_zichtb[13] = 0;
hoes_id[13] = '1985_3_d';
frag_omschr[130] = '<strong>Souvenir de Spa</strong><br>Edmond Baert, cello & Serge Bémant, piano<br>with kind permission of Pavane records<br>(excerpt 60”)';
frag_best[130] = 'baert_souvenir.mp3';
frag_omschr[131] = '<strong>Grande Fantaisie polonaise sur des Airs du ballet <q>La Noce de Cracovie</q></strong><br>Edmond Baert, cello & Serge Bémant, piano<br>with kind permission of Pavane records<br>(excerpt 56”)';
frag_best[131] = 'baert_fantaisie.mp3';
hoes_zichtb[14] = 0;
hoes_id[14] = '1986_1_a';
hoes_zichtb[15] = 0;
hoes_id[15] = '1986_1_b';
hoes_zichtb[16] = 0;
hoes_id[16] = '1986_1_c';
frag_omschr[160] = '<strong>Souvenir de Bade<br> Grande Fantaisie – opus 20</strong><br>Anner Bijlsma, cello & The Smithsonian Chamber Players<br>Deutsche Harmonia Mundi<br>(excerpt 1’46”)';
frag_best[160] = 'smithsonian_bade.mp3';
frag_omschr[161] = '<strong>Le Comte Ory<br>Caprice – opus 3</strong><br>Anner Bijlsma, cello & The Smithsonian Chamber Players<br>Deutsche Harmonia Mundi<br>(excerpt 2’)';
frag_best[161] = 'smithsonian_ory.mp3';
hoes_zichtb[17] = 0;
hoes_id[17] = '1990_1_a';
frag_omschr[170] = '<strong>2me Grand duo de Concert<br>sur des thèmes de Beethoven</strong><br>Th.: Andante Grazioso<br>France Springuel, cello & I Fiamminghi<br>with kind permission of Rudolf Werthen<br>(2’07”)';
frag_best[170] = 'fiamminghi_leonard.mp3';
frag_omschr[171] = '<strong>Grand Duo sur des motifs de<br>l’Opéra <q>Les Huguenots</q> de G. Meyerbeer</strong><br>Var. 1: Poco più mosso<br>France Springuel, cello & I Fiamminghi<br>with kind permission of Rudolf Werthen<br>(2’11”)';
frag_best[171] = 'fiamminghi_vieuxtemps.mp3';
hoes_zichtb[18] = 0;
hoes_id[18] = '1990_1_b';
hoes_zichtb[19] = 0;
hoes_id[19] = '1987_1_c';
hoes_zichtb[20] = 0;
hoes_id[20] = '1998_1_a';
frag_omschr[20] = '<strong>Caprice 4 – opus 11</strong><br>Roel Dieltiens, cello & Pieter Stas, cello<br>with kind permission of <em>Centrum voor Muziekinstrumentenbouw</em><br>(excerpt 1’04”)';
frag_best[20] = 'op_de_klank_af.mp3';
hoes_zichtb[21] = 0;
hoes_id[21] = '2001_1_a';
frag_omschr[211] = '<strong>Six Caprices: No. 1</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 45”)';
frag_best[211] = 'scano_six_1.mp3';
frag_omschr[212] = '<strong>Six Caprices: No. 2</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 50”)';
frag_best[212] = 'scano_six_2.mp3';
frag_omschr[213] = '<strong>Six Caprices: No. 3</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 50”)';
frag_best[213] = 'scano_six_3.mp3';
frag_omschr[214] = '<strong>Six Caprices: No. 4</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 48”)';
frag_best[214] = 'scano_six_4.mp3';
frag_omschr[215] = '<strong>Six Caprices: No. 5</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 50”)';
frag_best[215] = 'scano_six_5.mp3';
frag_omschr[216] = '<strong>Six Caprices: No. 6</strong><br>Marco Scano, cello & Simone Scotto, cello <br>with kind permission of Sipario Dischi, Milano<br>(excerpt 48”)';
frag_best[216] = 'scano_six_6.mp3';
hoes_zichtb[22] = 0;
hoes_id[22] = '2001_7_a';
frag_omschr[22] = '<strong>Souvenir de St. Petersbourg. Fantaisie</strong><br>Alexander Baillie, cello & James Lisney, piano <br>with kind permission of Alexander Baillie<br>(excerpt 3’32”)';
frag_best[22] = 'baillie_souvenir.mp3';
hoes_zichtb[23] = 0;
hoes_id[23] = '2002_1_a';
hoes_zichtb[24] = 0;
hoes_id[24] = '2002_2_a';
frag_omschr[24] = '<strong>Variations brillantes et concertantes sur l’air <q>God Save the King</q>; </strong><br>Gautier Capuçon, cello & Renaud Capuçon, violin <br>with kind permission of Sony Classical<br>(excerpt 1’)';
frag_best[24] = 'capucon_god.mp3';
hoes_zichtb[25] = 0;
hoes_id[25] = '2002_2_b';
hoes_zichtb[26] = 0;
hoes_id[26] = '2003_2_a';
frag_omschr[26] = '<strong>Duo brillant sur des motifs de l‘opéra Lohengrin (Servais & Jacques Gregoir); </strong><br>Marie Hallynck, cello & Dominique Cornil, piano<br>with kind permission of Musique en Wallonie<br>(excerpt 1’48”)';
frag_best[26] = 'hallynck_duo.mp3';
hoes_zichtb[27] = 0; //bylsma
hoes_id[27] = '1971_1_a';
hoes_zichtb[28] = 0; //baumann/stoll 1980
hoes_id[28] = '1980_1_a';
hoes_zichtb[40] = 0; //baumann/stoll 1980
hoes_id[40] = '1980_2_a';
hoes_zichtb[29] = 0; //baumann/stoll 1987 lp
hoes_id[29] = '1987_1_a';
hoes_zichtb[30] = 0; //baumann/stoll 1987 cd
hoes_id[30] = '1987_1_b';
hoes_zichtb[31] = 0; //silberstein 1974 cd (idem hoes 3)
hoes_id[31] = '1974_1_a';
frag_omschr[311] = '<strong>Grand Duo de Concert<br>sur deux airs nationaux anglais<br> (Servais & Léonard)</strong><br>Jascha Silberstein, cello & Aaron Rosand, violin (1974)<br>with kind permission of Kurakichi Studio<br>(excerpt 1’55”)';
frag_best[311] = 'silberstein_vol_5_2.mp3';
frag_omschr[312] = '<strong>Grand Duo sur des motifs de l’Opéra<br>Les Huguenots de G. Meyerbeer<br> (Servais & Vieuxtemps)</strong><br>Jascha Silberstein, cello & Aaron Rosand, violin (1974)<br>with kind permission of Kurakichi Studio<br>(excerpt 1’51”)';
frag_best[312] = 'silberstein_vol_5_3.mp3';
hoes_zichtb[32] = 0; //blake/buckoke 1975 cd 
hoes_id[32] = '1995_1_a';
hoes_zichtb[33] = 0; //fujimori/joshida 2003 cd 
hoes_id[33] = '2003_1_a';
hoes_zichtb[34] = 0; //Bylsma 1975 Olof-lp 
hoes_id[34] = '1975_1_a';
hoes_zichtb[35] = 0; //Bylsma MHS 
hoes_id[35] = '1971_1_b';
hoes_zichtb[36] = 0; //krosnick 
hoes_id[36] = '1972_1_b';
hoes_zichtb[37] = 0; //Servais CD 
hoes_id[37] = '2007_1_a';
hoes_zichtb[38] = 0; //30 jaar radio 3
hoes_id[38] = '1987_2_a';
hoes_zichtb[39] = 0; //Yang/Turku
hoes_id[39] = '2007_2_a';
hoes_zichtb[42] = 0; //Hollman
hoes_id[42] = '1915_1_a';
frag_omschr[42] = '<strong>Nocturne de Chopin arrangé par F. Servais</strong><br>Joseph Hollman, cello &amp; pianist (ca. 1915)<br>Disque Pathé 8542 (80 rmp) -  2’45”';
frag_best[42] = 'hollman_nocturne.mp3';
hoes_zichtb[43] = 0; //Souvenir cd
hoes_id[43] = '2007_3_a';
hoes_zichtb[44] = 0; //Souvenir dvd
hoes_id[44] = '2007_4_a';
hoes_zichtb[45] = 0; //Boumann Stoll Das Violoncello Meisterhaft
hoes_id[45] = '1987_1_d';
hoes_zichtb[46] = 0; //Salut d’Amour
hoes_id[46] = '2009_1_a';
hoes_zichtb[47] = 0; //Hülshoff-Eichhorn Duo's
hoes_id[47] = '2007_5_a';
hoes_zichtb[48] = 0; //Poskin Rosamunde Souvenirs
hoes_id[48] = '2008_1_a';
hoes_zichtb[49] = 0; //Weist-Hill (casals) Nocturne (Chopin)
hoes_id[49] = '1915_2_b';
hoes_zichtb[50] = 0; //Wen-Sinn Yang
hoes_id[50] = '2009_2_a';
frag_omschr[501] = '<strong>Souvenir de Spa – opus 2</strong><br>Wen-Sinn Yang, cello &amp; Münchner Rundfunkorchester<br>with kind permission of cpo<br>(excerpt 1’15”)';
frag_best[501] = 'ws_yang_souvenir_spa.mp3';
frag_omschr[502] = '<strong>Fantaisie et Variations brillantes sur la Valse de Schubert – opus 4</strong><br>Wen-Sinn Yang, cello &amp; Münchner Rundfunkorchester<br>with kind permission of cpo<br>(excerpt 1’31”)';
frag_best[502] = 'ws_yang_fantaisie.mp3';
frag_omschr[503] = '<strong>Le Barbier de Seville - opus 6</strong><br>Wen-Sinn Yang, cello &amp; Münchner Rundfunkorchester<br>with kind permission of cpo<br>(excerpt 1’14”)';
frag_best[503] = 'ws_yang_barier.mp3';
frag_omschr[504] = '<strong>Concerto en Si mineur – opus 5</strong><br>Wen-Sinn Yang, cello &amp; Münchner Rundfunkorchester<br>with kind permission of cpo<br>(Second movement: Adagio cantabile - excerpt 1’15”)';
frag_best[504] = 'ws_yang_concerto.mp3';
hoes_zichtb[51] = 0; //Heinrich Kruse - Parlophon
hoes_id[51] = '1910_1_d';
frag_omschr[51] = '<strong>Fantaisie et Variations brillantes sur la Valse de Schubert, intitulée Le Désir – opus 4 (partially)</strong><br>Heinrich Kruse, cello, &amp; unspecified orchestra conducted by Friedrich Kark (ca. 1910)<br> 7’24” - Parlophon - ca. 1915';
frag_best[51] = 'kruse_sehnsuchtswalzer_1915.mp3';
hoes_zichtb[52] = 0; //George Rogovoy
hoes_id[52] = '1917_1_a';
frag_omschr[52] = '<strong>Nocturne de F. Chopin (arr. Servais for cello & piano)</strong><br>George Rogovoy, cello &amp; pianist (ca. 1917)<br>3’21” - Rishelll Phonograph Company';
frag_best[52] = 'rogovoy_nocturne.mp3';

//onuitgegeven
frag_omschr['o_1'] = '<strong>Grand Duo de Concert<br>sur deux airs nationaux anglais<br> (Servais & Léonard)</strong><br>Peter Dzialo, cello &amp; Emilie-Anne Gendron, violin (2003 or 2004) (13’17”)';
frag_best['o_1'] = 'dzialo-gendron_grand-duo.mp3';
//voor familie-pagina

frag_omschr[1001] = '<strong>Ernest Van Dyck sings ‘Dichterliebe-Ich grolle nicht’ - Robert Schumann</strong><br>‘The Harold Wayne Collection. Volume 21. The <em>Paris Fonotipias</em>’<br>with kind permission of Symposium Records<br>(excerpt 35”)';
frag_best[1001] = 'van_dyck_dichterliebe.mp3';



function hoes(nummer) {
	if (hoes_zichtb[nummer] == 0) {
		document.getElementById('c_' + hoes_id[nummer]).src = pad + 'images/oeuvre/covers/c_' + hoes_id[nummer] + '.jpg';
		document.getElementById('dh_' + nummer).src = pad + 'images/algemeen/dh_o.jpg';
		document.getElementById('hoes_' + nummer).style.display = 'inline';
		hoes_zichtb[nummer] = 1;}
	else {document.getElementById('hoes_' + nummer).style.display = 'none';
		hoes_zichtb[nummer] = 0;
		document.getElementById('dh_' + nummer).src = pad + 'images/algemeen/dh_r.jpg';}
	}
function hoes_detail(nummer) {
	if (hoes_zichtb[nummer] == 0) {return;}
	else {
		if (hoes_zichtb[nummer] == 1) {
			document.getElementById('c_' + hoes_id[nummer]).src = pad + 'images/oeuvre/covers/c_' + hoes_id[nummer] + '_v.jpg';
			hoes_zichtb[nummer] = 2;}
		else {
			document.getElementById('c_' + hoes_id[nummer]).src = pad + 'images/oeuvre/covers/c_' + hoes_id[nummer] + '.jpg';	
			hoes_zichtb[nummer] = 1;}
	}
}
//player voor geluidsfragmenten
var PlayWin;	
function beluister(nummer) { 
	if (PlayWin) {PlayWin.close();};
	PlayWin = window.open('','Geluidsfragment','width=320,height=190,top=20,left=0,resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
	PlayWin.focus(); 
	
	var winContent = "<html>";
	winContent += "<head>"; 
	winContent += "<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>";
	winContent += "<title>Servais vzw</title>";
	winContent += "<body background='../images/algemeen/ag_geluid.jpg' >";
	winContent += "<div style='position:absolute;left:50px;width:230px'> <p style='font-size:10px;font-family:Verdana,sans-serif;line-height:12px'>" + frag_omschr[nummer] + "</p></script>";
	
	winContent += "<object width='230' height='42'>"; 
	winContent += "<param name='src' value='sounds/" + frag_best[nummer] + "'>";
	winContent += "<param name='autoplay' value='false'>"; 
	winContent += "<param name='controller' value='true'>";
	
	winContent += "<embed src='sounds/" + frag_best[nummer] + "' autostart='false' loop='false' width='230' height='42' controller='true'></embed>";
	winContent += "</object>"; 
	
	winContent += "<form><div align='center'><input type='button' value='Close' onclick='javascript:window.close();'></div></form>";
	winContent += "</div>";
	winContent += "</body></html>";  
	
	PlayWin.document.write(winContent); 
	PlayWin.document.close();
	PlayWin.focus();  
}
//voor pag_05 Halle
function openBrWindow(theURL,winName,breedte,hoogte) {
	window.open(theURL,winName,'width=' + breedte + ',height=' + hoogte + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no');}
	
//var afb_id = new Array;
var afb_bestand = new Array;
var afb_vergroot = new Array;
afb_bestand[2] = 'kaart_halle'
afb_vergroot[2] = false;
afb_bestand[3] = 'basiliek'
afb_vergroot[3] = false;
afb_bestand[4] = 'graf'
afb_vergroot[4] = false;
afb_bestand[5] = 'standbeeld'
afb_vergroot[5] = false;
function wissel_afb(id) {
	if (!afb_vergroot[id]) {
		for (x=2; x<6; x++) {
			if (id == x) {
				document.getElementById('afb_' + id).src = pad + 'images/halle/' + afb_bestand[id] + '.jpg';
				afb_vergroot[id] = true;
			}
			else {
				if (afb_vergroot[x]) {
					document.getElementById('afb_' + x).src = pad + 'images/halle/' +  afb_bestand[x] + '_t.jpg';
					afb_vergroot[x] = false;
				}
			}
		}
	}
	else {
		document.getElementById('afb_' + id).src = pad + 'images/halle/' +  afb_bestand[id] + '_t.jpg';
		afb_vergroot[id] = false;
	}
}

//taalkeuze en wijziging taalkeuze
function setCookie(name, value, expires) {
	var deCookie = name + "=" + escape(value);
	if(expires){
		expires= expires.toGMTString();
		deCookie += "; expires="; 
		deCookie += expires; }
		document.cookie = deCookie + "; path=/";
}

function readCookie(name)
{
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0)
  { 
    offset = document.cookie.indexOf(search);
    if (offset != -1)
    { 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    }
  }
  return cookieValue;
}

function kiesTaal(lang){
		setCookie('taal',lang,new Date(2035,1,1));
}

//formulier
function MM_openBrWindow(theURL,winName,hoogte,breedte,scrolls) { //v2.0
var tmp = 'width='+ breedte + ',height='+ hoogte + ',scrollbars=' + scrolls +',toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no';
theURL = "form.php?" + theURL; 
window.open(theURL,winName,tmp);
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function toon_detail(object) {
	document.getElementById(object).style.display = 'block';
}
function verberg_detail(object) {
	document.getElementById(object).style.display = 'none';}



