// JavaScript Document
function concepts(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] = "aimage1";
objId[1] = "aimage2";
objId[2] = "aimage3";
objId[3] = "aimage4";
objId[4] = "aimage5";
objId[5] = "aimage6";
objId[6] = "aimage7";
objId[7] = "aimage8";
objId[8] = "aimage9";
objId[9] = "aimage10";
objId[10] = "aimage11";
objId[11] = "aimage12";
objId[12] = "aimage13";
objId[13] = "aimage14";
objId[14] = "aimage15";
objId[15] = "aimage16";
objId[16] = "aimage17";
objId[17] = "aimage18";
objId[18] = "aimage19";
objId[19] = "aimage20";
objId[20] = "aimage21";
objId[21] = "aimage22";
objId[22] = "aimage23";
objId[23] = "aimage24";
objId[24] = "aimage25";
objId[25] = "aimage26";
objId[26] = "aimage27";
objId[27] = "aimage28";
objId[28] = "aimage29";
objId[29] = "aimage30";

//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;	
}



// JavaScript Document
function commissions(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] = "bimage1";
objId[1] = "bimage2";
objId[2] = "bimage3";
objId[3] = "bimage4";
objId[4] = "bimage5";
objId[5] = "bimage6";
objId[6] = "bimage7";
objId[7] = "bimage8";
objId[8] = "bimage9";
objId[9] = "bimage10";
objId[10] = "bimage11";
objId[11] = "bimage12";
objId[12] = "bimage13";
objId[13] = "bimage14";
objId[14] = "bimage15";
objId[15] = "bimage16";
objId[16] = "bimage17";
objId[17] = "bimage18";
objId[18] = "bimage19";
objId[19] = "bimage20";
objId[20] = "bimage21";
objId[21] = "bimage22";
objId[22] = "bimage23";
objId[23] = "bimage24";
objId[24] = "bimage25";
objId[25] = "bimage26";
objId[26] = "bimage27";
objId[27] = "bimage28";
objId[28] = "bimage29";
objId[29] = "bimage30";
objId[30] = "bimage31";
objId[31] = "bimage32";
objId[32] = "bimage33";
objId[33] = "bimage34";
objId[34] = "bimage35";
objId[35] = "bimage36";
objId[36] = "bimage37";
objId[37] = "bimage38";
objId[38] = "bimage39";
objId[39] = "bimage40";
objId[40] = "bimage41";
objId[41] = "bimage42";
objId[42] = "bimage43";
objId[43] = "bimage44";
objId[44] = "bimage45";
objId[45] = "bimage46";
objId[46] = "bimage47";
objId[47] = "bimage48";
objId[48] = "bimage49";
objId[49] = "bimage50";
objId[50] = "bimage51";
objId[51] = "bimage52";
objId[52] = "bimage53";
objId[53] = "bimage54";
objId[54] = "bimage55";
objId[55] = "bimage56";
objId[56] = "bimage57";
objId[57] = "bimage58";
objId[58] = "bimage59";
objId[59] = "bimage60";
objId[60] = "bimage61";

//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;	
}



// JavaScript Document
function collections(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] = "cimage1";
objId[1] = "cimage2";
objId[2] = "cimage3";
objId[3] = "cimage4";
objId[4] = "cimage5";
objId[5] = "cimage6";
objId[6] = "cimage7";
objId[7] = "cimage8";
objId[8] = "cimage9";
objId[9] = "cimage10";


//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;	
}

