/*

var m = new Object; m.x=0; m.y=0;
var link;
var navigation;




if (window.addEventListener) {
	window.addEventListener("load", startMoveBackground, false);
} else if (window.attachEvent) {
	window.attachEvent("onload", startMoveBackground);
}




function startMoveBackground() {
	
	navigation = document.getElementById('navigation');
	getProperty(navigation);
	navigation.ay = -200;
	navigation.by = -200;
	
	link = navigation.getElementsByTagName('a');
	for (var i=0; i<link.length; i++) {
		getProperty(link[i]);
		link[i].onmouseover = function() {
			navigation.ay = this.y-navigation.y;
			if (this.className=='sidebar4_off') this.className='sidebar4_on';
		}
		link[i].onmouseout = function() {
			navigation.ay = -200;
			if (this.className=='sidebar4_on') this.className='sidebar4_off';
		}
	}
	setInterval('moveBackground()',20);
}


function moveBackground() {
	navigation.by = (4*navigation.by + navigation.ay)/5;
	if (Math.abs(navigation.by - navigation.ay) < 1) navigation.by = navigation.ay;
	setBackground(navigation.by);
}


function setBackground(a) {
	document.getElementById('navigation').style.backgroundPosition = "0 "+ a +"px";
}


*/

