// JavaScript Document
//window.resizeTo(1000,700)
for (var i=0;i<530; i+=10) { window.scroll(0,i);   }
/*
function handle(delta) {
	var s = delta + ": ";
	local += delta;
	//if (local>=5) local=5;	if (local<=2) local=2;
	//real='g'+local;
	
	
	 if (delta < 0) {  //downward
 		s += "down";
		sy = py+ 700;
		if (sy>=2900) sy=2900;
		for (var i=py;i<sy; i+=2) { window.scroll(0,i);   }
		//window.focus('400');
		//document.getElementById(real).focus();
		py=sy;
		}
	else {  	//upward
		s += "up";
		//document.getElementById(real).focus();
		
		sy = py- 700;
		if (sy<800) sy=800;
		for (var i=py;i>sy; i-=2) { window.scroll(0,i);   }
		//window.focus('400');
		//document.getElementById(real).focus();
		py=sy;
		}
	//document.getElementById('delta').innerHTML = s+local+sy;
	
}


function wheel(event){
	var delta = 0;
	if (!event) event = window.event;
	if (event.wheelDelta) {
		delta = event.wheelDelta/120;
		if (window.opera) delta = -delta;
	} else if (event.detail) {
		delta = -event.detail/3;
	}
	if (delta)
		handle(delta);
		////prevent move
		   if (event.preventDefault)
                event.preventDefault();
        event.returnValue = false;
}

function downward(){
	sy = py+ 700;
		if (sy>=2900) sy=2900;
		for (var i=py;i<sy; i+=2) { window.scroll(0,i);   }
		//window.focus('400');
		//document.getElementById(real).focus();
		py=sy;
	
	
}
function upward(){
	
		//document.getElementById(real).focus();
		
		sy = py- 700;
		if (sy<800) sy=800;
		for (var i=py;i>sy; i-=2) { window.scroll(0,i);   }
		//window.focus('400');
		//document.getElementById(real).focus();
		py=sy;	
	
}
*/
/* Initialization code. */
/*if (window.addEventListener)
	window.addEventListener('DOMMouseScroll', wheel, false);
window.onmousewheel = document.onmousewheel = wheel;*/