var type = $(this).attr("type");
if($(this).attr("label")) {
$("<label/>").text($(this).attr("label")).attr("for", $(this).attr("var")).appendTo(fieldset);
var type = $(this).attr("type");
if($(this).attr("label")) {
$("<label/>").text($(this).attr("label")).attr("for", $(this).attr("var")).appendTo(fieldset);