var gEl = '';

function showHide (el, delay, col_start, col_end)
{
	if ($(el) != undefined)
	{
		gEl = el;
		delay = delay != undefined ? delay : 7;
		col_start = col_start != undefined ? col_start : '#ffe99c';
		col_end = col_end != undefined ? col_end : '#ff9b00';
		
		new Effect.Highlight (el, {startcolor:col_start, endcolor:col_end, duration:2});

		setTimeout (function ()
		{
			$(gEl).fade ();
			Effect.BlindUp (gEl, {duration:0.5, afterFinish:function () { $(gEl).hide(); }})
		},
		delay * 1000);
	}
}

