Errors in IE when getting images from flickr

Errors in IE when getting images from flickr

I made this script that takes my uploaded images from flickr rss and puts them into my webpage.

It works fine in firefox and opera but when I try it in Internet explorer it just gives me errors and where it should be the image it appears an image from a button on the page.

In google chrome the images don't appear where I want.
Is there anything in this code that should give any errors in IE?

The subject


//get flicker images from rss
     
//get flicker images from rss
$.get("js/getflickreasy.php", function(data) {
           
var currentImage = 0;
            $(data).find("item").each(function() {

                var title = $(this).find("title").text();

                var description = $(this).find("description").text();

                var thumbnail = $(description).find("img").attr("src");


if(currentImage%3 == 0){
$("#apa").append("<p>HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH</p>");
}
                $("#apa").append("<div class=\"imageContainer\"><a href=\"" + thumbnail + "\" rel=\"lightbox\"><img class=\"bild\" src=\"" +  thumbnail + "\" /></a></div>");
                $("#bakgrund").append("<img class=\"bgrund scaleMe\" src=\"Bilder/polaroid.png\" />");

      var bredd = $("#apa img:last").width();
                var hojd = $("#apa img:last").height();

                $("#apa div:last").width(bredd+"px");
                $("#apa div:last").height(hojd+"px");
                var top = $("#apa img:last").offset().top;
                var sid = $("#apa img:last").offset().left;

                var topp = top-225;
                var sida = sid-460;

                $("#bakgrund img:last").css("top",topp-50+"px");
                $("#bakgrund img:last").css("left",sida-50+"px");
                $("#bakgrund img:last").width(bredd+100+"px");
                $("#bakgrund img:last").height(hojd+100+"px");
currentImage++;
            });
//ad lightbox effect
$('a[rel*=lightbox]').lightBox();
       });

var hh=0;
var inter;

function HideBox()
{

   if(hh<=-800*procent)
   {
   document.getElementById("fadeIn").style.visibility = 'visible';
   document.getElementById("fadeOut").style.visibility = 'hidden';
   clearInterval(inter);
   return;
   }

//for the clock on the page
   obj = document.getElementById("coverlogin").style;
   document.getElementById("fadeOut").style.visibility = 'hidden';
   document.getElementById('fadeIn').style.visibility = 'hidden';
   hh-=10*procent;
   obj.left = hh + 'px';
   ba = obj.left;
}

function ShowBox()
{

   if(hh>=0)
   {
   clearInterval(inter);
   document.getElementById("fadeOut").style.visibility = 'visible';
   return;
   }

   obj = document.getElementById("coverlogin");
   document.getElementById("fadeIn").style.visibility = 'hidden';
   hh+=10*procent;
   obj.style.left = hh + 'px';
}