function setPosition (pos, icon) {
	var	posDiv = document.getElementById ('PositionDiv');
// 	var	posTR  = document.getElementById ('PositionTR');
// 	var	treDiv = document.getElementById ('TreeDiv');
// 	var	cenDiv = document.getElementById ('CenterDiv');
	if (pos) {
// 		posDiv.style.visibility = 'visible';
// 		posTR.height            = '25px';
// 		treDiv.style.top        = '128px';
// 		cenDiv.style.top        = '128px';
		posDiv.innerHTML = buildPositionTable (pos,icon);
// 	} else {
// 		posDiv.style.visibility = 'hidden';
// 		posTR.height            = '0px';
// 		treDiv.style.top        = '102px';
// 		cenDiv.style.top        = '102px';
	}
}
function buildPositionTable (pos, icon) {
	str = "<center>";
	str+= "<table><tr>";
	str+= "<td><span style=\"text-align:right;\">"+pos+"</span></td>";
	str+= "<td style=\"width:20px;\"></td>";
	str+= "<td><img src=\"icons/"+icon+".gif\" alt=\"\" height=\"16\" width=\"16\"/></td>";
	str+= "</tr></table>";
	str+= "</center>";
	return str;
}
function closeLoading () {
	document.getElementById('LoadingDiv').style.visibility = 'hidden';
}
function openLoading () {
	document.getElementById('LoadingDiv').style.visibility = 'visible';
}

