var img1, img2;

function slideShow(imgpath1, imgpath2)
{$(function () {

  if($.browser.opera) {
    $.support.opacity = true;
  }
  img1 = new Image();
  $(img1).attr('src', imgpath1);
  $(img1).css({opacity: 0.0});

  img2 = new Image();
  $(img2).attr('src', imgpath2);
  $(img2).css({opacity: 0.0});
  $('#anc').append(img1);
  $('#anc').append(img2);

});}

$(window).load(function(){
      $('#slideshow').removeClass('loading');
      $(img1).animate({opacity: 1.0}, 3000, function () { $(img2).animate({opacity: 1.0}, 3000);  });});

