this dosent just load the next level but you dont need a seporate script for each level
function Update () {
if (Input.GetKey ("1"))
Application.LoadLevel ("1");
if (Input.GetKey ("2"))
Application.LoadLevel ("2");
if (Input.GetKey ("3"))
Application.LoadLevel ("3");
if (Input.GetKey ("m"))
Application.LoadLevel ("menu");
}