Prof. Gao Chao Zhejiang University argues that the parachutes of the airgel are the future of aviation and will soon be used by all civilian aircraft. 
    parachute made of airgel would weigh only about 200 grams. According to prof. Chao in the near future, such parachutes come on mandatory equipment for all civil aircraft. They will be available to passengers, and when the machine will threaten disaster, flying her people will be able to disembark safely. 
        scientist calculated that the plane, which takes on board 300 passengers, the weight of parachutes for all of them would not exceed 60 kg. 
 Today parachutes are used in some military and private aircraft.  daily-gadget.com     
       
         ‘; }} If (! Expand_pos) destObj var = ‘# comments-container-’ + id_element + ‘-’ + id_parent; else var destObj = ‘# comments-container-’ + id_element + ‘-’ + id_parent + ‘-’ + expand_pos; if (oJsonObject.large_votes_buttons) $    (‘# comment-large-votes-’ + id_element + ‘-’ + id_parent). html (oJsonObject.large_votes_buttons); $    (DestObj). Html (returnHTML); if (first_level) {coments_textCollapse (destObj); $    (‘# List-comments-combobox-order’). Val (oJsonObject.orderIndex); } $    (‘# Comments-container-’ + id_element + ‘-’ + id_parent). Animate ({opacity: 1}); }}, Error: function () {$    (‘# comments-container-’ + id_element + ‘-’ + id_parent). Animate ({opacity: 1}); $    (‘Body’). Css (‘cursor’, ‘default’); }}); Comment_toggleAnswers} function (id_element, id_parent) {var answbtn =  $    (‘# comment-answers-’ + id_element + ‘-’ + id_parent); answcntr var = $    (‘# comments-container-’ + id_element + ‘-’ + id_parent); if (answbtn.hasClass (‘answers-link-down’)) {answbtn.addClass (‘answers-link-up’); answbtn.removeClass (‘answers-link-down’); if (answcntr.text () ==”) {comments_get (id_element, id_parent, false, false, false); Answcntr.slideDown} (); setTimeout (function () {coments_textCollapse (‘# comments-container-’ + id_element + ‘-’ + id_parent, true);}, 500); } Else {answbtn.removeClass (‘answers-link-up’); answbtn.addClass (‘answers-link-down’); answcntr.slideUp (); Comments_showAlertForm}} function (id_element, id_parent) {$    (‘. NewComment comments-’). Hide (); $    (‘. Comment-item’). RemoveClass (‘comment-item-added’); $    (‘. Comment-item’). RemoveClass  (‘comment-item-AddForm’); $    (‘Body’). Css (‘cursor’, ‘wait’); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘alert-forms’: 1, ‘id_element’: id_element, ‘id_parent’: id_parent, ‘url’ : comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$    (‘body’). css (‘cursor’, ‘default’) if (oJsonObject) { $    (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). html (oJsonObject.html) $    (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). fadeIn (); $    (‘ # allertcomment-text-’+ id_element +’ – ‘+ id_parent). hide () $    (‘ # comment ‘+ id_parent). addClass (‘ comment-item-AddForm ‘);}}, error: function () {$    (‘#  comments-newComment-’ + id_element + ‘-’ + id_parent). html (‘An error’); $    (‘body’). css (‘cursor’, ‘default’);}}); Comments_showAddForm} function (id_element, id_parent) {$    (‘. NewComment comments-’). Hide (); $    (‘. Comment-item’). RemoveClass (‘comment-item-added’); $    (‘. Comment-item’). RemoveClass (‘comment-item-AddForm’); $    (‘Body’). Css (‘cursor’, ‘wait’); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘add-form’: 1, ‘id_element’: id_element, ‘id_parent’: id_parent, ‘url’ : comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$    (‘body’). css (‘cursor’, ‘default’) if (oJsonObject) { $    (‘#  comments-toolbar2-’ + id_element + ‘-’ + id_parent). fadeOut (20) $    (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). html (oJsonObject.html) $    ( ‘# comments-newComment-’ + id_element + ‘-’ + id_parent). fadeIn (); $    (‘# comment’ + id_parent). addClass (‘comment-item-AddForm’);}}, error: function () { $    (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). html (‘An error’); $    (‘body’). css (‘cursor’, ‘default’);}}); Comments_hideAddForm} function (id_element, id_parent) {$    (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). SlideUp (); $    (‘# Comments-toolbar2-’ + id_element + ‘-’ + id_parent). FadeIn (); $    (‘. Comment-item’). RemoveClass (‘comment-item-AddForm’); Comments_submitAddForm} function (id_element,  id_parent) {$    (‘body’). Css (‘cursor’, ‘wait’); $    (‘# NewComment-wait-’ + id_element + ‘-’ + id_parent.) Show (); $    (‘# NewComment-wait-’ + id_element + ‘-’ + id_parent). Html (‘Sending data …’); $    (‘# NewComment-error-’ + id_element + ‘-’ + id_parent). Html (”); $    (‘# NewComment-text-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 0.3); $    (‘# NewComment-moreinfo-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 0.3); $    (‘# Comments-newComment-’ + id_element + ‘-’ + id_parent + ‘. NewComment-buttons’). Hide (); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘send-comment’: 1, ‘id_element’: id_element, ‘id_parent’: id_parent, ‘text’  $    (‘# newComment-text-’ + id_element + ‘-’ + id_parent). val (), ‘name’: $    (‘# newComment-nick-’ + id_element + ‘-’ + id_parent). val (), ‘ uid ‘: $    (‘ # newComment-user-id-’+ id_element +’ – ‘+ id_parent). val (),’ fbuid ‘: $    (‘ # newComment-user-fb-id-’+ id_element +’ – ‘+ id_parent). val (), ‘TYPE_1′: ($    (‘# newComment-type-1-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1:0), ‘TYPE_2′: ( $    (‘# newComment-type-2-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1:0), ‘type_3′: ($    (‘# newComment-type-3-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1:0) / / ‘id_parent’: id_parent, ‘url’: comments_geturl (), ‘curl’:  comments_geturl ()}, dataType: ‘json ‘, success: function (oJsonObject) {$    (‘ body ‘). css (‘ cursor ‘,’ default ‘); $    (‘ # newComment-wait-’+ id_element +’ – ‘+ id_parent). hide (); $    (‘# newComment-text-’ + id_element + ‘-’ + id_parent). css (‘opacity’, 1); $    (‘# newComment-moreinfo-’ + id_element + ‘-’ + id_parent). css (‘opacity’, 1); $    (‘# Comments-newComment-’ + id_element + ‘-’ + id_parent + ‘. NewComment-buttons’). FadeIn (); if (oJsonObject) {if (oJsonObject.error) {$    (‘# newComment-error-’ + id_element + ‘-’ + id_parent). html (oJsonObject.error); } Else {$    (‘. NewComment comments-’). Hide (); $    (‘. Comment-item’). RemoveClass (‘comment-item-AddForm’); if (oJsonObject.html) {$    (‘#  comments-container-’ + id_element + ‘-’ + id_parent). html (oJsonObject.html + $    (‘# comments-container-’ + id_element + ‘-’ + id_parent). html ()); $    (‘# Comments-container-’ + id_element + ‘-’ + id_parent). FadeIn (); }}} Else $    (‘# newComment-error-’ + id_element + ‘-’ + id_parent). Html (‘An error occurred. No object.’); }, Error: function () {$    (‘# newComment-wait-’ + id_element + ‘-’ + id_parent). Hide (); $    (‘# NewComment-error-’ + id_element + ‘-’ + id_parent). Html (‘Error’); $    (‘Body’). Css (‘cursor’, ‘default’); $    (‘# NewComment-text-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 1); $    (‘# NewComment-moreinfo-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 1); $    (‘#  Comments-newComment-’ + id_element + ‘-’ + id_parent + ‘. NewComment-buttons’). FadeIn (); }}); Comments_submitAlertForm} function (id_element, id_parent) {$    (‘body’). Css (‘cursor’, ‘wait’); $    (‘# Allertcomment-wait-’ + id_element + ‘-’ + id_parent.) Show (); $    (‘# Allertcomment-wait-’ + id_element + ‘-’ + id_parent). Html (‘Sending data …’); $    (‘# Allertcomment-error-’ + id_element + ‘-’ + id_parent). Html (”); $    (‘# Allertcomment-text-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 0.3); $    (‘# Comments-alertcomment-’ + id_element + ‘-’ + id_parent + ‘. NewComment-buttons’). Hide (); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘alert-comment’: 1, ‘id_element’:  id_element, ‘id_parent’: id_parent, ‘text’ $    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent). val (), ‘TYPE_1′: ($    (‘# comment-alert-type-1-’ + id_element + ‘-’ + id_parent). is (‘: checked’)? 1:0), ‘TYPE_2′: ($    (‘# comment-alert-type-2-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1: 0), ‘type_3′: ($    (‘# comment-alert-type-3-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1:0), ‘type_4′: ($    ( ‘# comment-alert-type-4-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)? 1:0), ‘url’: comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$    (‘body’). css (‘cursor’, ‘default’); $    (‘#  allertcomment-wait-’ + id_element + ‘-’ + id_parent.) hide () $    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent). css (‘opacity’, 1); $    (‘# allertcomment-moreinfo-’ + id_element + ‘-’ + id_parent). css ( ‘opacity’, 1); $    (‘# comments-alertcomment-’ + id_element + ‘-’ + id_parent + ‘. newComment-buttons’). fadeIn (); if (oJsonObject) {if (oJsonObject.error) {$    (‘# newComment-error-’ + id_element + ‘-’ + id_parent). html (oJsonObject.error); } Else {$    (‘. NewComment comments-’). Hide (); $    (‘. Comment-item-text-’ + id_parent + ‘b.clRed’). Remove (); $    (‘. Comment-item-text-’ + id_parent). Html (‘
 report has been sent! ‘ + $    (‘. Comment-item-text-’ + id_parent) . html ()); $    (‘. Comment-button-alert-’  + id_parent). Attr (‘disabled’, ‘disabled’); }} Else $    (‘# allertcomment-error-’ + id_element + ‘-’ + id_parent). Html (‘An error occurred. No object.’); }, Error: function () {$    (‘# allertcomment-wait-’ + id_element + ‘-’ + id_parent). Hide (); $    (‘# Allertcomment-error-’ + id_element + ‘-’ + id_parent). Html (‘Error’); $    (‘Body’). Css (‘cursor’, ‘default’); $    (‘# Allertcomment-text-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 1); $    (‘# Allertcomment-moreinfo-’ + id_element + ‘-’ + id_parent). Css (‘opacity’, 1); $    (‘# Comments-alertcomment-’ + id_element + ‘-’ + id_parent + ‘. NewComment-buttons’). FadeIn (); }}); Comment_zoomIn} function (id_comment) {$    (‘# comment’ + +  id_comment. ‘Comment-item-text-’ + id_comment). AddClass (‘comment-item-text-zoom’); $    (‘# Comment’ + + id_comment. ‘Comment-button-zoom-in-’ + id_comment). Hide (); $    (‘# Comment’ + + id_comment. ‘Comment-button-zoom-out-’ + id_comment.) Show (); Comment_zoomOut} function (id_comment) {$    (‘# comment’ + + id_comment. ‘Comment-item-text-’ + id_comment). RemoveClass (‘comment-item-text-zoom’); $    (‘# Comment’ + + id_comment. ‘Comment-button-zoom-in-’ + id_comment.) Show (); $    (‘# Comment’ + + id_comment. ‘Comment-button-zoom-out-’ + id_comment). Hide (); Comment_showAllUserBox} function (id_element, id_parent) {$    (‘. NewComment-user-box-’ + id_element + ‘-’ + id_parent). Hide (); $    (‘# NewComment-all-user-box-’ + id_element + ‘-’ + id_parent.) Show (); $     (‘# NewComment-type-1-’ + id_element + ‘-’ + id_parent). Attr (‘checked’, ‘checked’); comment_canSendComment (id_element, id_parent); Comment_showLoginUserBox} function (id_element, id_parent) {$    (‘. NewComment-user-box-’ + id_element + ‘-’ + id_parent). Hide (); $    (‘# NewComment-login-user-box-’ + id_element + ‘-’ + id_parent.) Show (); $    (‘# NewComment-type-2-’ + id_element + ‘-’ + id_parent). Attr (‘checked’, ‘checked’); comment_canSendComment (id_element, id_parent); Comment_unsetFBprofile} function (id_element, id_parent) {$    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘alt’,”); $    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’).  Attr (‘title’,”); $    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘src’, ‘http://www.wprost.pl/G/blogi/ face_blog_default.jpg ‘); $    (‘# NewComment-moreinfo-fb-’ + id_element + ‘-’ + id_parent). Hide (); $    (‘# NewComment-infobar-4FB-’ + id_element + ‘-’ + id_parent.) Show (); $    (‘# NewComment-user-fb-id-’ + id_element + ‘-’ + id_parent). Val (”); $    (‘# NewComment-type-1-’ + id_element + ‘-’ + id_parent). Attr (‘checked’, ‘checked’); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / profil.php’, data: {unsetFBprofile: 1}, dataType: ‘json’, success: function (oJsonObject) {}, error: function () {}}); comment_canSendComment (id_element, id_parent); Comment_assignFBprofile} function  (id_element, id_parent) {$    (‘# assignFBprofile-error-’ + id_element + ‘-’ + id_parent). Html (”); FBConnectInit (function (_FBuser) {if (! _FBuser) {$    (‘# AssignFBprofile-error-’ + id_element + ‘-’ + id_parent). Html (‘An error occurred. Could not connect to Facebook.’);} Else if ( ! _FBuser.id &&! _FBuser.name &&! _FBuser.link) {$    (‘# assignFBprofile-error-’ + id_element + ‘-’ + id_parent). html (‘An error occurred. Lack of connection to the service Facebook or not all data has been transferred. ‘);} else {$    (‘. newComment-user-box-’+ id_element +’ – ‘+ id_parent). remove (); $    (‘ # newComment-user-fb-id- ‘+ id_element +’ – ‘+ id_parent). val (_FBuser.id) $    (‘ # newComment-infobar-’+ id_element +’ – ‘+ id_parent). html (”); $    (‘.  newComment-comment-form – ‘+ id_element +’ – ‘+ id_parent +.’ comment-newComment-thumb img ‘). attr (‘ alt ‘, _FBuser.name) $    (‘. comment-newComment-form-’+ id_element +’ – ‘+ id_parent +’ . comment-newComment-thumb img ‘). attr (‘ title ‘, _FBuser.name) $    (‘ # newComment-type-3-’+ id_element +’ – ‘+ id_parent). attr (‘ checked ‘,’ checked ‘ ) if (_FBuser.link) {$    (‘. newComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘comment-newComment-thumb img’). addClass (‘pointer’); $    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Click (function () {window.open (_FBuser.link, ‘facebook’);} ); } If (_FBuser.image) {$    (‘. NewComment-comment-form-’ +  id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘src’, _FBuser.image); Comment_canSendComment} (id_element, id_parent); }}); Comments_vote} function (id_element, id_parent, id_vote, vote, is_large) {$    (‘body’). Css (‘cursor’, ‘wait’); if (is_large) {$    (‘# comment-large-votes-’ + id_element + ‘-’ + id_parent + ‘a’). click (function () {return false;}); $    (‘# Comment-large-votes-’ + id_element + ‘-’ + id_parent). Animate ({‘opacity’: 0.3}); } Else $    (‘# comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote ‘). Animate ({‘ opacity ‘: 0.3}); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘set-vote’: 1, ‘id_element’: id_element, ‘id_parent’: id_parent,  ‘id_vote’ : id_vote, ‘is_large’ (is_large? 1:0), ‘vote’: vote, ‘url’: comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$    (‘body’). css (‘cursor’, ‘default’); $    (‘# comments-toolbar2-’ + id_element + ‘-’ + id_parent + ‘. form-button-vote’). animate ({‘opacity ‘: 1}) if (oJsonObject) {if (oJsonObject.error) {if (oJsonObject.voted == 1) {$    (‘ # comments-toolbar2-’+ id_element +’ – ‘+ + id_parent. “form-button- vote ‘). attr (‘ disabled ‘,’ disabled ‘); $    (‘ # comments-toolbar2-’+ id_element +’ – ‘+ id_parent +’. form-button-vote ‘). addClass (‘ form-button-vote- Voted ‘);}} else {if (is_large && oJsonObject.large_votes_buttons) {$    (‘  # comment-large-votes-’+ id_element +’ – ‘+ id_parent). html (oJsonObject.large_votes_buttons) $    (‘ # comment-large-votes-’+ id_element +’ – ‘+ id_parent). animate ({‘ opacity ‘: 1}); } Else {$    (‘# comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote ‘). Attr (‘ disabled ‘,’ disabled ‘); $    (‘# Comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote ‘). AddClass (‘ form-button-vote-voted ‘); $    (‘# Comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote-yes’). Val (oJsonObject.votes_yes); $    (‘# Comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote-no ‘). Val (oJsonObject.votes_no); }}}}, Error: function () {$    (‘body’). Css (‘cursor’,  ‘default’); $    (‘# Comments-toolbar2-’ + id_element + ‘-’ + + id_parent. “Form-button-vote ‘). Animate ({‘ opacity ‘: 1}); if (is_large) {$    (‘# comment-large-votes-’ + id_element + ‘-’ + id_parent). html (”); $    (‘# Comment-large-votes-’ + id_element + ‘-’ + id_parent). Animate ({‘opacity’: 1}); }}}); Comment_canSendAlert} function (id_element, id_parent) {var txt1 = $   . Trim ($    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent). Val ()); var ret = false; if ($    (‘# comment-alert-type-1-’ + id_element + ‘-’ + id_parent.) is (‘: checked’)) {$    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent) . hide (); ret = true; } Else if ($    (‘# comment-alert-type-2-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {$     (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent). hide (); ret = true; } Else if ($    (‘# comment-alert-type-3-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {$    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent). hide (); ret = true; } Else if ($    (‘# comment-alert-type-4-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {$    (‘# allertcomment-text-’ + id_element + ‘-’ + id_parent.) show (); ret = ((txt1! =”) && (txt1.length> 20)); } If (ret) $    (‘# comment-alert-send-’ + id_element + ‘-’ + id_parent). RemoveAttr (‘disabled’); else $    (‘# comment-alert-send-’ + id_element + ‘-’ + id_parent). attr (‘disabled’, ‘disabled’); Comment_canSendComment} function (id_element, id_parent) {var txt1 = $   . Trim ($     (‘# newComment-text-’ + id_element + ‘-’ + id_parent). Val ()); var txt2 = $   . trim ($    (‘# newComment-nick-’ + id_element + ‘-’ + id_parent). val ()); var = $    nicotinamide. trim ($    (‘# newComment-user-id-’ + id_element + ‘-’ + id_parent). val ()); var = $    iduf. trim ($    (‘# newComment-user-fb-id-’ + id_element + ‘-’ + id_parent). val ()); var ret = false; if ((txt1! =”) && (txt1.length> = 3) && (! $    (‘# newComment-moreinfo-’ + id_element + ‘-’ + id_parent.) is (‘: visible ‘))) {if ($    (‘ # newComment-type-3-’+ id_element +’ – ‘+ id_parent.) is (‘: checked ‘)) {$    (‘ # newComment-moreinfo-’+ id_element +’ – ‘+ id_parent.) show (); $    (‘# NewComment-moreinfo-’ + id_element + ‘-’ + id_parent). RemoveAttr  (‘disabled’); } Else {$    (‘# newComment-moreinfo-’ + id_element + ‘-’ + id_parent). SlideDown (function () {$    (‘# newComment-moreinfo-’ + id_element + ‘-’ + id_parent). RemoveAttr (‘disabled’ )}); }} If ($    (‘# newComment-type-1-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {ret = ((txt1! =”) && (Txt2! =”) && (txt1.length> = 3) && (txt2.length> = 5)); } Else if ($    (‘# newComment-type-2-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {ret = ((txt1! =”) && (Nicotinamide> , 0) && (txt1.length> = 3)); } Else if ($    (‘# newComment-type-3-’ + id_element + ‘-’ + id_parent.) Is (‘: checked’)) {ret = ((txt1! =”) && (Iduf> , 0) && (txt1.length> = 3)); } If (ret) $    (‘# newComment-send-’  + id_element + ‘-’ + id_parent). RemoveAttr (‘disabled’); else $    (‘# newComment-send-’ + id_element + ‘-’ + id_parent). attr (‘disabled’, ‘disabled’); Comment_loginUser} function (id_element, id_parent) {var txt1 = $   . Trim ($    (‘# newComment-user-nickname-’ + id_element + ‘-’ + id_parent). Val ()); var txt2 = $   . trim ($    (‘# newComment-user-pwd-’ + id_element + ‘-’ + id_parent). val ()); $    (‘Body’). Css (‘cursor’, ‘wait’); $   . Ajax ({type: ‘POST’, url: ‘/ F / ajax / comments.php’, data: {‘login-user’: 1, ‘l’: txt1, ‘p’: txt2, ‘url’ : comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$    (‘body’). css (‘cursor’, ‘default’) if  (oJsonObject) { if (oJsonObject.error) {$    (‘# newComment-user-err-’ + id_element + ‘-’ + id_parent). html (oJsonObject.error);} else if (oJsonObject.id_user> 0) {$    (‘. newComment-user-box-’+ id_element +’ – ‘+ id_parent). remove (); $    (‘ # newComment-user-id-’+ id_element +’ – ‘+ id_parent). val (oJsonObject.id_user) $    (‘ # newComment-infobar-’+ id_element +’ – ‘+ id_parent). html (”); $    (‘. comment-newComment-form-’+ id_element +’ – ‘+ id_parent +.’ comment-newComment-thumb img ‘). attr (‘alt’, oJsonObject.username) $    (‘. newComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘comment-newComment-thumb img’). attr (‘title’, oJsonObject.username) , $    (‘# newComment-type-2-’ + id_element + ‘-’ + id_parent). attr  (‘checked’, ‘checked’) if (oJsonObject.userurl) {$    (‘. newComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘comment-newComment-thumb img’). addClass (‘pointer’); $    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Click (function () {location = oJsonObject.userurl;}); } If (oJsonObject.userthumb) {$    (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘src’, oJsonObject.userthumb); Comment_canSendComment} (id_element, id_parent); } Else {$    (‘# newComment-user-err-’ + id_element + ‘-’ + id_parent). Html (‘An error’); }} Else $    (‘# newComment-user-err-’ + id_element + ‘-’ + id_parent). Html (‘An error’); }, Error: function () {$    (‘#  newComment-user-err-’ + id_element + ‘-’ + id_parent). Html (‘An error’); $    (‘Body’). Css (‘cursor’, ‘default’); }}); Comment_textareaAutoHeight} function (textarea) {/ * if ($   . Browser.mozilla) {var tah = $    (textarea). Height (); if (tah ->    
  Read also  
       
No comments:
Post a Comment