

window.addEvent('domready', function()
{
	var drop = $('large');
	//var dropFx = drop.effect('background-color', {wait: false}); // wait is needed so that to toggle the effect,
	 
	$$('.item').each(function(item)
	{
		item.addEvent('click', function(e)
		{
			drop.removeEvents();
			drop.empty();
			var a = item.clone();
			a.inject(drop);
			//dropFx.start('7389AE').chain(dropFx.start.pass('ffffff', dropFx));
			
		});
	 
	});
	
	
	
	document.getElementById('curritems2').style.display = 'none';
	document.getElementById('curritems3').style.display = 'none';
	
});

window.onload = init;
function init(){
	
}
function currDiv1(e){
	
	if(e = 'one'){
		// Hide all items 
		document.getElementById('curritems').style.display = 'none';
		document.getElementById('curritems3').style.display = 'none';
		// Display Current Item 2
		document.getElementById('curritems2').style.display = 'block';
		
	}
	
	
}
function currDiv2(e){
	
	if(e = 'two'){
		// Hide all items 
		document.getElementById('curritems3').style.display = 'block';
		document.getElementById('curritems2').style.display = 'none';
		document.getElementById('curritems').style.display = 'none';
		
		
	}
	
}

function currDiv3(e){
	
	if(e = 'three'){
		// Hide all items 
		document.getElementById('curritems2').style.display = 'block';
		document.getElementById('curritems').style.display = 'none';
		document.getElementById('curritems3').style.display = 'none';
		
		
	}
	
}

function prev(e){
	
	if(e = '_two'){
		// Hide all items 
		document.getElementById('curritems').style.display = 'block';
		document.getElementById('curritems2').style.display = 'none';
		document.getElementById('curritems3').style.display = 'none';
		
		
	}
	
}
	