// Global Variables
		var current_month = "08";  // Current month for archive feature. Valid values are 01-12.
		
		// Initialization Function
		function init(){
			if(document.images.limitorderIMG){document.images.limitorderIMG.src = "/images/orderex/limitorder_" + current_month + ".png";}
			if(document.images.priceimprovementIMG){document.images.priceimprovementIMG.src = "/images/orderex/priceimprovement_" + current_month + ".png";}
			if(document.images.atorbetterIMG){document.images.atorbetterIMG.src = "/images/orderex/atorbetter_" + current_month + ".png";}
		if(document.images.speedIMG){document.images.speedIMG.src = "/images/orderex/speed_" + current_month + ".png";}
		if(document.images.effectivequotedIMG){document.images.effectivequotedIMG.src = "/images/orderex/effectivequoted_" + current_month + ".png";}
		//////////////////////////////////////////////////////SPEED CHART////////////////////////////////////////////////////////////////////////////
		//																																		   //
		//The speed image is always a month ahead of other charts so the code below will need to be updated as well and the current_month in line 2//
		//																																		   //	
				if(document.images.fivesecondsIMG){document.images.fivesecondsIMG.src = "/images/orderex/fiveseconds_09" + ".png";}
		//																																		   //
		//////////////////////////////////////////////////////SPEED CHART////////////////////////////////////////////////////////////////////////////
		if(document.images.marketablelimitIMG){document.images.marketablelimitIMG.src = "/images/orderex/marketablelimit_" + current_month + ".png";}
		}
		
		function chgImg(imgName) {
			// Convert the string passed in to a form object
			selectedMonth = eval("document.forms." + imgName);
			// Get the value of the selected month from the form object (01-12 or current)
			selectedMonth = selectedMonth.month[selectedMonth.month.selectedIndex].value;
				
			if(selectedMonth != "none") {
				// If current month is selected, plug in the value set in current_month variable
				if(selectedMonth == "current") {
					selectedMonth = current_month;
				}
				// Display the image that corresponds to the selected month
				index = imgName + "IMG";
				document.images[index].src = "/images/orderex/" + imgName + "_" + selectedMonth + ".png";
				window.focus();
			}
			// If the value is "none," alert the user and do nothing
			else {
				alert("Please select a month to view.");
				return;
			}
		}
			 
		window.onload = init;	