function grin(t){var a,e,o,n;if(t=" "+t+" ",!document.getElementById("comment")||"textarea"!=document.getElementById("comment").type)return!1;a=document.getElementById("comment"),document.selection?(a.focus(),(sel=document.selection.createRange()).text=t,a.focus()):a.selectionStart||"0"==a.selectionStart?(e=a.selectionStart,n=o=a.selectionEnd,a.value=a.value.substring(0,e)+t+a.value.substring(o,a.value.length),n+=t.length,a.focus(),a.selectionStart=n,a.selectionEnd=n):(a.value+=t,a.focus())}$(function(){$(document).on("click",".acheader",function(t){var a=$(this);a.closest(".accordion").find(".contents").slideToggle(300),a.closest(".accordion").hasClass("active")?a.closest(".accordion").removeClass("active"):a.closest(".accordion").addClass("active"),t.preventDefault()}),$("#navbutton").on("click",function(){$(".navbar-toggler").toggleClass("nav-close")}),$(function(){$('[data-toggle="tooltip"]').tooltip()}),$(window).on("load",function(){var t=$(window);200