window.name="parentWin";

function openWin(file, name) {

        popupWin = window.open(file, name, 'menubar=1,toolbar=1,scrollbars=1,resizable=1,status=1,location=1,width=550,height=480');

        if ( (navigator.appName != "Microsoft Internet Explorer") && (navigator.appVersion.substring(0,1) == "3") )

        popupWin.focus();

}
