teElement("div");
  div.setAttribute("id", "p" + sx + "x" + sy);
  div.setAttribute("style", "width: "+s+"px;      height: "+s+"px;position: absolute;left: "+sx+"px;top: "+sy+"px;background-color: "+redshade(color, the_limit));
  return div;
}

function mandelBlock(pixSize, x, y, regionSize, r, i) {
  var a = pixeldiv(x, y, pixSize, mandelloop(({1:0,2:0}),({1:r,2:i}),0));
  var b = pixeldiv(x+pixSize, y, pixSize, mandelloop(({1:0,2:0}),({1:r+regionSize,2:i}),0));
  var c = pixeldiv(x, y+pixSize, pixSize, ma