<html>
<head>
<script type="text/javascript">
<!--
function openWin() {
var winHandle = window.open('http://www.google.co.uk/', '', '');
if (winHandle == null) alert('Popup was blocked');
}
//-->
</script>
</head>
<body onload="openWin();">
</body>
</html>