20.05.2012
vover6
Друзья
Сообщений 1090
|
Кто может переделать скрипт из jquery-1.6.1.js в jquery-1.3.2.js?
Вот код: Code function tormoz(){if($("#trmz").text().indexOf("НЕ")!=-1){eraseCookie("apotr"); $("#trmz").html('<a id="trmz" title="Активируйте, если при прокрутке страницы страница притормаживает" href="javascript:tormoz()">У меня тормозит прокрутка</a> '); if(getCookie("innerapofon")){$("#apobbbk").html('<img src="'+getCookie("innerapofon")+'" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}else{$("#apobbbk").html('<img src="/afor/fback.jpg" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}_uWnd.alert("Опция отключена","",{w:200,h:70})}else{setCookie("apotr",1,365); $("#apofbk").remove(); $("body").css("background-image","url(/afor/44.jpg)"); $("#trmz").html('<a id="trmz" title="Активируйте, если при прокрутке страницы страница НЕ притормаживает" href="javascript:tormoz()">У меня НЕ тормозит прокрутка</a> ');_uWnd.alert("Опция принята","",{w:200,h:70})}}function get_selection(a,b){if(window.getSelection){selection=window.getSelection().toString();if(selection!=""){$("#namea").html(a); $("#namea").attr("class",b); $("#quoter").fadeIn()}else{$("#quoter").fadeOut()}}else if(document.getSelection){selection=document.getSelection()}else{selection=document.selection.createRange().text}}function paste(a,b){if(document.selection&&b){$("body").scrollTo($("body").height(),0);document.apof2.message.focus();document.apof2.document.selection.createRange().text=a; $("#quoter").fadeOut(0)}else $("body").scrollTo($("body").height(),0);document.apof2.message.focus();document.apof2.message.value+=a; $("#quoter").fadeOut(0)}function Insert(a){if(a!=""){var b=$("#namea").text();var c=$("#namea").attr("class");paste("[quote="+b+" в "+c+"]"+a+"[/quote]",0)}}function hon(){apob.focus(function(){apobc.fadeIn()});document.onscroll=function(){var a=$("body").height();var b=a-1e3;if($(window).scrollTop()<b){apobc.fadeOut()}}}function apoed(){shme();apocol();hon();apo4=$(".numPages:first").text(); $("a.switchDigit").click(function(){swg=$(this).attr("href");aposwg();return false}); $("img#allmm").fadeIn(0); $(".forumBarA").next().html(' (<a href="javascript://" title="Собщений на странице">'+$(".postTable").size()+"</a>)");if(getCookie("apoav")){$("#onup").next("div").html(' <div><img src="/afor/pava.png" onclick="shava2()" /></div>'); $(".mPro img").css("display","inline-block")}else{$("#onup").next("div").html(' <div><img src="/afor/pava.png" onclick="shava()" /></div>'); $(".mPro img.aa").css("display","inline-block")}$("td.mMes").attr("align","left"); $("td.mPro").attr("valign",""); $('img[title="Изменить сообщение"]').parent().click(function(){ts=$(this); $('img[title="Изменить сообщение"]').parent().fadeIn(0);ts.hide(0); $(".giveme").hide(0);var a=$(this).attr("href"); $("div#appo").remove(); $(this).parent().parent().append('<div id="appo" style="display:none;"></div>'); $(this).parent().parent().find("div#appo").load(a+' form[name="addform"]',function(){$("* textarea").focus(function(){$("#apobbc").fadeIn()}); $('input[value="Сохранить"]').parent().prev().removeAttr("width").next().attr("width","250px").prepend('<input type="button" style="font-weight:bold;" value="Отменить" onclick="arm()" /> '); $("div#appo:last").slideDown(500); $("input#frF16:first").click(function(){var a=$(this); $.post("/forum/",$('form[name="addform"]').serialize(),function(b){if($(b).find("#errrr").size()!=0){var c=$(b).find("#errrr").html();_uWnd.alert(c,"",{w:250,h:70})}else if(b.indexOf("успешно")!=-1){_uWnd.alert("Сообщение успешно изменено","",{w:250,h:70}); $("div#appo").slideUp();setTimeout(function(){$("div#appo").remove();ts.show(0)},500); $(".giveme").show(0);var d=a.parentsUntil(".postTable").parent().attr("idd");setTimeout(function(){$("table[idd="+d+"]").load(location.href+" table[idd="+d+"]",function(){apoed();smres()})},1e3)}});return false})});return false})}function shava2(){eraseCookie("apoav"); $(".mPro img").css("display","none"); $("#onup").next("div").html(' <div><img src="/afor/pava.png" onclick="shava()" /></div>')}function shava(){setCookie("apoav",1,365); $(".mPro img").css("display","inline-block"); $("#onup").next("div").html(' <div><img src="/afor/pava.png" onclick="shava2()" /></div>')}function apops(){$("* textarea").blur(); $("#frF16:first").attr("disabled","disabled"); $.post("/forum/",$('form[name="apof2"]').serialize(),function(a){if($(a).find("#errrr").size()!=0){var b=$(a).find("#errrr").html(); $("#sound").html('<embed type="application/x-shockwave-flash" src="http://s1.ucoz.net/flash/audio1.swf?song_url=/afor/nosend.mp3&autoplay=1&loop=0" width="0" height="0" />');_uWnd.alert(b,"",{w:250,h:70}); $("#frF16:first").removeAttr("disabled")}else if(a.indexOf("Новый ответ был успешно добавлен")!=-1){$("#sound").html('<embed type="application/x-shockwave-flash" src="http://s1.ucoz.net/flash/audio1.swf?song_url=/afor/send.mp3&autoplay=1&loop=0" width="0" height="0" />');_uWnd.alert("Сообщение успешно добавлено","",{w:250,h:70}); $("textarea#message").val("").focus();var c=location.href;setTimeout(function(){apoldd0(); $("#frF16:first").removeAttr("disabled")},1e3)}})}function getsm(){new _uWnd("Sml"," ",-250,-350,{autosize:0,closeonesc:1,resize:0},{url:"/index/35-23-0"})}function apoldd2(){var a=$(".mrealmes:last").attr("id");var b=$(".numPages:first").text(); $.get("/forum/"+apo1+"-"+apo2+"-"+apo4,function(c){apo4=$(".numPages:first",c).text();if(b<apo4){$(".switches").html($(".switches",c).children().html())}var d=$(".mrealmes:last",c).attr("name");var e=$(".mrealmes:last",c).attr("id");mmr3=$(".mrealmes:last",c).attr("nick");var f=$(".switchActive:first").text();if(f==apo4||f==apo4-1){if(mmr3!=unm&&a!=e){apol1.attr("src","/afor/ajaxer.gif"); $("#sound").html('<embed type="application/x-shockwave-flash" src="http://s1.ucoz.net/flash/audio1.swf?song_url=/afor/incom2.mp3&autoplay=1&loop=0" width="0" height="0" />');a=e;gt.html($(".gTable",c).html());_uWnd.alert("Новое сообщение от "+mmr3,"",{w:250,h:70}); $(".switches").html($(".switches",c).children().html());apoed();smres();apol1.attr("src","/afor/oh.png"); $(document).fadeOut(0);setTimeout(function(){$("body").scrollTop($(document).height())},1);history.pushState(null,null,"http://www.apo-ucoz.com/forum/"+apo1+"-"+apo2+"-"+apo4)}}})}function apoldd0(){apol1.attr("src","/afor/ajaxer.gif");var a=$(".numPages:first").text(); $.get("/forum/"+apo1+"-"+apo2+"-"+apo4,function(a){$(".switches").html($(".switches",a).children().html());mmr3=$(".mrealmes:last",a).attr("nick");mmr=$(".mrealmes:last",a).attr("id");gt.css(gt.height()+"px");gt.html($(".gTable",a).html());apoed();smres();apol1.attr("src","/afor/oh.png");setTimeout(function(){$("body").scrollTop($(document).height())},1);history.pushState(null,null,"http://www.apo-ucoz.com/forum/"+apo1+"-"+apo2+"-"+apo4)})}function aposwg(){$("td#tdimg").remove(); $("table.switches").children().children().append('<td id="tdimg"><img src="/afor/uloader.gif" /></td>'); $.get(swg,function(a){apo4=$(".numPages:first",a).text();var b=$(".switchActive:first").text();gt.html($(".gTable",a).html()); $(".switches").html($(".switches",a).children().html());history.pushState(null,null,swg);if(b==apo4){mmr3=$(".mrealmes:last").attr("nick");mmr=$(".mrealmes:last",a).attr("id")}apoed();smres()})}function chsn(){if(getCookie("nsnd")){ths2.html('<img src="/afor/psof.png" width="20px" />'); $("#sound").attr("id","nsound")}}function noup(){if(getCookie("noupp")){ths3.html('<img src="/afor/pnup.png" width="20px" />')}}function smres(){$("div.mrealmes").each(function(){var a=$(this).html();var b=a.replace(/:\)/g,'<img src="http://s15.ucoz.net/sm/23/smile.gif" />').replace(/:p/g,'<img src="http://s15.ucoz.net/sm/23/tongue.gif" />').replace(/\^\_\^/g,'<img src="http://s15.ucoz.net/sm/23/happy.gif" />').replace(/:D/g,'<img src="http://s15.ucoz.net/sm/23/biggrin.gif" />').replace(/:lol:/g,'<img src="http://s15.ucoz.net/sm/23/lol.gif" />').replace(/:haha:/g,'<img src="http://s15.ucoz.net/sm/23/haha.gif" />').replace(/\%\)/g,'<img src="http://s15.ucoz.net/sm/23/wacko.gif" />').replace(/:smile2:/g,'<img src="http://s15.ucoz.net/sm/23/smile2.gif" />').replace(/:shok:/g,'<img src="http://s15.ucoz.net/sm/23/shok.gif" />').replace(/:sleep:/g,'<img src="http://s15.ucoz.net/sm/23/sleep.gif" />').replace(/:unsure:/g,'<img src="http://s15.ucoz.net/sm/23/unsure.gif" />').replace(/:o/g,'<img src="http://s15.ucoz.net/sm/23/surprised.gif" />').replace(/:\(/g,'<img src="http://s15.ucoz.net/sm/23/sad.gif" />').replace(/:loor:/g,'<img src="http://s15.ucoz.net/sm/23/dry.gif" />').replace(/:angry:/g,'<img src="http://s15.ucoz.net/sm/23/angry.gif" />').replace(/:yes:/g,'<img src="http://s15.ucoz.net/sm/23/yes.gif" />').replace(/:no:/g,'<img src="http://s15.ucoz.net/sm/23/no.gif" />').replace(/:ninja:/g,'<img src="http://s15.ucoz.net/sm/23/ninja.gif" />'); $(this).html(b)})}function getost(){$.get("/forum/",function(a){var b=$("#apothm").html();if(b==""){$("#apothm").html($(".forumThreadTd",a).each(function(){var a=$(this).prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}else{$(".forumThreadTd",a).each(function(){var c=$(this).prev().find(".forum").text();ggpt=$(this).prepend(" "+c+"~").append("~ ").html();if(b.indexOf(ggpt)!=-1){}else{new _uWnd("","Новая тема!",300,80,{autosize:0,closeonesc:1,fadetype:2,fadeclosetype:2,fadespeed:300},"Новая тема в разделе "+$(this).prev().html()); $("#apothm").html($(".forumThreadTd",a).each(function(){var a=$(this).prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}})}var c=$(".forumBarA:first").text();var d=$("#apoallstat").html();if(d==""){$("#apoallstat").html($(".forumPostTd",a).each(function(){var a=$(this).prev().prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}else{$(".forumPostTd",a).each(function(){var b=$(this).prev().prev().find(".forum").text();gpt=$(this).prepend(" "+b+"~").append("~ ").html();if(d.indexOf(gpt)!=-1){}else{if($(this).next().html().indexOf(unm)!=-1||$(this).next().find(".forumLastPostLink").text()==c){}else{new _uWnd("","Новое сообщение!",300,80,{autosize:0,closeonesc:1,fadetype:2,fadeclosetype:2,fadespeed:300},$(this).next().html())}$("#apoallstat").html($(".gTabl e .forumPostTd",a).each(function(){var a=$(this).prev().prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}})}apogtb=$(".gTable",a).html();md.html(apogtb);md.css({"margin-left":"-"+md.width()/2+"px","margin-top":"-"+md.height()/2+"px",left:"50%",top:"50%","background-color":"rgba(200, 200, 240, 0.9)"}).find("td").css("background-color","transparent");ths7.html($("td.gTableBody1",a).html());ths7.find("div").remove();ths7.find("a").click(function(){$("#message").focus().val($("#message").val()+"[b]"+$(this).text()+"[/b], ");return false});ths7.find("a:last").after(' <img id="onrel" style="vertical-align:-1px;" height="12px" src="/afor/reller.png" />'); $("#onrel").click(function(){$(this).attr("src","/afor/okloader.gif");getost()})})}function apocol(){if(getCookie("colr")){$("#ocol").children().attr("src","/afor/pcolorp.png"); $(".mMes").each(function(){var a=$(this);if($(this).html().indexOf(unm)!=-1){a.css("background-color","rgba(200, 240, 200, 0.7)")}}); $(".mMes[name="+unm+"]").css("background-color","rgba(240, 200, 200, 0.7)")}else{$("td.mMes").css("background-color","rgba(240, 240, 240, 0.7)")}}function shme(){if(getCookie("shmee")){$("table.postTable").stop().fadeTo(0,.3).find("td[name="+unm+"]").parent().parent().parent().stop().fadeTo(0,1)}else if(getCookie("shfmee")){$("table.postTable").stop().fadeTo(0,.3); $("td.mMes").each(function(){var a=$(this);if($(this).text().indexOf(unm)!=-1){a.parent().parent().parent().stop().fadeTo(0,1)}})}else{$("table.postTable").stop().fadeTo(0,1)}}functio n innf(){if($(".podmod").size()>0){md.fadeOut(1e3); $(".podmod").remove()}else if(md.html()==""){getost();setTimeout(function(){md.html(apogtb).delay(500).fadeIn();md.css({"margin-left":"-"+md.width()/2+"px","margin-top":"-"+md.height()/2+"px",left:"50%",top:"50%","background-color":"rgba(200, 200, 240, 0.9)"}).find("td").css("background-color","transparent");md.before('<div style="width:100%;height:100%;z-index:400;background-color:rgba(240, 240, 200, 0.7);position:fixed;" class="podmod"></div>'); $(".podmod").click(function(){$(this).remove();md.fadeOut()})},2e3)}else{md.html(apogtb).delay(500).fadeIn();md.css({"margin-left":"-"+md.width()/2+"px","margin-top":"-"+md.height()/2+"px",left:"50%",top:"50%","background-color":"rgba(200, 200, 240, 0.9)"}).find("td").css("background-color","transparent");md.before('<div style="width:100%;height:100%;z-index:400;top:0px;left:0px;background-color:rgba(240, 240, 200, 0.7);position:fixed;" class="podmod"></div>'); $(".podmod").click(function(){$(this).remove();md.fadeOut()})}}function arm(){$("div#appo").slideUp(200);setTimeout(function(){$("div#appo").remove()},200);ts.show(0); $(".giveme").show(0)}function mousePageXY(a){var b=0,c=0;if(!a)a=window.event;if(a.pageX||a.pageY){b=a.pageX;c=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)-document.documentElement.clientLeft;c=a.clientY+(document.documentElement.scrollTop||document.body.scrollTop)-document.documentElement.clientTop}$("#quoter").css({top:c+"px",le ft:b+"px"})}function forump(){$.get(apolhrf,function(a){ths7.html($(".forumOnlineBar:last",a).html());ths7.find("div").remove();ths7.find("a:last").after(' <img id="onrel" style="vertical-align:-1px;" height="12px" src="/afor/reller.png" />'); $("#onrel").click(function(){$(this).attr("src","/afor/okloader.gif");forump()}); $(".gTable:first").html($(".gTable",a).html()); $(".gtable tr").each(function(){var a=$(this).html();if(a.indexOf('<img alt="" style="margin:0;padding:0;vertical-align:middle;border:0;" src="http://s36.ucoz.net/img/fr/ic1/hot.gif" title="Горячая тема">')!=-1){$(".gTableSubTop").parent().after($(this).prepend("<tr>").append("</tr>").html()); $(this).remove()}}); $(".gtable tr").each(function(){var a=$(this).html();if(a.indexOf('<img alt="" style="margin:0;padding:0;vertical-align:middle;border:0;" src="http://s36.ucoz.net/img/fr/ic1/closed.gif" title="Тема закрыта">')!=-1){$(".gTable tr:last").after($(this).prepend("<tr>").append("</tr>").html()); $(this).remove()}}); $(".threadsDetails").parent().before('<tr height="40px"></tr>'); $(".threadPostTd").each(function(){if($(this).text()==0){$(this).parent().find("td").attr("title","В этой теме мало ответов").css("background-color","rgba(200, 240, 200, 0.6)")}if($(this).text()>50){$(this).parent().find("td").attr("title","Тема просто огонь").css("background-color","rgba(240, 200, 200, 0.6)")}});if($(".switchActive:first").text()==1){if(nss==null){nss=$(".threadsDetails:last",a).find("b:first").html()}else{if(nss!=$(".threadsDetails: last",a).find("b:first").html()){new _uWnd("","Новая тема!",300,120,{autosize:0,align:"left",closeonesc:1,fadetype:2,fadeclosetype:2,fadespeed:300},"Новая тема: <b>"+$(".threadLink:first").html()+"</b>");nss=$(".threadsDetails:last",a).find("b:first").html()}}}})}function mainp(){$.get("/forum",function(a){ths7.html($("td.gTableBody1",a).html());ths7.find("div").remove();ths7.find("a:last").after(' <img id="onrel" style="vertical-align:-1px;" height="12px" src="/afor/reller.png" />'); $("#onrel").click(function(){$(this).attr("src","/afor/okloader.gif");mainp()}); $(".gTable:first").html($(".gTable",a).html());var b=$("#apothm2").html();if(b==""){$("#apothm2").html($(".forumThreadTd",a).each(function(){var a=$(this).prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}else{$(".forumThreadTd",a).each(function(){var c=$(this).prev().find(".forum").text();ggpt2=$(this).prepend(" "+c+"~").append("~ ").html();if(b.indexOf(ggpt2)!=-1){}else{new _uWnd("","Новая тема!",300,120,{autosize:0,align:"left",closeonesc:1,fadetype:2,fadeclosetype:2,fadespeed:300},$(this).next().next().html()+"<hr>Раздел: "+$(this).prev().html()); $("#apothm2").html($(".forumThreadTd",a).each(function(){var a=$(this).prev().find(".forum").text(); $(this).prepend(" "+a+"~").append("~ ").html()}))}})}})}if(getCookie("apotr")){$(".frmBtns").before('<td><a id="trmz" title="Активируйте, если при прокрутке страницы страница НЕ притормаживает" href="javascript:tormoz()">У меня НЕ тормозит прокрутка</a></td> '); $("#apofbk").remove(); $("body").css("background-image","url(/afor/44.jpg)")}else{if(getCookie("innerapofon")){$("#apobbbk").html('<img src="'+getCookie("innerapofon")+'" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}else{$("#apobbbk").html('<img src="/afor/fback.jpg" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}$(".frmBtns").before('<td><a id="trmz" title="Активируйте, если при прокрутке страницы страница притормаживает" href="javascript:tormoz()">У меня тормозит прокрутка</a></td> ')}$(".gDivBottomRight").next().attr("class","apoftbl"); $(".switches:first").parent().parent().parent().parent().attr("class","switcherrs"); $(".forumNamesBar:first").parent().parent().parent().attr("class","switcherrs"); $(window).load(function(){$("#nome").fadeIn(); $(".forumNamesBar").append(' <input title="Замечательные коллекции на gandex.ru и goodfon.ru" type="text" placeholder="Вставьте адрес фона и нажмите ENTER" style="vertical-align:2px;width:200px;height:15px;font-size:9px;" id="apofnn" /> <input type="button" value="Сбросить" id="resme" style="vertical-align:2px;height:15px;font-size:9px;">'); $("input#resme").click(function(){if(getCookie("innerapofon")){eraseCookie("innerapofon"); $("#apobbbk").html('<img src="/afor/fback.jpg" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}else{_uWnd.alert("Стандартный фон уже используется","",{w:250,h:70})}}); $("input#apofnn").keydown(function(a){if(a.keyCode==13){if(!getCookie("apotr")){var b=$(this).val().substr(-4,4);var c=$(this).val().substr(-5,5);if(b==".jpg"||b==".png"||b==".gif"||c==".jpeg"){setCookie("innerapofon",$(this).val(),365); $("#apobbbk").html('<img src="'+getCookie("innerapofon")+'" id="apofbk" style="position:fixed;top:0px;left:0px;z-index:-1;width:100%;height:100%" />')}else{_uWnd.alert("Неверный формат изображения","Внимание!",{w:200,h:70})}}else{_uWnd.alert("Сначала отключите упрощённый стиль","",{w:250,h:70})}}})});var apolhrf;var apob=$("* textarea");var apobc=$("#apobbc");var gt=$(".gTable");var apol1=$("#apoll1");var apol2=$("#apoll2");var ts;var unm=$("#nome").attr("name");var mmr;var mmr3;var apo4=$(".numPages:first").text();var ths2=$("#osn");var ths3=$("#oup");var ths4=$(".apopu");var ths5=$("#apocpu");var ths6=$("#onup");var ths7=$(".oulister");var apo1=$(".postTable:first").attr("apo1");var apo2=$(".postTable:first").attr("apo2");var md=$("#modaler");var swg;var swtx;var apogtb;if(getCookie("nopu")){ths4.css({left:"-50px",opacity:0});ths5.css("left","5px")}$("#ocol").click(function(){if(getCookie("colr")){eraseCookie("colr"); $(this).children().attr("src","/afor/pcolor.png");apocol()}else{setCookie("colr",1,365); $(this).children().attr("src","/afor/pcolorp.png");apocol()}});if(getCookie("colr")){apocol()}if($("#imapo").size()>0){ths4.mouseover(function(){$(this).fadeTo(0,1)});ths4.mouseout(function(){$(this).fadeTo(0,.5)}); $("#apostr").click(function(){$(this).next().slideToggle()}); $("#namea").after('<div id="apoallstat"></div>');ths2.click(function(){if(getCookie("nsnd")){eraseCookie("nsnd");ths2.html('<img src="/afor/pson.png" width="20px" />'); $("#nsound").attr("id","sound")}else{setCookie("nsnd",1,365);ths2.html('<img src="/afor/psof.png" width="20px" />'); $("#sound").attr("id","nsound")}});ths3.click(function(){if(getCookie("noupp")){eraseCookie("noupp");ths3.html('<img src="/afor/pup.png" width="20px" />');_uWnd.alert("Автообновление ВКЛ. Обновитесь","",{w:250,h:70})}else{setCookie("noupp",1,365);ths3.html('<img src="/afor/pnup.png" width="20px" />');_uWnd.alert("Автообновление ВЫКЛ. Обновитесь","",{w:250,h:70})}});ths5.click(function(){if(getCookie("nopu")){eraseCookie("nopu"); $(this).animate({left:"+=50"},500);ths4.animate({left:"+=50",opacity:.5},500)}else{setCookie("nopu",1,365); $(this).animate({left:"-=50"},500);ths4.animate({left:"-=50",opacity:.5},500)}});ths6.click(function(){if(getCookie("onnn")){eraseCookie("onnn");ths7.fadeOut();ths6.html('<img src="/afor/ponl.png" width="20px" />')}else{setCookie("onnn",1,365);ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');if(ths7.html()==""){getost()}}});if(getCookie("onnn")){ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');getost()}$("#innf").click(function(){innf()}); $('form[name="addform"]').attr("name","apof2"); $("#frF16").parent().before('<td width="18px"><img onclick="getsm()" style="vertical-align:-3px;" height="18px" src="http://s15.ucoz.net/sm/23/happy.gif" /></td>'); $(window).keydown(function(a){if(a.keyCode==27){$("#quoter").fadeOut();md.fadeOut(1e3); $(".podmod").remove();if(!getCookie("nopu")){setCookie("nopu",1,365);ths5.animate({left:"-=50"},500);ths4.animate({left:"-=50",opacity:0},500)}arm();apobc.fadeOut()}if(a.ctrlKey&&a.keyCode==81){getsm();return false}if(a.altKey&&a.ctrlKey){if(getCookie("onnn")){eraseCookie("onnn");ths7.fadeOut();ths6.html('<img src="/afor/ponl.png" width="20px" />')}else{setCookie("onnn",1,365);ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');if(ths7.html()==""){getost()}}}if(a.altKey&&a.keyCode==49){eraseCookie("shfmee");if(getCookie("shmee")){eraseCookie("shmee");shme()}else{setCookie("shmee",1,365);shme()}}if(a.altKey&&a.keyCode==50){eraseCookie("shmee");if(getCookie("shfmee")){eraseCookie("shfmee");shme()}else{setCookie("shfmee",1,365);shme()}}if(a.altKey&&a.keyCode==81){innf()}});$(".postTextFl:last").keydown(function(a){if(a.ctrlKey&&a.keyCode==13){apops()}}); $('input[name="sbm"]').click(function(){apops();return false}); $(".forumBarA").after("<span></span>"); $("#apot").click(function(){$("body").scrollTo(0,500)}); $("#apob").click(function(){$("body").scrollTo($("body").height(),500)});apol1.click(function(){apoldd0()});hon();apoed();smres();noup();chsn();if(!getCookie("noupp")){setInterval(function(){apoldd2();getost()},4e4)}}if($("#ismain").size()>0){mainp();setInterval(function(){mainp()},2e4);if(getCookie("onnn")){ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');getost()}$(window).keydown(function(a){if(a.altKey&&a.ctrlKey){if(getCookie("onnn")){eraseCookie("onnn");ths7.fadeOut();ths6.html('<img src="/afor/ponl.png" width="20px" />')}else{setCookie("onnn",1,365);ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');if(ths7.html()==""){getost()}}}})}if($("#isforum").size()>0){apolhrf=location.href;forump();setInterval(function(){forump()},2e4);if(getCookie("onnn")){ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');getost()}$(window).keydown(function(a){if(a.altKey&&a.ctrlKey){if(getCookie("onnn")){eraseCookie("onnn");ths7.fadeOut();ths6.html('<img src="/afor/ponl.png" width="20px" />')}else{setCookie("onnn",1,365);ths7.fadeIn();ths6.html('<img src="/afor/ponn.png" width="20px" />');if(ths7.html()==""){getost()}}}})}var ggpt2;var ggpt3;var nss;var gpt;var ggpt;var apd;
|
|