/**
 *	POPUP
 *
 *  This function generates a new popup window.  The parameters of
 *  the window have been hard coded to suit this inverter test facility need.
 */
function popup(mylink, windowname, iWidth, iHeight)
{
	if (!window.focus)return true;
	   var href;
	if (typeof(mylink) == 'string')
	   href=mylink;
	else
	   href=mylink.href;
	   window.open(href, windowname, 'width='+ iWidth +',height=' + iHeight +',scrollbars=no,screenX=100,screenY=100,status=no');
	return false;
}

