	
		function forum_category_show_hide(a){div_forum=document.getElementById("forum_category_"+a);div_forum_control=document.getElementById("forum_category_control_"+a);if(div_forum_control.className=="control_hide"){close_div("forum_category_"+a);div_forum_control.className="control_show"}else{open_div("forum_category_"+a);div_forum_control.className="control_hide"}}function forum_topic_hide_show(a){var e=new Date();var c=e.getTime();var b=SITEURL+"/libs/ajax/ajax_forum_topic_hide.php?timestamp="+c;params="topic_id="+a;xmlHttp_topic_hidereset=GetXmlHttpObject(forum_topic_hide_show_helper);xmlHttp_topic_hidereset.open("POST",b,true);xmlHttp_topic_hidereset.setRequestHeader("Cache-Control","no-cache");xmlHttp_topic_hidereset.setRequestHeader("Cache-Control","no-store");xmlHttp_topic_hidereset.setRequestHeader("Cache-Control","must-revalidate");xmlHttp_topic_hidereset.setRequestHeader("Cache-Control","post-check=0");xmlHttp_topic_hidereset.setRequestHeader("Cache-Control","pre-check=0");xmlHttp_topic_hidereset.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");xmlHttp_topic_hidereset.setRequestHeader("Content-type","application/x-www-form-urlencoded");xmlHttp_topic_hidereset.setRequestHeader("Content-length",params.length);xmlHttp_topic_hidereset.setRequestHeader("Connection","close");xmlHttp_topic_hidereset.send(params)}function forum_topic_hide_show_helper(){if(xmlHttp_topic_hidereset.readyState==4||xmlHttp_topic_hidereset.readyState=="complete"){hide_link=document.getElementById("forum_hide_topic");hide_link.innerHTML=xmlHttp_topic_hidereset.responseText}}function forum_search_control(){port=document.getElementById("forum_search_control");if(port.className=="control_hide"){close_recursive("forum_search_advanced",0,forum_search_control_open)}else{open_recursive("forum_search_advanced",0,forum_search_control_close)}}function forum_search_control_open(a){document.getElementById("forum_search_control").className="control_show"}function forum_search_control_close(a){document.getElementById("forum_search_control").className="control_hide"}function forum_activity_topic_hide_open(a){document.getElementById("forum_topic_hide_value_id").value=a;display_white_box("forum_hide_topic")}function forum_activity_topic_hide(){var c=new Date();var b=c.getTime();var a=SITEURL+"/libs/ajax/ajax_activity_forum_topic_hide.php?timestamp="+b;topic_id=document.getElementById("forum_topic_hide_value_id").value;params="topic_id="+topic_id;xmlHttp_activity_topic_hidereset=GetXmlHttpObject(forum_activity_topic_hide_helper);xmlHttp_activity_topic_hidereset.open("POST",a,true);xmlHttp_activity_topic_hidereset.setRequestHeader("Cache-Control","no-cache");xmlHttp_activity_topic_hidereset.setRequestHeader("Cache-Control","no-store");xmlHttp_activity_topic_hidereset.setRequestHeader("Cache-Control","must-revalidate");xmlHttp_activity_topic_hidereset.setRequestHeader("Cache-Control","post-check=0");xmlHttp_activity_topic_hidereset.setRequestHeader("Cache-Control","pre-check=0");xmlHttp_activity_topic_hidereset.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");xmlHttp_activity_topic_hidereset.setRequestHeader("Content-type","application/x-www-form-urlencoded");xmlHttp_activity_topic_hidereset.setRequestHeader("Content-length",params.length);xmlHttp_activity_topic_hidereset.setRequestHeader("Connection","close");xmlHttp_activity_topic_hidereset.send(params)}function forum_activity_topic_hide_helper(){if(xmlHttp_activity_topic_hidereset.readyState==4||xmlHttp_activity_topic_hidereset.readyState=="complete"){var a=xmlHttp_activity_topic_hidereset.responseText;obj=document.getElementById("forum_topic_row_id_"+a);var b=obj.sectionRowIndex;obj.parentNode.deleteRow(b);close_white_box("forum_hide_topic")}};
