function scroll_to (y) {
	position01 = parseInt (y - 110);
	position02 = parseInt (y - 80);
	position03 = parseInt (y - 55);
	position04 = parseInt (y - 35);
	position05 = parseInt (y - 20);
	position06 = parseInt (y - 10);
	position07 = parseInt (y - 5);
	position08 = parseInt (y);
	timer01 = setTimeout ('scrolls (position01)' , 30);
	timer02 = setTimeout ('scrolls (position02)' , 60);
	timer03 = setTimeout ('scrolls (position03)' , 90);
	timer04 = setTimeout ('scrolls (position04)' , 120);
	timer05 = setTimeout ('scrolls (position05)' , 150);
	timer06 = setTimeout ('scrolls (position06)' , 180);
	timer07 = setTimeout ('scrolls (position07)' , 210);
	timer08 = setTimeout ('scrolls (position08)' , 240);
}
function scroll_top () {
	timer01 = setTimeout ('scrolls (2880)' , 30);
	timer02 = setTimeout ('scrolls (2720)' , 60);
	timer03 = setTimeout ('scrolls (2560)' , 90);
	timer04 = setTimeout ('scrolls (2400)' , 120);
	timer05 = setTimeout ('scrolls (2240)' , 150);
	timer06 = setTimeout ('scrolls (2080)' , 180);
	timer07 = setTimeout ('scrolls (1920)' , 210);
	timer08 = setTimeout ('scrolls (1760)' , 240);
	timer09 = setTimeout ('scrolls (1600)' , 270);
	timer10 = setTimeout ('scrolls (1440)' , 300);
	timer11 = setTimeout ('scrolls (1280)' , 330);
	timer12 = setTimeout ('scrolls (1120)' , 360);
	timer13 = setTimeout ('scrolls (960)' , 390);
	timer14 = setTimeout ('scrolls (800)' , 420);
	timer15 = setTimeout ('scrolls (640)' , 450);
	timer16 = setTimeout ('scrolls (480)' , 480);
	timer17 = setTimeout ('scrolls (320)' , 510);
	timer18 = setTimeout ('scrolls (160)' , 540);
	timer19 = setTimeout ('scrolls (0)' , 570);
	timer20 = setTimeout ('scrolls (20)' , 600);
	timer21 = setTimeout ('scrolls (30)' , 630);
	timer22 = setTimeout ('scrolls (35)' , 660);
	timer23 = setTimeout ('scrolls (30)' , 690);
	timer24 = setTimeout ('scrolls (20)' , 720);
	timer25 = setTimeout ('scrolls (0)' , 750);
}
function scrolls (to) {
	scrollTo (0, to);
}

function imgRollovers () {
	if (!document.getElementById) return
	var preloads = [];
	var images = document.getElementsByTagName('img');
	for (var i = 0; i < images.length; i++) {		
		var src = images[i].getAttribute('src');
		var r = src.replace('.gif', '_o.gif');
		images[i].setAttribute('n', src);
		images[i].setAttribute('r', r);
		preloads[i] = new Image();
		preloads[i].src = r;
		images[i].onmouseover = function() {
			this.setAttribute('src', this.getAttribute('r'));
		}	
		images[i].onmouseout = function() {
			this.setAttribute('src', this.getAttribute('n'));
		}
	}
}



/* onload */
try {
	window.addEventListener('load',imgRollovers,false);
} catch (e) {
	window.attachEvent('onload',imgRollovers);
}


