Go downThông điệp [Trang 1 trong tổng số 1 trang]

© FMvi.vn

hungdtvt
on Tue Apr 10, 2012 11:19 pm
avatar
avatar

●V.I.P Member●

Thạch ơi. em share cho anh cái last nhé. gửi vào hộp thư cho anh nhé. hoặc gửi vào mail nè quanghung13491@gmail.com
884



Mr.Win™
on Wed Apr 11, 2012 12:10 pm
avatar
avatar

♪ ●Administrator● ♫

Đã Inbox hộp thư cho anh , vào check giúp em nhé , thanks

_________________
Lếu Láo Live To SHine Lếu Láo



hungdtvt
on Wed Apr 11, 2012 3:55 pm
avatar
avatar

●V.I.P Member●

cảm ơn em nhiều nha. em gửi anh phần index_box nhé, để anh vọc skin punbb xem thế nào hì hì 7777



hungdtvt
on Wed Apr 11, 2012 5:07 pm
avatar
avatar

●V.I.P Member●

mà last này có cần javascipt gì ko em?
Xem lý lịch thành viên
http://www.tinhban.forum.st
Trả lời nhanh

Message reputation : 100% (1 vote)


Mr.Win™
on Wed Apr 11, 2012 5:26 pm
avatar
avatar

♪ ●Administrator● ♫

Hé hé , gửi đc nhiu đó à , còn lại xin phép dìm hàng ,ddddddd
không cần Java anh nhé

_________________
Lếu Láo Live To SHine Lếu Láo



hungdtvt
on Wed Apr 11, 2012 5:42 pm
avatar
avatar

●V.I.P Member●

hình như phải có file này http://blueblood.forumvi.com/19770.js nó mới hiện đúng ko em?



Mr.Win™
on Wed Apr 11, 2012 5:44 pm
avatar
avatar

♪ ●Administrator● ♫

Anh Bỏ JS vào xem thử Cười Đẻo

_________________
Lếu Láo Live To SHine Lếu Láo



hungdtvt
on Wed Apr 11, 2012 5:49 pm
avatar
avatar

●V.I.P Member●

hehe bị mã hóa rồi. em giúp anh đi 884 lâu lắm rồi mới quay lại forumotion, nhiều cái mới quá



Mr.Win™
on Wed Apr 11, 2012 6:05 pm
avatar
avatar

♪ ●Administrator● ♫

Code:
var wXl;for(wXl=0;wXl<$("#profile-advanced-details ol li").length;wXl++){if($("#profile-advanced-details li:eq("+wXl+") .message-header").text().indexOf("[Tin nhắn tự động]")!=-1){$("#profile-advanced-details li:eq("+wXl+") .avatar").html('<img src="http://i48.servimg.com/u/f48/16/58/89/73/thongb10.png" />');var timewall=$("#profile-advanced-details li:eq("+wXl+") .message-date").text();$("#profile-advanced-details li:eq("+wXl+") .message-header").html('<div class="message-date">'+timewall+'</div>[<span class="autobot">Tin nhắn tự động</span>]');$("#profile-advanced-details li:eq("+wXl+") .signature_div").remove()}}var urlpanel=location.pathname+location.search;if(urlpanel=="/profile?mode=editprofile&page_profil=attachments"||urlpanel=="/profile?mode=editprofile&page_profil=friendsfoes"||urlpanel=="/search?search_id=watchsearch"||urlpanel=="/search?search_id=favouritesearch"||urlpanel=="/search?search_id=draftsearch"||urlpanel=="/profile?mode=editprofile&page_profil=facebook"){$("#tabs").remove();$("form.frm-form").parents(".main").wrapInner('<div style="float: left; width: 760px; padding-right: 5px;"></div>').after('<div style="float: left; width: 181px;"><div class="module main"><div class="main-head"><div class="h3">Hòm thư cá nhân</div></div><div class="main-content"><p><img src="http://hitskin.com/themes/16/32/01/i_msg_inbox.png" /><a href="/privmsg?folder=inbox"> Hộp thư đến</a></p><p><img src="http://hitskin.com/themes/16/32/01/i_msg_sentbox.png" /><a href="/privmsg?folder=sentbox"> Hộp thư đi</a></p><p><img src="http://hitskin.com/themes/16/32/01/i_msg_outbox.png" /><a href="/privmsg?folder=outbox"> Thư đã gửi</a></p><p><img src="http://hitskin.com/themes/16/32/01/i_msg_savebox.png" /><a href="/privmsg?folder=savebox"> Hộp lưu trữ</a></p></div></div><div class="module main" style="margin-top: 1em! important;"><div class="main-head"><div class="h3">Tùy chỉnh</div></div><div class="main-content"><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/user10.png" /><a href="/profile?mode=editprofile&page_profil=informations"> Thông tin cá nhân</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/cog10.png" /><a href="/profile?mode=editprofile&page_profil=preferences"> Quyền riêng tư</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/image10.png" /><a href="/profile?mode=editprofile&page_profil=avatars"> Ảnh đại diện</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/text_s10.png" /><a href="/profile?mode=editprofile&page_profil=signature"> Tạo chữ ký</a></p></div></div><div class="module main" style="margin-top: 1em! important;"><div class="main-head"><div class="h3">Khác</div></div><div class="main-content"><p><img src="http://i48.servimg.com/u/f48/16/58/89/73/user-g10.png" /><a href="/groups"> Hội nhóm diễn đàn</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/group10.png" /><a href="/profile?mode=editprofile&page_profil=friendsfoes"> Danh sách bạn bè</a></p><p><img src="http://i48.servimg.com/u/f48/16/58/89/73/facebo10.jpg" /><a href="/profile?mode=editprofile&page_profil=facebook"> Kết nối facebook</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/eye10.png" /><a href="/search?search_id=watchsearch"> Theo dõi bài viết</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/heart10.png" /><a href="/search?search_id=favouritesearch"> Bài viết ưa thích</a></p><p><img src="http://i40.servimg.com/u/f40/16/80/27/29/page_e10.png" /><a href="/search?search_id=draftsearch"> Dự thảo</a></p></div></div></div>')}$("#pun-navlinks  a.mainmenu[href='/search']").removeAttr("onclick").click(function(){$(this).parent().css("position","relative");$("#search_menu").css({"top":"30px","left":"-7px"}).slideToggle();return false});$(".smallrum").each(function(){if($(this).text().length>0){$(this).show()}});$("a[href*='?showpost=']").click(function(){openWin($(this).attr("href"),1000,500);return false});if(location.pathname=="/post"&&location.search.indexOf("&mode=quote")!=-1&&my_getcookie("linkquoteFMvi")!=""){var tQuote=$("input[name='t']").val();var ltQuote=$("input[name='lt']").val();if($("#text_editor_textarea").css("display")!="none"){$("#text_editor_textarea").val("[url=http://"+location.host+my_getcookie("linkquoteFMvi")+"][img]http://i48.servimg.com/u/f48/16/58/89/73/flag_r10.png[/img][/url]"+$("#text_editor_textarea").val())}else{$("#text_editor_iframe").contents().find("body").html('<a class="postlink" href="http://'+location.host+my_getcookie('linkquoteFMvi')+'"><img border="0" alt="quote" src="http://i48.servimg.com/u/f48/16/58/89/73/flag_r10.png" /></a>'+$("#text_editor_iframe").contents().find("body").html())}my_setcookie("linkquoteFMvi","",false)}if(location.search.slice(1,9)=='showpost'){$('.fmviToggle, #pun-visit, .main-foot, .main-head, .paged-head, .paged-foot, .pun-crumbs, #ptrafic_close, #ptrafic_open, #pun-about, #fa_ticker_block, #left, #pun-intro, #first-post-br, #pun-info, .autohidepost').hide();var post=location.search.slice(10);if(post=="first"){$("#main .post:not(':first')").hide()}else if(post=="last"){$("#main .post:not(':last')").hide()}else{$("#main .post").not($("#p"+post).parents(".post")).hide()};$("#pun-foot p").prepend('<div align="center"><a href="javascript:window.close();"><strong class="closeWIndowF">Đóng cửa sổ này lại</strong></a></div>')};var partname=location.pathname.slice(1,5);$("div.page-title h2").prepend('<span class="collapse" style="float:right"><a href="javascript:void(0);" alt="fmClose">-</a><a href="javascript:void(0);" style="display:none" alt="fmOpen">+</a></span>');$(".collapse").each(function(index){$(this).attr("id","fmvicollapse"+partname+index);if(my_getcookie("fmvicollapse"+partname+index)=="1"){$(this).children("a[alt='fmClose']").hide();$(this).children("a[alt='fmOpen']").show();$(this).parent().parent().parent().next().hide()}});$(".collapse a[alt='fmClose']").click(function(){my_setcookie($(this).parent().attr("id"),1,1,0);$(this).hide().next().show();$(this).parent().parent().parent().parent().next().slideUp()});$(".collapse a[alt='fmOpen']").click(function(){my_setcookie($(this).parent().attr("id"),0,1,0);$(this).hide().prev().show();$(this).parent().parent().parent().parent().next().slideDown()});if(partname!='priv'){$("form.frm-form .main .clearfix, .fmviToggle .main .clearfix").prepend('<span class="collapsePost" style="float:right"><a href="javascript:void(0);" alt="fmClose">-</a><a href="javascript:void(0);" style="display:none" alt="fmOpen">+</a></span>');$(".collapsePost").each(function(index){$(this).attr("id","fmvicollapsePost"+partname+index);if(my_getcookie("fmvicollapsePost"+partname+index)=="1"){$(this).children("a[alt='fmClose']").hide();$(this).children("a[alt='fmOpen']").show();$(this).parent().next().hide()}});$(".collapsePost a[alt='fmClose']").click(function(){my_setcookie($(this).parent().attr("id"),1,1,0);$(this).hide().next().show();$(this).parent().parent().next().slideToggle("slow")});$(".collapsePost a[alt='fmOpen']").click(function(){my_setcookie($(this).parent().attr("id"),0,1,0);$(this).hide().prev().show();$(this).parent().parent().next().slideToggle("slow")})}$("#new-message-link a[href^='/privmsg?mode=post_profile']").addClass("large_textbutton").html("<span>+</span> Viết lên tường");$(".post-entry a[href^='http://']").not('a[href*="fmvi.org"], a[href*="youtube.com"], a[href*="fmvi.tk"], a[href$=".jpg"], a[href$=".png"], a[href$=".gif"], a[href$=".bmp"], a[href$=".jpeg"]').each(function(){var direct="http://www.fmvi.org/h78-redirect?forum=chiaseonline&link="+$(this).attr("href");$(this).removeAttr("href").attr("href",direct);$(this).click(function(){openWin($(this).attr("href"),1000,250);return false})});function openWin(a,b,c){width=b;height=c;top_val=(screen.height-height)/2-30;0>top_val&&(top_val=0);left_val=(screen.width-width)/2-18;window.open(a,null,"toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=1,width="+width+",height="+height+", top="+top_val+",left="+left_val)};var versionMinor=parseFloat(navigator.appVersion);var

