// JavaScript Document
	//业务办理begin
	var str = "yewubl_02_";
	var str_1 = "sha_";
	var str_11 = "xia_";
	
	function showTest(id){
		for(var i=1; i<9; i++){
			var str2 = str + i;

			if(id.substring(10)==i){
				document.getElementById(str2).style.display="block";
			} else {
				document.getElementById(str2).style.display='none';
				
			}
		}
	}
	function showStyle(divid){
		if(divid.substring(0,3)=="sha"){
					for(var i=1; i<5; i++){
						var str_ss22 = str_11 + i;
						document.getElementById(str_ss22).className="yewubl_off_xia";
						var str_ss = str_1 + i;
						if(divid.substring(4)==i){
							document.getElementById(str_ss).className="yewubl_on_shang";
						}else{
							document.getElementById(str_ss).className="yewubl_off_shang";
						}
						
					}
				}
		if(divid.substring(0,3)=="xia"){
					for(var i=1; i<5; i++){
						var str_ss33 = str_1 + i;
						document.getElementById(str_ss33).className="yewubl_off_shang";
						var str_ss = str_11 + i;
						if(divid.substring(4)==i){
							document.getElementById(str_ss).className="yewubl_on_xia";
						}else{
							document.getElementById(str_ss).className="yewubl_off_xia";
						}
						
					}
				}
	}
	function showDiv(id,divid){
		showTest(id);
		showStyle(divid);
	}
	//业务办理end
	//导航begin
	var strDao = "d";
	var strStyle = "dh";
	function showDaodiv(dhId,dId){
		showDaoTest(dId);
		showDaoStyle(dhId)
	}
	function showDaoTest(id){
		for(var i=1; i<7; i++){
			var str2 = strDao + i;
			if(id.substring(1)==i){
				document.getElementById(str2).style.display="block";
			} else {
				document.getElementById(str2).style.display='none';
				
			}
		}
	}
	function showDaoStyle(divid){
					for(var i=1; i<7; i++){
						var str_ss = strStyle + i;
						if(divid.substring(2)==i){
							document.getElementById(str_ss).className="dh_on";
						}else{
							document.getElementById(str_ss).className="dh_off";
						}
				}
		
	}
	//导航end
	//套餐推荐begin
	var strTC = "test-content";
	var strTCStyle = "test-header";
	function showTCdiv(dhId,dId){
		showTCTest(dId);
		showTCStyle(dhId)
	}
	function showTCTest(id){
		for(var i=0; i<5; i++){
			var str2 = strTC + i;
			var stri = "beginImg" + i;
			if(id.substring(12)==i){
				document.getElementById(str2).style.display="block";
				document.getElementById(stri).style.display="none";
			} else {
				document.getElementById(str2).style.display='none';
				document.getElementById(stri).style.display="block";
				
			}
		}
	}
	function showTCStyle(divid){
					for(var i=0; i<5; i++){
						var str_ss = strTCStyle + i;
						if(divid.substring(11)==i){
							document.getElementById(str_ss).className="shoufengqin";
						}else{
							document.getElementById(str_ss).className="shoufengqin01";
						}
				}
		
	}
	function showImg(){
		
	}
		//套餐推荐end

