
  function scrollIt() {

		var mypos = 0, nextpos = 0;
		
		document.getElementById('portfolio_bg').style.backgroundPosition=pos+'px 0px';
		pos = pos + 1;  // specifies left / right or top / bottom.
		setTimeout('scrollIt()',80);
		
		for (var x = 0; x < showmarkers; x++) {
			mypos = 586 * x;
			nextpos = x + 1;
			nextpos = nextpos * 586;
			newval = "Image_" + mypos + "";
			if (pos > mypos && pos < nextpos) {
				document.images[newval].src = "images/whitebox.gif";
			} else {
				document.images[newval].src = "images/greybox.gif";
			}
		}

		//getobject("bottominfo").innerHTML = getobject("markers").innerHTML;
		
	  
  }
  