Ummm...Philip, although he is using Java to *write* the output, that's just server-side Java.
if( info == '--')
var x = confirm('Für diese Aktion wurden bereits Kosten verbucht. Sind Sie sicher, dass Sie weitere Kosten verbuchen wollen?”');
if ( x )
window.open('Costreason.html', '', 'height=350,width=450');
As shown, the code is missing one closing right brace } as I have indicated, but since he says the code works in browsers other than IE, it's probably really there in the actual code.
I really think he may be right, that his is a problem with a popup blocker.
On the other hand, the code also doesn't make tons of sense.
He opens the popup window for 'Costreason.html' but then *CLOSES* the CURRENT WINDOW. Why? If you only want one window to remain open, just *replace* the current window with the new one.