var t1, t2;

function getPozz(obj) {
	curleft = curtop = 0;
	if (obj.offsetParent) {
		do {
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;
		} while (obj = obj.offsetParent);
	return [curleft, curtop];
	}
}

function fooshow(master, slave) {
	var pos = getPozz(document.getElementById(master));
	document.getElementById(slave).style.left = pos[0] + 'px';
	document.getElementById(slave).style.display = 'block';
	document.getElementById(master).style.backgroundColor = '#CCFF00';
	document.getElementById(master).style.color = '#333333';
}

function foohide(master, slave) {
	document.getElementById(slave).style.display = 'none';
	document.getElementById(master).style.backgroundColor = '';
	document.getElementById(master).style.color = '';
}