			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] = "pic_a";
				objId[1] = "pic_b";
				objId[2] = "pic_c";
				objId[3] = "pic_d";
				objId[4] = "pic_e";
				objId[5] = "pic_f";
				objId[6] = "pic_g";
				objId[7] = "pic_h";
				objId[8] = "pic_i";
				objId[9] = "pic_j";
				//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;
			}

			
			
			
			var revert = new Array();
			var inames = new Array('header', 'portfolio', 'about', 'contact', 'thumb_a', 'thumb_b', 'thumb_c', 'thumb_d', 'thumb_e', 'thumb_f', 'thumb_g', 'thumb_h', 'thumb_i', 'thumb_j', 'portfolio_c', 'about_a', 'contact_b', 'portfolio_b', 'about_c', 'contact_a', 'portfolio_a', 'about_b', 'contact_c');

			// Preload
			if (document.images) {
			  var flipped = new Array();
			  for(i=0; i< inames.length; i++) {
				flipped[i] = new Image();
				flipped[i].src = "images/"+inames[i]+"2.png";
			  }
			}

			function over(num) {
			  if(document.images) {
				//if(objName) {
					revert[num] = document.images[inames[num]].src;
				//}
				document.images[inames[num]].src = flipped[num].src;
			  }
			}
			function out(num) {
			  if(document.images) document.images[inames[num]].src = revert[num];
			}