Trouble with Open/Close Door Script

i have been having alot of issues with my first script. I am on the last part of my script but for some reason it keeps saying "unknown identifier : ‘currentDoor’ line 13

private var doorIsOpen : boolean = false; 
private var doorTimer : float = 0.0; 
private var currentdoor : GameObject; 

var doorOpenTime : float = 3.0; 
var doorOpenSound : AudioClip; 
var doorShutSound : AudioClip; 
function Update () { 
	if(doorIsOpen) {
		doorTimer += Time.deltaTime;
		
		if(doorTimer > 3) {
			Door(doorShutSound, false, "doorshut", currentDoor) ;
			doorTimer = 0.0;
			}
		}
} 


function OnControllerColliderHit (hit : ControllerColliderHit) { 
 if (hit.gameObject.tag == "outpostDoor"  doorIsOpen == false) { 
  currentDoor = hit.gameObject;
  Door(doorOpenSound, true, "dooropen", currentDoor);
 } 
} 

function OpenDoor () { 
	audio.PlayOneShot (doorOpenSound) ; 
	doorIsOpen =  true ;
	var myOutpost : GameObject = GameObject.Find("outpost") ;
	myOutpost.animation.Play("dooropen") ;
}
function shutDoor() {
audio.PlayOneShot(doorShutSound) ;
doorIsOpen = false;

var myOutpost : GameObject = GameObject.Find("outpost") ;
myOutpost.animation.Play("doorshut") ;
} 
function Door(aClip : AudioClip, openCheck : boolean, animName :
String, thisDoor : GameObject) {
	audio.PlayOneShot(aClip) ;
	doorIsOpen = openCheck;
	
	thisDoor.transform.parent.animation.Play(animName) ;
}

you’ve defined it at the top as ‘currentdoor’ but you’re referring to it through the script as ‘currentDoor’

Make sure you’ve got the same capitalisation all the way through.