function imageCarousel() {
	this.getobject = function(el) {
		if(typeof(el)=="object") {
			
		}
		else if(document.getElementById(el)) {
			el = document.getElementById(el);
		}
		else {
			el = document.images[el];
		}
		if(el==null || typeof(el)!="object") {
			return false;
		}
		return el;
	}
	this.show = function(el,img) {
		if(!(el = this.getobject(el))) {
			return false;
		}
		el.src = img;
		return true;
	}
}

imageCarousel = new imageCarousel();
