fx.Background = Class.create();
		fx.Background.prototype = Object.extend(new fx.Base(), {
			initialize: function(el, options) {
				this.el = $(el);
				this.setOptions(options);
				this.now = 0;
			},
			increase: function() {
				this.el.style.marginLeft = this.now + "px";						
			},
			scroll: function(howMuch){
				this.clearTimer();

				// calculate the width of elements, including padding/border								
				var scroll_limit = this.el.offsetWidth - this.el.parentNode.offsetWidth;
				
				if (((this.now + howMuch) <= 0) && ((this.now + howMuch) >= -(Math.abs(howMuch) + scroll_limit))) {
					this.custom(this.now, this.now + howMuch);
				}
				
			}
		});
		fx.UpNDown = Class.create();
		fx.UpNDown.prototype = Object.extend(new fx.Base(), {
			initialize: function(el, options) {
				this.el = $(el);
				this.setOptions(options);
				this.now = 0;
			},
			increase: function() {
				this.el.style.marginTop = this.now + "px";						
			},
			scroll: function(howMuch){
				this.clearTimer();

				// calculate the width of elements, including padding/border								
				var scroll_limit = this.el.offsetHeight - this.el.parentNode.offsetHeight;
				
				if (((this.now + howMuch) <= 0) && ((this.now + howMuch) >= -(Math.abs(howMuch) + scroll_limit))) {
					this.custom(this.now, this.now + howMuch);
				}
				
			}
		});
		
function ShowThis(action,hideLayer,defLeft){
	if (action=="show"){
		$(hideLayer).style.visibility = "visible";
		$(hideLayer).style.left = defLeft+'px';
	}else{
		$(hideLayer).style.visibility = "hidden";
		$(hideLayer).style.left = "-9000px";
	}
}

function ShowHideThis(hideLayer){
	if ($(hideLayer).style.display=="none"){
		$(hideLayer).style.display = "block";
		
	}else{
		$(hideLayer).style.display = "none";
	}
}

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("NewsWrapper");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
	node.onclick=function() {
		this.className+=" selected";
 	 }
   }
  }
 }
}