/*

function setupRollovers() {
  if (!document.getElementsByTagName)
  return;
  
  var all_tags = document.getElementsByTagName('*');
  for (var i = 0; i < all_tags.length; i++) {
  var img = all_tags[i];
  if (img.className && (' ' + img.className + ' ').indexOf(' rollover ') != -1)
    {
      img.onmouseover = mouseover;
      img.onmouseout = mouseout;
    }
  }
}

function findTarget(e) {
  var target;
  if (window.event && window.event.srcElement)
  target = window.event.srcElement;
  else if (e && e.target)
  target = e.target;

return target;
}

function mouseover(e) {
  var target = findTarget(e);
  if (!target) return;
  var tag = target;
  tag.src = tag.src.replace(/(\.[^.]+)$/, '-on$1');
}

function mouseout(e) {
  var target = findTarget(e);
  if (!target) return;
  var tag = target;
  tag.src = tag.src.replace(/-on(\.[^.]+)$/, '$1');
}

window.onload = setupRollovers;
*/

$(document).ready(function(){

  $(".rollover").mouseover(function(){
    $(this).stop().fadeTo(300, 0.7);
  });
  $(".rollover").mouseout(function(){
    $(this).stop().fadeTo(300, 1);
  });
});

