$(window).load(function(){$('#slideshow').nivoSlider({effect:'fade',pauseTime:6000,directionNav:false,controlNav:false});$('#slideshow a.external').each(function(){$(this).click(function(){var $newWindow=window.open($(this).attr('href'));$newWindow.focus();return false;});});});