﻿$=function (id) { return (typeof (id)=='object')?id:document.getElementById(id); }; 
function showNews(id){
	var showNum;
	showNum = $("indexNews").getElementsByTagName("h5");
	for(i=1;i<showNum.length+1;i++){
		document.getElementById("indexNews"+i).className = "newsN";
	}
	document.getElementById("indexNews"+id).className = "newsH";
}

