secondo me c'è un errore nella window open.. anche so non lo vedo... cmq ti consiglio questo codice che ti apre la popup centrata nello schermo...
Con questo codice dovrebbe andare..

codice:
<script type="text/javascript">
// FUNZIONE PER APRIRE UNA NUOVA FINESTRA CENTRATA NELLO SCHERMO
function NewWindow(mypage, myname, h, w) {
var winl = (screen.width - w) / 2;	
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',hotkeys=no ,scrollbars=no,toolbar=no ,alwaysRaised=yes ,personalbar=yes';
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) {
win.window.focus();
}
}

</script>

<p align="left" style="margin: 0"><INPUT id=button7 name=button2 onclick="NewWindow('cercaf.asp','dataitem','400','300');" style="color: #2F4F4F; font-size: medium; font-variant: normal; height: 30; width: 109" type=button value=Ricerca>