';
var input_id = '#mc_embed_signup';
var f = mce_jQuery(input_id);
if (ftypes[index]=='address'){
input_id = '#mce-'+fnames[index]+'-addr1';
f = mce_jQuery(input_id).parent().parent().get(0);
} else if (ftypes[index]=='date'){
input_id = '#mce-'+fnames[index]+'-month';
f = mce_jQuery(input_id).parent().parent().get(0);
} else {
input_id = '#mce-'+fnames[index];
f = mce_jQuery().parent(input_id).get(0);
}
if (f){
mce_jQuery(f).append(html);
mce_jQuery(input_id).focus();
} else {
//mce_jQuery('#mce-'+resp.result+'-response').css("top": 0);
//mce_jQuery('#mce-'+resp.result+'-response').animate({top: 34 }, 1000);
mce_jQuery('#mce-'+resp.result+'-response').fadeIn();
/*mce_jQuery('#mce-'+resp.result+'-response').animate({
opacity: 1,
top: '34'
}, 500, function() {
// Animation complete.
}); */
mce_jQuery('#mce-'+resp.result+'-response').css("top", 34);
mce_jQuery('#mce-'+resp.result+'-response').html(msg);
}
}
} catch(e){
mce_jQuery('#mce-'+resp.result+'-response').fadeIn();
mce_jQuery('#mce-'+resp.result+'-response').html(msg);
}
}
}