	var locationAfterPreload = "javascript:;"
	var lengthOfPreloadBar = 380
	var heightOfPreloadBar = 10
	var yourImages = new Array(
"http://farkasfa.hu/STF/black.gif",
"http://farkasfa.hu/STF/blue.gif",
"http://farkasfa.hu/STF/in_left.png",
"http://farkasfa.hu/STF/in_right.png",
"http://farkasfa.hu/STF/32.png",
"http://farkasfa.hu/STF/1313d.png",
"http://farkasfa.hu/STF/1313t.png",
"http://farkasfa.hu/STF/loading.png",
"http://farkasfa.hu/STF/bottom.png",
"http://farkasfa.hu/STF/bottomger.png",
"http://farkasfa.hu/STF/cellbg.png",
"http://farkasfa.hu/STF/z1_hun.png",
"http://farkasfa.hu/STF/z1_hun_cl.png",
"http://farkasfa.hu/STF/z1_hun_on.png",
"http://farkasfa.hu/STF/z2_ger.png",
"http://farkasfa.hu/STF/z2_ger_cl.png",
"http://farkasfa.hu/STF/z2_ger_on.png",
"http://farkasfa.hu/STF/animation.gif",
"http://farkasfa.hu/STF/x_welcome.png",
"http://farkasfa.hu/STF/x_welcomeger.png",
"http://farkasfa.hu/STF/mainpic.jpg",
"http://farkasfa.hu/STF/warn01.png",
"http://farkasfa.hu/STF/warn01ger.png",
"http://farkasfa.hu/STF/ball.png",
"http://farkasfa.hu/STF/meaning.png",
"http://farkasfa.hu/STF/meaningger.png",
"http://farkasfa.hu/STF/mi_a.png",
"http://farkasfa.hu/STF/mi_b.png",
"http://farkasfa.hu/STF/mi_c.png",
"http://farkasfa.hu/STF/mi_d.png",
"http://farkasfa.hu/STF/line.png",
"http://farkasfa.hu/STF/ar_l.png",
"http://farkasfa.hu/STF/ar_r.png",
"http://farkasfa.hu/menu/themes/office_xp/icon1.png",
"http://farkasfa.hu/menu/themes/office_xp/icon2.png",
"http://farkasfa.hu/menu/themes/office_xp/icon3.png",
"http://farkasfa.hu/menu/themes/office_xp/icon4.png",
"http://farkasfa.hu/menu/themes/office_xp/icon5.png",
"http://farkasfa.hu/STF/kapcs_mail.gif",
"http://farkasfa.hu/STF/kapcs_nev.gif",
"http://farkasfa.hu/STF/kapcs_tel.gif",
"http://farkasfa.hu/STF/kapcs_weblap.gif",
"http://farkasfa.hu/STF/logo.png"
)

if (document.images) {
	var dots = new Array() 
	dots[0] = new Image(1,1)
	dots[0].src = "STF/black.gif"
	dots[1] = new Image(1,1)
	dots[1].src = "STF/blue.gif"
	var preImages = new Array(),coverage = Math.floor(lengthOfPreloadBar/yourImages.length),currCount = 0
	var loaded = new Array(),i,covered,timerID
	var leftOverWidth = lengthOfPreloadBar%coverage
}
function loadImages() { 
	for (i = 0; i < yourImages.length; i++) { 
		preImages[i] = new Image()
		preImages[i].src = yourImages[i]
	}
	for (i = 0; i < preImages.length; i++) { 
		loaded[i] = false
	}
	checkLoad()
}
function checkLoad() {
	if (currCount == preImages.length) { 
		location.replace(locationAfterPreload)
		return
	}
	for (i = 0; i <= preImages.length; i++) {
		if (loaded[i] == false && preImages[i].complete) {
			loaded[i] = true
			eval("document.img" + currCount + ".src=dots[1].src")
			currCount++
		}
	}
	timerID = setTimeout("checkLoad()",10) 
}
