$(document).ready(function(){
	$("#funccategory").load("/template/total_fund_category.aspx");

});

var fundcategorynum=0;
function changeFundCategory(col,type){
	var ii;
	var obj;
	for(ii=1;ii<=fundcategorynum;ii++){
		obj=document.getElementById("fundcategorytab"+ii);
		if(ii==col){
			obj.className="totalfundcategorytab";
		}else{
			obj.className="totalfundcategorytab2";
		}            
	}
	loadDocument(type);
    loadList(type);
	// loadData("fundtable","/template/index_fund.aspx?category="+type);
	//$("#news").load("/template/index_news.aspx?type="+type);
}
function loadList(category){
	if(category!=""){
		//$("#fundlist").load("/template/total_fund_list.aspx?category="+category);
		loadData("fundlist","/template/total_fund_list.aspx?category="+category);
	}

}
function loadDocument(category){
	if(category!=""){
		//$("#funddocument").load("/template/total_fund_document.aspx?category="+category);
		loadData("funddocument","/template/total_fund_document.aspx?category="+category);
	}
}
