Help Please!

Its me again, today with a very simple script: changing levels with “OnTriggerEnter”… but it isnt as simple as it looks like… its showing any different compiler errors when i save this script:

function Update () {
function OnTriggerEnter () {
Application.LoadLevel (“Scene1”);
}
}

You run OnTriggerEnter in Update? Thats not working!

function Update ()
{
}
function OnTriggerEnter () 
{ 
Application.LoadLevel ("Scene1"); 
 }