function changeRe(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] = "new";
objId[1] = "10";
objId[2] = "9.5";
objId[3] = "9";
objId[4] = "8.5";
objId[5] = "8";
objId[6] = "7.5";
objId[7] = "7";
objId[8] = "6.5";
objId[9] = "6";
objId[10] = "5.5";
objId[11] = "5";
objId[12] = "4.5";
objId[13] = "4";
objId[14] = "3.5";
objId[15] = "3";
objId[16] = "2.5";
objId[17] = "2";
objId[18] = "1.5";
objId[19] = "1";
//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;	
}
