// JavaScript Document<script type="text/javascript">
function changeIt(objName)
{
	//The image object accessed through its id we mentioned in the DIV block which is going to be visible currently
	var obj = document.getElementById(objName);
	
	//An array that hold the IDs of images that we mentioned in their DIV blocks
	var objId = new Array();
	
	//Storing the image IDs into the array starts here
	objId[0] = "ali1";
	objId[1] = "ali2";
	objId[2] = "ali3";
	objId[3] = "sidetrack1";
	objId[4] = "sidetrack2";
	objId[5] = "image1";
	objId[6] = "cristal1";
	objId[7] = "cristal2";
	objId[8] = "tiarella1";
	objId[9] = "tiarella2";
	objId[10] = "tiarella3";
	objId[11] = "jaden1";
	objId[12] = "jaden2";
	objId[13] = "jaden3";
	objId[14] = "jaden4";
	objId[15] = "sidetrack1";
	objId[16] = "sidetrack2";
	objId[17] = "senses1";
	objId[18] = "senses2";
	objId[19] = "tnaconcept1";
	objId[20] = "tnaconcept2";
	objId[21] = "spe1";
	objId[22] = "spe2";
	objId[23] = "spe3";
	objId[24] = "spe4";
	objId[25] = "haiti1";
	objId[26] = "haiti2";
	objId[27] = "haiti3";
	objId[28] = "dream1";
	objId[29] = "dream2";
	objId[30] = "rn1";
	objId[31] = "rn2";
	objId[32] = "rn3";
	objId[33] = "fap1";
	objId[34] = "fap2";
	objId[35] = "mm1";
	objId[36] = "mm2";
	objId[37] = "mm3";
	objId[38] = "mm4";
	objId[39] = "fallofnov1";
	objId[40] = "fallofnov2";
	objId[41] = "sunday1";
	objId[42] = "sunday2";
	objId[43] = "sunday3";
	objId[44] = "sun1";
	objId[45] = "sun2";
	objId[46] = "sun3";
	objId[47] = "sun4";
	objId[48] = "fap3";
	objId[49] = "lover1";
	objId[50] = "lover2";
	objId[51] = "twitter";
	objId[52] = "mail1";
	objId[53] = "gary1";
	objId[54] = "gary2";
	
	//Storing the image IDs into the array ends here
	
	//A counter variable going to use for iteration
	var i;
	
	//A variable that can hold all the other object references other than the object which is going to be visible
	var tempObj;
	
	//The following loop does the display of a single image based on its ID. The image whose ID we passed into this function will be the
	//only image that is displayed rest of the images will be hidden based on their IDs and that part has been handled by the else part
	//of the if statement within this loop.
	for(i=0;i<objId.length;i++)
	{
		if(objName == objId[i])
		{
			obj.style.display = "block";
		}
		else
		{
			tempObj = document.getElementById(objId[i]);
			tempObj.style.display = "none";	
		}
	}
	return;	
}
