function posinfo(whwh) {
cleft = ctop = 0;
if (whwh.offsetParent) {
    cleft = whwh.offsetLeft;
    ctop = whwh.offsetTop;
    while (whwh.offsetParent && (whwh = whwh.offsetParent)) {
	cleft += whwh.offsetLeft;// |body_left -> element_left|
	ctop += whwh.offsetTop;// |body_top -> element_bund|
    }
}
if (arguments && (arguments.length > 0)) {
return [cleft,ctop];
} else {
return "w: " + cleft + "h: " + ctop;
}
}
