";
for (var i = 0; i < NANO_STANZA.EXTENSION.length; i++) {
var item = NANO_STANZA.EXTENSION[i];
html += "
" + item.label + "
";
}
html += "
";
$body.append(html);
var $extension = $("#extension");
var height = $("p", $extension).height() * NANO_STANZA.EXTENSION.length;
var exHeight = $extension.height();
var padding = (exHeight - height) * .5;
$extension.css("padding-top", padding + "px");
window.console.log("height: "+height);
}
} catch(e) {
//window.console.log(e);
}
}
});