//************************************************************************//
  var msie4Mac = IE4 && navigator.platform.indexOf("Mac")>=0
/**********************************************************************/
document.write('<!---- begin scroller --------->');
document.write('<table id="prevPage" class="scrollers"><tr><td>');
document.write('<a href="javascript:void(0)" onclick="deplacePage(true); return false"><img alt="Up" src="/images/top.gif" width="18" height="18" border="0"></a>');
document.write('</td></tr></table><table id="nextPage" class="scrollers"><tr><td>');
document.write('<a href="javascript:void(0)" onclick="deplacePage(false); return false"><img alt="Down" src="/images/bot.gif" width="18" height="18" border="0"></a>');
document.write('</td></tr></table>');
document.write('<!---- begin scroller --------->');

  function positionScroll(){
    var clientHeight = clientWidth = docHeight = docWidth = 0
    if (IE4 || IE5 || IE55 || NS5){
      clientHeight = document.body.clientHeight
      clientWidth = document.body.clientWidth
      ScrollTop = document.body.scrollTop
      ScrollLeft = document.body.scrollLeft
      document.height = msie4Mac ? document.body.offsetHeight : document.body.scrollHeight
    } else
    {
      clientHeight = window.innerHeight - 20
      clientWidth = window.innerWidth - 20
      ScrollTop = window.pageYOffset      
      ScrollLeft = window.pageXOffset
    }
    if (ScrollTop!=0) 
	{
      prevScroll.top = prevScroll.style.pixelTop = ScrollTop
      prevScroll.left = prevScroll.style.pixelLeft = clientWidth - prevScroll.offsetWidth + ScrollLeft
      prevScroll.visibility = prevScroll.style.visibility = makeVisible
    } 
	else
      prevScroll.visibility = prevScroll.style.visibility = "hidden"
	  
//    if (ScrollTop + clientHeight < document.height) //
    if (ScrollTop + clientHeight < 99999) 
	{
	nextScroll.top = nextScroll.style.pixelTop = ScrollTop + clientHeight - nextScroll.offsetHeight
      nextScroll.left = nextScroll.style.pixelLeft = clientWidth - nextScroll.offsetWidth + ScrollLeft
      nextScroll.visibility = nextScroll.style.visibility = makeVisible    
	 } 
	else nextScroll.visibility = nextScroll.style.visibility = "hidden"  
}  
function deplacePage(flag) 
{
    var clientHeight
    if (IE4 || IE5 || IE55 || NS5) clientHeight = document.body.clientHeight
	else
      clientHeight = window.innerHeight    
	  window.scrollBy(0,clientHeight * (flag ? -1 : 1))
}  
  if (NS4 || IE4 || IE5 || IE55 || NS5) {
    var prevScroll = (IE4 || IE5 || IE55 || NS5) ? document.all.prevPage : document.layers.prevPage
    var nextScroll = (IE4 || IE5 || IE55 || NS5) ? document.all.nextPage : document.layers.nextPage
    var makeVisible = ""
    if (IE4 || IE5 || IE55 || NS5 || msie4Mac) 
	{
      window.onresize = window.onscroll = positionScroll;
      makeVisible = "visible"
      positionScroll()
      if (msie4Mac)	setInterval("positionScroll()",50)
    }
    else 
	{
      prevScroll.style = new Object; nextScroll.style = new Object
      prevScroll.offsetWidth = prevScroll.clip.width
      nextScroll.offsetWidth = nextScroll.clip.width
      prevScroll.offsetHeight = prevScroll.clip.height
      nextScroll.offsetHeight = nextScroll.clip.height
      makeVisible = "show"
      setInterval("positionScroll()",100)
    }
}

