I am trying to disable moue look during my pause menu!

This is my script and i put the mouse look script in function start! Unity says that ‘enable’ is not a member of ‘UnityEngine.Component’. how do i fix it please help!

#pragma strict
 
var paused : boolean;
var myString : String = "Mute";
var Mute : boolean;
var guiSkin : GUISkin;
 
function Start () {
		if (Input.GetButtonUp("Esc"))
	GetComponent("MouseLook").enable = false;
		else if (Input.GetButtonUp("Esc"))
	GetComponent("MouseLook").enable = true;
}
 
function Update () {
 
    if(Input.GetKeyDown("escape")){
         paused = !paused;
       }
 
       if(paused)
         Time.timeScale = 0;
       else
         Time.timeScale = 1;
 
 
         if (Mute == true){     
       gameObject.GetComponent(AudioListener).enabled = false;   
    }
    else{
       gameObject.GetComponent(AudioListener).enabled = true;
    }
    	
 
}
 
// JavaScript
var icon : Texture2D;
 
//var frameStyle : GUIStyle;
 
function OnGUI () {
 
       GUI.skin = guiSkin;
 
    if(paused){
 
//   GUI.Box (Rect (10,10, 100, 50), icon, frameStyle);
 
       if (GUI.Button (Rect (Screen.width/2 - 150,Screen.height/2 - 150, 250, 150), "MainMenu")) {
         Application.LoadLevel("MainMenu");
              Time.timeScale = 1;
       }
 
       if (GUI.Button (Rect (Screen.width/2 - 150,Screen.height/2,250,150), "Restart")) {
         Application.LoadLevel("Game");
              Time.timeScale = 1;
       }
 
       if (GUI.Button (Rect (Screen.width/2 - 150,Screen.height/2 + 150,250,150), myString)) {
         if (myString == "Mute"){
         myString = "Unmute";
         Mute = true;
         }
 
         else{
         myString = "Mute";
         Mute = false;
         }
       }
      }
}

The solution is to remove the quotation marks from the GetComponent() call:

GetComponent(MouseLook).enabled = false;

When you pass a string parameter to GetComponent(), the compiler does not know the type of the component, so it default to the base class of Component. Monobehaviour is derived from Behaviour which is derived from Component. The enable flag is part of Behavior, so it does not exist on a Component.

Genuinely saying, even if you change it to as robertbu said, it won’t disable your mouse look script.
The logic is wrong.
Start() function runs only once.
add this snipet to the update function:

GetComponent("MouseLook").enabled = paused;

This will toggle your mouse look.