window.onerror = myOnError;
function myOnError() {
// do nothing
return true;
}

var instwin;

function showinst(whichinst, winwidth, winheight, toolson, menuon) {
//if (instwin)
// instwin.close();
instwin=window.open(whichinst,"Instructions","toolbar="+toolson+",width="+winwidth+",height="+winheight+" location=0,directories=0,status=0,menubar="+menuon+",scrollbars=1,resizable=1");
// this focus command creates an error in ie301 for pc test other browsers.
   if (window.focus) {
// If the focus object exists
      instwin.focus();
   }
}

function clearwindow() {
if (instwin!=null) {
   instwin.close();
}
}