// JavaScript Document

function showNews(objId) {	
	//array of news items
	newsObjects = new Array('news_1','news_2','news_3','news_4','news_5','news_6','news_7','news_8');
	//hide all news items
	for(i=0;i<newsObjects.length;i++){
		MM_changeProp(newsObjects[i],'','display','none','DIV')
	}
	//show news item
	MM_changeProp(objId,'','display','block','DIV')
}

//built-in dw function
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
