/* kawamoto.js
 */

function toTop(id){document.getElementById(id).scrollTop=0}
var step=3;
var timer;
function scrollDivDown(id){
document.getElementById(id).scrollTop+=step;
timer=setTimeout("scrollDivDown('"+id+"')",1);
}
function scrollDivUp(id){
document.getElementById(id).scrollTop-=step;
timer=setTimeout("scrollDivUp('"+id+"')",1);
}
function toBottom(id){ document.getElementById(id).scrollTop=document.getElementById(id).scrollHeight; }
function toPoint(id){ document.getElementById(id).scrollTop=100; }
function noScroll(id){ clearTimeout(timer); }
function showDiv(id){ document.getElementById(id).style.visibility = "visible"; }
function hideDiv(id){ document.getElementById(id).style.visibility = "hidden"; }
function setSrc(id,file){ document.getElementById(id).src= file; }


