var locationAfterPreload = "?cid=1"
var lengthOfPreloadBar = 320
var heightOfPreloadBar = 10
var myImages = new Array(
	'/gfx/m3.jpg',
	'/gfx/m4.jpg',
	'/gfx/m2.jpg',
	'/gfx/m5.jpg',
	'/gfx/m6.jpg',
	'/gfx/m1.jpg',
	'/gfx/lheader.gif',
	'/gfx/lfooter.gif',
	'/gfx/m3.gif',
	'/gfx/m6.gif',
	'/gfx/m4.gif',
	'/gfx/m5.gif',
	'/gfx/m1.gif',
	'/gfx/m2.gif',
	'/gfx/m6head.gif',
	'/gfx/m4head.gif',
	'/gfx/m3head.gif',
	'/gfx/m5head.gif',
	'/gfx/m1head.gif',
	'/gfx/m2head.gif',
	'/gfx/lright.gif',
	'/gfx/lleft.gif',
	'/gfx/mright.gif',
	'/gfx/mline.gif'
	);
/*
var myImages = new Array(
	'/gfx/m3.jpg',
	'/gfx/m2active.jpg',
	'/gfx/m3active.jpg',
	'/gfx/m4.jpg',
	'/gfx/m2.jpg',
	'/gfx/m5active.jpg',
	'/gfx/m5.jpg',
	'/gfx/m1active.jpg',
	'/gfx/m4active.jpg',
	'/gfx/m6active.jpg',
	'/gfx/m6.jpg',
	'/gfx/m1.jpg',
	'/gfx/lheader.gif',
	'/gfx/lfooter.gif',
	'/gfx/m3.gif',
	'/gfx/m6.gif',
	'/gfx/m4.gif',
	'/gfx/m5.gif',
	'/gfx/m1.gif',
	'/gfx/m2.gif',
	'/gfx/m6head.gif',
	'/gfx/m4head.gif',
	'/gfx/m3head.gif',
	'/gfx/m5head.gif',
	'/gfx/m1head.gif',
	'/gfx/m2head.gif',
	'/gfx/lright.gif',
	'/gfx/lleft.gif',
	'/gfx/mright.gif',
	'/gfx/mline.gif'
	);
*/
if (document.images) {
var dots = new Array()
dots[0] = new Image(1,1)
dots[0].src = "/gfx/preload_1.gif"
dots[1] = new Image(1,1)
dots[1].src = "/gfx/preload_2.gif"
var preImages = new Array(),coverage = Math.floor(lengthOfPreloadBar/myImages.length),currCount = 0
var loaded = new Array(),i,covered,timerID
var leftOverWidth = lengthOfPreloadBar%coverage
}
function loadImages() {
for (i = 0; i < myImages.length; i++) {
preImages[i] = new Image()
preImages[i].src = myImages[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)
}