<!--

$(document).ready(function(){
   $("ul#images li img").hover(function() {
    var src = $(this).attr("src");
    var href = $(this).parent().attr("href");
    src = src.replace(/thumb/, "full");
    $("ul#images li.first img").attr("src", src);
    $("ul#images li.first a").attr("href", href);
   }, function() {
   
   });
 });

function external($i)
{
  var link = document.getElementById($i);
  link.setAttribute("target","_blank");
}

// Image fade header function
$(document).ready(function() {
  $('#image_rotate').innerfade({
    speed: 4000,
    timeout: 6000,
    type: 'sequence',
    containerheight: '230px'
  });
});

$(document).ready(function()
{
$('a[@rel="external"]').click(function(){
    open($(this).attr('href'));
    return false;
  });
});

//-->