 				parallel.pause();
 			
 			parallel = new Parallel();
-			parallel.duration = 1000;
+			parallel.duration = effectDuration;
 			
 			var a:Array = new Array(); // Used to re-order the items array.
 			a[dropIndex] = currentDragPod;

	{
		var pod:Pod = Pod(e.currentTarget);
		maximizeParallel = new Parallel();
		maximizeParallel.duration = 1000;
		addResizeAndMoveToParallel(pod, maximizeParallel, availablePodWidth, availableMaximizedPodHeight, 0, 0);
		maximizeParallel.play();
		

		if (tween)
		{
			parallel = new Parallel();
			parallel.duration = effectDuration;
		}
		
		// Layout the pods.
