Javascript - Call function in opener from child

Hey guys,
im using :


function infoCallBack(msg){
alert(msg)
opener.window.test(msg);
window.focus();
}

to call a function in a parent window (called test) …works fine in firefox but gives me nothin in IE.
I cant seem to work out how to reference the function?!

Any one tell me where im goin wrong??