function clicker(content){
	
	//Get the window width and height
	var windowWidth, windowHeight;
	if (self.innerHeight) {	// all except Explorer
		windowWidth = self.innerWidth;
		//windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		windowWidth = document.documentElement.clientWidth;
		//windowHeight = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		windowWidth = document.body.clientWidth;
		//windowHeight = document.body.clientHeight;
	}
	
	if (typeof document.height != 'undefined') {
		
		windowHeight = document.height;
		
	} else if (document.compatMode && document.compatMode != 'BackCompat') {
		
		windowHeight = document.documentElement.scrollHeight;
		
	} else if (document.body && typeof document.body.scrollHeight != 'undefined') {
		
		windowHeight = document.body.scrollHeight;
		
	}
	
	//Set a variable for the div we need to make active
	var thediv = document.getElementById('displaybox');
	
	//Check if the div is currently set to be displayed or not
	if(thediv.style.display == "none"){
		
		//Set the div to be visible
		thediv.style.display = "";
		
		//Set a variable to hold the content
		var contentDiv = document.getElementById('imageBox');
		
		//Set the inner html of the content div
		contentDiv.innerHTML = '<p><a href="#" onclick="javascript:clicker(); return false;">CLOSE WINDOW</a></p>' + content + '<p><a href="#" onclick="javascript:clicker(); return false;">CLOSE WINDOW</a></p>';
		
	}else{
		
		//If the div is being displayed
		thediv.style.display = "none";
		
		contentDiv.innerHTML = "";
		
	}
	
	//Set the overlay widths and height based on the previously calculated widths and heights
	thediv.style.width = windowWidth + "px";
	thediv.style.height = windowHeight + "px";
	
	//Find the users current scroll position so we can set the image to have a top margin of this value
	
	var ScrollTop = document.body.scrollTop;
	
	if (ScrollTop == 0) {
		
		if (window.pageYOffset) {
			
			ScrollTop = window.pageYOffset;
			
		} else {
			
			ScrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
			
		}
		
	}
	
	contentDiv.style.marginTop = ScrollTop + "px";
	
	//return false;
}