document.body.appendChild(new Element('div', { 'id': 'dialogContent', 'style': 'display:none' }))
Element.update("dialogContent", "<div class=\"userOverlay\">\n<div class=\"floatingImage\">\n<div class=\"constructedAvatarBig\"><img alt=\"\" class=\"body\" src=\"http://community.scoreloop.com/images/avatars/body19.png\" /><img alt=\"9mm\" class=\"head\" src=\"http://community.scoreloop.com/images/avatars/head24.png\" /><img alt=\"\" class=\"hair\" src=\"http://community.scoreloop.com/images/avatars/hair19.png\" /></div>\n</div>\n<div class=\"decorations\">\n<div class=\"floatLeft\">\n<img alt=\"Knowledge_none_small\" src=\"http://ccdn.scoreloop.com/p13208/images/decorations/knowledge_none_small.png?13208\" />\n</div>\n<div class=\"floatLeft\">\n<img alt=\"Agility_silver_small\" src=\"http://ccdn.scoreloop.com/p13208/images/decorations/agility_silver_small.png?13208\" />\n</div>\n<div class=\"floatLeft\">\n<img alt=\"Strategy_none_small\" src=\"http://ccdn.scoreloop.com/p13208/images/decorations/strategy_none_small.png?13208\" />\n</div>\n</div>\n<h3>9mm plays code G</h3>\n<div class=\"userFacts\">\n<table class=\"left\">\n<tr>\n<td>Lost Games</td>\n<td class=\"fact\">41</td>\n</tr>\n<tr>\n<td>Won Games</td>\n<td class=\"fact\">527</td>\n</tr>\n<tr>\n<td>Created Challenges</td>\n<td class=\"fact\">132</td>\n</tr>\n<tr>\n<td>Skill Value</td>\n<td class=\"fact\">1543</td>\n</tr>\n</table>\n</div>\n<a href=\"javascript://\" id=\"overlayUserCloseButton\" onclick=\"overlay.hide();\">Close</a>\n</div>\n<a href=\"/users/9mm\" class=\"link-goto cssbutton\">Go to 9mm profile</a>\n");
overlay = new DialogOverlay($('dialogContent')); overlay.show();