transform.lookat axis switch during rotation

Hello, help please:

Please have a look at this video:

http://www.youtube.com/watch?v=waBAPVVH21k

The blue cubus rotates around the orange one and has a tranform lookat script. As you can see, the axis switches suddenly by 180. How can this be avoided?

Here is the lookatscript:

var myTransform : Transform;
//var target : Transform;

function Update () {

transform.LookAt(myTransform);
//~ var relativePos = target.position - transform.position;
//~ var rotation = Quaternion.LookRotation(relativePos);
//~ transform.rotation = rotation;

}

Thanks for helping

try using the objects up vector instead of the default world up vector.

var myTransform : Transform;

function Update () 
{
    transform.LookAt(myTransform, transform.up);
}