function jumpToPageTop() { // 020301
// if (!MacIE3 && !MacIE4 && !NN && window.scrollTo || NN && (Vminor >= 4.75) && window.scrollTo) {
//  pageScroll(0,0,5);
	pfc.util.scroll.toPageTop();
// } else {
//  location.hash = "top";
// }
}


var pfc = new Object();

pfc.util = {
	getObject : function(objectId){
		return document.all ? document.all(objectId) : document.getElementById ? document.getElementById(objectId) : document.layers[objectId];
	},
	scroll : {
		getScrollLeft : function(){
			return document.body.parentNode.scrollLeft ? document.body.parentNode.scrollLeft : document.body.scrollLeft ? document.body.scrollLeft : 0;
		},
		getScrollTop : function(){
			return document.body.parentNode.scrollTop ? document.body.parentNode.scrollTop : document.body.scrollTop ? document.body.scrollTop : window.pageYOffset ? window.pageYOffset : 0;
		},
		getClientHeight : function(){
			return window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ? document.body.clientHeight : 0;
		},
		getAnchorPosition : function(anchorId){
			var anchor = pfc.util.getObject(anchorId);
			var position = new Object();

			if(!anchor) return 0;

			if(document.all || document.getElementById){
				position.y = anchor.offsetTop;
				for(var i=0; anchor = anchor.offsetParent; i++){
					position.y += anchor.offsetTop;
				}
			}else if(document.layers){
				position.y = document.anchors[anchorId].y;
			}else{
				position.y = 0;
			}
			return position.y;
		},
		scrollToDestination : function(moveDown, toX, toY, currentX, currentY){
			var scrollTimer;

			if(!toY) toY = 0;
			if(!toX) toX = 0;
			if(!currentX) currentX = this.getScrollLeft();
			if(!currentY) currentY = this.getScrollTop();

			currentX = toX;
			currentY += Math.floor((toY - currentY) * 0.2);
			if(currentY < 0) currentY = 0;
			scrollTo(currentX, currentY);
			scrollTimer = setTimeout("pfc.util.scroll.scrollToDestination(" + moveDown + "," + toX + "," + toY + "," + currentX + "," + currentY + ")", 16);
			var modulus = moveDown ? 5 : 0;
			if(Math.floor(Math.abs(currentY - toY) < modulus) || toY == currentY) clearTimeout(scrollTimer);
		},
		toPageTop : function(){
			this.scrollToDestination(0, 0, 0);
			return false;
		},
		toAnchor : function(toAnchor){
			var toY = this.getAnchorPosition(toAnchor);
			var pageEnd = this.getAnchorPosition("footer");

			if(pageEnd > 0){
				var range = pageEnd - this.getClientHeight();
				if(range < toY) toY = range;
			}

			this.scrollToDestination((toY > this.getScrollTop()) ? 1 : 0, 0, toY);
			return false;
		}
	}
}
