///////////////////////////////////////////////////////////////
//
//  File: global power systems solutions javascript
//  Author: Craig Nelson / Classic Labs
//

  
  Event.observe(window, "load", function () {
    // non-clickable and external links
    var anchors = $$('a');
    anchors.each(function (e) {
      if (e.getAttribute('rel') == 'external') {
        e.target = '_blank';
      }
    });
    // --non-clickable and external links
    
    // content resizing
    var contentLeft = $("content-left");
    var contentRight = $("content-right");
    if (contentLeft.offsetHeight > contentRight.offsetHeight) {
      contentRight.style.height = contentLeft.offsetHeight + "px";
    }
    // --content resizing
  });
