function reviewPageInit() {
  var rating = document.getElementById('rating');
  if (document.getElementById('img_left')) {
    var imgDiv = document.getElementById('img_left');
    var leftBar = document.getElementById('xtrainfo');
    for (var i=0; i<imgDiv.childNodes.length; i++) {
      if (imgDiv.childNodes[i].tagName == 'IMG') {
        var imgWidth = imgDiv.childNodes[i].offsetWidth;
        break
      }
    }
    if (imgWidth>140) {
      imgDiv.style.width = imgWidth + 'px';
      leftBar.style.width = imgWidth + 'px';
      var rightBar = document.getElementById('review');
      if (document.all) {
        rightBar.style.marginLeft = (imgWidth + 7) + 'px'
      } else {
        rightBar.style.marginLeft = (imgWidth + 10) + 'px';
      }
      rating.style.marginLeft = (imgWidth + 10) + 'px'
    }
    var imgBottom = getPageOffsetTop(imgDiv) + imgDiv.offsetHeight
    var leftBarTop = getPageOffsetTop(leftBar);
    if (leftBarTop<imgBottom)
      leftBar.style.top = (imgBottom + 20) + 'px';
  }
  if (rating.offsetHeight < 30) {
    for (var i=0; i<rating.childNodes.length; i++) {
      if (rating.childNodes[i].tagName == 'P') {
        var rating_p = rating.childNodes[i];
        break
      }
    }
    rating_p.style.paddingBottom = (30 - rating_p.offsetHeight) + 'px'
  }
} // copyright (c) Andy J Welton ("Fuzzy-Duck") 2003

function effectsInit() {
  if (document.getElementById) {
    setMinHeight('mainbit','sidemenu',35);
    fillHeightInit()
  }
  if (document.getElementById('review') && document.getElementsByTagName) {
    reviewPageInit();
    setMinHeight('review','xtrainfo',15)
  }
  if (document.getElementsByTagName) {
    mouseOverInit();
    externalLinksInit();
    autoExternalLinks('www.rockmidgets.com')
  }
}
window.onload = effectsInit
