function get_x(oElement){
	var iReturnValue = 0;
	while( oElement != null ) {
		iReturnValue += oElement.offsetLeft;
		oElement = oElement.offsetParent;
	} // end while...do
	return iReturnValue;
} // end function get_x

function get_y(oElement){
	var iReturnValue = 0;
	while( oElement != null ) {
		iReturnValue += oElement.offsetTop;
		oElement = oElement.offsetParent;
	} // end while...do
	return iReturnValue;
} // end function get_y