function FindElement(sId) {
	var o = null;
	if (document.getElementById)
		o = document.getElementById(sId);
	if(!o && document.all)
		o = document.all[sId];
	if(!o && document.layers)
		o = document.layers[sId];
	return o;
}

function openEventEdit(url, nimi) {
	var handle = window.open(url, nimi, "width=850,height=560,resizable=no,toolbar=no,status=no,location=no,titlebar=no");
	//if (!handle.opener) handle.opener = self;
	//childHandle = handle;
	//handle.focus();
	return false;
}
