var _pos =0;
function moveFrame(box,pos){
	_pos = pos;	
	
	
	new Effect.Move(box, { x: pos, y: 0, mode: 'absolute' });
}


function moveReflection(box,pos){
	_pos = pos;	
	
	
	new Effect.Move(box, { x: pos, y: 0, mode: 'absolute' });
}

function toggleImage(box1,box2,box3,box4)
{
box1.style.visibility = 'hidden';
	box2.style.visibility = 'hidden';
	box3.style.visibility = 'hidden';
	new Effect.Opacity(box4, { from: 1, to: 0, duration: 0.0 });
setTimeout(function(){
	
	box4.style.visibility = 'visible';
	new Effect.Opacity(box4, { from: 0, to: 1, duration: 0.5 });
	

box4.style.zIndex=3;
	
	},100);





}
function showImage(box4)
{
box4.style.visibility = 'visible';
new Effect.Opacity(box4, { from: 0, to: 1, duration: 0.9 });
}