	/* =================================================================
	//	Âü    Á¶: °øÅë ½ºÅ©¸³Æ®
	//	ÀÛ ¼º ÀÏ: 2006.06.14
	================================================================= */

	// board
	function textarea_resize(id) {
		var u = document.add_form;
		if (id == 0) u.content.rows = 10;
		if (id == 1) u.content.rows += 5;
		if (id == 2) {
			if (u.content.rows-5>0) u.content.rows -= 5;
		}
	} // end func

	// comment
	function cmt_textarea_resize(id) {
		var u = document.comment_write;
		if (id == 0) u.content.rows = 5;
		if (id == 1) u.content.rows += 5;
		if (id == 2) {
			if (u.content.rows-5>0) u.content.rows -= 5;
		}
	} // end func

	// calendar
	function cal_opener(id){
		window.open('./calendar.php?cps='+id+'','gmBoard_opener','width=155,height=140,scrollbars=no,toolbar=no,menubar=no');
	} // end func

	// Font plus
	function fontplus(){
		var u = document.getElementById('ContentsFont');
		var fontBig = parseInt(u.style.fontSize ? u.style.fontSize : '9pt');

		if (fontBig < 25){
			u.style.fontSize = (fontBig + 1) + 'pt';
			u.style.lineHeight = '100%';
		}
	} // end func

	// Font minus
	function fontminus(){
		var u = document.getElementById('ContentsFont');
		var fontSmall = parseInt((u.style.fontSize ? u.style.fontSize : '6pt').replace('pt',''));

		if (fontSmall > 4){
			u.style.fontSize = (fontSmall - 1) + 'pt';
			u.style.lineHeight = '100%';
		}
	} // end func
