function poptastic(url) {
leftPos = 0
topPos = 0
if (screen) {
leftPos = (screen.width / 2) - 276
topPos = (screen.height / 2) - 212
}
ElementWindow = window.open(url,'ElementWin','width=552,height=425,left='+leftPos+',top='+topPos)
} 

function Init()
{
  // Grab the appropriate div
  theDiv = document.getElementById('delicious-posts-mkander');
  // Grab all of the links inside the div
  links = theDiv.getElementsByTagName('a');
  // Loop through those links and attach the target attribute
  for (var i=0, len=links.length; i < len; i++) {
    // the _blank will make the link open in new window
    links[i].setAttribute('target', '_blank');
  }
}

$.fn.preload = function() {
    return this.each(function() {
        (new Image).src = this.href;
    });
};

//$(function() {
//	$('#flickr div a').delay(500).preload();
//});

