function indexDisplay(blockDivId, noneDivId){
	var nd = noneDivId.toString().split("|");
	for(var i=0; i<nd.length; i++){
		document.getElementById(nd[i]).style.display='none';
	}
	document.getElementById(blockDivId).style.display = "block";
}
function indexAdviceBackground(blockDivId, noneDivId){
	var nd = noneDivId.toString().split("|");
	for(var i=0; i<nd.length; i++){
		document.getElementById(nd[i]).style.background='url(images/advice_txt_bj1.jpg)';
	}
	document.getElementById(blockDivId).style.background = 'url(images/advice_txt_bj2.jpg)';
}
function indexTopBackground(blockDivId, noneDivId){
	var nd = noneDivId.toString().split("|");
	for(var i=0; i<nd.length; i++){
		document.getElementById(nd[i]).style.color='#AFB8C1';
	}
	document.getElementById(blockDivId).style.color = '#FFF';
}
function indexMobileBrandImg(mobileBrandName){
	if(mobileBrandName == '诺基亚'){
		mobileBrandName = 'NOKIA';
	}else if(mobileBrandName == '三星'){
		mobileBrandName = 'Samsung';
	}else if(mobileBrandName == '摩托罗拉'){
		mobileBrandName = 'MOTO';
	}else if(mobileBrandName == '苹果'){
		mobileBrandName = 'Apple';
	}else if(mobileBrandName == 'OPPO'){
		mobileBrandName = 'OPPO';
	}else if(mobileBrandName == '索尼爱立信'){
		mobileBrandName = 'SonyEricsson';
	}else if(mobileBrandName == '纽曼'){
		mobileBrandName = 'Newsmy';
	}else if(mobileBrandName == 'LG'){
		mobileBrandName = 'LG';
	}else if(mobileBrandName == '联想'){
		mobileBrandName = 'Lenovo';
	}else if(mobileBrandName == '天语'){
		mobileBrandName = 'K-Touch';
	}else if(mobileBrandName == '多普达'){
		mobileBrandName = 'dopod';
	}else if(mobileBrandName == '酷派'){
		mobileBrandName = 'CoolPAD';
	}else if(mobileBrandName == '华为'){
		mobileBrandName = 'HUAWEI';
	}else if(mobileBrandName == '魅族'){
		mobileBrandName = 'MEIZU';
	}else if(mobileBrandName == '中兴'){
		mobileBrandName = 'ZTE';
	}else if(mobileBrandName == '夏普'){
		mobileBrandName = 'Sharp';
	}else if(mobileBrandName == '金立'){
		mobileBrandName = 'gionee';
	}else if(mobileBrandName == 'HTC'){
		mobileBrandName = 'HTC';
	}else if(mobileBrandName == 'iHKC'){
		mobileBrandName = 'iHKC';
	}else if(mobileBrandName == '飞利浦'){
		mobileBrandName = 'Philips';
	}else if(mobileBrandName == '黑莓'){
		mobileBrandName = 'BlackBerry';
	}else if(mobileBrandName == '其他手机'){
		mobileBrandName = 'Mobile';
	}
	document.getElementById('mobileBrandImg').src = "images/mobileBrand/" + mobileBrandName + ".jpg";
}
