Thanks Jim, it sure got rid of the error message, and it properly displays the info but won't open the new window but rather tries to open on the same window. When I use this javascript I have to call it on the head of the html document, otherwise it will not work, so I believe this applies here as well. Should it be call on the php document? For example, this is the javascript code I use:
<script language="JavaScript1.2">
function OpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
if(window.screen)if(isCenter)if(isCenter=="true"){
var myLeft = (screen.width-myWidth)/2;
var myTop = (screen.height-myHeight)/2;
features+=(features!='')?',':'';
features+=',left='+myLeft+',top='+myTop;
}
window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
</script>
But that have to be placed on the head of the html document, where to declare? Thanks in advance and happy holidays from Costa Rica :D