
function getRealLeft_t(el) {
    xPos = el.offsetLeft;
    tempEl = el.offsetParent;
    while (tempEl != null) {
        xPos += tempEl.offsetLeft;
        tempEl = tempEl.offsetParent;
    }
    return xPos;
}

function getRealTop_t(el) {
    yPos = el.offsetTop;
    tempEl = el.offsetParent;
    while (tempEl != null) {
        yPos += tempEl.offsetTop;
        tempEl = tempEl.offsetParent;
    }
    return yPos;
	alert(yPos);
}

var htimer

re=/MSIE/i;
var ns = !re.test(navigator.userAgent);

re=/Opera/i;
var op = re.test(navigator.userAgent);


	var re=/mac/i;
	var mac=re.test(navigator.platform);



function cticker(itm, stop, back1) {

	itm = itm + 1

	if (itm > numt) {
		itm = 1
	}
	if (itm <= 1) {
		itm = 1
	}

	document.getElementById('tbox').innerHTML = t[itm]

	gonum = itm

	if (stop == 1) {
		clearTimeout(htimer)
	} else {
		htimer = setTimeout('cticker(' + gonum + ',0,0);', 3500);
	}
}

function setwipe () {
	lt = getRealLeft_t(document.getElementById('tbox'));
	tp = getRealTop_t(document.getElementById('tbox'));


	//document.getElementById('wipe').style.display = 'none';


}
