*/
public void evalNative(int id, JsArray stack, int sp, int parCount){
switch(id){
case ID_GET_ELEMENT_BY_ID:
String elemId = (String)(stack.getObject(sp + 2));
Element result = rootDocument.getElement().getChildById((String)(stack.getObject(sp + 2)));
Widget w = this.rootDocument.getWidgetForLabel(elemId);
stack.setObject(sp, ((Canvas2D)w).getCanvasObject());
break;