// admin utils:

// textarea limitter:
function limit(what,count) {
	if (what.value.length < count) return true;
	return false;
	}

function busy(what) {
	var indicator = $(what+'_indicator');
	var h = Element.getHeight(indicator.parentNode);
	indicator.style.height=h+'px';
	Element.show(indicator);
	}

function done(what) {
	Element.hide(what+'_indicator');
	}

function fillelement(what) {
	return function(t) 	{	
		$(what).innerHTML = t.responseText;
		}
	}

function fill(what, t) { $(what).innerHTML = t.responseText; }

