simple button help

Please help me to correct the code to create and working button:

#pragma strict

var button_x1=120;
var button_y1=0;
var button_x2=100;
var button_y2=100;
var ButtonName = "яндекс";

private var

function OnGUI() {

	if (GUI.Button (Rect (button_x1,button_y1,button_x2,button_y2), ButtonName)){
		
		Application.OpenURL("http://ya.ru");;
	}
}

Thank u!

Remove the ‘private var’ and you code will work.