function moveAscriboDown( node )
{
	var y = 30;	
	var si = setInterval(function(n)
	{
		 node["top"] = 30 - (y = y/1.5);		 
		 if (y < 2)
		 {
		 	node["top"] = 30;
		 	clearInterval(si);		 	
		 }
	}, 20, node);
}

function moveAscriboUp( node )
{
	var y = 30;	
	var si = setInterval(function(n)
	{
		 node["top"] = y = y/1.5;		 
		 if (y < 2)
		 {
		 	node["top"] = 0;
		 	clearInterval(si);		 	
		 }
	}, 20, node);
}

function MODE_UPLOAD(sess) 
{
	node = document.getElementById("flashLayer");
	if( node.style ) 
		moveAscriboDown(node.style);
	else
		window.alert('Nothing works in this browser');
		
	window.document.upload.action=window.document.upload.action+"?uploadSESSION="+sess;
}

function MODE_ASCRIBO()
{
	node = document.getElementById("flashLayer");
	if( node.style )
		moveAscriboUp(node.style);
	else
		window.alert('Nothing works in this browser');
}
