scrollStep=1; timerLeft=""; timerRight=""; function scrollDivLeft(id){ clearTimeout(timerRight); document.getElementById(id).scrollLeft+=scrollStep; timerRight=setTimeout("scrollDivLeft('"+id+"')",10); } function scrollDivRight(id){ clearTimeout(timerLeft); document.getElementById(id).scrollLeft-=scrollStep; timerLeft=setTimeout("scrollDivRight('"+id+"')",10); } function stopMe(){ clearTimeout(timerRight); clearTimeout(timerLeft); } function toggle_glogo(mode){ var obj = document.getElementById("logo_grey"); if(mode=='on') obj.src="./images/logo_grey_on.jpg"; if(mode=='off') obj.src="./images/logo_grey.jpg"; }