Help with Slerp

I have found this script on the forum and I want my camera to animated spherically to the right. But it currently animates vertically. The 2 locations are 0,13,20 and 0,13,-20. Can anybody help?

function TransformBetweenPosition (myTransform : Transform, myOrigin : Vector3, myDestination : Vector3, mySpeed : float) {
   var dist : float = Vector3.Distance(myOrigin, myDestination);
   var rate : float = dist / mySpeed;
   for (i = 0.0; i < 1.0; i +=  rate / dist * Time.deltaTime ) {
      myTransform.position = Vector3.Slerp(myOrigin, myDestination, i);
      yield;
	}
}

It takes the shortest route, which in that case would be above. Maybe you could go to an intermediate point between the two other points.