function fadeIn(elm) {
	var e=$(elm);
	Element.show('info_background');
	var interval = setInterval(function() {
		var t = e.style.opacity*100;
		if (t < 95) {
			t = t+10;
			e.style.opacity = t/100;
			e.style.filter = "alpha(opacity="+t+")";		
			e.style.mozOpacity = 1/100;
		} else {
			
			Element.show('info_content');
			clearInterval(interval);
		}
	}, 15);
}

function fastFadeOut(elm) {
	e = $('info_background');
	e.style.opacity = '0';
	e.style.filter = "alpha(opacity=0)";		
	e.style.mozOpacity = '0';
	Element.hide('info_background');
}

function grow(elmStr) {
	var e=$(elmStr);
	//Element.show('info_background');
	var interval = setInterval(function() {
		var t = parseInt(e.style.height.replace(/px/,''));
		console.log(t);
		if (t < 75) {
			t = t+15;
			e.style.height = t+"px";
			
		} else {
			
			//Element.show('info_content');
			clearInterval(interval);
		}
	}, 10);
}
