rem: _property(wName,"wWidth",wWidth); _property(wName,"wHeight",wHeight); 
add:   _property(wName,"wWidth",300); _property(wName,"wHeight",200); 
context:  function _addWindow(wName,wTitle,wWidth,wHeight,wPos,wSkin) {  p_zIndex++;  if (wName && !wName.match(/^[a-zA-Z][a-zA-Z0-9]+$/) ) {alert('Invalid window name: ' + wName); return 0 }  if (!wName) wName = "w";  var wNsave = wName;  if (! wName.match(/^(dMessage|dUser|dSound|dCustom\d+)$/) ) wName = xDTwin.newWindow(wName);  if (wName == "_WTHERE_") {_property(wNsave,"wStat","OK"); _taskbar(wNsave); return wNsave }  if (!wName) return 0;  _cbe(wName).background('transparent');  if (!wSkin) wSkin = _dSkin();  _property(wName,"wSkin",wSkin);                                                        // default window style  SetScreen();  wWidth = ChooseSize(wWidth);  wHeight = ChooseSize(wHeight);  (wWidth > 0 && wWidth <= 10000) ? wWidth = wWidth : wWidth = 300;  (wHeight > 0 && wHeight <= 10000) ? wHeight = wHeight : wHeight = 200;  _property(wName,"wWidth",wWidth);                                                        // default window width  _property(wName,"wHeight",wHeight);                                                        // default window height  _property(wName,"wWidthOrg",_property(wName,"wWidth"));                                // save Org width Value  _property(wName,"wHeightOrg",_property(wName,"wHeight"));                                // save Org height Values  _cbe(wName).resizeTo(wWidth,wHeight);  if (!wPos) wPos = "center";  SetWindowPos(wName,wPos);                                                                // default window pos  if (!wTitle) wTitle = " ";  _property(wName,"wTitle",wTitle);                                                        // default Title  p_zIndex = xDTwin.xDTdrag();  _property(wName,"zIndex",p_zIndex);  _setSkin(wName,wSkin);  _cbe(wName).zIndex(p_zIndex);        _taskbar();  return wName; }
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/d9cd733ffed9dbc21ee7e111f78838efc98805da/x-desktop_core.js/clean/phpgwapi/templates/idots2/js/x-desktop/x-desktop_core.js