Camera switching trouble

I'm having trouble switching between two cameras using the code below. If I move 1 camera, the other one moves too. How do I stop this happening?

var cam1 : Camera; var cam2 : Camera;

function Update () {

if(Input.GetKeyDown("1")){          
     cam1.enabled = true;          
     cam2.enabled = false;     
}     

if(Input.GetKeyDown("2")){          
     cam1.enabled = false;         
     cam2.enabled = true;     
}

}

The cameras can not be part of the same transform.

var camera1 : Camera; //Place first camera in the inspector under this variable
var camera2 : Camera; //Place second camera in the inspector under this variable

function Start () { 
   camera1.enabled = true; 
   camera2.enabled = false; 
} 

function Update () { 
   if (Input.GetKeyDown ("2")){ 
      camera1.enabled = false; 
      camera2.enabled = true; 
   } 
   if (Input.GetKeyDown ("1")){ 
      camera1.enabled = true; 
      camera2.enabled = false; 
   }     

That should fix the problem. BTW, this is from the Wiki: http://www.unifycommunity.com/wiki/index.php?title=SwitchCamera