_________________
Lếu Láo Live To SHine Lếu Láo



Mr.Win™
on Wed Apr 11, 2012 6:05 pm
avatar
avatar

♪ ●Administrator● ♫

Code:
versionMajor=parseInt(versionMinor);var IE=document.all&&!window.opera&&versionMajor<7;var IE7=document.all&&!window.opera&&versionMajor>=7;var OP=window.opera;var FF=document.getElementById;var NS=document.layers;function get_item(name,opener){if(IE){return(opener)?window.opener.document.all[name]:document.all[name]}else if(FF){return(opener)?window.opener.document.getElementById(name):document.getElementById(name)}else if(NS){return(opener)?window.opener.document.layers[name]:document.layers[name]}}function change_display(name,value,opener){if(IE){element=(opener==true)?window.opener.document.all[name].style:document.all[name].style}else if(FF){element=(opener==true)?window.opener.document.getElementById(name).style:document.getElementById(name).style}else if(NS){element=(opener==true)?window.opener.document.layers[name]:document.layers[name]}element.display=value}function reverse_display(name,opener){element=get_item(name);if(!element){return false}var display=(element.style.display!='block')?'block':'none';change_display(name,display,opener)}var current_tooltip;function show_tooltip(caller,content,content_title){var current_tooltip=get_item('tooltip');if(!current_tooltip){var current_tooltip=document.createElement('div');current_tooltip.setAttribute('id','tooltip');document.body.appendChild(current_tooltip)}current_tooltip.style.zIndex=100;current_tooltip.style.position='absolute';if(content_title){content='<p class="header">'+content_title+'</p><p>'+content+'</p>'}else{content='<p>'+content+'</p>'}current_tooltip.innerHTML=content;current_tooltip.style.visibility='visible';caller.onmousemove=move_tooltip;caller.onmouseout=function(){current_tooltip.style.visibility="hidden"};caller.title=''}var offsetxpoint=-60;var offsetypoint=20;var real_body=(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;real_body=(document.documentElement)?document.documentElement:document.body;function move_tooltip(e){var curX=(!IE)?e.pageX:event.clientX+real_body.scrollLeft;var curY=(!IE)?e.pageY:event.clientY+real_body.scrollTop;var rightedge=IE&&!window.opera?real_body.clientWidth-event.clientX-offsetxpoint:window.innerWidth-e.clientX-offsetxpoint-20;var bottomedge=IE&&!window.opera?real_body.clientHeight-event.clientY-offsetypoint:window.innerHeight-e.clientY-offsetypoint-20;var leftedge=(offsetxpoint<0)?offsetxpoint*(-1):-1000;current_tooltip=get_item('tooltip');if(rightedge<current_tooltip.offsetWidth)current_tooltip.style.left=IE?real_body.scrollLeft+event.clientX-current_tooltip.offsetWidth+"px":window.pageXOffset+e.clientX-current_tooltip.offsetWidth+"px";else if(curX<leftedge)current_tooltip.style.left="5px";else current_tooltip.style.left=curX+offsetxpoint+"px";if(bottomedge<current_tooltip.offsetHeight)current_tooltip.style.top=IE?real_body.scrollTop+event.clientY-current_tooltip.offsetHeight-offsetypoint+"px":window.pageYOffset+e.clientY-current_tooltip.offsetHeight-offsetypoint+"px";else current_tooltip.style.top=curY+offsetypoint+"px"}var b=['g 12(13,H,h){$("#I").J();$.1w({1x:13,1y:g(K){4 L=".M-14:1z(\'.M-14:1A(\\\'\u00bb\\\')\'):1B("+H+")";o($(K).9(L).15==0){$(h).e(\'<p><5 17="18 N"><5 19="1a">1C\u00f41D c\u00f3 b\u00e0i O\u1ebft 1b 1E\u00ean m\u1ee5c n\u00e0y.</5></5></p>\');$("#I").A()}D{$("#I").A();$("#1c .1F").1G();$(K).9(L).9(".E, .1H").1I(h);$(h+\' .E\').1J("<P></P>");4 q;1d(q=0;q<H;q++){4 8=$(h+\' a.E:r(\'+q+\')\');4 1e=8.s().v().9(\'p:r(6)>1K\').e();4 Q=8.1f("j");4 1g=Q.1h(0,Q.1L("#"))+"?1i=1M";4 R=8.s().v().9(\'p:r(3)>5\').w();4 1j=8.s().v().9(\'p:r(2)>5\').e();o(1N()){4 S="1O M 1P 1Q";4 T="N 1R"}D{4 S="1S\u1ee7 \u0111\u1ec1 n\u00e0y \u0111\u00e3 b\u1ecb 1T\u00f3a";4 T="B\u00e0i O\u1ebft m\u1edbi"}o(R.U(S)!=-1){4 F=\'k://V.W.X/u/Y/16/Z/10/11/1U.1k\'}D o(R.U(T)!=-1){4 F=\'k://V.W.X/u/Y/16/Z/10/11/1V.1W\'}D{4 F=\'k://V.W.X/u/Y/16/Z/10/11/1X.1k\'};8.1Y(\'<7 1Z="21(z, $(z).s().v().e(), \\\'1l.22\\\')" f="24"><a j="\'+8.s().v().9(".25-1l a").1f("j")+\'" f="E">\'+8.w()+\'</a></7><7 f="26"><27 28="29" 2a="\'+F+\'" /></7><7 f="2b">\'+1e+\'</7><7 f="1i"><a f="2c" 2d="2e(z.j, 1m, 2f);2g 2h" j="\'+1g+\'"> \u25ba</a></7><7 f="2i">\'+1j+\'</7>\')}}},2j:g(2k,2l,2m){$(h).e(\'<p><5 17="18 N"><5 19="1a">C\u00f3 l\u1ed7i x\u1ea3y 2n 1b 2o\u00e1 2p\u00ec2q t\u1ea3i d\u1eef P\u1ec7u.</5></5></p>\')}})}o(1n.2r!="1o.1p.1q"||$("a.2s[j=\'k://1r.1s.1t\']").15<1){2t.1n.2u("k://1r.1s.1t")}12(\'k://1o.1p.1q/U?2v=&2w=*\',\'23\',\'#1c 2x\');$("#2y").1u(g(){$(".2z").A();$("#"+$(z).1v()).J()});$("#2A").1u(g(){$(".2B-O").A();$("#"+$(z).1v()).J()});4 u;1d(u=0;u<20;u++){4 G=$(".2C:r("+u+")");G.w(G.w().1h(G.w().2D("-")+2))}$("#2E").2F(1m);$(g(){$("#2G").e($("#2H-2I 2J[2K=\'2L\']").e())});',"|","split","||||var|font||span|it|find|||||html|class|function|dichF||href|http||||if||ti|eq|parent|||next|text|||this|hide|||else|topictitle|imgUx|numelat|soF|proLastLoad|show|data|chondulieu|topic|New|vi|li|linkUx|trangthai|dabikhoa|dacomoi|search|i48|servimg|com|f48|58|89|73|searchtopic|nguonF|title|length||face|Courier|color|red|trong|recentnew|for|lastUx|attr|popupUx|slice|showpost|chuyenmuc|png|FMvi|1000|location|blueblood|forumvi|com|www|fmvi|org|change|val|ajax|url|success|not|contains|lt|Kh|ng|chuy|latest_topics|empty|tooltipFMvi|appendTo|wrap|strong|indexOf|last|langEV|This|is|locked|posts|Ch|kh|locked10|post_n10|gif|post_o10|replaceWith|onmouseover||show_tooltip|TK||leftrecent|lastlink|imgstatus|img|width|10px|src|rightrecent|firstTopic|onclick|openWin|500|return|false|lastcate|error|jqXHR|textStatus|errorThrown|ra|qu|tr|nh|host|copyright|window|replace|search_keywords|search_author|ul|changeviewrep|viewrep|changeposter|top|rightnumber|lastIndexOf|left|fadeIn|changeFMvi|pun|about|select|name|selected_id","","fromCharCode","replace","\\w+","\\b","g"],c=[b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9]];eval(function(f,g,a,e,d,h){d=function(a){return(a<g?c[4]:d(parseInt(a/g)))+(35<(a%=g)?String[c[5]](a+29):a.toString(36))};if(!c[4][c[6]](/^/,String)){for(;a--;){h[d(a)]=e[a]||d(a)}e=[function(a){return h[a]}];d=function(){return c[7]};a=1}for(;a--;){e[a]&&(f=f[c[6]](RegExp(c[8]+d(a)+c[8],c[9]),e[a]))}return f}(c[0],62,172,c[3][c[2]](c[1]),0,{}));if(typeof(console)=='undefined'){}CHIM=function(){return this};Mudim=function(){return this};Mudim.DISPLAY_ID=['mudim-off','mudim-vni','mudim-telex','mudim-viqr','mudim-mix','mudim-auto'];Mudim.SPELLCHECK_ID='mudim-checkspell';Mudim.ACCENTRULE_ID='mudim-accentrule';CHIM.CHAR_A='A';CHIM.CHAR_a='a';CHIM.CHAR_E='E';CHIM.CHAR_e='e';CHIM.CHAR_U='U';CHIM.CHAR_u='u';CHIM.CHAR_G='G';CHIM.CHAR_g='g';CHIM.CHAR_Q='Q';CHIM.CHAR_q='q';CHIM.CHAR_y='y';CHIM.CHAR_Y='Y';CHIM.CHAR_i='i';CHIM.CHAR_I='I';CHIM.CHAR_0x80=String.fromCharCode(0x80);CHIM.vowels="AIUEOYaiueoy";CHIM.separators=" !@#$%^&*()_+=-{}[]|\\:\";'<>?,./~`\r\n\t";CHIM.off=0;CHIM.buffer=[];CHIM.dirty=false;CHIM.CharIsUI=function(u){var n,UI=CHIM.UI;u=u.charCodeAt(0);for(n=0;UI[n]!=0&&UI[n]!=u;n++){}return UI[n]!=0?n:-1};CHIM.CharIsO=function(u){var n,O=CHIM.O;u=u.charCodeAt(0);for(n=0;O[n]!=0&&O[n]!=u;n++){}return O[n]!=0?n:-1};CHIM.CharPriorityCompare=function(u1,u2){var VN=CHIM.VN;var n,i=-1,j=-1,u;for(n=0,u=u1.charCodeAt(0);VN[n]!=0&&VN[n]!=u;n++){}if(VN[n]!=0){i=n}for(n=0,u=u2.charCodeAt(0);VN[n]!=0&&VN[n]!=u;n++){}if(VN[n]){j=n}return i-j};CHIM.SetCharAt=function(n,c){CHIM.buffer[n]=String.fromCharCode(c)};CHIM.Speller=function(){return this};CHIM.Speller.enabled=true;CHIM.Speller.position=0;CHIM.Speller.count=0;CHIM.Speller.vowels=[];CHIM.Speller.lasts=[];CHIM.Speller.Toggle=function(){CHIM.Speller.enabled=!CHIM.Speller.enabled;Mudim.SetPreference()};CHIM.Speller.Set=function(position,key){CHIM.Speller.vowels[CHIM.Speller.count]=CHIM.Speller.position;CHIM.Speller.lasts[CHIM.Speller.count++]=key;CHIM.Speller.position=position};CHIM.Speller.Clear=function(){CHIM.Speller.position=-1;CHIM.Speller.count=0};CHIM.Speller.Last=function(){return CHIM.Speller.lasts[CHIM.Speller.count-1]};Mudim.consonants="BCDFGHJKLMNPQRSTVWXZbcdfghjklmnpqrstvwxz";Mudim.spchk="AIUEOYaiueoy|BDFJKLQSVWXZbdfjklqsvwxz|'`~?.^*+=";Mudim.vwchk="|oa|uy|ue|oe|ou|ye|ua|uo|ai|ui|oi|au|iu|ia|eu|ie|ao|eo|ay|uu|io|yu|";Mudim.nvchk="FfJjWwZz";Mudim.separators="!@#$%^&*()_+=-{}[]|\\:\";'<>?,./~`";Mudim.tailConsonantsPattern='|c|ch|p|t|m|n|ng|nh|';Mudim.CheckSpell=function(key,grp){var b=CHIM.buffer;var len=b.length;var n=key.toLowerCase();if(CHIM.Speller.enabled&&!Mudim.tempDisableSpellCheck){if(grp>0&&CHIM.off==0){if(Mudim.tailConsonants.length>0){var ecIdx=Mudim.tailConsonantsPattern.indexOf('|'+Mudim.tailConsonants+'|');if(ecIdx<0){CHIM.off=len;Mudim.tailConsonants='';return true}else if(ecIdx<9&&grp==2){var typeid=Mudim.GetMarkTypeID(n,2);if(typeid!=0&&typeid!=1&&typeid!=5){CHIM.off=len;Mudim.tailConsonants='';return true}}}if(len==2&&(b[1]==CHIM.CHAR_u||b[1]==CHIM.CHAR_U)&&(b[0]==CHIM.CHAR_q||b[0]==CHIM.CHAR_Q)&&(grp==2||(grp==1&&Mudim.GetMarkTypeID(n,1)==1))){CHIM.off=len;return CHIM.Append(len,c,key)}}else if(!CHIM.off){var kp=Mudim.spchk.indexOf(key);if(len>0){var lkey=b[len-1].toLowerCase()}if(len==0){if(Mudim.nvchk.indexOf(key)>=0){CHIM.off=-1}else if(kp>=0&&kp<12){CHIM.Speller.Set(0,key)}else if(kp==12||kp>37){return}else{CHIM.Speller.Clear()}}else if(kp==12||kp>37){CHIM.ClearBuffer();return}else if(kp>12){CHIM.off=len}else if(kp>=0){var i=0;while(Mudim.consonants.indexOf(b[i])>=0){i++}if(i>0){Mudim.headConsonants=b.slice(0,i).toString().replace(/,/g,'').toLowerCase()}if(CHIM.Speller.position<0){if(Mudim.headConsonants=='q'){if(len==1&&n!='u'){CHIM.off=len}else if(b[1]=='u'&&n=='u'){CHIM.off=len}}else if(lkey=='p'&&n!='h'){CHIM.off=len}else if(lkey=='k'&&n!='i'&&n!='e'&&n!='y'){CHIM.off=len}else if(Mudim.headConsonants=='ngh'&&n!='i'&&n!='e'){CHIM.off=len}else{CHIM.Speller.Set(len,key);if(n=='y'){if('hklmst'.indexOf(lkey)<0){CHIM.off=len}}else if(n=='e'||n=='i'){if(len>1&&(lkey=='g')){CHIM.off=len}if(lkey=='c'){CHIM.off=1}}}}else if(len-CHIM.Speller.position>1){CHIM.off=len}else{var w="|"+CHIM.Speller.Last().toLowerCase()+key.toLowerCase()+"|";var idx=Mudim.vwchk.indexOf(w);if(idx<0){CHIM.off=len}else if(idx<18&&(Mudim.headConsonants=='c'||Mudim.headConsonants=='C')){CHIM.off=len}else if(lkey=='y'&&Mudim.headConsonants==''&&n!='e'){CHIM.off=len}else{CHIM.Speller.Set(len,key)}}}else{switch(key){case'h':case'H':if(lkey>=CHIM.CHAR_0x80||"CGKNPTcgknpt".indexOf(lkey)<0){CHIM.off=len}break;case'g':case'G':if(lkey!='n'&&lkey!='N'){CHIM.off=len}break;case'r':case'R':if(lkey!='t'&&lkey!='T'){CHIM.off=len}break;default:if(Mudim.consonants.indexOf(lkey)>=0){CHIM.off=len}break}}}if(CHIM.off!=0){return true}}return false};CHIM.Append=function(count,lastkey,key){if(Mudim.separators.indexOf(key)>=0){CHIM.ClearBuffer();return}Mudim.my='mu';CHIM.buffer.push(key);return Mudim.AdjustAccent(CHIM.modes[Mudim.method-1][2].charAt(0))};CHIM.AddKey=function(key){var p=-1;var i,j=-1;var b,c=0,cc,l;var count=CHIM.buffer.length;var m=CHIM.modes[Mudim.method-1],n;var v=null;var autoModeProbe=false;if(!count||CHIM.off!=0||Mudim.tempOff){if(Mudim.CheckSpell(key,l)){return CHIM.Append(count,c,key)}return CHIM.Append(0,0,key)}b=CHIM.buffer;c=b[p=count-1];n=key.toLowerCase();for(l=1;l<m.length;l++)if(m[l].indexOf(n)>=0){break}if(l>=m.length){Mudim.CheckSpell(key,0);return CHIM.Append(count,c,key)}if(Mudim.method==5){Mudim.method=Mudim.AutoDetectMode(n);autoModeProbe=true}if((p=Mudim.FindAccentPos(n))<0){if(autoModeProbe){Mudim.method=5;autoModeProbe=false}Mudim.CheckSpell(key,0);return CHIM.Append(count,c,key)}Mudim.lord='dz';if(Mudim.CheckSpell(key,l)){if(autoModeProbe){Mudim.method=5;autoModeProbe=false}return CHIM.Append(count,c,key)}c=b[p];var x=c.charCodeAt(0);var found=false;if(l==1){m=m[0];for(i=0;!found&&i<m.length;i++){var k=m[i];if(k[0]==n){for(i=1;i<k.length;i++){v=CHIM.vncode_1[k[i]];Mudim.AdjustAccent(n);x=b[p].charCodeAt(0);if(Mudim.GetMarkTypeID(n,1)==3){p=0;c=b[p];x=c.charCodeAt(0)}if(Mudim.PutMark(p,x,1,v,n,true)){if(p>0&&Mudim.GetMarkTypeID(n,1)==1&&p<count-1&&CHIM.CharIsO(b[p])>=0&&CHIM.CharIsUI(b[p-1])>=0&&b[0]!=CHIM.CHAR_q&&b[0]!=CHIM.CHAR_Q){Mudim.PutMark(p-1,b[p-1].charCodeAt(0),1,CHIM.vn_UW,n,false)}found=true;break}}break}}}else{for(i=0;i<CHIM.vncode_2.length;i++){v=CHIM.vncode_2[i];if(Mudim.PutMark(p,x,2,v,n,true)){found=true;break}}}if(!found){Mudim.CheckSpell(key,0);if(autoModeProbe){Mudim.method=5}autoModeProbe=false;return CHIM.Append(count,c,key)}else{if(autoModeProbe){CHIM.SetDisplay()}autoModeProbe=false}if(CHIM.off!=0){CHIM.buffer.push(key)}return p>=0};CHIM.BackSpace=function(){var count=CHIM.buffer.length;if(count<=0){CHIM.dirty=true}else{if(Mudim.accent[0]==count-1)Mudim.ResetAccentInfo();var i=CHIM.vn_OW.length-1;var code=CHIM.buffer[count-1].charCodeAt(0);while(i>=0&&CHIM.vn_OW[i]!=code){i--}if(i<0){i=CHIM.vn_UW.length-1;while(i>=0&&CHIM.vn_UW[i]!=code){i--}}if(i>=0&&(i%2)==1){Mudim.w--}--count;CHIM.buffer.pop();if(count==CHIM.Speller.position){CHIM.Speller.position=CHIM.Speller.vowels[--CHIM.Speller.count]}if((CHIM.off<0&&!count)||(count<=CHIM.off)){CHIM.off=0}}};CHIM.ClearBuffer=function(){CHIM.off=0;Mudim.w=0;CHIM.Speller.Clear();Mudim.ResetAccentInfo();Mudim.tailConsonants='';Mudim.headConsonants='';Mudim.ctrlSerie=0;Mudim.shiftSerie=0;if(CHIM.buffer.length>0){Mudim.tempOff=false;Mudim.tempDisableSpellCheck=false}CHIM.buffer=[]};CHIM.SetDisplay=function(){if(typeof(Mudim.DISPLAY_ID)!="undefined"&&Mudim.method<Mudim.DISPLAY_ID.length){var r;for(var i=0;i<5;i++){r=document.getElementById(Mudim.DISPLAY_ID[i]);if(r){r.checked=false}}r=document.getElementById(Mudim.DISPLAY_ID[Mudim.method]);if(r){r.checked=true}}if(typeof(Mudim.SPELLCHECK_ID)!="undefined"){var r=document.getElementById(Mudim.SPELLCHECK_ID);if(r){r.checked=CHIM.Speller.enabled}}if(typeof(Mudim.ACCENTRULE_ID)!="undefined"){var r=document.getElementById(Mudim.ACCENTRULE_ID);if(r){r.checked=Mudim.newAccentRule}}};CHIM.SwitchMethod=function(){CHIM.ClearBuffer();Mudim.method=(++Mudim.method%6);CHIM.SetDisplay();Mudim.SetPreference()};CHIM.SetMethod=function(m){CHIM.ClearBuffer();Mudim.method=m;CHIM.SetDisplay();Mudim.SetPreference()};CHIM.Toggle=function(){var p;if(!(p=Mudim.Panel)){Mudim.InitPanel()}if(Mudim.method==0){CHIM.SetMethod(Mudim.oldMethod)}else{Mudim.oldMethod=Mudim.method;CHIM.SetMethod(0)}Mudim.SetPreference()};CHIM.GetTarget=function(e){var r;if(e==null){e=window.event}if(e==null){return null}if(e.srcElement!=null){r=e.srcElement}else{r=e.target;while(r&&r.nodeType!=1)r=r.parentNode}if(r.tagName=='BODY'){r=r.parentNode}CHIM.peckable=r.tagName=='HTML'||r.type=='textarea'||r.type=='text';return r};CHIM.GetCursorPosition=function(target){if(target==null||target.value==null||target.value.length==0){return-1}if(typeof(target.selectionStart)!='undefined'){if(target.selectionStart<0||target.selectionStart>target.length||target.selectionEnd<0||target.selectionEnd>target.length||target.selectionEnd<target.selectionStart){return-1}return target.selectionStart}if(document.selection){var selection=document.selection.createRange();var textRange=target.createTextRange();if(textRange==null||selection==null||((selection.text!="")&&textRange.inRange(selection)==false)){return-1}if(selection.text==""){var index=1;if(target.tagName=="INPUT"){var contents=textRange.text;while(index<contents.length){textRange.findText(contents.substring(index));if(textRange.boundingLeft==selection.boundingLeft){break}index++}}else if(target.tagName=="TEXTAREA"){var caret=document.selection.createRange().duplicate();index=target.value.length+1;while(caret.parentElement()==target&&caret.move("character",1)==1){--index;if(target.value.charCodeAt(index)==10){index-=1}}if(index==target.value.length+1){index=-1}}return index}return textRange.text.indexOf(selection.text)}};CHIM.SetCursorPosition=function(target,p){if(p<0){return}if(target.setSelectionRange){target.setSelectionRange(p,p)}else if(target.createTextRange){var range=target.createTextRange();range.collapse(true);var i;var dec=0;for(i=0;i<p;i++){if((target.value.charCodeAt(i)==10)||(target.value.charCodeAt(i)==13)){if(dec==0){--p;dec=1}}else{dec=0}}range.moveStart('character',p);range.moveEnd('character',0);range.select()}};CHIM.UpdateBuffer=function(target){CHIM.ClearBuffer();if(target.tagName!='HTML'){var separators=CHIM.separators;var c=CHIM.GetCursorPosition(target)-1;if(c>0){while(c>=0&&separators.indexOf(target.value.charAt(c))<0){CHIM.buffer.unshift(target.value.charAt(c));c=c-1}}Mudim.startWordOffset=c+1}else{CHIM.buffer=CHIM.HTMLEditor.GetCurrentWord(target).split('')}CHIM.dirty=false};CHIM.VK_TAB=9;CHIM.VK_BACKSPACE=8;CHIM.VK_ENTER=13;CHIM.VK_DELETE=46;CHIM.VK_SPACE=32;CHIM.VK_LIMIT=128;CHIM.VK_LEFT_ARROW=37;CHIM.VK_RIGHT_ARROW=39;CHIM.VK_HOME=36;CHIM.VK_END=35;CHIM.VK_PAGE_UP=33;CHIM.VK_PAGE_DOWN=34;CHIM.VK_UP_ARROW=38;CHIM.VK_DOWN_ARROW=40;CHIM.VK_ONOFF=120;CHIM.VK_ONOFF2=121;CHIM.VK_PANELTOGGLE=119;CHIM.VK_CTRL=17;CHIM.VK_SHIFT=16;CHIM.VK_ALT=18;CHIM.ProcessControlKey=function(keyCode,release){switch(keyCode){case CHIM.VK_TAB:case CHIM.VK_ENTER:CHIM.ClearBuffer();break;case CHIM.VK_BACKSPACE:if(!release){CHIM.BackSpace()}break;case CHIM.VK_DELETE:case CHIM.VK_LEFT_ARROW:case CHIM.VK_RIGHT_ARROW:case CHIM.VK_HOME:case CHIM.VK_END:case CHIM.VK_PAGE_UP:case CHIM.VK_PAGE_DOWN:case CHIM.VK_UP_ARROW:case CHIM.VK_DOWN_ARROW:CHIM.dirty=true;break}};CHIM.IsHotkey=function(e,k){if(k==CHIM.VK_PANELTOGGLE){Mudim.TogglePanel();return true}else if(k==CHIM.VK_ONOFF||k==CHIM.VK_ONOFF2){CHIM.Toggle();return true}return false};CHIM.HTMLEditor=function(){return this};CHIM.HTMLEditor.GetRange=function(target){if(!target.parentNode.iframe){return}var win=target.parentNode.iframe.contentWindow;return(!window.opera&&document.all)?win.document.selection.createRange():win.getSelection().getRangeAt(0)};CHIM.HTMLEditor.GetCurrentWord=function(target){var range=CHIM.HTMLEditor.GetRange(target);if(!range){return''}if(!window.opera&&document.all){while(range.moveStart('character',-1)==-1){if(CHIM.separators.indexOf(range.text.charAt(0))>=0){range.moveStart('character',1);break}}return range.text}var word='';var s;if(!(s=range.startContainer.nodeValue)){return''}var c=range.startOffset-1;if(c>0){while(c>=0&&CHIM.separators.indexOf(s.charAt(c))<0&&s.charCodeAt(c)!=160){word=s.charAt(c)+word;c=c-1}}return word};CHIM.HTMLEditor.Process=function(target,l){var range=CHIM.HTMLEditor.GetRange(target);if(typeof(range)=='undefined'){return}var b=CHIM.buffer;if(!window.opera&&document.all){var x=-l;range.moveStart('character',x);range.moveEnd('character',x+b.length);range.pasteHTML(b.toString().replace(/,/g,''));return}var container=range.startContainer;var offset=range.startOffset;var start=offset-l;container.nodeValue=container.nodeValue.substring(0,start)+b.toString().replace(/,/g,'')+container.nodeValue.substring(start+l);if(l<b.length){offset++}range.setEnd(container,offset);range.setStart(container,offset)};CHIM.Freeze=function(target){var ign=Mudim.IGNORE_ID;if(ign.length>0){for(var i=0;i<ign.length;i++){if(target.id==ign[i]){return true}}}return false};CHIM.KeyHandler=function(e){if(e==null){e=window.event}if(e.isHandled==true){return}e.isHandled=true;var keyCode=e.keyCode;if(keyCode==0){keyCode=e.charCode}if(keyCode==0){keyCode=e.which}if(Mudim.method==0){return}var target=null;if(!(target=CHIM.GetTarget(e))||!CHIM.peckable||CHIM.Freeze(target)){return}if(e.ctrlKey||e.ctrlLeft||e.metaKey){if(keyCode==CHIM.VK_BACKSPACE||keyCode==CHIM.VK_LEFT_ARROW||keyCode==CHIM.VK_RIGHT_ARROW){CHIM.dirty=true}return}if(e.charCode==null||e.charCode!=0){var key=String.fromCharCode(keyCode);if(keyCode==CHIM.VK_SPACE||keyCode==CHIM.VK_ENTER){CHIM.ClearBuffer()}else if(keyCode>CHIM.VK_SPACE&&keyCode<CHIM.VK_LIMIT){if(CHIM.dirty){CHIM.UpdateBuffer(target)}var l=CHIM.buffer.length;if(l==0){Mudim.startWordOffset=CHIM.GetCursorPosition(target)}if(Mudim.newTempDisableSpellCheckRequest){CHIM.ClearBuffer();Mudim.startWordOffset=CHIM.GetCursorPosition(target);Mudim.newTempDisableSpellCheckRequest=false}if(CHIM.AddKey(key)){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.cancelBubble=true;e.returnValue=false;Mudim.UpdateUI(target,l)}}else{CHIM.dirty=true}}else{CHIM.ProcessControlKey(keyCode,true)}};CHIM.KeyUp=function(e){if(e==null){e=window.event}if(e.keyCode==CHIM.VK_SHIFT){if(Mudim.shiftSerie==1){Mudim.tempOff=true;Mudim.shiftSerie=0}}if(e.keyCode==CHIM.VK_CTRL){if(Mudim.ctrlSerie==1){Mudim.tempDisableSpellCheck=true;Mudim.ctrlSerie=0;Mudim.newTempDisableSpellCheckRequest=true}}};CHIM.KeyDown=function(e){var target=null;if(e==null){e=window.event}if(CHIM.IsHotkey(e,e.keyCode)){return}if(e.altKey||e.altLeft){return}if(e.shiftKey||e.shiftLeft||e.metaKey){Mudim.shiftSerie|=1;if(e.keyCode!=CHIM.VK_SHIFT){Mudim.shiftSerie|=2}return}if(e.ctrlKey||e.ctrlLeft||e.metaKey){Mudim.ctrlSerie|=1;if(e.keyCode!=CHIM.VK_CTRL){Mudim.ctrlSerie|=2}return}if(!(target=CHIM.GetTarget(e))||!CHIM.peckable||CHIM.Freeze(target)){return}var keyCode=e.keyCode;if(keyCode==0){keyCode=e.charCode}if(keyCode==0){keyCode=e.which}CHIM.ProcessControlKey(keyCode,false)};CHIM.MouseDown=function(e){CHIM.Activate();CHIM.dirty=true};CHIM.Attach=function(e,r){if(!e){return}if(!e.chim){if(!r){if(!window.opera&&document.all){e.attachEvent('onkeydown',CHIM.KeyDown);e.attachEvent('onkeyup',CHIM.KeyUp);e.attachEvent('onkeypress',CHIM.KeyHandler);e.attachEvent('onmousedown',CHIM.MouseDown)}else{e.addEventListener('keydown',CHIM.KeyDown,false);e.addEventListener('keyup',CHIM.KeyUp,false);e.addEventListener('keypress',CHIM.KeyHandler,false);e.addEventListener('mousedown',CHIM.MouseDown,false)}}else{e.onkeydown=CHIM.KeyDown;e.onkeyup=CHIM.KeyUp;e.onkeypress=CHIM.KeyHandler;e.onmousedown=CHIM.MouseDown}e.chim=true}var f=e.getElementsByTagName('iframe');for(var i=0;i<f.length;i++){var doc=(!window.opera&&document.all)?f[i].contentWindow.document:f[i].contentDocument;try{doc.iframe=f[i];CHIM.Attach(doc,false)}catch(e){}}var f=e.getElementsByTagName('frame');for(var i=0;i<f.length;i++){var doc=(!window.opera&&document.all)?f[i].contentWindow.document:f[i].contentDocument;try{doc.iframe=f[i];CHIM.Attach(doc,false)}catch(e){}}};CHIM.Activate=function(){try{CHIM.Attach(document,true);CHIM.SetDisplay()}catch(exc){}};CHIM.vn_A0=[65,193,192,7842,195,7840];CHIM.vn_a0=[97,225,224,7843,227,7841];CHIM.vn_A6=[194,7844,7846,7848,7850,7852];CHIM.vn_a6=[226,7845,7847,7849,7851,7853];CHIM.vn_A8=[258,7854,7856,7858,7860,7862];CHIM.vn_a8=[259,7855,7857,7859,7861,7863];CHIM.vn_O0=[79,211,210,7886,213,7884];CHIM.vn_o0=[111,243,242,7887,245,7885];CHIM.vn_O6=[212,7888,7890,7892,7894,7896];CHIM.vn_o6=[244,7889,7891,7893,7895,7897];CHIM.vn_O7=[416,7898,7900,7902,7904,7906];CHIM.vn_o7=[417,7899,7901,7903,7905,7907];CHIM.vn_U0=[85,218,217,7910,360,7908];CHIM.vn_u0=[117,250,249,7911,361,7909];CHIM.vn_U7=[431,7912,7914,7916,7918,7920];CHIM.vn_u7=[432,7913,7915,7917,7919,7921];CHIM.vn_E0=[69,201,200,7866,7868,7864];CHIM.vn_e0=[101,233,232,7867,7869,7865];CHIM.vn_E6=[202,7870,7872,7874,7876,7878];CHIM.vn_e6=[234,7871,7873,7875,7877,7879];CHIM.vn_I0=[73,205,204,7880,296,7882];CHIM.vn_i0=[105,237,236,7881,297,7883];CHIM.vn_Y0=[89,221,7922,7926,7928,7924];CHIM.vn_y0=[121,253,7923,7927,7929,7925];CHIM.vncode_2=[CHIM.vn_A0,CHIM.vn_a0,CHIM.vn_A6,CHIM.vn_a6,CHIM.vn_A8,CHIM.vn_a8,CHIM.vn_O0,CHIM.vn_o0,CHIM.vn_O6,CHIM.vn_o6,CHIM.vn_O7,CHIM.vn_o7,CHIM.vn_U0,CHIM.vn_u0,CHIM.vn_U7,CHIM.vn_u7,CHIM.vn_E0,CHIM.vn_e0,CHIM.vn_E6,CHIM.vn_e6,CHIM.vn_I0,CHIM.vn_i0,CHIM.vn_Y0,CHIM.vn_y0];CHIM.vn_AA=[65,194,193,7844,192,7846,7842,7848,195,7850,7840,7852,258,194,7854,7844,7856,7846,7858,7848,7860,7850,7862,7852,97,226,225,7845,224,7847,7843,7849,227,7851,7841,7853,259,226,7855,7845,7857,7847,7859,7849,7861,7851,7863,7853];CHIM.vn_AW=[65,258,193,7854,192,7856,7842,7858,195,7860,7840,7862,194,258,7844,7854,7846,7856,7848,7858,7850,7860,7852,7862,97,259,225,7855,224,7857,7843,7859,227,7861,7841,7863,226,259,7845,7855,7847,7857,7849,7859,7851,7861,7853,7863];CHIM.vn_OO=[79,212,211,7888,210,7890,7886,7892,213,7894,7884,7896,416,212,7898,7888,7900,7900,7902,7892,7904,7894,7906,7896,111,244,243,7889,242,7891,7887,7893,245,7895,7885,7897,417,244,7899,7889,7901,7891,7903,7893,7905,7895,7907,7897];CHIM.vn_OW=[79,416,211,7898,210,7900,7886,7902,213,7904,7884,7906,212,416,7888,7898,7890,7900,7892,7902,7894,7904,7896,7906,111,417,243,7899,242,7901,7887,7903,245,7905,7885,7907,244,417,7889,7899,7891,7901,7893,7903,7895,7905,7897,7907];CHIM.vn_UW=[85,431,218,7912,217,7914,7910,7916,360,7918,7908,7920,117,432,250,7913,249,7915,7911,7917,361,7919,7909,7921];CHIM.vn_EE=[69,202,201,7870,200,7872,7866,7874,7868,7876,7864,7878,101,234,233,7871,232,7873,7867,7875,7869,7877,7865,7879];CHIM.vn_DD=[68,272,100,273];CHIM.vncode_1=[CHIM.vn_AA,CHIM.vn_EE,CHIM.vn_OO,CHIM.vn_AW,CHIM.vn_OW,CHIM.vn_UW,CHIM.vn_DD];CHIM.modes=[[[['6',0,1,2],['7',4,5],['8',3],['9',6]],'6789','012345'],[[['a',0],['e',1],['o',2],['w',3,4,5],['d',6]],'ewoda','zsfrxj'],[[['^',0,1,2],['+',4,5],['(',3],['d',6]],'^+(d',"='`?~."],[[['6',0,1,2],['7',4,5],['8',3],['9',6],['a',0],['e',1],['o',2],['w',3,4,5],['d',6]],'6789ewoda',"012345zsfrxj"],[[['6',0,1,2],['7',4,5],['8',3],['9',6],['a',0],['e',1],['o',2],['w',3,4,5],['d',6],['^',0,1,2],['+',4,5],['(',3],['d',6]],'6789ewoda^+(d',"012345zsfrxj='`?~."]];CHIM.UI=[85,218,217,7910,360,7908,117,250,249,7911,361,7909,431,7912,7914,7916,7918,7920,432,7913,7915,7917,7919,7921,73,205,204,7880,296,7882,105,237,236,7881,297,7883,0];CHIM.O=[79,211,210,7886,213,7884,111,243,242,7887,245,7885,212,7888,7890,7892,7894,7896,244,7889,7891,7893,7895,7897,416,7898,7900,7902,7904,7906,417,7899,7901,7903,7905,7907,0];CHIM.VN=[97,65,225,193,224,192,7843,7842,227,195,7841,7840,226,194,7845,7844,7847,7846,7849,7848,7851,7850,7853,7852,259,258,7855,7854,7857,7856,7859,7858,7861,7860,7863,7862,101,69,233,201,232,200,7867,7866,7869,7868,7865,7864,234,202,7871,7870,7873,7872,7875,7874,7877,7876,7879,7878,111,79,243,211,242,210,7887,7886,245,213,7885,7884,244,212,7889,7888,7891,7890,7893,7892,7895,7894,7897,7896,417,416,7899,7898,7901,7900,7903,7902,7905,7904,7907,7906,121,89,253,221,7923,7922,7927,7926,7929,7928,7925,7924,117,85,250,218,249,217,7911,7910,361,360,7909,7908,432,431,7913,7912,7915,7914,7917,7916,7919,7918,7921,7920,105,73,237,205,236,204,7881,7880,297,296,7883,7882,273,272,0];Mudim.UpdateUI=function(target,l){var b=CHIM.buffer;if(target.tagName=='HTML'){CHIM.HTMLEditor.Process(target,l);if(l<CHIM.buffer.length){return}return false}var start=Mudim.startWordOffset<0?0:Mudim.startWordOffset;var end=CHIM.GetCursorPosition(target);var t=target.scrollTop;target.value=target.value.substring(0,start)+b.toString().replace(/,/g,'')+target.value.substring(end);CHIM.SetCursorPosition(target,start+b.length);target.scrollTop=t};Mudim.FindAccentPos=function(nKey){var k=nKey.toLowerCase();var m=CHIM.modes[Mudim.method-1];var b=CHIM.buffer;var len=b.length;var i,j,l,p,c;if(!len||CHIM.off!=0){return-1}for(i=1;i<m.length;i++)if(m[i].indexOf(k)>=0){break}p=len-1;Mudim.is='ot';switch(l=i){case 1:if(Mudim.GetMarkTypeID(k,1)==3){break}case 2:default:i=p;while(i>=0&&b[i]<CHIM.CHAR_0x80&&CHIM.vowels.indexOf(b[i])<0)i--;if(i<0){return-1}if(i<len-1){Mudim.tailConsonants=b.slice(i+1,len).toString().replace(/,/g,'').toLowerCase()}while(i-1>=0&&(CHIM.vowels.indexOf(b[i-1])>=0||b[i-1]>CHIM.CHAR_0x80)&&CHIM.CharPriorityCompare(b[i-1],b[i])<0)i--;if(i==len-1&&i-1>=0&&(j=CHIM.CharIsUI(b[i-1]))>0){switch(b[i]){case CHIM.CHAR_a:case CHIM.CHAR_A:if((i-2<0||(j<24&&b[i-2]!=CHIM.CHAR_q&&b[i-2]!=CHIM.CHAR_Q)||(j>=24&&b[i-2]!=CHIM.CHAR_g&&b[i-2]!=CHIM.CHAR_G))&&(l==2||(l==1&&Mudim.GetMarkTypeID(k,1)==1)))i--;break;case CHIM.CHAR_u:case CHIM.CHAR_U:if(i-2<0||(b[i-2]!=CHIM.CHAR_g&&b[i-2]!=CHIM.CHAR_G))i--;break;case CHIM.CHAR_Y:case CHIM.CHAR_y:if((!Mudim.newAccentRule)&&i-2>=0&&b[i-2]!=CHIM.CHAR_q&&b[i-2]!=CHIM.CHAR_Q){i--}break}}if(i==len-1&&i-1>=0&&CHIM.CharIsO(b[i-1])>0){switch(b[i]){case CHIM.CHAR_a:case CHIM.CHAR_A:if(!Mudim.newAccentRule&&(l==2||(l==1&&Mudim.GetMarkTypeID(k,1)!=1)))i--;break;case CHIM.CHAR_e:case CHIM.CHAR_E:if(!Mudim.newAccentRule)i--;break}}if(i==len-2&&i-1>=0){var uipos=CHIM.CharIsUI(b[i]);if(uipos>=0&&uipos<24&(b[i-1]==CHIM.CHAR_q||b[i-1]==CHIM.CHAR_Q)){i++}}p=i;break};if(Mudim.GetMarkTypeID(k,1)==3&&b[0]=='d'){return 0}return p};Mudim.PutMark=function(pos,charCodeAtPos,group,subsTab,key,checkDouble){var v=subsTab;var i;for(i=0;i<v.length;i++){if(v[i]==charCodeAtPos){switch(group){case 1:if(Mudim.GetMarkTypeID(key,1)==1){Mudim.w++}if(i%2==0){CHIM.SetCharAt(pos,v[i+1])}else{CHIM.SetCharAt(pos,v[i-1]);if(checkDouble){CHIM.off=CHIM.buffer.length+1}}break;case 2:var j=Mudim.GetMarkTypeID(key,2);if(j>=0){if(j!=i){CHIM.SetCharAt(pos,v[j]);Mudim.accent=[pos,(CHIM.buffer[pos]).charCodeAt(0),v,key]}else{CHIM.SetCharAt(pos,v[0]);Mudim.ResetAccentInfo();if(checkDouble){CHIM.off=CHIM.buffer.length+1}}}break}return true}}return false};Mudim.ResetAccentInfo=function(){Mudim.accent=[-1,0,null,'z']};Mudim.AdjustAccent=function(vk){if(CHIM.off!=0){return false}var p=Mudim.FindAccentPos(vk);var a=Mudim.accent;var b=CHIM.buffer;var v,i,j,c;if(p<0){return false}i=CHIM.vn_OW.length-1;c=b[p].charCodeAt(0);while(i>=0&&CHIM.vn_OW[i]!=c){i--}j=CHIM.vn_UW.length-1;if(p>0){c=b[p-1].charCodeAt(0);while(j>=0&&CHIM.vn_UW[j]!=c){j--}}else{j=-1}if(p<b.length-1&&p>0&&i>=0&&j>=0){if(Mudim.w==1){if(i%2==0){Mudim.PutMark(p,b[p].charCodeAt(0),1,CHIM.vn_OW,CHIM.modes[Mudim.method-1][1].charAt(1),false);if(b[0]==CHIM.CHAR_q||b[0]==CHIM.CHAR_Q){Mudim.PutMark(p-1,b[p-1].charCodeAt(0),1,CHIM.vn_UW,CHIM.modes[Mudim.method-1][1].charAt(1),false)}}else{if(b[0]!=CHIM.CHAR_q&&b[0]!=CHIM.CHAR_Q){Mudim.PutMark(p-1,b[p-1].charCodeAt(0),1,CHIM.vn_UW,CHIM.modes[Mudim.method-1][1].charAt(1),false)}}return true}}if(a[0]>=0&&p>0&&a[0]!=p){Mudim.PutMark(a[0],a[1],2,a[2],a[3],false);for(i=0;i<CHIM.vncode_2.length;i++){v=CHIM.vncode_2[i];if(Mudim.PutMark(p,b[p].charCodeAt(0),2,v,a[3],true)){break}}return true}return false};Mudim.GetMarkTypeID=function(key,group){var m=CHIM.modes[Mudim.method-1];if(Mudim.method!=4){return m[group].indexOf(key)}else{var j=-1;for(var i=0;i<2;i++){j=CHIM.modes[i][group].indexOf(key);if(j>=0){return j}}return j}};Mudim.AutoDetectMode=function(c){var gi;if((gi=CHIM.modes[4][1].indexOf(c))>=0){if(gi<4){return 1}else if(gi<9){return 2}else{return 3}}else if((gi=CHIM.modes[4][2].indexOf(c))>=0){if(gi<6){return 1}else if(gi<12){return 2}else{return 3}}else{return 0}};Mudim.SetPreference=function(){var d=new Date();d.setTime(d.getTime()+604800000);var tail=';expires='+d.toGMTString()+';path=/';var value=Mudim.method;var value=CHIM.Speller.enabled?value+8:value;value=Mudim.newAccentRule?value+16:value;value=Mudim.showPanel?value+32:value;value+=Mudim.displayMode*64;document.cookie='|mudim-settings='+value+tail};Mudim.GetPreference=function(){var c=document.cookie.split(';');for(var i=0;i<c.length&&c[i].indexOf('|mudim-settings')<0;i++);if(i==c.length){CHIM.SetDisplay()}else{var value=parseInt(c[i].split('=')[1],10);Mudim.method=value&7;CHIM.Speller.enabled=(value&8)?true:false;CHIM.newAccentRule=(value&16)?true:false;Mudim.showPanel=(value&32)?true:false;Mudim.displayMode=(value&64)>>6}};Mudim.ToggleAccentRule=function(){Mudim.newAccentRule=!Mudim.newAccentRule};Mudim.TogglePanel=function(){Mudim.showPanel=!Mudim.showPanel;Mudim.Panel.style.display=Mudim.showPanel?'':'None';Mudim.SetPreference()};Mudim.ShowPanel=function(){Mudim.showPanel=true;Mudim.Panel.style.display=''};Mudim.HidePanel=function(){Mudim.showPanel=false;Mudim.Panel.style.display='None'};Mudim.InitPanel=function(){if(!Mudim.Panel){Mudim.GetPreference();Mudim.panels=['<div id="mudimPanel" style="position: fixed; bottom: 0; right:0; left:0; width: 100%; border: 1px solid black; padding: 1px; background: '+Mudim.PANEL_BACKGROUND+'; color:'+Mudim.COLOR+'; z-index:4000; text-align: center; font-size: 10pt;"><a href="http://mudim.googlecode.com" title="Mudzot\'s Input Method" onclick="Mudim.ToggleDisplayMode();return false;">Mudim</a> v0.8 <input name="mudim" id="mudim-off" onclick="Mudim.SetMethod(0);" type="radio">'+Mudim.LANG[0]+'<input name="mudim" id="mudim-vni" onclick="Mudim.SetMethod(1);" type="radio"> '+Mudim.LANG[1]+' <input name="mudim" id="mudim-telex" onclick="Mudim.SetMethod(2);" type="radio"> '+Mudim.LANG[2]+' <input name="mudim" id="mudim-viqr" onclick="Mudim.SetMethod(3);" type="radio"> '+Mudim.LANG[3]+' <input name="mudim" id="mudim-mix" onclick="Mudim.SetMethod(4);" type="radio"> '+Mudim.LANG[4]+' <input name="mudim" id="mudim-auto" onclick="Mudim.SetMethod(5);" type="radio"> '+Mudim.LANG[5]+' <input id="mudim-checkspell" onclick="javascript:Mudim.ToggleSpeller();" type="checkbox">'+Mudim.LANG[6]+'<input id="mudim-accentrule" onclick="javascript:Mudim.ToggleAccentRule();" type="checkbox">'+Mudim.LANG[7]+' [ <a href="#" onclick="Mudim.Toggle();return false;">'+Mudim.LANG[8]+'</a> (F9) <a href="#" onclick="Mudim.TogglePanel();return false;">'+Mudim.LANG[9]+'</a> (F8) ]</div>','<div id="mudimPanel" style="position: fixed; bottom: 0; right: 0; width: 120px; border: 1px solid black; padding: 1px; background: '+Mudim.PANEL_BACKGROUND+'; color:'+Mudim.COLOR+'; z-index:100; text-align: center; font-size: 10pt;"><a href="http://mudim.googlecode.com" title="Mudzot\'s Input Method" onclick="Mudim.ToggleDisplayMode();return false;">Mudim</a>:#METHOD#</div>'];var f=document.createElement('div');f.innerHTML=Mudim.panels[Mudim.displayMode].replace('#METHOD#',Mudim.LANG[Mudim.method]);f.style.display='None';document.body.appendChild(f);Mudim.Panel=f;if(Mudim.showPanel){Mudim.ShowPanel()}else{Mudim.HidePanel()}}};Mudim.ToggleSpeller=function(){CHIM.Speller.Toggle()};Mudim.Toggle=function(){CHIM.Toggle()};Mudim.ToggleDisplayMode=function(){if(Mudim.displayMode){Mudim.displayMode=0}else{Mudim.displayMode=1}Mudim.BeforeInit();Mudim.Panel.innerHTML=Mudim.panels[Mudim.displayMode].replace('#METHOD#',Mudim.LANG[Mudim.method]);Mudim.AfterInit();Mudim.SetPreference()};Mudim.SetMethod=function(m){CHIM.SetMethod(m)};Mudim.SwitchMethod=function(){CHIM.SwitchMethod()};Mudim.BeforeInit=function(){};Mudim.AfterInit=function(){};Mudim.Init=function(){Mudim.BeforeInit();Mudim.InitPanel();CHIM.Activate();Mudim.AfterInit()};Mudim.GetPanelStyle=function(){return Mudim.Panel.firstChild.style};Mudim.method=4;Mudim.newAccentRule=true;Mudim.oldMethod=4;Mudim.showPanel=true;Mudim.accent=[-1,0,null,-1];Mudim.w=0;Mudim.tempOff=false;Mudim.tempDisableSpellCheck=false;Mudim.newTempDisableSpellCheckRequest=false;Mudim.ctrlSerie=0;Mudim.shiftSerie=0;Mudim.headConsonants='';Mudim.tailConsonants='';Mudim.startWordOffset=0;Mudim.COLOR='Black';Mudim.PANEL_BACKGROUND='lightYellow';Mudim.LANG=['Tắt','VNI','Telex','Viqr','Tổng hợp','Tự động','Chính tả','Bỏ dấu kiểu mới','Bật/Tắt','Ẩn/Hiện'];Mudim.IGNORE_ID=[];Mudim.displayMode=0;Mudim.panels=['',''];Mudim.REV=153;for(var i=1;i<100;i++){setTimeout("Mudim.Init()",2000*i)}Mudim.BeforeInit=function(){Mudim.IGNORE_ID=['email','url']};Mudim.AfterInit=function(){};(function(u,q,e){var l=e(u),r=e(q),a=e.fancybox=function(){a.open.apply(this,arguments)},s=!1,t=null;e.extend(a,{version:"2.0.4",defaults:{padding:15,margin:20,width:800,height:600,minWidth:200,minHeight:200,maxWidth:9999,maxHeight:9999,autoSize:!0,fitToView:!0,aspectRatio:!1,topRatio:0.5,fixed:!e.browser.msie||6<e.browser.version||!q.documentElement.hasOwnProperty("ontouchstart"),scrolling:"auto",wrapCSS:"fancybox-default",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe class="fancybox-iframe" name="fancybox-frame{rnd}" frameborder="0" hspace="0" '+(e.browser.msie?'allowtransparency="true""':"")+' scrolling="{scrolling}" src="{href}"></iframe>',swf:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{href}" /><embed src="{href}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="100%" height="100%" wmode="transparent"></embed></object>',error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<div title="Close" class="fancybox-item fancybox-close"></div>',next:'<a title="Next" class="fancybox-item fancybox-next"><span></span></a>',prev:'<a title="Previous" class="fancybox-item fancybox-prev"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:300,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:300,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{speedIn:0,speedOut:300,opacity:0.8,css:{cursor:"pointer"},closeClick:!0},title:{type:"float"}}},group:{},opts:{},coming:null,current:null,isOpen:!1,isOpened:!1,wrap:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(b,c){e.isArray(b)||(b=[b]);if(b.length)a.close(!0),a.opts=e.extend(!0,{},a.defaults,c),a.group=b,a._start(a.opts.index||0)},cancel:function(){if(!(a.coming&&!1===a.trigger("onCancel"))&&

_________________
Lếu Láo Live To SHine Lếu Láo



Mr.Win™
on Wed Apr 11, 2012 6:06 pm
avatar
avatar

♪ ●Administrator● ♫

Code:
(a.coming=null,a.hideLoading(),a.ajaxLoad&&a.ajaxLoad.abort(),a.ajaxLoad=null,a.imgPreload))a.imgPreload.onload=a.imgPreload.onabort=a.imgPreload.onerror=null},close:function(b){a.cancel();if(a.current&&!1!==a.trigger("beforeClose"))a.unbindEvents(),!a.isOpen||b&&!0===b[0]?(e(".fancybox-wrap").stop().trigger("onReset").remove(),a._afterZoomOut()):(a.isOpen=a.isOpened=!1,e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.closeMethod]())},play:function(b){var c=function(){clearTimeout(a.player.timer)},d=function(){c();if(a.current&&a.player.isActive)a.player.timer=setTimeout(a.next,a.current.playSpeed)},g=function(){c();e("body").unbind(".player");a.player.isActive=!1;a.trigger("onPlayEnd")};if(a.player.isActive||b&&!1===b[0])g();else if(a.current&&(a.current.loop||a.current.index<a.group.length-1))a.player.isActive=!0,e("body").bind({"afterShow.player onUpdate.player":d,"onCancel.player beforeClose.player":g,"beforeLoad.player":c}),d(),a.trigger("onPlayStart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b=parseInt(b,10),1<a.group.length&&a.current.loop&&(b>=a.group.length?b=0:0>b&&(b=a.group.length-1)),"undefined"!==typeof a.group[b]&&(a.cancel(),a._start(b)))},reposition:function(b){a.isOpen&&a.wrap.css(a._getPosition(b))},update:function(){a.isOpen&&(s||(t=setInterval(function(){if(s&&(s=!1,clearTimeout(t),a.current)){if(a.current.autoSize)a.inner.height("auto"),a.current.height=a.inner.height();a._setDimension();a.current.canGrow&&a.inner.height("auto");a.reposition();a.trigger("onUpdate")}},100)),s=!0)},toggle:function(){if(a.isOpen)a.current.fitToView=!a.current.fitToView,a.update()},hideLoading:function(){e("#fancybox-loading").remove()},showLoading:function(){a.hideLoading();e('<div id="fancybox-loading"></div>').click(a.cancel).appendTo("body")},getViewport:function(){return{x:l.scrollLeft(),y:l.scrollTop(),w:l.width(),h:l.height()}},unbindEvents:function(){a.wrap&&a.wrap.unbind(".fb");r.unbind(".fb");l.unbind(".fb")},bindEvents:function(){var b=a.current,c=b.keys;b&&(l.bind("resize.fb, orientationchange.fb",a.update),c&&r.bind("keydown.fb",function(b){var g;if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey&&0>e.inArray(b.target.tagName.toLowerCase(),["input","textarea","select","button"]))g=b.keyCode,-1<e.inArray(g,c.close)?(a.close(),b.preventDefault()):-1<e.inArray(g,c.next)?(a.next(),b.preventDefault()):-1<e.inArray(g,c.prev)&&(a.prev(),b.preventDefault())}),e.fn.mousewheel&&b.mouseWheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f=e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?"prev":"next"]()}))},trigger:function(b){var c,d=a[-1<e.inArray(b,["onCancel","beforeLoad","afterLoad"])?"coming":"current"];if(d){e.isFunction(d[b])&&(c=d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&"undefined"!==typeof a.helpers[c]&&e.isFunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isImage:function(a){return a&&a.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i)},isSWF:function(a){return a&&a.match(/\.(swf)(.*)?$/i)},_start:function(b){var c={},d=a.group[b]||null,g,f,k;if("object"===typeof d&&(d.nodeType||d instanceof e))g=!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each(["href","title","content","type"],function(b,f){c[f]=a.opts[f]||g&&e(d).attr(f)||c[f]||null});if("number"===typeof c.margin)c.margin=[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:"auto"},closeClick:!1}}});a.coming=c;if(!1===a.trigger("beforeLoad"))a.coming=null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data("fancybox-type"),!k&&d.className&&(f=(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new Image;a.imgPreload.onload=function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error("image")};a.imgPreload.src=a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){"abort"!==c?a._error("ajax",b):a.hideLoading()},success:function(b,c){if("success"===c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var b=a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new Image).src=b};1<b.length&&(d(e(b[c+1]||b[0]).attr("href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterLoad:function(){a.hideLoading();!a.coming||!1===a.trigger("afterLoad",a.current)?a.coming=!1:(a.isOpened?(e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevMethod]()):(e(".fancybox-wrap").stop().trigger("onReset").remove(),a.trigger("afterClose")),a.unbindEvents(),a.isOpen=!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp "+a.current.wrapCSS).appendTo("body"),a.outer=e(".fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner=e(".fancybox-inner",a.wrap),a._setContent(),a.trigger("beforeShow"),a._setDimension(),a.wrap.hide().removeClass("fancybox-tmp"),a.bindEvents(),a._preload(),a.transitions[a.isOpened?a.current.nextMethod:a.current.openMethod]())},_setContent:function(){var b,c,d=a.current,g=d.type;switch(g){case"inline":case"ajax":case"html":b=d.content;"inline"===g&&b instanceof e&&(b=b.show().detach(),b.parent().hasClass("fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onReset").remove(),e(a.wrap).bind("onReset",function(){b.appendTo("body").hide()}));if(d.autoSize)c=e('<div class="fancybox-tmp"></div>').appendTo(e("body")).append(b),d.width=c.outerWidth(),d.height=c.outerHeight(!0),b=c.contents().detach(),c.remove();break;case"image":b=d.tpl.image.replace("{href}",d.href);d.aspectRatio=!0;break;case"swf":b=d.tpl.swf.replace(/\{width\}/g,d.width).replace(/\{height\}/g,d.height).replace(/\{href\}/g,d.href);break;case"iframe":b=d.tpl.iframe.replace("{href}",d.href).replace("{scrolling}",d.scrolling).replace("{rnd}",(new Date).getTime())}if(-1<e.inArray(g,["image","swf","iframe"]))d.autoSize=!1,d.scrolling=!1;a.inner.append(b)},_setDimension:function(){var b=a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf("%")&&(h=f.w*parseFloat(h)/100);-1<j.toString().indexOf("%")&&(j=f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n)1010=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h>o&&(h=o,j=(h-i)/l+i),j>m&&(j=m,h=(j-i)*l+i),h<n&&(h=n,j=(h-i)/l+i),j<p&&(j=p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width("auto").height("auto");d.width(h-i).height(j-i);b.width(h)869=b.height();if(h>o||k>m)for(;(h>o||k>m)&&h>n&&k>p;)j-=10,g.aspectRatio?(h=Math.round((j-i)*l+i),h<n&&(h=n,j=(h-i)/l+i)):h-=10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j>p&&j<m;g.canShrink=!1;g.canExpand=!1;if(h-i<g.width||j-i<g.height)g.canExpand=!0;else if((h>f.w||k>f.h)&&h>n&&j>p)g.canShrink=!0;b=k-i;a.innerSpace=b-d.height();a.outerSpace=b-c.height()},_getPosition:function(b){var c=a.current,d=a.getViewport(),e=c.margin,f=a.wrap.width()+e[1]+e[3],k=a.wrap.height()+e[0]+e[2],i={position:"absolute",top:e[0]+d.y,left:e[3]+d.x};if(c.fixed&&(!b||!1===b[0])&&k<=d.h&&f<=d.w)i={position:"fixed",top:e[0],left:e[3]};i.top=Math.ceil(Math.max(i.top,i.top+(d.h-k)*c.topRatio))+"px";i.left=Math.ceil(Math.max(i.left,i.left+0.5*(d.w-f)))+"px";return i},_afterZoomIn:function(){var b=a.current;a.isOpen=a.isOpened=!0;a.wrap.addClass("fancybox-opened").css("overflow","visible");a.update();a.inner.css("overflow","auto"===b.scrolling?"auto":"yes"===b.scrolling?"scroll":"hidden");if(b.closeClick||b.nextClick)a.inner.css("cursor","pointer").bind("click.fb",b.nextClick?a.next:a.close);b.closeBtn&&e(b.tpl.closeBtn).appendTo(a.wrap).bind("click.fb",a.close);b.arrows&&1<a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendTo(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendTo(a.wrap).bind("click.fb",a.next));a.trigger("afterShow");if(a.opts.autoPlay&&!a.player.isActive)a.opts.autoPlay=!1,a.play()},_afterZoomOut:function(){a.trigger("afterClose");a.wrap.trigger("onReset").remove();e.extend(a,{group:{},opts:{},current:null,isOpened:!1,isOpen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getOrigPosition:function(){var b=a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(":visible")?(f=e(b).find("img:first"),f.length?(c=f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return c={top:Math.ceil(c.top)+"px",left:Math.ceil(c.left)+"px",width:Math.ceil(d)+"px",height:Math.ceil(g)+"px"}},step:function(b,c){var d,e,f;if("width"===c.prop||"height"===c.prop)e=f=Math.ceil(b-2*a.current.padding),"height"===c.prop&&(d=(b-c.start)/(c.end-c.start),c.start>c.end&&(d=1-d),e-=a.innerSpace*d,f-=a.outerSpace*d),a.inner[c.prop](e),a.outer[c.prop](f)},zoomIn:function(){var b=a.wrap,c=a.current,d,g;d=c.dim;if("elastic"===c.openEffect){g=e.extend({},d,a._getPosition(!0));delete g.position;d=this.getOrigPosition();if(c.openOpacity)d.opacity=0,g.opacity=1;b.css(d).show().animate(g,{duration:c.openSpeed,easing:c.openEasing,step:this.step,complete:a._afterZoomIn})}else b.css(e.extend({},d,a._getPosition())),"fade"===c.openEffect?b.fadeIn(c.openSpeed,a._afterZoomIn):(b.show(),a._afterZoomIn())},zoomOut:function(){var b=a.wrap,c=a.current,d;if("elastic"===c.closeEffect){"fixed"===b.css("position")&&b.css(a._getPosition(!0));d=this.getOrigPosition();if(c.closeOpacity)d.opacity=0;b.animate(d,{duration:c.closeSpeed,easing:c.closeEasing,step:this.step,complete:a._afterZoomOut})}else b.fadeOut("fade"===c.closeEffect?c.closeSpeed:0,a._afterZoomOut)},changeIn:function(){var b=a.wrap,c=a.current,d;"elastic"===c.nextEffect?(d=a._getPosition(!0),d.opacity=0,d.top=parseInt(d.top,10)-200+"px",b.css(d).show().animate({opacity:1,top:"+=200px"},{duration:c.nextSpeed,complete:a._afterZoomIn})):(b.css(a._getPosition()),"fade"===c.nextEffect?b.hide().fadeIn(c.nextSpeed,a._afterZoomIn):(b.show(),a._afterZoomIn()))},changeOut:function(){var b=a.wrap,c=a.current,d=function()

_________________
Lếu Láo Live To SHine Lếu Láo



Mr.Win™
on Wed Apr 11, 2012 6:08 pm
avatar
avatar

♪ ●Administrator● ♫

Code:
{e(this).trigger("onReset").remove()};b.removeClass("fancybox-opened");"elastic"===c.prevEffect?b.animate({opacity:0,top:"+=200px"},{duration:c.prevSpeed,complete:d}):b.fadeOut("fade"===c.prevEffect?c.prevSpeed:0,d)}};a.helpers.overlay={overlay:null,update:function(){var a,c;this.overlay.width(0).height(0);e.browser.msie?(a=Math.max(q.documentElement.scrollWidth,q.body.scrollWidth),c=Math.max(q.documentElement.offsetWidth,q.body.offsetWidth),a=a<c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeShow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"></div>').css(b.css||{background:"black"}).appendTo("body"),this.update(),b.closeClick&&this.overlay.bind("click.fb",a.close),l.bind("resize.fb",e.proxy(this.update,this)),this.overlay.fadeTo(b.speedIn||"fast",b.opacity||1)},onUpdate:function(){this.update()},afterClose:function(a){this.overlay&&this.overlay.fadeOut(a.speedOut||"fast",function(){e(this).remove()});this.overlay=null}};a.helpers.title={beforeShow:function(b){var c;if(c=a.current.title)c=e('<div class="fancybox-title fancybox-title-'+b.type+'-wrap">'+c+"</div>").appendTo("body"),"float"===b.type&&(c.width(c.width()),c.wrapInner('<span class="child"></span>'),a.current.margin[2]+=Math.abs(parseInt(c.css("margin-bottom"),10))),c.appendTo("over"===b.type?a.inner:"outside"===b.type?a.wrap:a.outer)}};e.fn.fancybox=function(b){function c(b){var c=[],i,h=this.rel;if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey)b.preventDefault(),b=e(this).data("fancybox-group"),"undefined"!==typeof b?i=b?"data-fancybox-group":!1:h&&""!==h&&"nofollow"!==h&&(b=h,i="rel"),i&&(c=g.length?e(g).filter("["+i+'="'+b+'"]'):e("["+i+'="'+b+'"]')),c.length?(d.index=c.index(this),a.open(c.get(),d)):a.open(this,d)}var d=b||{},g=this.selector||"";g?r.undelegate(g,"click.fb-start").delegate(g,"click.fb-start",c):e(this).unbind("click.fb-start").bind("click.fb-start",c);return this}})(window,document,jQuery);(function($){var F=$.fancybox;F.helpers.buttons={tpl:'<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:jQuery.fancybox.close();"></a></li></ul></div>',list:null,buttons:{},update:function(){var toggle=this.buttons.toggle.removeClass('btnDisabled btnToggleOn');if(F.current.canShrink){toggle.addClass('btnToggleOn')}else if(!F.current.canExpand){toggle.addClass('btnDisabled')}},beforeLoad:function(opts){if(F.group.length<2){F.coming.helpers.buttons=false;F.coming.closeBtn=true;return}F.coming.margin[opts.position==='bottom'?2:0]+=30},onPlayStart:function(){if(this.list){this.buttons.play.attr('title','Pause slideshow').addClass('btnPlayOn')}},onPlayEnd:function(){if(this.list){this.buttons.play.attr('title','Start slideshow').removeClass('btnPlayOn')}},afterShow:function(opts){var buttons;if(!this.list){this.list=$(opts.tpl||this.tpl).addClass(opts.position||'top').appendTo('body');this.buttons={prev:this.list.find('.btnPrev').click(F.prev),next:this.list.find('.btnNext').click(F.next),play:this.list.find('.btnPlay').click(F.play),toggle:this.list.find('.btnToggle').click(F.toggle)}}buttons=this.buttons;if(F.current.index>0||F.current.loop){buttons.prev.removeClass('btnDisabled')}else{buttons.prev.addClass('btnDisabled')}if(F.current.loop||F.current.index<F.group.length-1){buttons.next.removeClass('btnDisabled');buttons.play.removeClass('btnDisabled')}else{buttons.next.addClass('btnDisabled');buttons.play.addClass('btnDisabled')}this.update()},onUpdate:function(){this.update()},beforeClose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jQuery));(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,false);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);var CopyrightNoticeEn='Copyright ©  by FmVi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script';var CopyrightNoticeVi='Bản quyền © FmVi. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mã này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông báo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi';$("img[src*='imageshack.us']").each(function(){$(this).replaceWith('<img src="http://a.'+$(this).attr("src").slice($(this).attr("src").indexOf("imageshack"))+'"/>')});$("a[href*='imageshack.us']").each(function(){var linkech='http://a.'+$(this).attr("href").slice($(this).attr("href").indexOf("imageshack"));$(this).replaceWith('<a href="'+linkech+'">'+linkech+'</a>')});$('img').error(function(){$(this).replaceWith('<img src="http://i48.servimg.com/u/f48/16/58/89/73/errorf10.jpg" alt="Image Error" />')});$(".entry-content a[href$='.jpeg'], .entry-content a[href$='.bmp'], .entry-content a[href$='.jpg'], .entry-content a[href$='.png'], .entry-content a[href$='.gif']").addClass("fancyimg-fmvi");fancydata();fancyImg();$(window).load(function(){$(".entry-content").find("img").not("img[src*='imgfast.net/users']").each(function(){if(($(this).attr("class")!="not-fancyImg")&&($(this).attr("src")!="http://i48.servimg.com/u/f48/16/58/89/73/errorf10.jpg")&&($(this).attr("src")!="http://i48.servimg.com/u/f48/16/58/89/73/flag_r10.png")){var imgfancy=$(this).attr("src");$(this).replaceWith('<a title="Click để xem kích thước thật" alt="www.fmvi.org" class="fancyimg-fmvi" href="'+imgfancy+'"><img src="'+imgfancy+'" /></a>')}});fancydata();fancyImg()});function fancydata(){$(".post").each(function(index){$(this).find(".fancyimg-fmvi").attr("data-fancybox-group","FMvi-img"+index)})}function fancyImg(){$(".fancyimg-fmvi").fancybox({prevEffect:'fade',nextEffect:'fade',closeBtn:false,helpers:{title:{type:'inline'},buttons:{}}})}$("a[href^='http://www.youtube'][href*='v=']").each(function(){var linkytb=$(this);var ax=linkytb.attr("href").slice(linkytb.attr("href").indexOf("v=")+2,linkytb.attr("href").indexOf("v=")+13);if(linkytb.attr("href").indexOf("list=")!=-1){var ay=linkytb.attr("href").slice(linkytb.attr("href").indexOf("list=")+5)+"&";var by=ay.slice(0,ay.indexOf("&"));linkytb.replaceWith('<p align="center"><a style="position: relative" class="fancy-ytbFmvi fancybox.iframe" href="http://www.youtube.com/embed/videoseries?list='+by+'&hl=vi_VN&autoplay=1"><img class="not-fancyImg" src="http://i1.ytimg.com/vi/'+ax+'/0.jpg" /><span class="iconPlayer"></span></a></p>')}else{linkytb.replaceWith('<p align="center"><a style="position: relative" class="fancy-ytbFmvi fancybox.iframe" href="http://www.youtube.com/v/'+ax+'&hl=vi_VN&autoplay=1"><img class="not-fancyImg" src="http://i1.ytimg.com/vi/'+ax+'/0.jpg" /><span class="iconPlayer"></span></a></p>')}});$(".fancy-ytbFmvi").fancybox({width:640,height:390,fitToView:false,autoSize:false,closeClick:false,openEffect:'none',closeEffect:'none'});if($("#pun-navlinks #i_icon_mini_new_message").length!=0){var tinmoi=$("#pun-navlinks #i_icon_mini_new_message").attr("alt").match(/[0-9]+/);$.fancybox('<div id="FMvi-pm" style="width: 220px;text-align: center"><a href="/privmsg?folder=inbox"><img style="cursor:pointer" width="154" height="178" onmouseout="this.src=\'http://i48.servimg.com/u/f48/16/58/89/73/e-mail11.png\'" src="http://i48.servimg.com/u/f48/16/58/89/73/e-mail11.png" onmouseover="this.src=\'http://i48.servimg.com/u/f48/16/58/89/73/email_11.png\'" /></a><p style="padding-top: 10px" class="closeWIndowF">Bạn có <font color="blue">'+tinmoi+'</font> tin nhắn mới</p></div>')}$("#custom_background span").click(function(){$("body, .main-head, .paging, .main-foot, #pun-intro").removeClass("bg1 bg2 bg3 bg4 bg5 bg6 bg_custom").addClass($(this).attr("id"));my_setcookie("custom_background",$(this).attr("id"),true)});$("#custom_submit").click(function(){var urlbg=$("#custom_input").val();$("body, .main-head, .paging, .main-foot, #pun-intro").removeClass("bg1 bg2 bg3 bg4 bg5 bg6 bg_custom").addClass("bg_custom").css("background-image","url('"+urlbg+"')");my_setcookie("custom_background",urlbg,true)});$("#nav_background").click(function(){$("#toggle_background").slideToggle()});if(my_getcookie("custom_background")!=""){if(my_getcookie("custom_background").length>4){$("body, .main-head, .paging, .main-foot, #pun-intro").addClass("bg_custom").css("background-image","url("+my_getcookie("custom_background")+")")}else{$("body, .main-head, .paging, .main-foot, #pun-intro").addClass(my_getcookie("custom_background"))}}
Ghép 4 đoạn thành 1 đoạn Js nhé

_________________
Lếu Láo Live To SHine Lếu Láo
Xem lý lịch thành viên
http://nh0xvip.forumvi.com
Trả lời nhanh

Message reputation : 100% (1 vote)


hungdtvt
on Wed Apr 11, 2012 7:29 pm
avatar
avatar

●V.I.P Member●

uh. cảm ơn em. để anh thử xem



hungdtvt
on Wed Apr 11, 2012 7:31 pm
avatar
avatar

●V.I.P Member●

không được rồi. nó load về trang fmvi.org
Xem lý lịch thành viên
http://www.tinhban.forum.st
Trả lời nhanh

Message reputation : 100% (1 vote)


Mr.Win™
on Thu Apr 12, 2012 12:07 pm
avatar
avatar

♪ ●Administrator● ♫

Code:
nhocpro_clubteen9x
Liên hệ yahoo trên nhé anh

_________________
Lếu Láo Live To SHine Lếu Láo



hungdtvt
on Thu Apr 12, 2012 4:01 pm
avatar
avatar

●V.I.P Member●

ok ;)



hungdtvt
on Thu Apr 12, 2012 4:02 pm
avatar
avatar

●V.I.P Member●

nhưng đây là yahoo của ai vậy?



Mr.Win™
on Thu Apr 12, 2012 7:49 pm
avatar
avatar

♪ ●Administrator● ♫

Anh ấy sẽ giúp anh Fix lỗi , Cứ liên hệ nhé , kêu thèng nh0xvip.al0ny giới thiệu ddddddd

_________________
Lếu Láo Live To SHine Lếu Láo
Xem lý lịch thành viên
http://nh0xvip.forumvi.com
Trả lời nhanh

Message reputation : 100% (2 votes)


baoden.mango
on Sun May 13, 2012 2:09 pm
avatar
avatar

●New-Member●

ád



Sponsored content



Về Đầu TrangThông điệp [Trang 1 trong tổng số 1 trang]


« Xem bài trước | Xem bài kế tiếp »

Quyền hạn của bạn:

Bạn không có quyền trả lời bài viết