function initimages() {
//	if (navigator.appName == "Microsoft Internet Explorer") {
		standard = new MakeArray(9);
		over = new MakeArray(9);
		words = new MakeArray(9);
	
		standard[1].src="images/buttons/b_home_01.gif";
		standard[2].src="images/buttons/b_clubinfo_01.gif";
		standard[3].src="images/buttons/b_teams_01.gif";
		standard[4].src="images/buttons/b_nieuws_01.gif";
		standard[5].src="images/buttons/b_foto_01.gif";
		standard[6].src="images/buttons/b_archief_01.gif";
		standard[7].src="images/buttons/b_gasten_01.gif";
		standard[8].src="images/buttons/b_links_01.gif";
		
		over[1].src="images/buttons/b_home_02.gif";
		over[2].src="images/buttons/b_clubinfo_02.gif";
		over[3].src="images/buttons/b_teams_02.gif";
		over[4].src="images/buttons/b_nieuws_02.gif";
		over[5].src="images/buttons/b_foto_02.gif";
		over[6].src="images/buttons/b_archief_02.gif";
		over[7].src="images/buttons/b_gasten_02.gif";
		over[8].src="images/buttons/b_links_02.gif";
		
//	}
	
}

function MakeArray(n) {
	this.length = n+1;
	for (var i = 0; i<=n; i++) {
		this[i] = new Image();
	}
	return this;
}
if(navigator.userAgent.substring(0,9)>="Mozilla/3") initimages();

	function msover(num) {
if(navigator.userAgent.substring(0,9)>="Mozilla/3") {
	if(num==1) RRp.src = over[1].src;
	else if(num==2) BBp.src = over[2].src;
	else if(num==3) CCp.src = over[3].src;
	else if(num==4) DDp.src = over[4].src;
	else if(num==5) EEp.src = over[5].src;
	else if(num==6) FFp.src = over[6].src;
	else if(num==7) GGp.src = over[7].src;
	else if(num==8) HHp.src = over[8].src;
}
}
   

function msout(num) {
if(navigator.userAgent.substring(0,9)>="Mozilla/3") {
	if(num==1) RRp.src = standard[1].src;
	else if(num==2) BBp.src = standard[2].src;
	else if(num==3) CCp.src = standard[3].src;
	else if(num==4) DDp.src = standard[4].src;
	else if(num==5) EEp.src = standard[5].src;
	else if(num==6) FFp.src = standard[6].src;
	else if(num==7) GGp.src = standard[7].src;
	else if(num==8) HHp.src = standard[8].src;
}
}

function clikker1(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = over[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;

	}
}

function clikker2(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = over[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;

	}
}

function clikker3(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = over[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;

	}
}

function clikker4(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = over[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;

	}
}

function clikker5(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = over[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;

	}
}

function clikker6(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = over[6].src;
		y.src = standard[7].src;
		z.src = standard[8].src;
	}
}

function clikker7(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = over[7].src;
		z.src = standard[8].src;
	}
}

function clikker8(a,b,c,d,e,f,g,h,s,t,u,v,w,x,y,z) {
	if (a.style.display =='') {
		a.style.display = 'none';
	}
	else {
 		a.style.display='';
		b.style.display = 'none';
		c.style.display = 'none';
		d.style.display = 'none';
		e.style.display = 'none';
		f.style.display = 'none';
		g.style.display = 'none';
		h.style.display = 'none';

		s.src = standard[1].src;
		t.src = standard[2].src;
		u.src = standard[3].src;
		v.src = standard[4].src;
		w.src = standard[5].src;
		x.src = standard[6].src;
		y.src = standard[7].src;
		z.src = over[8].src;

	}
}
