 	var curItem = 0;
	var maxItem = 0;
	var nextToLoad = 0;
	var answers = new Array(6);
	var loadLock = 0;
	var shaftType = 1; //1-wood 2-iron

function showAlabama(){
		new Ajax.Updater('AlabamaText', 'state.php', {
			parameters:	{ info: 'alabama' },
			onComplete: function(){
				Effect.Appear('alabama', {
					from:0.0,
					to: 0.9,
					duration: 0.2
				});
				Effect.Appear('coverAll', {
					from:0.0,
					to: 0.2,
					duration: 1.0
				});				
 			}
		});	


	}
	
	function closeAlabama(){
		Effect.Fade('coverAll', {
			from:0.2,
			to: 0.0,
			duration: 0.2
		});
		Effect.Fade('alabama', {
			from:0.9,
			to: 0.0,
			duration: 0.2
		});
	}
	
	function showMaterials(){
		new Ajax.Updater('materialsText', 'info.php', {
			parameters:	{ info: 'materials' },
			onComplete: function(){
			Effect.Appear('materials', {
				from:0.0,
				to: 0.9,
				duration: 0.2
			});
			Effect.Appear('coverAll', {
				from:0.0,
				to: 0.2,
				duration: 1.0
			});			
 			}
		});		


	}
	
	function closeMaterials(){
		Effect.Fade('coverAll', {
			from:0.2,
			to: 0.0,
			duration: 0.2
		});
		Effect.Fade('materials', {
			from:0.9,
			to: 0.0,
			duration: 0.2
		});
	}


