

	var winWidth = window.innerWidth || document.body.clientWidth;
	var wantedXPosition = 0;
	var movingTowardsWantedPosition = false;

	// Detect if the browser is IE or not.
	// If it is not IE, we assume that the browser is NS.
	var IE = document.all?true:false

	// If NS -- that is, !IE -- then set up for mouse capture
	if (!IE) document.captureEvents(Event.MOUSEMOVE)

	// Set-up to use getMouseXY function onMouseMove

	var pictureWidth = 1812;
	var spareSpace = pictureWidth - winWidth;


	if(winWidth*1 < pictureWidth*1)
	{
		document.onmousemove = getMouseXY;
	}
	else
	{
	  document.getElementById('banner_sketch').style.backgroundPosition = 'center center';
	}

	// Temporary variables to hold mouse x-y pos.s
	var tempX = 0
	var tempY = 0

	// Main function to retrieve mouse x-y pos.s


	function getMouseXY(e) {
	  if (IE) { // grab the x-y pos.s if browser is IE
	    tempX = event.clientX + document.body.scrollLeft
	    tempY = event.clientY + document.body.scrollTop
	  } else {  // grab the x-y pos.s if browser is NS
	    tempX = e.pageX
	    tempY = e.pageY
	  }
	  // catch possible negative values in NS4
	  if (tempX < 0){tempX = 0}
	  if (tempY < 0){tempY = 0}
	  // show the position values in the form named Show
	  // in the text fields named MouseX and MouseY


	  var mousePositionFactor = (tempX / winWidth);
	  var backgroundXPosition = -(spareSpace * mousePositionFactor);

	  //document.getElementById('banner_sketch').style.backgroundPosition = backgroundXPosition + 'px 0';
	  wantedXPosition = backgroundXPosition;


	  return true
	}

	function moveTowardsWantedPosition()
	{
		var actualBackgroundPosition = document.getElementById('banner_sketch').style.backgroundPosition;
		var actualBackgroundPositionItems = actualBackgroundPosition.split('px');
		var actualBackgroundPositionX = actualBackgroundPositionItems[0];
		//alert(actualBackgroundPositionX);

		if(actualBackgroundPositionX < (wantedXPosition - 5))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)+5) + 'px 0';
		}

		var stillMoving = false;

		if(actualBackgroundPositionX < (wantedXPosition - 75))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)+10) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX < (wantedXPosition - 45))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)+6) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX < (wantedXPosition - 25))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)+3) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX < (wantedXPosition - 5))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)+2) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX > (wantedXPosition + 75))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)-10) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX > (wantedXPosition + 45))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)-6) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX > (wantedXPosition + 25))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)-3) + 'px 0';
			stillMoving = true;
		}
		else
		if(actualBackgroundPositionX > (wantedXPosition + 5))
		{
			document.getElementById('banner_sketch').style.backgroundPosition = ((actualBackgroundPositionX*1)-2) + 'px 0';
			stillMoving = true;
		}

		if(movingTowardsWantedPosition || stillMoving)
		{
			setTimeout("moveTowardsWantedPosition()", 15);
		}
	}