function msg_up(id)
{
 $('#msg'+id).html('<img src=./images/load.gif>');
 $.post("./inc/my_obj_up.php", { id_my_msg: id }, function(data){
   $('#msg'+id).html(data);
 });
}

function msg_actual(id)
{
 $('#msg'+id).html('<img src=./images/load.gif>');
 $.post("./inc/my_obj_actual.php", { id_my_msg: id }, function(data){
   $('#msg'+id).html(data);
 });
}

function main_search_change_tip()
{
 $('#DOPAREA').html('');
 main_search_change($('#act').val(),$('#tip').val());
}

function main_search_change(act,tip) 
{
 $('#DOPAREA').html('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=./images/load.gif>');
  $.post("./inc/mainsearch_doparea.php", { act: act, tip: tip, noheader: 0 }, function(data){
  $('#DOPAREA').html(data); });
}

function send_f1(name_f1, email_f1, tel_f1, komm_f1, idcard)
{
 $('#f1_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f1.php", { idcard: idcard, komm_f1: komm_f1, email_f1: email_f1, name_f1: name_f1, tel_f1: tel_f1  }, function(data){
  $('#f1_msg').html(data); });
}

function send_f2(name_f2, email_f2, tel_f2, komm_f2, idcard)
{
 $('#f2_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f2.php", { idcard: idcard, komm_f2: komm_f2, email_f2: email_f2, name_f2: name_f2, tel_f2: tel_f2  }, function(data){
  $('#f2_msg').html(data); });
}

function send_f3(name_f3,email_f3,komm_f3,idcard)
{
 $('#f3_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f3.php", { idcard: idcard, komm_f3: komm_f3, email_f3: email_f3, name_f3: name_f3  }, function(data){
  $('#f3_msg').html(data); });
}


function send_f1_predl(name_f1, email_f1, tel_f1, komm_f1, idcard)
{
 $('#f1_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f1_predl.php", { idcard: idcard, komm_f1: komm_f1, email_f1: email_f1, name_f1: name_f1, tel_f1: tel_f1  }, function(data){
  $('#f1_msg').html(data); });
}

function send_f2_predl(name_f2, email_f2, tel_f2, komm_f2, idcard)
{
 $('#f2_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f2_predl.php", { idcard: idcard, komm_f2: komm_f2, email_f2: email_f2, name_f2: name_f2, tel_f2: tel_f2  }, function(data){
  $('#f2_msg').html(data); });
}

function send_f3_predl(name_f3,email_f3,komm_f3,idcard)
{
 $('#f3_msg').html('<img src=./js/load.gif>');
  $.post("./inc/_f3_predl.php", { idcard: idcard, komm_f3: komm_f3, email_f3: email_f3, name_f3: name_f3  }, function(data){
  $('#f3_msg').html(data); });
}



function basket_action(id,action,idDiv)
{
 $(idDiv).html('<img src=./js/load.gif>');
  $.post("action_basket.php", { idobj: id, act: action, idBasketDiv: idDiv }, function(data){
  $(idDiv).html(data); });

  $.post("inc/my_basket_kol.php", {}, function(data){
  $('#my_basket_kol').html(data); });
}

function basket_action_msg(id,action,idDiv)
{
 $(idDiv).html('<img src=./js/load.gif>');
  $.post("action_basket_msg.php", { idobj: id, act: action, idBasketDiv: idDiv }, function(data){
  $(idDiv).html(data); });

  $.post("inc/my_basket_kol.php", {}, function(data){
  $('#my_basket_kol').html(data); });
}

