function $(){for(var a=[],b=0;b<arguments.length;b++){var c=arguments[b];if(typeof c=="string")c=document.getElementById(c);if(arguments.length==1)return c;a.push(c)}return a}function trimString(a){return a.replace(/(^\s*)|(\s*$)/g,"")}function hideMe(a){$(a).style.display="none"}function showMe(a){$(a).style.display=""}function list_post_legend_onclick(a){$(a).style.display=="none"?showMe(a):hideMe(a)}var selected_tab=null,showed_list_id=null;
function tab_bar_onclick(a,b){if(selected_tab){selected_tab.className="bar_but bar_but1";showed_list_id&&hideMe(showed_list_id)}a.className="bar_but bar_but0";showMe(b);selected_tab=a;showed_list_id=b;b=="help"&&ajaxRequest("/open/ajax.php?action=loadhelp",{onComplete:function(c){c=c.responseText;$(b).innerHTML=c}})}function redirect(a){document.location=a+""}
var inputMouseOver=function(a){if(a.className.indexOf("cat_but1")<=0)a.className="cat_but0 cat_but2"},inputMouseOut=function(a){if(a.className.indexOf("cat_but1")<=0)a.className="cat_but0"},upValue=function(a,b){ajaxRequest("/open/ajax.php?action=upvalue&post_id="+b+"&col_name="+a,{onComplete:function(){}})};
