function sort(form, sel) { addr = sel.options[sel.selectedIndex].value; window.location.href = addr; } function insertCode(text) { document.message.comment.value += text; document.message.comment.focus(); } // messages bold_howto = "太文字にします。: [b]文章[/b] (alt+b)"; italic_howto = "文章を斜体にします。: [i]文章[/i] (alt+i)"; under_howto = "下線を引きます。: [u]文章[/u] (alt+u)"; img_howto = "画像を表示します。URLを記入: [img] http://url_of_image [/img] (alt+g)"; color_howto = "文字の色を変えます: [color=red]文章[/color]"; size_howto = "文字のサイズを変えます: [size=12]文章[/size]"; function codeHowTo(text) { //document.message.help.value = "太文字にします。: [b]文章[/b] (alt+b)"; document.message.help.value = eval(text + "_howto"); }