function changtab(id,count){
	for(i=1;i<=count;i++){
		document.getElementById('tab_'+i).className='tab_nomal';
		document.getElementById('content_'+i).style.display='none';
	}
	document.getElementById('tab_'+id).className='tab_select';
	document.getElementById('content_'+id).style.display='block';
}
function tabdetail(id,count){
	for(i=1;i<=count;i++){
		document.getElementById('detail_'+i).className='tab_nomal';
		document.getElementById('description_'+i).style.display='none';
	}
	document.getElementById('detail_'+id).className='tab_select';
	document.getElementById('description_'+id).style.display='block';
}
function start(id){
		for(i=1;i<=10;i++){
			if(i<=id){
				document.write('<img src="/images/star1.gif" border="0" />');
			}else{
				document.write('<img src="/images/star0.gif" border="0" />');
			}
		}
}
function showmenu(mnname,mnlink,mnulever){
	if(mnulever==2){
		stm_aix("p2i0","p0i0",[0,mnname,"","",-1,-1,0,mnlink,"","","","","",0,0,0,"","",0,0,0,0,0,"#329dde",0,"#d9f0f5",0,"","",0,0,1,1,"#FFFFFF","#ffffff","#ffffff","#000000","12px Arial","12px Arial",0,0],150,20);
	}else{
		stm_bm(["",400,"","/images/space.gif",0,"","",0,0,140,0,20,0,0,0,""],this);
		stm_bp("p0",[1,0,0,0,0,3,0,0,100,"",-2,"",-2,0,0,0,"","","",0,0,0,""]);
		stm_ai("p0i0",[1,"<div class=\"menu_top\" align=center><a href='"+mnlink+"'>"+mnname+"</a></div>","","",-1,-1,0,"","","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"","",0,0,0,0,"#FFFFF7","#000000","#FFFFFF","#FFCC00","","",0,0]);
		stm_bpx("p1","p0",[1,4,0,0,0,3,0,0,100,"",-2,"",-2,100,0,0,"#999999","#FFFFF7","",3,0,0]);
	}
}
function closemenu(){
	stm_ep();
	stm_ep();
	stm_sc(1,["transparent","transparent","","",3,3,0,0,"#FFFFF7","#000000","","",7,9,0,"","",7,9,0,0,200]);
	stm_em();
}
function fromtopsubmit(){
	urlreturn='/search-';	
	urlreturn+=document.getElementById('top_module').value;
	urlreturn+='/'+document.getElementById('top_iCat').value;
	keyword = document.getElementById('keyword_top').value;
	keyword = keyword.replace('/',' ');
	keyword = keyword.replace('/',' ');
	keyword = keyword.replace('/',' ');
	keyword = keyword.replace('/',' ');
	keyword = keyword.replace('/',' ');
	urlreturn+='/'+(keyword);
	window.location.href=urlreturn;
}
