function toggleBox(box){
	
	// display or hide the component
	new Effect.toggle($(box), 'appear', {duration:0.5});

	// save the state of the box in the SESSION
	new Ajax.Request('_design/common/ajax/ajax_updateBoxManagementSession.php?box='+box, {
		method: 'get'
	});
	
	return false;
}



window.onload = function(){
	
	blur_link();
	
	var i;
	for(i=0 ; i<boxes.length ; i++){
		if($(boxes[i])){
			$(boxes[i]).style.display = 'none';
		}	
	}
}
