function mainnews(id_element,bxi){
	
	 elem_ID = id_element;
	switch (bxi){
	case 1: 
		$("#"+elem_ID+bxi).fadeIn("0");
		$("#"+elem_ID+"2").css("display","none");
		$("#"+elem_ID+"3").css("display","none");
		$("#"+elem_ID+"4").css("display","none");

		$("#selectedrow"+bxi).css("background-color","#eeeeee");
		$("#selectedrow2").css("background-color","");
		$("#selectedrow3").css("background-color","");
		$("#selectedrow4").css("background-color","");
		$("#selectedrow4").css("border-bottom","1px solid #cccccc");		

		break;
	case 2: 
		$("#"+elem_ID+bxi).fadeIn("0");
		document.getElementById(elem_ID+"1").style.display="none";
		document.getElementById(elem_ID+"3").style.display="none";
		document.getElementById(elem_ID+"4").style.display="none";
		
		$("#selectedrow"+bxi).css("background-color","#eeeeee");
		$("#selectedrow1").css("background-color","");
		$("#selectedrow3").css("background-color","");
		$("#selectedrow4").css("background-color","");
		$("#selectedrow4").css("border-bottom","1px solid #cccccc");				

		break;
	case 3: 
		$("#"+elem_ID+bxi).fadeIn("0");
		document.getElementById(elem_ID+"1").style.display="none";
		document.getElementById(elem_ID+"2").style.display="none";
		document.getElementById(elem_ID+"4").style.display="none";
		$("#selectedrow"+bxi).css("background-color","#eeeeee");
		$("#selectedrow1").css("background-color","");
		$("#selectedrow2").css("background-color","");
		$("#selectedrow4").css("background-color","");
		$("#selectedrow4").css("border-bottom","1px solid #cccccc");				
		break;
	case 4: 
		$("#"+elem_ID+bxi).fadeIn("0");
		document.getElementById(elem_ID+"1").style.display="none";
		document.getElementById(elem_ID+"2").style.display="none";
		document.getElementById(elem_ID+"3").style.display="none";
		$("#selectedrow"+bxi).css("background","#eeeeee");
		$("#selectedrow2").css("background-color","");
		$("#selectedrow3").css("background-color","");
		$("#selectedrow1").css("background-color","");
		$("#selectedrow4").css("border-bottom","1px");				
		break;
	}
}



