startList = function() {	if (document.all && document.getElementById) {		navRoot = document.getElementById("menu");		for (i = 0; i < navRoot.childNodes.length; i++) {			node = navRoot.childNodes[i];			if (node.nodeName == "LI") {				node.onmouseover = function() {					this.className += " over";				}				node.onmouseout = function() {				this.className = this.className.replace(" over", "");				}			}		}	}}window.onload = startList;ids = new Array();photos = new Array();function setIds(e, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20) {	ids[1] = f1;	ids[2] = f2;	ids[3] = f3;	ids[4] = f4;	ids[5] = f5;	ids[6] = f6;	ids[7] = f7;	ids[8] = f8;	ids[9] = f9;	ids[10] = f10;	ids[11] = f11;	ids[12] = f12;	ids[13] = f13;	ids[14] = f14;	ids[15] = f15;	ids[16] = f16;	ids[17] = f17;	ids[18] = f18;	ids[19] = f19;	ids[20] = f20;		time = window.setTimeout("fadeIn('6')", interval);	}time = 0;interval = 1500;myClass = 0;timeOut = 50;slides = 20;function fadeIn(photo) {	if (time) {		window.clearTimeout(time);	}	if (myClass < 10) {		myClass++;				if (myClass == 10) {			var x = parseInt(photo);			x -= 5;			document.getElementById("photo" + x).className = 'slide0';		}				document.getElementById("photo" + photo).className = 'slide' + myClass;		//		time = window.setTimeout("fadeIn('" + photo + "')", timeOut);		return;	}	//	var tmp = parseInt(photo);	if (tmp > 20) tmp -= 20;		var ind = parseInt(photo) % 5;	if (ind == 0) ind = 5;		document.getElementById("link" + ind).href = "galeria,pl," + ids[tmp] + ".html";	document.getElementById("more" + ind).href = "galeria,pl," + ids[tmp] + ".html";		if (parseInt(photo) > 20) {		document.getElementById("photo" + ind).className = 'slide10';		document.getElementById("photo" + photo).className = 'slide0';	}	//	photo++;	if (photo == slides + 6) photo = 6;	//	myClass = 0;	time = window.setTimeout("fadeIn('" + photo + "')", interval);}
