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/body21.png\" /><img alt=\"netdirector\" class=\"head\" src=\"http://community.scoreloop.com/images/avatars/head18.png\" /><img alt=\"\" class=\"hair\" src=\"http://community.scoreloop.com/images/avatars/hair10.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_none_small\" src=\"http://ccdn.scoreloop.com/p13208/images/decorations/agility_none_small.png?13208\" />\n</div>\n<div class=\"floatLeft\">\n<img alt=\"Strategy_iron_small\" src=\"http://ccdn.scoreloop.com/p13208/images/decorations/strategy_iron_small.png?13208\" />\n</div>\n</div>\n<h3>netdirector plays Plan It Green</h3>\n<div class=\"userFacts\">\n<table class=\"left\">\n<tr>\n<td>Lost one Game</td>\n<td class=\"fact\">1</td>\n</tr>\n<tr>\n<td>Won Games</td>\n<td class=\"fact\">10</td>\n</tr>\n<tr>\n<td>Created Challenges</td>\n<td class=\"fact\">6</td>\n</tr>\n<tr>\n<td>Skill Value</td>\n<td class=\"fact\">2579</td>\n</tr>\n</table>\n</div>\n<a href=\"javascript://\" id=\"overlayUserCloseButton\" onclick=\"overlay.hide();\">Close</a>\n</div>\n<a href=\"/users/netdirector\" class=\"link-goto cssbutton\">Go to netdirector profile</a>\n");
overlay = new DialogOverlay($('dialogContent')); overlay.show();