public Cell addCell(Node node, int x, int y) throws Exception {
public Cell addCell(Node node, int x, int y) {
    public Cell addCell(Node node, int x, int y) throws Exception {        //u.p("addCell("+node+","+x+","+y+")");        if(node.getNodeType() != node.ELEMENT_NODE) {            throw new Exception("this isn't an element" + node);        }        Element cell = (Element)node;        Cell cl = new Cell();        cl.node = node;        if(cell.hasAttribute("colspan")) {            cl.col_span = Integer.parseInt(cell.getAttribute("colspan"));        }        if(cell.hasAttribute("rowspan")) {            cl.row_span = Integer.parseInt(cell.getAttribute("rowspan"));        }        grid.addCell(x,y, cl.col_span,cl.row_span,cl);        return cl;    }