var div_instructions = "frm_el_instructions";
var div_instructions_top = -22;
var div_instructions_left = 10;

function frm_init_instructions()
{
	var check = accessObj(div_instructions);
	if (isNull(check))
	{
		document.write("<div id=\""+div_instructions+"\"></div>");
		hide_div(div_instructions);
	}
}

function frm_show_instructions(el, text)
{
	if (text != "")
	{
		var pos = get_screen_pos(el);
		var obj = accessObj(div_instructions);
		obj.innerHTML = '<div class=\"frm_el_description\">' + text + '</div>';
		set_screen_pos(obj, pos[0]+el.clientWidth+div_instructions_left, pos[1]+pos[2]+div_instructions_top);
		show_div(div_instructions);
	}
	else
	{
		hide_div(div_instructions);
	}
}

function close()
{
    hide_div(div_instructions);
}
