var destination_url = window.location.href.replace('ronin.rubyforge.org','ronin-ruby.github.com');

$(document).ready(function() {
  var instructions_div = $('<div id="instructions" class="span-12"><p>This page has moved to <a href="">ronin-ruby.github.com</a>. You will be automatically redirected in a few seconds.</p></div>');

  $("a", instructions_div).attr({href: destination_url});

  var logo_div = $('<div id="logo"><img src="/images/logo.png" /></div>');

  $("#content").attr({class: 'container'});
  $("#content").append(logo_div);
  $("#content").append(instructions_div);

  setTimeout('window.location = destination_url;', 2000);
});

