How do you switch scenes? PLZ HELP!!!

How do you switch scene with your player when item is triggered
PLZ HELP

function OnTriggerEnter ( other : Collider )
{
if ( other.name == “Player” )
Application.LoadLevel(“NameOfSceneToLoad”);
}

Application.LoadLevel(“”);

Application.LoadLevel(“LevelName”);

Application.LoadLevel(index); // where index is an int

You must first enter the levels in the list in Build Settings.