function createWindow(cUrl,cName,cFeatures) { var xWin = window.open(cUrl,cName,cFeatures) } var top = (screen.height-)/2; var left = (screen.width-)/2; function cWindow(num) { var usersite1 = window.location.href; if ('' == 'Same') { var t= 'sperarespam'; } else { var t = '' + num; } createWindow ('http://comments.enetation.co.uk/comments.php?user=sperarespam&commentid=' + num+'&usersite='+usersite1,t,'toolbar=0,location=0,directories=0,status=0,menubar= 0,scrollbars=1,resizable=0,copyhistory=0,width=,height=,left='+left+',top='+top) } var nums = new Array(); function LinktoComments (num) { var n = nums[num]; if (n == 0 || !nums[num]) { var link = ''; } if (n == 1) { var link = ''; } if (n > 1) {var link = ''; } document.write (''+ link + ''); }