function changeIMG(divid, imgid, divfont) {
	var str = [ "wms", "msg", "info", "spots", "case","ser_app","ser_bb","ser_dep", "com_news", "inside",
			"introduce", "culture", "progress", "org", "honour", "t_m", "resp",
			"conn_us"];
	for ( var i = 0; i < str.length; i++) {
		if (divid == str[i]) {
			var divs = document.getElementById(divid);
			var imgs = document.getElementById(imgid);
			var fonts = document.getElementById(divfont);
			divs.style.background = "#ff7303";

			imgs.src = "images/dian3.png";
			fonts.style.fontWeight = "bold";
		}
	}
}
function changeBackIMG(divid, imgid, divfont) {
	var str = [ "wms", "msg", "info", "spots", "case","ser_app","ser_bb","ser_dep", "com_news", "inside",
			"introduce", "culture", "progress", "org", "honour", "t_m", "resp",
			"conn_us"];
	for ( var i = 0; i < str.length; i++) {
		if (divid == str[i]) {
			var divs = document.getElementById(divid);
			var imgs = document.getElementById(imgid);
			var fonts = document.getElementById(divfont);
			divs.style.background = "#d7d7d7";
			imgs.src = "images/dian1.png";
			fonts.style.fontWeight = "normal";
		}
	}
}

function exchangeIMG(id) {
	if (id == "zhangp") {
		var target = document.getElementById(id);
		target.src="images/zhangp2.png"; 
		
	} else if (id == "download") {
		var target = document.getElementById(id);
		target.src="images/download.png"; 
	} else if (id == "service") {
		var target = document.getElementById(id);
		target.src="images/fuwu2.png"; 
	}else if (id == "s_zhangp") {
		var target = document.getElementById(id);
		target.src="images/solution/zhangp2.png"; 
//		target.style.background = "url('images/solution/zhangp2.png')";
	}else if (id == "s_download") {
		var target = document.getElementById(id);
		target.src="images/solution/download.png"; 
//		target.style.background = "url('images/solution/download.png')";
	}else if (id == "s_service") {
		var target = document.getElementById(id);
		target.src="images/solution/fuwu2.png"; 
//		target.style.background = "url('images/solution/fuwu2.png')";
	}else if(id=="s_email"){
		var target = document.getElementById(id);
		target.src="images/solution/emailon.png"; 
//		target.style.background = "url('images/solution/emailon.png')";
	}
	
}

function exchangeBackIMG(id) {
	if (id == "zhangp") {
		var target = document.getElementById(id);
		target.src="images/zhangp.png";
//		target.style.background = "url('images/zhangp.png')";
	} else if (id == "download") {
		var target = document.getElementById(id);
		target.src="images/download01.png";
//		target.style.background = "url('images/download01.png')";
	} else if (id == "service") {
		var target = document.getElementById(id); 
		target.src="images/fuwu.png";
//		target.style.background = "url('images/fuwu.png')";
	}else if (id == "s_zhangp") {
		var target = document.getElementById(id);
		target.src="images/solution/zhangp.png"; 
//		target.style.background = "url('images/solution/zhangp.png')";
	}else if (id == "s_download") {
		var target = document.getElementById(id);
		target.src="images/solution/download01.png"; 
//		target.style.background = "url('images/solution/download01.png')";
	}else if (id == "s_service") {
		var target = document.getElementById(id);
		target.src="images/solution/fuwu.png";
//		target.style.background = "url('images/solution/fuwu.png')";
	}else if (id == "s_email") {
		var target = document.getElementById(id);
		target.src="images/solution/emailoff.png";
//		target.style.background = "url('images/solution/emailoff.png')";
	}
}
