Вот тут ( 
http://cpclzu.bn.by/daniva/ ) есть скрипт (если нажать на картинку с коробками, то какртинка должна медленно подняться вверх, а на её месте появится другая. Как это можно сдлеать? 
Я сделал скрипт, но не могу понять почему он не пашет???
	
function checkBrowser(){
	
this.ver=navigator.appVersion
	
this.dom=document.getElementById?1:0
	
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	
this.ie4=(document.all && !this.dom)?1:0;
	
this.pc=(navigator.appVersion.indexOf("Mac") == -1)
	
this.iepc=(this.pc &&  (this.ie4 || this.ie5)==1)
	
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	
this.ns4=(document.layers && !this.dom)?1:0;
	
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	
return this
}
bw=new checkBrowser()
//Moves a layer to left and top coordinates
function move(d,t,div,nest){ 	
obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 	
obj.bottom=d;	
obj.top=t;
}
	
	
	
var y = 0;
	
var dest = 0;
	
var distance = 0;
	
var step = 0;
	
var destination = 0;
<!--
function scrollit(destination) {
	
	
step = 1;
	
	
dest = destination;
	
	
if (y<dest) {
	
	
	
while (y<dest) {
	
	
	
	
step += (step / 2000);
	
	
	
	
y += step;
	
	
	
	
scroll(y,0);
	
	
	
} 
	
	
	
scroll(dest,0);
	
	
	
y = dest;
	
	
}
    	
if (y > dest)  {
	
	
	
while (y>dest) {
	
	
	
	
step += (step / 2000);
                if(y >= (0+step))
	
	
	
	
  {
	
	
	
	
    y -= step; 
	
	
	
	
	
scroll(y,0);
                  }
	
	
	
	
    else { break;  }
	
	
	
} 
	
	
	
if(dest >= 0) { scroll(dest,0); }
	
	
	
y = dest;
	
	
}
	
	
if (y<1) {y=1}
}Помогите решить задачку.
С Уважением.