function MicCurrent(This,OverCss,DivId)
{
    $(This).siblings().removeClass(OverCss);
    $(This).removeClass(OverCss).addClass(OverCss);
    $('#'+DivId).siblings().hide();
    $('#'+DivId).show();
}

function CateShow(e){
	
	if(document.getElementById('crumbox').className=='crumbox3'){
		e.style.backgroundImage='url(http://www.china.jqw.com/images/disnone.gif)';
		document.getElementById('crumbox').className='crumbox';
	}
	else{
		document.getElementById('crumbox').className='crumbox3';
		e.style.backgroundImage='url(http://www.china.jqw.com/images/dis.gif)';
	}
}

function divCmp_proUp(){
	
	if(m_arryCurry_index<6){
		return;
	}else{
		if(m_arryCurry_index-6>0){
			m_arryCurry_index=m_arryCurry_index-6;
		}
		else{
			m_arryCurry_index=0;
		}
	}
	var ss="";
	var m=0;
	for(var i=m_arryCurry_index;i<procount;i++){
		m++;
		if(m>6){
			break;
		}
		ss+="<div class=\"divCmp_pro_content1\">";
		ss+=		"<div class=\"pro_information\">";
		ss+=			"<a href=\""+m_arry[i][2]+"\">";
		ss+=				"<img src=\""+m_arry[i][1]+"\">";
		ss+=			"</a>";
		ss+=		"</div>";
		ss+=		"<div class=\"pro_name\">";
				ss+="<a href=\""+m_arry[i][2]+"\">";
		ss+=	m_arry[i][0]; 
		ss+=			"</a>";
		ss+=		"</div>";
		ss+="</div>";
	}
	document.getElementById("divCmp_pro_content").innerHTML=ss;
}

function divCmp_proDown(){
	
	if((m_arryCurry_index+6)>=procount){
		return;
	}else{
		m_arryCurry_index=m_arryCurry_index+6;
	}
	var m=0;
	var ss="";
	for(var i=m_arryCurry_index;i<procount;i++){
		m++;
		if(m>6){
			break;
		}
		ss+="<div class=\"divCmp_pro_content1\">";
		ss+=		"<div class=\"pro_information\">";
		ss+=			"<a href=\""+m_arry[i][2]+"\">";
		ss+=				"<img src=\""+m_arry[i][1]+"\">";
		ss+=			"</a>";
		ss+=		"</div>";
		ss+=		"<div class=\"pro_name\">";
				ss+="<a href=\""+m_arry[i][2]+"\">";
		ss+=	m_arry[i][0]; 
		ss+=			"</a>";
		ss+=		"</div>";
		ss+="</div>";
	}
	document.getElementById("divCmp_pro_content").innerHTML=ss;
}


