An instance of type 'UnityEngine.Transform' is required to access non static member 'rotation'?

The error listed above keeps appearing, no matter what I try… This is the code:

function Start () {
}
var smooth = 5.0;
var tiltAngle = 30.0;
function Update () 
{
	var halfW : float = Screen.width/4.5;
	transform.position.x = (Input.mousePosition.x -halfW) /halfW;

	// Smoothly tilts a transform towards a target rotation .
	var tiltAroundZ = Input.GetAxis("Mouse X") * tiltAngle * 2;
	var tiltAroundX = Input.GetAxis("Mouse Y") * tiltAngle * 2;
	var target = Quaternion.Euler (tiltAroundX, 0, tiltAroundZ);
	//Dampen towards the target rotation
	transform.rotation = Quaternion.Slerp(Transform.rotation,
		target,Time.deltaTime * smooth);
}

Line 15:

transform.rotation = Quaternion.Slerp(Transform.rotation, target, Time.deltaTime * smooth);

Should be:

transform.rotation = Quaternion.Slerp(transform.rotation, target, Time.deltaTime * smooth);

Transform is the class, transform is the variable referencing an instance.