/**

  @file     spambootProtection.js
  @author   Vaclav Chalupa [H3m3R@seznam.cz]

*/
$(function() {
        
	if ($("input[name=s_number]").val() === undefined) return;
	
	
	$(".nospam").hide();
    $(".js_nospam").hide();
               
    var first   = parseInt($("input[name=s_number]").val()[0]);          
    var second  = parseInt($("input[name=s_number]").val()[1]);
    var result  = first + second;
        
    $("input.js_nospam").val(result);
           
        
        //$("input[name=s_number]").append("<input type='hidden' name='question_spamboot' value='" + result + "'>");
        //alert($("input[name='question_spamboot']").val());
                
});
