var bar = 5;
_depth = function(d) {
arguments.cascade(d);
sync();
}
var sync = function() {
if (thickness > hpad) hpad = thickness;
if (thickness > vpad) vpad = thickness;
if (depth == "up") border = "org.xwt.builtin.bevel_2_up";
else if (depth == "down") border = "org.xwt.builtin.bevel_2_down";
else if (depth == "flat") border = "org.xwt.builtin.bevel_2_flat";
else border = null;
}