
				return false;
			if (typeof(opts.debug) != "undefined")
				oOptsContainer.debug = opts.debug ? true : false;
			if (typeof(opts.trace) != "undefined")
				oOptsContainer.trace = opts.trace ? true : false;
			if (typeof(opts[sAxes]) != "undefined") {
				if (!oOptsContainer[sAxes])
					oOptsContainer[sAxes] = {};
				for (var property in opts[sAxes])
					if (opts[sAxes].hasOwnProperty(property))
						oOptsContainer[sAxes][property] = opts[sAxes][property];
			}
			return true;
		},
		"focusAction": function(sObj, sText) {
			var oInstance = this;
			var oElem = $(sObj);
			if (!sText)
				sText = oElem.val();
			oElem.val(sText).data("text", sText);
			oElem.focus(function() {
				if (this.value == $(this).data("text"))
					this.value = "";
			}).blur(function() {
				if (this.value == "")
					this.value = $(this).data("text");
			});
		},
		"postToBlog": function(sObj, sLink) {
			var oElem = $(sObj);
			if (sLink != '') {
				oElem.attr("href", sLink).attr("target", "_blank");
			} else {
				var oText = $("#postToBlog");
				oElem.click(function(e) {
					e.preventDefault();
					if (!oElem.data("isHinted")) {
						oText.show().find("textarea").select();
						oElem.data("isHinted", true);
					} else {
						$("#postToBlog").hide();
						oElem.data("isHinted", false);
					}
				}).data("isHinted", false)
			}
		},
		"setStatHooks": (function() {
			var called = false;
			return function() {
				if (!called) {
					called = true;
					$(document).on('click', 'a[data-hash]', function(e) {
						var el = $(this);
						var hash = el.attr('data-hash').toString();
						if (hash.match(/~/)) {
							$.getJSON('http://www.tut.by/stat/extlink?jsoncallback=?', {
								'src': window.location.toString(),
								'dst': el.attr('href').toString(),
								'hash': hash,
								'text': el.text(),
								'uuid': new Date().getTime()
							});
						}
						return true;
					});
				}
			}
		})(),
		"authorize": function(sLogin, sPassword, callback) {
			if (!sLogin.length || !sPassword.length)
				return 