	self.onError=null;
	currentX = currentY = 0;
	whichIt = null;
	lastScrollX = 0; lastScrollY = 0;
	NS = (document.layers) ? 1 : 0;
	IE = (document.all) ? 1: 0;

	var tmp1= tmp2= tmp3 =0;
	var temp_height;
	var flag = 1;
	tmp1 = document.body.clientHeight;
	function heartBeat() {
		
		if(flag){
			if(IE)
				temp_height = document.all.BugsMenuBar.style.pixelTop + document.all.BugsMenuBar.clientHeight;
			if(NS)
				temp_height = document.BugsMenuBar.top + document.BugsMenuBar.clientHeight;
			flag = 0;
		}

		if(document.body.clientHeight > temp_height ){
			tmp2 = document.body.clientHeight;
			if(tmp1 != tmp2){
				tmp3 =  tmp2 - tmp1;
				tmp1 = tmp2;
				if(tmp3<0){}
			}
			if(IE) {
				diffY = document.body.scrollTop;
				diffX = 0;
				}

			if(NS) {
				diffY = self.pageYOffset;
				diffX = self.pageXOffset; }

			if(diffY != lastScrollY) {
				percent = .1 * (diffY - lastScrollY);

				if(percent > 0)
					percent = Math.ceil(percent);
				else
					percent = Math.floor(percent);

				if(IE)
					document.all.BugsMenuBar.style.pixelTop += percent;
				if(NS)
					document.BugsMenuBar.top += percent;

				lastScrollY = lastScrollY + percent;
			}

			if(diffX != lastScrollX) {
				percent = .1 * (diffX - lastScrollX);

				if(percent > 0)
					percent = Math.ceil(percent);
				else
					percent = Math.floor(percent);

				if(IE) document.all.BugsMenuBar.style.pixelLeft += percent;
				if(NS) document.BugsMenuBar.top += percent;
				lastScrollY = lastScrollY + percent;
			}
		}
	}
	if(NS || IE) action = window.setInterval("heartBeat()",1);