function ShowHide(divid, po){
	document.getElementById('pa_form').style.display = '';

	if(divid == 'new_topic'){
		document.getElementById('pa_mode').value = 'pt';
		document.getElementById('pa_button').value = 'Создать';
		document.getElementById('pa_caption').style.display = '';
		document.getElementById('pa_title').innerHTML = '<img src=\'http://forum.sigeon.ru/style_images/ip.boardpr1190284994/nav_m.gif\' border=\'0\' alt=\'&gt;\' width=\'8\' height=\'8\' />&nbsp;Новая тема';
	}else if (divid == 'post_answer'){
		document.getElementById('pa_mode').value = 'pa';
		document.getElementById('pa_button').value = 'Ответить';
		document.getElementById('pa_caption').style.display = 'none';
		document.getElementById('pa_title').innerHTML = '<img src=\'http://forum.sigeon.ru/style_images/ip.boardpr1190284994/nav_m.gif\' border=\'0\' alt=\'&gt;\' width=\'8\' height=\'8\' />&nbsp;Новое сообщение';
	}else if (divid == 'add_reply'){
		document.getElementById('pa_mode').value = 'pma';
		document.getElementById('po').value = po;
		document.getElementById('pa_button').value = 'Ответить';
		document.getElementById('pa_caption').style.display = 'none';
		document.getElementById('pa_title').innerHTML = '<img src=\'http://forum.sigeon.ru/style_images/ip.boardpr1190284994/nav_m.gif\' border=\'0\' alt=\'&gt;\' width=\'8\' height=\'8\' />&nbsp;Ответить в сообщение';
	}
}