var TipFriend = {
	zone : undefined,

	openDialog : function (pageKey) {
		if(!this.zone) {
			this.getZone();
		}
		this.getResponse({ action : "open", pageKey : pageKey });
	},

	closeDialog : function() {
		Element.update(this.zone, "");
	},

	getResponse : function (params) {
		params = $H(params);
		params.set("appname", "ferd");
		params.set("appmode", "/tipFriend");
		getAjaxForMap(params);
	},

	getZone : function () {
		return this.zone = getZone("tipFriend");
	},

	send : function (el) {
		el.onclick = function() {
			return false;
		}
	}



};