var content = new DHTMLScroller('content', '');

with (content)
{
// divs[0] = new ScrDiv('contentOuter', 'left','top', 'page.winW() - 150', 'page.winH() - 100', 2);
// divs[0] = new ScrDiv('contentOuter', '50', '50', 'page.winW() - 150', 'page.winH() - 100', 2);
//   divs[0] = new ScrDiv('contentOuter', '310', '170', 'page.winW() - 450', 'page.winH() - 200', 2);
   divs[0] = new ScrDiv('contentOuter', '310', '170', '520', '358', 2);
// divs[1] = new ScrDiv('contentBar', 'page.winW() - 95', '90', '15', 'page.winH() - 175', 2);
// divs[1] = new ScrDiv('contentBar', 'page.winW() - 95', '90', '15', 'page.winH() - 175', 0);
   divs[1] = new ScrDiv('contentBar', '815', '90', '15', '540', 0);
// divs[2] = new ScrDiv('contentThumb', 'page.winW() - 94', '', '13', '', 1);
// divs[2] = new ScrDiv('contentThumb', 'page.winW() - 94', '', '13', '', 0);
   divs[2] = new ScrDiv('contentThumb', '815', '', '13', '', 0);
// divs[3] = new ScrDiv('contentUpArrows', 'page.winW() - 95', '50', '30', '50', 2);
// divs[3] = new ScrDiv('contentUpArrows', 'page.winW() - 155', '124', '30', '50', 1);
   divs[3] = new ScrDiv('contentUpArrows', '815', '132', '30', '50', 1);
// divs[4] = new ScrDiv('contentDownArrows', 'page.winW() - 95', 'page.winH() - 85', '30', '50', 2);
// divs[4] = new ScrDiv('contentDownArrows', 'page.winW() - 155', 'page.winH() - 37', '30', '50', 1);
   divs[4] = new ScrDiv('contentDownArrows', '815', '540', '30', '50', 1);

 page.minW = 300;
 page.minH = 300;

 onload = function() { var lm = getSty('loadMessage'); if (lm) lm.visibility = 'hidden'; }
}

// *** SCROLLING BY MOUSEWHEEL HANDLER - delete if you want to restore normal mousewheeling ***

document.onmousewheel = 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 / -3);
 return false;
}


// *** SCROLLING BY KEYPRESS HANDLER - delete this too if you want ***

// This will capture keypresses and scroll up/down depending on the key code.
// You must manually specify a scroller name here ('content'), as only one can respond to keys.
/*
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);

 //alert(key);
 // Depending on key press (capital || lowercase || function key), scroll div.
 // Uncomment the above 'alert(key)' line to figure out your own keycodes.
 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'
}}

// Capture key presses.
if (isIE) document.onkeydown = scrKeyDown;
else
{
 if (isNS4) document.captureEvents(Event.KEYPRESS);
 document.onkeypress = scrKeyDown;
}
*/