I managed to get the button to load a new game working by looking at the other examples people have posted...I can get from the main menu into the level I've built and the mouse cursor disappears...however the panels I used for the main menu are still there.

How would I go about getting rid of the main menu panels after the new game has loaded?

My current function for the level load looks like this:

---

function loadlvl()
{
level_load(str_level_1);
wait(5);
mouse_map=off;
mouse_mode=off;
}

---