Application.LoadLevel Variable.

Hey. If I have an Application.loadlevel, and I want to make it a var, for instance,

var isQuitButton = false;
Var Level ?;

function OnMouseEnter()
{
	// To change the mouse over color, change "red" to a different color.
	renderer.material.color = Color.red;
}


function OnMouseExit()
{
	//To change the normal Color, change "white" to a different color.
	renderer.material.color = Color.white;
}

function OnMouseUp()
{
	//Is it a quit button?
	if( isQuitButton )
	{
		// Activate Quit.
		Application.Quit();
	}
	else
	{
		//Load Any Other Level.
		Application.LoadLevel ( Level );
	}
}

What would I make var level be? like var level transform?

You can make it a string or int.

Application.LoadLevel

This is what I get when I do that:

Assets/MenuControl.js(28,39): BCE0023: No appropriate version of ‘UnityEngine.Application.LoadLevel’ for the argument list ‘(System.Type)’ was found