Hai dimenticato un pezzo...

function startit(){
timer=setInterval("scrollwindow()",100)
}

e non

timer=function startit(){

ciao