i would say a joint effert between a server side language and javascript to make the window popup.
Code:
<script language="javascript">
function popupWindow(URLlink)
{
window.open(URLlink, '', config='fullscreen=no,location=yes,resizable=yes,scrollbars=yes,menubar=yes,status=yes,titlebar=yes,toolbar=yes,width=800,height=600');
}
</script>
<body onload="popupWindow('**NEXT LINK**')">
<!-- THE NEXT LINK PART ABOVE CAN BE REPLACED BY THE NEXT LINK VARIABLE -->
Wot server side language do u use and how are you storing the links, this part will only create the popup window.