Wednesday, July 30, 2014

5-year-old drowning, parents on the shore drinking alcohol – On 24

5-year-old drowning, parents on the shore drinking alcohol – On 24

Zielonka near Warsaw lifeguard rescued melting a 5-year-old. During this time, the boy’s parents drank alcohol on the shore.

On Sunday, a few minutes before 18, the duty of the police station in Zielonka received notification of melting the child to bathing “clay pit”. In place immediately went to the officers of Kobylka. There they found a lifeguard WOPR, who informed them that a few minutes earlier pulled out of the water and carried out the rescue operation consisting in maintaining the vital functions of a small boy who was swimming outside the designated swimming.

During rozpytywania rescuer, who is on the spot emergency medical team in an ambulance gave further support 5-year-old. With him in the vehicle was also his mother. Since women clearly felt there was a smell of alcohol. Along with her medical team and police officers went to the hospital. There Decision doctor the child has been adopted for pediatric branch. Examination of sobriety 34-year-olds showed a nearly 2 per mille of alcohol. The woman stated that “clay pits” was also with her husband, who, seeing that the child is resuscitated by a lifeguard walked away in an unknown direction her. Violetta T. informed the police that her husband drank beer, at some point lost contact with her son, she saw him only as a lifeguard pulled him from the water’s edge.

The woman was arrested and ended up in a police cell. A few hours later, in the place where police officers stopped 42-year-old boy’s father. The study showed sobriety in the body of Peter T. close to 2.1 per mille of alcohol. Like his wife also went to the police facilities for detainees.

The boy’s parents have been heard and heard allegations of improper care and exposure of a minor to an immediate danger of loss of life or damage to health. In addition, officers directed to the family court in Wołominie materials, in order to examine the situation of family care. Under the current rules may threaten them up to 5 years imprisonment.

KSP

‘; }} 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

->

LikeTweet

No comments:

Post a Comment