Touch menu for android

hi guys i got this good piece of code for pc but now i don’t know at all how this should
be made for android, i tested on my android device and it doesn’t do anything, could someone say what i should change so that it would work on an android device? ty in advance

-------Code---------

var isQuitButton = false;

function OnMouseUp()

{

//quit button?

if(isQuitButton)

{

	//quit

	Application.Quit();

}

else

{

	//load level

	Application.LoadLevel(1);

}

}

public var quitRect : Rect;

function OnGUI()
 if(GUI.Button(quitRect,"Quit"))
    {
      Application.Quit();
    }