function liTicker() {
		this.parentElem;
		this.childElemTag;
		this.nextVisibleElem;
		this.numVisible;
		this.rotateDelay;
		this.doEffect = false;
		
		this.hasEffect = function(){
			return this.doEffect;
		};
		
		this.setHasEffect = function(bool){
			this.doEffect = bool;
		};
		
		this.setRotateDelay = function(delayInMS){
			this.rotateDelay = delayInMS;
		};	
		
		this.getRotateDelay = function(){
			return this.rotateDelay;
		};

		this.setNumVisible = function(numOfVisible) {
			this.numVisible = numOfVisible;
		};

		this.getNumVisible = function() {
			return this.numVisible;
		};

		this.setChildElemTag = function(tagName) {
			this.childElemTag = tagName.toLowerCase();
		};

		this.getChildElemTag = function() {
			return this.childElemTag;
		};

		this.setParentElem = function(elemId) {
			this.parentElem = document.getElementById(elemId);
		};

		this.getParentElem = function() {
			return this.parentElem;
		};

		this.setNextVisibleElem = function(elem) {
			this.nextVisibleElem = elem;
		};

		this.getNextVisibleElem = function(elem) {
			return this.nextVisibleElem;
		};

		this.rotate = function() {
			var newElem = document.createElement(this.getChildElemTag());
			var currentChild = this.getParentElem().firstChild;
			if (currentChild == undefined
					|| currentChild.innerHTML == undefined) {
				do {
					currentChild = currentChild.nextSibling;
				} while ((currentChild == undefined)
						|| currentChild.innerHTML == undefined);
			}
			newElem.innerHTML = currentChild.innerHTML;
			newElem.className = 'hidden';
			this.getParentElem().appendChild(newElem);
			if (this.hasEffect()){
				$j(currentChild).slideUp('slow', function(){ $j(this).remove(); });
			} else {
				this.getParentElem().removeChild(currentChild);
			}
			if (this.hasEffect()){
				$j(this.getNextVisibleElem()).fadeIn('slow', function(){ $j(this).removeClass('hidden'); });
			} else {
				this.getNextVisibleElem().className = '';
			}
			var nextChild = this.getNextVisibleElem().nextSibling;
			if (nextChild == undefined
					|| nextChild.innerHTML == undefined) {
				do {
					nextChild = nextChild.nextSibling;
				} while ((nextChild == undefined)
						|| nextChild.innerHTML == undefined);
			}
			this.setNextVisibleElem(nextChild);
			this.cont();
		};
		
		this.cont=function(){
			this.start();
		};
		
		this.start = function() {
			var thisObj = this;
			window.setTimeout( function() {
				thisObj.rotate()
			}, this.getRotateDelay());
		};

		this.init = function() {
			if (this.getParentElem()) {
				var currentChild = this.getParentElem().firstChild;
				if (currentChild) {
					for ( var i = 0; i <= this.getNumVisible();) {
						if (currentChild != undefined) {
							if (currentChild.innerHTML != undefined) {
								if (!this.getChildElemTag()) {
									if (currentChild.tagName != undefined) {
										this
												.setChildElemTag(currentChild.tagName);
									}
								}
								if (i == this.getNumVisible()) {
									this.setNextVisibleElem(currentChild);
								} else {
									currentChild.className = '';
								}
								i++;
							}
							currentChild = currentChild.nextSibling;
						} else {
							alert(currentChild);
						}
					}
				}
			}
		};
	}
