var isDOM = document.getElementById;
var speed = 3;
var h = null;
var el = null;

function scrolldown(){
	stopscroll();
	document.getElementById('scrollcontentCont').style.overflow='visible';
	var el = document.getElementById('scrollcontentCont');
	var h = el.offsetHeight;
	if (parseInt(el.style.top) >= (h*(-1)+486)) {
		el.style.top = parseInt(el.style.top) - speed + 'px';
	}
	movingDown = window.setTimeout('scrolldown()', 5);
}

function scrollup(){
	stopscroll();
	document.getElementById('scrollcontentCont').style.overflow='visible';
	var el = document.getElementById('scrollcontentCont');
	var h = el.offsetHeight;
	if (parseInt(el.style.top) <= 0) {
		el.style.top = parseInt(el.style.top) + speed + 'px';
	}
	window.movingUp = setTimeout('scrollup()', 5);
}

function stopscroll() {
	if (window.movingUp) {
		window.clearTimeout(movingUp);
	}
	if (window.movingDown) {
		window.clearTimeout(movingDown);
	}
}

function ResimGoster(i){
	document.getElementById("biggerImage").src=Resim[i];
	return false;
}