function printerFriendlyMS(path) { if (typeof(event) != "undefined" && event != null) { event.cancelBubble = true; } // Find the Tab variable that is being set by Java... var currentTab = __ms_current_tab; if (currentTab != null && currentTab != "undefined") { // Rewrite the tab parameter in the URL path = removeUrlParameter(path, "tab"); path += "&tab=" + currentTab; } var popup; if (path.indexOf('?')== -1) { popup=window.open(path + '?print=true','printerFriendlyView','width=624,height=600,resizable=yes,status=yes,scrollbars=yes,menubar=yes'); popup.focus(); } else { popup=window.open(path + '&print=true','printerFriendlyView','width=624,height=600,resizable=yes,status=yes,scrollbars=yes,menubar=yes'); popup.focus(); } }