function changeIt(imageCount,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();

	var strImage = "image";
	//Storing the image IDs into the array starts here
	for(i=1;i<imageCount;i++)
	{
		objId[i] = strImage.concat(i);
	}

	//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;

	for(i=1;i<objId.length;i++)
	{
		if(objName == objId[i])
		{
			obj.style.display = "block";
		}
		else
		{
			tempObj = document.getElementById(objId[i]);
			tempObj.style.display = "none";	
		}
	}
	return;	
}