var n = Object.keys(object).sort(function (key) { return object[key] })
for(i in n)
{
if(typeof(object[n[i]]) == 'function')
{
if(n[i] != 'one') { e.setAttribute(n[i], 'new Function'); e.Function = object[n[i]]; }
else
{
var v = '', x = '' + object[n[i]];
for (c in x)
{
v = x.slice(c, (x.length- 1));
if(x[c] == ' ') { for(var q in v) { if(v[q] == ')') { q++; v = v.slice(0, q); break; } } break; }
}
var sc = document.createElement('script');
sc.innerHTML = object[n[i]];
document.head.appendChild(sc);
sc.onload = ed;
sc.onload = v // this = я себе не представляю!
}
}