
var posscrlldv = 0;

window.onload=function()	{

if(document.getElementById && document.createTextNode)
	{

var scrollitup = document.getElementById("scrollitup");
var scrollitdown = document.getElementById("scrollitdown");
var textblock = document.getElementById("blogtext");

if(textblock)	{

textblock.style.top = "0px";


if(scrollitup)	{

scrollitup.onmouseover = function()	{
scrollit(textblock, "up");
	}
scrollitup.onmouseout = function()	{
scrollit(textblock, "stop");
	}
}
	
if(scrollitdown)	{	
scrollitdown.onmouseover = function()	{
scrollit(textblock, "d");
	}
scrollitdown.onmouseout = function()	{
scrollit(textblock, "stop");
	}
}
	
}	
	
	}	
}

function scrollit(obj, direction)	{



if(obj.Scrolltimer) window.clearInterval(obj.Scrolltimer);

if(direction !=="stop"){
obj.Scrolltimer= window.setInterval(
function(){

if(direction == "d"){
posscrlldv -= 5;
	}

if(direction == "up"){
posscrlldv = (5 + posscrlldv);
	}
	
if(direction == "reset" || posscrlldv > 0)	{
window.clearInterval(obj.Scrolltimer);
posscrlldv = 0;
	}
	
obj.style.top = posscrlldv+"px";

if(obj.style.top == "0px")	{
window.clearInterval(obj.Scrolltimer);
	}
}
, 20);
	}
	
}
