// Button & Menu Options ---------------------------------//

//Time before menus auto-hide
	var menu_pause = 250; 

//Show sub-menus for current section( 0=no, 1=yes)
	var section_subs = 0;

//Other button definitions
//"btn_name,menu_name(|menu_direction),section_id,img_src,img_src_on"
var otherBtns = new Array(
	"ql_btn,ql_menu,0,uploaded/images/ql_btn.gif,uploaded/images/ql_btn.gif"
);


// List other images that need to be pre-loaded
var otherImages = new Array();

//other JS functions to run onLoad
function loadJS(){
	document.fs_search.keywords.onfocus= function(){ if(this.value == "Keyword Search"){this.value=""};}
	document.fs_search.keywords.onblur= function(){ if(this.value == ""){this.value="Keyword Search"};}
	
	if(pageid==1){
		createTabs();
		splitContent();
	}

}

var posts = new Array();
var qN;

function splitContent(){
	var qDiv = document.getElementById('newscon');
	var qLi = qDiv.getElementsByTagName('div');
	//var posts = new Array();
	var j = 0;
	for(i=0;i<qLi.length;i++){
		if(qLi[i].className == "newspostitemsep"){
			posts[j] = qLi[i].innerHTML;
			j++;
		}
	}

 	qN = Math.round(posts.length/2);
	
	var col1 = document.getElementById('news_box1');
	var col2 = document.getElementById('news_box2');
	
	col1.innerHTML = "";
	col2.innerHTML = "";

	for(i=0;i<posts.length;i++){
		if(i<qN){
			col1.innerHTML = col1.innerHTML + posts[i];
		}else{
			col2.innerHTML = col2.innerHTML + posts[i];
		}
	}
}