function newsNavigation(direction) { var arrNews = new Array(); arrNews[0]=5; arrNews[1]=6; arrNews[2]=3; arrNews[3]=4; var LATESTNEWS = 0; //index 0 will hold the most recent news var OLDESTNEWS = arrNews.length-1; var hidden = document.getElementById('currentNews'); var index = hidden.value; var goForNews = false; if(direction == 'up'){ if(index>LATESTNEWS){ index--; hidden.value = index; goForNews = true; } } if(direction == 'down'){ if(index