var mouseIsDown = false;

function startMove() {
	mouseIsDown = true;
}

function moveDivContents(obj) {
	if (mouseIsDown) {
		setTimeout("updatePosition('" + obj + "')", 10);
	}
}
function updatePosition(obj) {
alert(obj);
	var x = document.getElementById(obj).leftScroll;
	alert(x);
	moveDivContents(obj);
}
function clearIt() {
	mouseIsDown = false;
}

function testIt(obj) {
	var _x = obj.scrollLeft / 1;
	document.getElementById("chromaBottom").style.left = document.getElementById("chromaPhoto").style.left + "px"; 
	var leftprop = getIdProperty("chromaPhoto", "left");
	alert(leftprop);
}
