function initPage() {
  $("#leftcol").scroller({imagepath: 'img/scroller'}, scrollReady);
  $("#rightcol").scroller({imagepath: 'img/scroller'});
  $("#NewsProp").ajaxcontrol({maxHeight:470});
}


function scrollReady() {
  if ($("#leftcol").scroller_isVertScrollVisible()) N$S("leftcol").border = "none";;
}


function showNews(a, propid) {
  for (var i=0; i < N$('newsul').childNodes.length; i++) {
    N$('newsul').childNodes[i].childNodes[0].style.display = 'none';
    N$('newsul').childNodes[i].childNodes[1].style.display = 'inline';
  }
  a.parentNode.style.display = "none";
  a.parentNode.previousSibling.style.display = "inline";

  $("#NewsProp").ajaxcontrol_setPropertyId(propid, newsSet);
}

function newsSet() {
  $("#rightcol").scroller_contentChanged(false);
}