
function show_box(id) {
	box = document.getElementById(id);
	if (box) {
			box.style.visibility = 'visible';
		};
}

function hide_box(id) {
	box = document.getElementById(id);
	if (box) {
		box.style.visibility = 'hidden';
	};
}

function create_help_box(box_id, help_code, box_width) {
	document.open();
	document.write('<a href="./" class="form_help_link" onclick="show_box(\''+box_id+'\'); return false;">(?)</a>');
	document.write('<div class="form_help_box" style="width: '+box_width+'px;" id="'+box_id+'">');
	document.write('<div style="text-align: right;"><a href="./" class="form_help_link" onclick="hide_box(\''+box_id+'\'); return false;"><img src="/images/call/close.gif" width="15" height="13" border="0" alt=""></a></div>');
	document.write('<p>'+help_code+'</p>');
	document.write('</div>');
	document.close();
}

