function fishEffects() {
	this.spotlight = function (element) {
		
		element.style.background = "#"+colors.spotlight;
	}
	
	this.createPop = function (popID, elements) {
		if (getElement("popUp")) {
			closePop();
		}
		//Create blackOut
		blackOut = document.createElement("div");
		blackOut.setAttribute("id","blackOut");
		//blackOut.onclick = effects.closePop;
		blackOut.style.background = "#000";
		blackOut.style.opacity    = ".90";
		blackOut.style.width      = "100%";
		blackOut.style.height     = "100%";
		blackOut.style.position   = "fixed";
		blackOut.style.zIndex     = 90;
		blackOut.style.top        = "0";
		blackOut.style.left       = "0";
		
		//Append blackOut
		document.body.appendChild(blackOut);
		
		//Create faux pop-up
		popUp    = document.createElement("div");
		popUp.setAttribute("id","popup");
		popUp.appendChild(elements);
		document.body.appendChild(popUp);
		
		pWidth                    = elements.offsetWidth;
		popUp.style.width         = pWidth+"px";
		pHeight                   = elements.offsetHeight;
		popUp.style.height        = pHeight+"px";
		popUp.style.display       = "none";
		popUp.style.position      = "absolute";
		//popUp.style.position      = "fixed";
		popUp.style.zIndex        = 95;
		popUp.style.left          = (blackOut.offsetWidth-pWidth)/2+"px";
		popUp.style.top           = (blackOut.offsetHeight-pHeight)/2+"px";
		popUp.style.display       = "block";
		
		window.onresize           = function () {
			pWidth                    = getElement("popup").offsetWidth;
			pHeight                   = getElement("popup").offsetHeight;
			getElement("popup").style.left = (getElement("blackOut").offsetWidth-pWidth)/2+"px";
			getElement("popup").style.top  = (getElement("blackOut").offsetHeight-pHeight)/2+"px";
		};
		
		return false;
	}
	
	this.closePop = function () {
		for (i=0; i>-0.05; i-=0.05) {
			document.getElementById("popup").style.opacity = i;
		}
		document.getElementById("popup").parentNode.removeChild(document.getElementById("popup"));
		document.getElementById("blackOut").parentNode.removeChild(document.getElementById("blackOut"));
		
		window.onresize = function () {};
	}
	
	/*this.highlight = function (element, settings) {
		this.colors        = new Array();
		this.colors[0]     = "#ff9";
		this.colors[1]     = "#ffa";
		this.colors[2]     = "#ffb";
		this.colors[3]     = "#ffc";
		this.colors[4]     = "#ffd";
		this.colors[5]     = "#ffe";
		this.colors[6]     = "#fff";
		if (settings.continue) {
			alert(element);
			element.style.background = this.colors[settings.continue.i];
			element.style.background = this.originalColor;
			alert("hello");
		}
		else {
			i=0;
			this.continue = {i:0, originalColor: element.style.background};
			if (this.continue.originalColor == "") {
				this.continue.originalColor = "transparent";
			}
			element.style.background = this.colors[i];
			this.continue.i++;
			setTimeout("if (i<7) { effects.highlight.element.style.background = effects.highlight.colors[i]; i++; }",(settings.duration*1000)/7);
		}
	}*/
}

effects = new fishEffects();