function showLayer(layerName) {
	if (document.getElementById) {
		var targetElement = document.getElementById(layerName);
		targetElement.style.display = 'inline';
	}
}
function hideLayer(layerName) {
	if (document.getElementById) {
		var targetElement = document.getElementById(layerName);
		targetElement.style.display = 'none';
	}
}

/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Mr J | http://www.huntingground.net/ */

scrollStep=2

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)
}
