var specsheetwin=null;
onerror = null

//###############################################
function openspecsheet(gotoURL,myname)
//###############################################

{
 //** change these 3 values
 h=500
 w=740
 toolbarheight=0
 
 LeftPosition=(screen.width)?(screen.width - w)/2:100;
 TopPosition=(screen.height)?(screen.height - h - toolbarheight)/2:100;

 //** change window settings
 settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition +   ',location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=no,dependent=no';
 specsheetwin=window.open('',myname,settings);

 specsheetwin.focus();
 specsheetwin.location=gotoURL;
}


//end function 
//^^^^^^^^^^^^