/*
 * (c)2009 Kingpin.com.ar
 */
function NewsIterator(news) {
		this.pointer = 0;
		this.news = news;

		this.next = function() {
				if((this.news.length == 0) || (this.news.length == 1)) {
						return false;
				}
				else {
						this.pointer = (this.pointer + 1) % this.news.length;
						return true;
				}
		};

		this.getCurrent = function() {
				return this.news[this.pointer];
		};
}
