// JavaScript Document
  function toggleDiv(divid){
    if(document.getElementById(divid).style.display == 'none'){
      document.getElementById(divid).style.display = 'block';
    }else{
      document.getElementById(divid).style.display = 'none';
    }
  }

var t=0;
var time;
function catmove_up(div,amm) {
	var divTop = document.getElementById(div).style.top;
	if (t>-800){
		document.getElementById(div).style.top = t;
		t=t-amm;
		time = window.setTimeout("catmove_up('catscroller','2')",50);
	} else {
		window.clearTimeout(time);
	}
}
function catmove_down(div,amm) {
	var divTop = document.getElementById(div).style.top;
	if (t<0){
		document.getElementById(div).style.top = t;
		k = amm;
		k = Number(k);
		t = t+k;
		time = window.setTimeout("catmove_down('catscroller','2')",50);
	} else {
		window.clearTimeout(time);
	}
}
function catstopani(ex) {
	if(ex=='exit'){
		window.clearTimeout(time);
	}
}//-->
