var inpi=0;
function addInput(){
	$("#lastntextarea_"+inpi).after("<p>Válasz erre:</p><div class=\"lastntextarea\" id=\"lastntextarea_"+(inpi+1)+"\"><div class=\"lastntextarea-in\"><textarea id=\"lastntext_"+(inpi+1)+"\" name=\"lastntext["+(inpi+1)+"]\"/></div></div>");
	inpi++;
}

var addthis_config = {
  services_custom: {
    name: "iWiW",
    url: "http://iwiw.hu/pages/share/share.jsp?v=1&u={{URL}}&t={{TITLE}}",
    icon: "http://static.iwiw.net/common/image/favicon.ico"
  }
}
var RecaptchaOptions = {
   theme : 'custom',
   custom_theme_widget: 'recaptcha_widget_div'
};

var comment_fields = new Array();
comment_fields["author"]  = "nevem";
comment_fields["web"]     = "weboldalam";
comment_fields["email"]   = "e-mail címem";
comment_fields["text"]    = "Én így gondolom...";

function commentf_focus(field) {
 if (field.value == comment_fields[field.name]) {
  field.value = "";
 }
}

function commentf_blur(field) {
 if (field.value == "") {
  field.value = comment_fields[field.name];
 }
}

$(document).ready(function(){
  $("#last_comments > div.comment:last").css("border","none");
});


/*
function showRecaptcha(element,pubkey) {
  Recaptcha.create(pubkey, element, {
     theme: "custom", 
     callback: Recaptcha.focus_response_field});
     custom_theme_widget: 'recaptcha_widget_div'
}*/
