function subTitle(strID,limitLen){
	var objConts=document.all.item(strID);
	var objCont=null;
	if(objConts!=null){
		for(i=0; i<objConts.length; i++){
			//limitLen=26;
			objCont=objConts(i);
			strCont=objCont.innerText;
			objCont.title = strCont;
			if(strCont.length>limitLen){
				strCurCont=strCont.substr(0,limitLen);
				objCont.innerText=strCurCont+"...";
			}
		}
	}
}
function dealContent(strID,xwlb,news_date,limitLen){
	var objConts=document.all.item(strID);
	var objxwlbs = document.all.item(xwlb);
	var objNews_dates = document.all.item(news_date);
	var objCont=null;
	var objxwlb = null;
	var objNews_date =null;
	var this_date = new Date();
	var str_date = getDate(this_date);

	if(objConts!=null){
		for(i=0; i<objConts.length; i++){
			objCont=objConts(i);
			objxwlb=objxwlbs(i);
			objNews_date = objNews_dates(i);
			strCont=objCont.innerText;
			objCont.title = strCont;
			if(objNews_date.innerText==str_date){
				objxwlb.src="/wps/themes/html/wcm/new_flash_icon.gif";
			}
			if(strCont.length>limitLen){
				strCurCont=strCont.substr(0,limitLen);
				objCont.innerText=strCurCont+"...";
			}
		}
	}

}
function getDate(date){
	var year = date.getYear();
	var month = date.getMonth();
	month = month + 1;
	if (month <= 9) {
		month = "0"+month;
	}
	var day = date.getDate();
	if (day <= 9) {
		day = "0"+day;
	}
	var str_date1 = year+"-"+month+"-"+day;
	return str_date1;
}