    jQuery.noConflict();
    function show(t){
    jQuery('#'+t+'_st').html('');
    //alert(document.getElementById(t).style.display);
    if (document.getElementById(t).style.display == 'block'){
    jQuery('#'+t).animate({height: 'hide'}, 300);
    jQuery('#'+t).css('display','none');
    }else{
    jQuery('#'+t).animate({height: 'show'}, 300);
    jQuery('#'+t).css('display','block');
    }
    }
    function sendFormAJ(t){
    q = {'act':'sendFormAJ', 'form':t};
    switch(t){
    case 'question_t1':po=Array('cd', 'text');break;
    case 'question_t2':po=Array('num');break;
    }
    for(i=0;i<po.length;i++){
    eval('q.'+po[i]+' = jQuery(\'#'+t+'_v_'+po[i]+'\').val();');
    }
    jQuery.ajax({
    url: "/img/ajax_m.php",
    dataType: "text",
    type: 'POST',
    data: q,
    beforeSend: function(){
                jQuery('#'+t+'_st').html('<div id="otpr">Статус: Сообщение отправленно!</div>');
                jQuery('#'+t+'_b').attr({'disabled':'disabled'});
            },
    success: function(data) {
    //					alert("?"+data);
                json = eval("(" + data + ")");
                if (json.res == true){
                    jQuery('#'+t+'_st').html('<div id="otprOK">Статус: Сообщение отправленно!</div>');
                }else{
                    jQuery('#'+t+'_st').html('<div id="otpr">Статус: Ошибка отправления!</div>'+json.text);
                }
                jQuery('#'+t+'_b').removeAttr('disabled');
            }
    });
    }
 
