UIHint = {
	setup : function (params){
		var but = document.getElementById(params.button) || document.getElementsByName(params.button)[0];
			but.onclick = function () { UIHint.show(this,200,50); }
	},
	popup : null,
	show : function(el,h,w){
		
		UIPopup.onInit = function (){
			if(UIPopup.type == "POPUP")
			UIPopup.popup.document.write("\
				<body scroll=\"no\" style=\"border-style:none;margin:0px;\">\
					<div style=\"background:#f5f5f5; padding:5px; height:100%; border:1px solid #ccc; font:11px Tahoma;\">Here can be hint</div>\
				</body>\
				");
			 else UIPopup.popup.document.innerHTML = "\
			 	<div style=\"background:#f5f5f5; padding:5px; height:100%; border:1px solid #ccc; font:11px Tahoma;\">Here can be hint</div>\
				";
		}
		
		this.popup = UIPopup.getInstance();
		
		if(UIPopup.type == "POPUP")
		{
			this.popup.show(0, 0 + el.offsetHeight, 0, 0, el);
			this.popup.hide();
		}
		
		this.popup.show(0, el.offsetHeight, h, w, el);
		
	}
};