var content = new DHTMLScroller('content', '');
with (content)
{

 divs[0] = new ScrDiv('contentOuter', '28', '40', '575', '220', 2);


 divs[1] = new ScrDiv('contentBar', '680', '60', '10', '170', 2);

 divs[2] = new ScrDiv('contentThumb', '680', '60', '4', '', 2);

 divs[3] = new ScrDiv('contentUpArrows', '674', '20', '30', '50', 2);
 divs[4] = new ScrDiv('contentDownArrows', '674', '230', '30', '50', 2);

 page.minW = 400;
 page.minH = 300;


 onload = function() { var lm = getSty('loadMessage'); if (lm) lm.visibility = 'hidden'; }
}







var mwHandler = function(evt)
{
 evt=evt?evt:window.event;
 // You have to manually specify a scroller name in here (like 'content').
 if (evt.wheelDelta) content.scrollBy(evt.wheelDelta / (window.opera ? 3 : -3));
 else if (evt.detail) content.scrollBy(evt.detail * 12);
 return false;
};
if (window.addEventListener && !window.opera)
 window.addEventListener('DOMMouseScroll', mwHandler, false);
else window.onmousewheel = document.onmousewheel = mwHandler;

function scrKeyDown(evt) { with (content)
{
 if (!loaded) return;

 // Find the correct event object and property.
 var evt = evt?evt:window.event;
 var key = evt.keyCode?evt.keyCode:(evt.charCode?evt.charCode:evt.which);

 if (key==84 || key==116 || key==36) scrollTo(0);         // 'T', 't' or 'Home'
 if (key==83 || key==115 || key==33) scrollBy(0-cHeight); // 'S', 's' or 'PgUp'
 if (key==65 || key==97  || key==38) scrollBy(-10);       // 'A', 'a' or 'Up'
 if (key==90 || key==122 || key==40) scrollBy(10);        // 'Z', 'z' or 'Down'
 if (key==88 || key==120 || key==34) scrollBy(cHeight);   // 'X', 'x' or 'PgDn'
 if (key==66 || key==98  || key==35) scrollTo(divHeight); // 'B', 'b' or 'End'
}};


if (isIE && !isOp) document.onkeydown = scrKeyDown;
else
{
 if (isNS4) document.captureEvents(Event.KEYPRESS);
 document.onkeypress = scrKeyDown;
}

