$(document).ready( function() {

var current_scroller = "#scrolling-feature1";

$(current_scroller).css("background-position", "0px -85px");

$(".scrolling-feature").hover( function() {
  $(this).css("background-position", "0px -85px");
}, function() {
  $(".scrolling-feature").not(current_scroller).css("background-position", "0px 0px");
});

$(".scrolling-feature").click( function() {
  if ($(this).children("a").length > 0) {
    var body_lcol, body_rcol, rel;
    rel = $(this).children("a").attr("rel");
    body_lcol = "#scrolling-feature-body-lcol" + rel;
    body_rcol = "#scrolling-feature-body-rcol" + rel;
    $(".scrolling-feature-body-lcol, .scrolling-feature-body-rcol").css("display", "none");
    $(body_lcol).css("display", "block");
    $(body_rcol).css("display", "block");
    current_scroller = "#scrolling-feature" + rel;
  }

  $(".scrolling-feature").css("background-position",  "left top");
  $(this).css("background-position", "0px -85px");
});


});
