function initimages() {
//	if (navigator.appName == "Microsoft Internet Explorer") {
		standard = new MakeArray(23);
		over = new MakeArray(23);
		words = new MakeArray(23);
	
		standard[1].src="img/1.gif";
		standard[2].src="img/2.gif";
		standard[3].src="img/3.gif";
		standard[4].src="img/4.gif";
		standard[5].src="img/5.gif";
		standard[6].src="img/6.gif";
		standard[7].src="img/7.gif";
		standard[8].src="img/8.gif";
		standard[9].src="img/9.gif";
		standard[10].src="img/10.gif";
		standard[11].src="img/12.gif";
// Čia pridedu elementus anglų kalbai
		standard[12].src="img/en1.gif";
		standard[13].src="img/en2.gif";
		standard[14].src="img/en3.gif";
		standard[15].src="img/en.gif";
// Čia pridedu elementus rusų kalbai
		standard[16].src="img/ru1.gif";
		standard[17].src="img/ru2.gif";
		standard[18].src="img/ru3.gif";
		standard[19].src="img/ru.gif";
// Čia pridedu elementus prancūzų kalbai
		standard[20].src="img/fr1.gif";
		standard[21].src="img/fr2.gif";
		standard[22].src="img/fr3.gif";
		standard[23].src="img/fr.gif";
		


		over[1].src="img/11.gif";
		over[2].src="img/22.gif";
		over[3].src="img/33.gif";
		over[4].src="img/44.gif";
		over[5].src="img/55.gif";
		over[6].src="img/66.gif";
		over[7].src="img/77.gif";
		over[8].src="img/88.gif";
		over[9].src="img/99.gif";
		over[10].src="img/1010.gif";
		over[11].src="img/1212.gif";
// Čia pridedu elementus anglų kalbai
		over[12].src="img/en11.gif";
		over[13].src="img/en22.gif";
		over[14].src="img/en33.gif";
		over[15].src="img/enen.gif";
// Čia pridedu elementus rusų kalbai
		over[16].src="img/ru11.gif";
		over[17].src="img/ru22.gif";
		over[18].src="img/ru33.gif";
		over[19].src="img/ruru.gif";
// Čia pridedu elementus prancūzų kalbai
		over[20].src="img/fr11.gif";
		over[21].src="img/fr22.gif";
		over[22].src="img/fr33.gif";
		over[23].src="img/frfr.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;
	else if(num==9) JJp.src = over[9].src;
	else if(num==10) KKp.src = over[10].src;
	else if(num==11) LLp.src = over[11].src;
	else if(num==12) EN1p.src = over[12].src;
	else if(num==13) EN2p.src = over[13].src;
	else if(num==14) EN3p.src = over[14].src;
	else if(num==15) EN4p.src = over[15].src;
	else if(num==16) RU1p.src = over[16].src;
	else if(num==17) RU2p.src = over[17].src;
	else if(num==18) RU3p.src = over[18].src;
	else if(num==19) RU4p.src = over[19].src;
	else if(num==20) FR1p.src = over[20].src;
	else if(num==21) FR2p.src = over[21].src;
	else if(num==22) FR3p.src = over[22].src;
	else if(num==23) FR4p.src = over[23].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;
	else if(num==9) JJp.src = standard[9].src;
	else if(num==10) KKp.src = standard[10].src;
	else if(num==11) LLp.src = standard[11].src;
	else if(num==12) EN1p.src = standard[12].src;
	else if(num==13) EN2p.src = standard[13].src;
	else if(num==14) EN3p.src = standard[14].src;
	else if(num==15) EN4p.src = standard[15].src;
	else if(num==16) RU1p.src = standard[16].src;
	else if(num==17) RU2p.src = standard[17].src;
	else if(num==18) RU3p.src = standard[18].src;
	else if(num==19) RU4p.src = standard[19].src;
	else if(num==20) FR1p.src = standard[20].src;
	else if(num==21) FR2p.src = standard[21].src;
	else if(num==22) FR3p.src = standard[22].src;
	else if(num==23) FR4p.src = standard[23].src;

}
}

function clikker1(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = over[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;


	}
}

function clikker2(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = over[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker3(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = over[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker4(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = over[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker5(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = over[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker6(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = over[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker7(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = over[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker8(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = over[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker9(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = over[9].src;
		kk.src = standard[10].src;
		ll.src = standard[11].src;

	}
}

function clikker10(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = over[10].src;
		ll.src = standard[11].src;

	}
}

function clikker11(a,b,c,d,e,f,g,h,j,k,l,aa,bb,cc,dd,ee,ff,gg,hh,jj,kk,ll) {
	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';
		j.style.display = 'none';
		k.style.display = 'none';
		l.style.display = 'none';



		aa.src = standard[1].src;
		bb.src = standard[2].src;
		cc.src = standard[3].src;
		dd.src = standard[4].src;
		ee.src = standard[5].src;
		ff.src = standard[6].src;
		gg.src = standard[7].src;
		hh.src = standard[8].src;
		jj.src = standard[9].src;
		kk.src = standard[10].src;
		ll.src = over[11].src;

	}
}


