function createCollection(divID,folder) {
	var divTag = document.createElement("div");
	divTag.id = divID;
	divTag.className ="fullSize";
	divTag.style.display = "block";
	divTag.style.background = "#000 url('../images/collections/" + folder + "/" + divID + "') no-repeat center center"; 
	document.getElementById("imagePlaceHolder").appendChild(divTag);	
	document.getElementById("fullSizeBackground").style.display = "block";
	document.getElementById("close").style.display = "block";
}

function closeFullSize() {
	document.getElementById("fullSizeBackground").style.display = "none";
	document.getElementById("close").style.display = "none";
	getElementByClass("fullSize");
}

var allHTMLTags = new Array();

function getElementByClass(theClass) {

	//Create Array of All HTML Tags
	var allHTMLTags=document.getElementsByTagName("*");

	//Loop through all tags using a for loop
	for (i=0; i<allHTMLTags.length; i++) {

		//Get all tags with the specified class name.
		if (allHTMLTags[i].className==theClass) {

			//Place any code you want to apply to all
			//pages with the class specified.
			//In this example is to “display:none;” them
			//Making them all dissapear on the page.

			allHTMLTags[i].style.display='none';

		}
	}
}
