So after “googling” my dumb js problem and returning with little help, I have decided to post this question here, in hopes some of our wonderful readers can help me out. I am hoping my problem is a blatent obvious “well duh!” sort of one:
I am loading a JSP page, on the load of the page (it is a pop up), I call the following:

try {
window.print();
} catch (e) {
// don’t do anything. This can happen if the user closes the window before the print dialog appears
}

problem is, if I close the window before the print dialog appears, I get a dumb js error, something like:
dialogArguments.__IE_PrintType

Any thoughts on how to stop this error if the unlucky user decides to close the popup before the print dialog appears???