/* imagemap.js

	Purpose:
		
	Description:
		
	History:
		Thu Mar 26 15:54:09     2009, Created by tomyeh

Copyright (C) 2009 Potix Corporation. All Rights Reserved.

This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
*/
function imagemap$mold$(out) {
  var uuid = this.uuid,
    mapidHTML = uuid + '-map';
  out.push('<span', this.domAttrs_({
    content: 1
  }), '><img id="', uuid, '-real"', /*safe*/this.contentAttrs_(), '/><map name="', mapidHTML, '" id="', mapidHTML, '">');
  for (var w = this.firstChild; w; w = w.nextSibling) w.redraw(out);
  out.push('</map></span>');
}