/** * Spry Effect ** */

function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter) {
	Spry.Effect.DoGrow(targetElement, {
		duration : duration,
		from     : from,
		to       : to,
		toggle   : toggle,
		referHeight : referHeight,
		growCenter  : growFromCenter
	});
}
// onclick="MM_effectGrowShrink('left_nav', 200, '100%', '0%', true, false, false)"

function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

/*** blur ***/

function blurIt(tag) {
	arr = document.getElementsByTagName(tag);
	for (i = 0; i < arr.length; i++) {
		if (!arr[i].blur) return;
		arr[i].onfocus = function() {
			this.blur();
		}
	}
}

function goUrl(url){
	document.location.href=url;
	return true;
}