		//this file sets the image loading  punit
		
		
		var preloaded = [];



		function init() {
					if (mtDropDown.isSupported()) {
					//changed by aman
				mtDropDown.initialize();
   		        	menu1.onactivate = function() { swapImage("button1", "images/pb1_a.gif") };
				menu1.ondeactivate = function() { swapImage("button1", "images/pb1.gif") };

			
				menu2.onactivate = function() { swapImage("button2", "images/pb2_a.gif") };
				menu2.ondeactivate = function() { swapImage("button2", "images/pb2.gif") };

				menu3.onactivate = function() { swapImage("button3", "images/pb3_a.gif") };
				menu3.ondeactivate = function() { swapImage("button3", "images/pb3.gif") };



				menu5.onactivate = function() { swapImage("button5", "images/pb5_a.gif") };
				menu5.ondeactivate = function() { swapImage("button5", "images/pb5.gif") };
				//changed by punit
				menu6.onactivate = function() { swapImage("button6", "images/pb6_a.gif") };
				menu6.ondeactivate = function() { swapImage("button6", "images/pb6.gif") };			
			}
		}


	
		function swapImage(imgName, sFilename) {
			document.images[imgName].src = sFilename;
		}