document.write('<script type="text/javascript" src="/include/js/prototype.js"></script>');
document.write('<script type="text/javascript" src="/include/js/scriptaculous.js"></script>');

function canScrollDown(el){
	
	var c = $(el);
	var w = c.parentNode;
	var scroll = false;
	
	var top = (parseInt(c.style.top))?parseInt(c.style.top):0;
	var bottom = top + parseInt(c.offsetHeight);
	var holderbottom = parseInt(w.offsetHeight);
	
	if (bottom > holderbottom){
		scroll = true;	
	}
	
	return scroll;
}

function scrolldown(el){
	if (canScrollDown(el)){
		new Effect.Move(el,{x:0,y:-175});	
	}
}

function scrollup(el){
	var top = $(el).style.top;
	if(top!='0px' && top){
		new Effect.Move(el,{x:0,y:175});
	}
}