﻿
// Surpress client javascript errors
window.onerror = function() { return true; }

// Set the focus to the called window
function focusThisWindow() { try{ window.focus(); return true; }catch(e){} }

// Close the current window
function closeWin() { try{ window.close(); }catch(e){} } 