how do you change a scene with a collision object?

I have tried in different ways but none of them work for me. i use this code but i dont know what i am doing wrong:

Function OnCollisionEnter(collision : Collision)
{
    if (collision.gameObject.tag == "Player") {
        Application.LoadLevel ("1");
    }
}

How About This Script :

Function OnTriggerEnter(hit : Collision)

{

   if (hit.gameObject.tag == "Player") </p>

{Application.LoadLevel ("1");}

}

then make the object your trying to collide with a trigger. it works for me.