rakan938gmail.com / Toolbar ForumPlus

// ==UserScript==
// @name			Toolbar ForumPlus
// @description		شريط إضافات للمنتديات, يسهل تصفحها ومشاركتها وتقييمها ويبسط أيضا الكتابة فيها .
// @version			2.7
// @author			RaKaN Al-Harbi
// @namespace		http://www.facebook.com/ToolbarForumPlus
// @include			/^(http|https)(://|://www\.)(vb|vb\d{1,}|forum|forums|muntada)\..*/
// @include			/^(http|https)(://|://www\.).*(/(vb|vb\d{1,}|forum|forums|muntada)/).*/
// @exclude         /(.*newattachment.php.*)|(.*/massy/.*)|(.*/massy.php.*)|(.*&editorid=.*)|(.*sendmessage.php\?do=.*)|(.*/images/.*)|(.*/avatars/.*)|(.*/vbseo/.*)/
// @require         http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
// @require         http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js
// ==/UserScript==
jQuery(document).ready(function(){var ExpESC=/["\\\x00-\x1f\x7f-\x9f]/g;var ExpRGB=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/;var ExpPBN1=/[\[]/;var ExpPBN2=/[\]]/;var ExpPBN3=/\+/g;var isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);var thsScript={'name':'Toolbar ForumPlus','ver':'1.0','milHM':'rakan938@hotmail.com','milGM':'rakan938@gmail.com','me':'rakan938','bbm':'7CDF481B'};var lnkWEB={'lnkFB':'http://www.facebook.com/ToolbarForumPlus','lnkGP':'http://plus.google.com/112432554398970672750','lnkSH':'http://www.al-saher.net/vb/al-saher92508.html','lnkFV':'http://s2.googleusercontent.com/s2/favicons?domain=','lnkTW':'http://twitter.com/share','lnkTR':'http://twitter.com/rakan938','lnkFR':'http://www.facebook.com/rakan938','lnkFL':'//www.facebook.com/plugins/like.php','lnkAM':'http://ask.fm/rakan938','lnkJS':'http://apis.google.com/js/plusone.js','JQthm':'http://jqueryui.com/resources/images/themeGallery/','AJXthm':'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/','AddTo':'http://static.addtoany.com/menu/page.js','QUswf':'http://www.livequran.org/quran.swf','QUstg':'http://www.livequran.org/player/xml/settings.xml','QUply':'http://www.livequran.org/player/xml/mp3_player.xml'};var lnkVB={'rate':'threadrate.php','misc':'misc.php','subc':'subscription.php','send':'sendmessage.php'};var vjx_TabProfile=true;var vjx_TabSmileVB=true;var vjx_TabShare=true;var vjx_TabVote=true;var thsHost=document.location.host;var thsThem=GM_getValue("vb_pls_rakan_theme_"+thsHost,'redmond');var language=GM_getValue("vb_pls_rakan_lang_"+thsHost,'ar_sa');var pgReadingList='';var cLear='<div style="clear:both;height:3px;"></div>';var valExample='مثال';var face_lang={'ar_sa':{'PROFILE':'ملفي الشخصي','READINGLIST':'قائمة القراءة','SMILEPHONE':'رموز الهواتف','SMILEVB':'رموز المنتدى','SHARE':'شارك الصفحة','RATING':'تقييم الموضوع','LISTENQURAN':'استماع للقرآن','WRITINGSTYLE':'نمط الكتابة','ABOUT':'حول السكريبت','OK':'موافق','CANCEL':'إلغاء الأمر','DELTHIS':'حذف','ALLDEL':'حذف الكل','ADDSTYLE':'إضافة نمط','SELECTFOLDER':'اختيار مجلد','SAVE':'حفظ','LOGOUT':'خروج','SHOW':'عرض','ADDREADINGLIST':'إضافة لقائمة القراءة','CHANGEFOLDER':'تغيير مجلد قائمة القراءة','MUSTLOGIN':'يجب تسجيل الدخول !','CLICKAPPLYSTYLE':'أضغط على النمط الذي تريد لتطبيقه .','NOTWRITINGSTYLE':'لا توجد أنماط محفوظة, قم بإضافة نمط أو أكثر !','MUSTEDITORANYPAGE':'يجب فتح أي صفحة يوجد فيها ( صندوق الرسالة ) .','PLEASEWAIT':'الرجاء الانتظار ...','PLEASERELOAD':'لم يتم الأمر, الرجاء تحديث الصفحة والمحاولة مرة أخرى .','MUSTEDITOR':'يجب توفر ( صندوق الرسالة ) لإضافة أو تطبيق المحدد .','TERMSADDSTYLE':'لإضافة نمط أتبع الخطوات التالية :','TERMSADDSTYLE1':'أفتح أي صفحة يوجد فيها ( صندوق الرسالة ) .','TERMSADDSTYLE2':'أكتب في الصندوق الكلمة ( '+valExample+' ) دون أقواس .','TERMSADDSTYLE3':'نسق الكلمة كما تحب, أختار لها لون وخط وضع قبلها أو بعدها كلمة أو أكثر أو رمز أو حتى صورة, نسقها كما تريد .','TERMSADDSTYLE4':'أضغط بعد ذلك على ( موافق ) بالأسفل, وسيتم حينها نسخ النمط من تنسيقك الذي قمت به على الكلمة ( '+valExample+' ) .','WRITINGEXAMPLE':'الرجاء كتابة الكلمة ( '+valExample+' ) دون أقواس في صندوق الرسالة ثم تنسيق الكلمة كما تريد .','SELECTRATING':'الرجاء اختيار التقييم المناسب للموضوع .','OPENTOPIC':'أفتح أولا موضوع حتى تستطيع تقييمه !','EMPTYREADINGLIST':'قائمة القراءة فارغة, أبحث عن زر الإضافة جوار العناوين وأضغط عليه لإضافة الموضوع المحاذي لهذه القائمة .','TOPICANDAUTHOR':'الموضوع / كاتب الموضوع','LASTPOST':'آخر مشاركة','AYSALLDEL':'هل أنت متأكد من حذف كل المواضيع من القائمة ؟','PLEASEAGAIN':'لم يتم الأمر, يرجى إعادة المحاولة في وقت لاحق .','OKYALLDEL':'تم حذف جميع محتويات القائمة بنجاح .','MUSTREADINGLIST':'يجب عليك في البداية اختيار مجلد من مجلدات ( قائمة الاشتراكات ) الخاصة بك ( كمجلد قائمة قراءة ) لكي لتعمل هذه الخاصية .','SELECTFOLDERREADINGLIST':'أختار المجلد الذي تريد تخصيصه لقائمة القراءة :','MUSTSELECTFOLDER':'الرجاء اختيار مجلد .','NIKENAME':'أنت مسجل دخول للمنتدى باسم','EMAIL':'وبالبريد الإلكتروني','STYLEACTIVE':'مظهر الشريط المفعل','STYLEFOCUS':'مظهر الشريط المحدد','STYLESELECT':'أختار المظهر الذي تريد بالضغط عليه','PLEASESTYLESELECT':'الرجاء اختيار المظهر الذي تريد !','NOSAVESTYLE':'لم يتم الحفظ, المظهر المحدد هو المظهر الحالي !','MUSTSAVERELOAD':'يتطلب حفظ المظهر إعادة تحميل الصفحة\nهل تريد المتابعة ؟','NUMPOST':'المواضيع','DETAILS':'شريط إضافات للمنتديات, يسهل تصفحها ومشاركتها وتقييمها ويبسط أيضا الكتابة فيها .','PROGRAMMING':'برمجة :','HIDETABS':'أخفاء تلقائي','UNSUPPORTEDWYSIWYG':'صندوق الرسالة الديناميكي غير متوافق لإضافة الرموز على هذا المتصفح','UNSUPPORTED':'هذا الخيار غير متوافق على هذا المتصفح','PAGEFB':'صفحة السكريبت على Facebook:','PAGEGP':'صفحة السكريبت على Google+:','PAGEAS':'صفحة السكريبت على al-saher:','EMAILHM':'بريد Hotmail','EMAILGP':'بريد Google','TW':'تويتر','FB':'فيس بوك','ASKME':'اسألني سؤالاً','LINE':'تطبيق LINE','BBM':'بلاك بيري'}};function lngTRN(key){var string;if(typeof(face_lang[language])!='object'){string=face_lang['ar_sa'][key]}else if(face_lang[language][key]){string=face_lang[language][key]}else{string=face_lang['ar_sa'][key]}return string}GM_addStyle('.vb_pls_rakan_NavIndex {position:fixed;top:0;left:1px;width:100%;z-index:999999999;}'+'.vb_pls_rakan_NavIndexTabs {border-top-right-radius:0px!important;border-top-left-radius:0px!important;}'+'.vb_pls_rakan_NavIndexTabs ul {border-top-right-radius:0px!important;border-top-left-radius:0px!important;}'+'.vb_pls_rakan_NavIndexTabs ul li {top:4px!important;}'+'.vb_pls_rakan_NavIndex ul li * {font:bold 12px Segoe UI,Arial,sans-serif!important;}'+'.vb_pls_rakan_NavIndex li a {margin-top:3px;}'+'.vb_pls_rakan_NavIndex div *:not(".vb_pls_rakan_Style_lst") {font:bold 14px Segoe UI,Arial,sans-serif!important;}'+'.ui-tabs {margin-right:1px;direction:rtl;}'+'.ui-tabs .ui-tabs-nav li.ui-tabs-selected, .ui-tabs .ui-tabs-nav li.ui-state-default {float:right;}'+'.ui-tabs .ui-tabs-nav li a {float:right;}'+'.ui-effects-transfer {border:1px solid black;}'+'.vb_pls_rakan_none {border:none!important;background:none!important;}'+'.vb_pls_rakan_rgt {float:right;}'+'.vb_pls_rakan_lft {float:left;}'+'.vb_pls_rakan_max {max-height:205px;overflow-y:auto;overflow-x:hidden;}'+'.vb_pls_rakan_whp {width:20px;height:20px;padding:5px;padding-bottom:3px;margin:1px;cursor:pointer;float:right;}'+'.vb_pls_rakan_pmb {padding:5px;margin-right:5px;border:none!important;}'+'.vb_pls_rakan_bmh {border:none!important;margin:-5px 0 -5px 0;height:25px;cursor:pointer;}'+'.vb_pls_rakan_otw {overflow:hidden;text-align:left;width:90px;height:105px;padding:5px;padding-bottom:3px;margin:1px;float:right;}');$('head').append('<link type="text/css" rel="stylesheet" class="vb_pls_rakan_ui_theme_def" href="'+lnkWEB.AJXthm+thsThem+'/jquery-ui.css" />');$('body').prepend('<div class="vb_pls_rakan_NavIndex"><div class="vb_pls_rakan_NavIndexTabs">'+'<ul>'+'<li><input id="vb_pls_rakan_NavIndex_Hide" type="checkbox" /><label for="vb_pls_rakan_NavIndex_Hide">'+lngTRN('HIDETABS')+'</label></li>'+'<li><a id="vb_pls_rakan_TabBtnProfile" href="#vb_pls_rakan_TabCntProfile">'+lngTRN('PROFILE')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnReadingList" href="#vb_pls_rakan_TabCntReadingList">'+lngTRN('READINGLIST')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnSmilePhone" href="#vb_pls_rakan_TabCntSmilePhone">'+lngTRN('SMILEPHONE')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnSmileVB" href="#vb_pls_rakan_TabCntSmileVB">'+lngTRN('SMILEVB')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnPost" href="#vb_pls_rakan_TabCntPost">'+lngTRN('SHARE')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnVote" href="#vb_pls_rakan_TabCntVote">'+lngTRN('RATING')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnQuran" href="#vb_pls_rakan_TabCntQuran">'+lngTRN('LISTENQURAN')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnStyle" href="#vb_pls_rakan_TabCntStyle">'+lngTRN('WRITINGSTYLE')+'</a></li>'+'<li><a id="vb_pls_rakan_TabBtnAbout" href="#vb_pls_rakan_TabCntAbout">'+lngTRN('ABOUT')+'</a></li>'+'</ul>'+'<div id="vb_pls_rakan_TabCntProfile" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntReadingList" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntSmilePhone" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntSmileVB" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntPost" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntVote" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntQuran"></div>'+'<div id="vb_pls_rakan_TabCntStyle" class="vb_pls_rakan_max"></div>'+'<div id="vb_pls_rakan_TabCntAbout" class="vb_pls_rakan_max"></div>'+'</div></div>'+'<div class="vb_pls_rakan_them_state ui-state-default" style="display:block;visibility:hidden;"></div>'+'<div class="vb_pls_rakan_them_state ui-state-focus" style="display:block;visibility:hidden;"></div>'+'<div class="vb_pls_rakan_them_state ui-state-hover" style="display:block;visibility:hidden;"></div>'+'<div class="vb_pls_rakan_them_state ui-state-active" style="display:block;visibility:hidden;"></div>');$(".vb_pls_rakan_NavIndexTabs").tabs({collapsible:true,selected:-1,select:function(ev,ui){$.chkTheme();if(ui.panel.id!=='vb_pls_rakan_TabCntQuran'){$('.vb_pls_rakan_Quran_obj').hide()}},show:function(ev,ui){if(ui.panel.id=='vb_pls_rakan_TabCntQuran'){$('.vb_pls_rakan_Quran_obj').show()}}});$("#vb_pls_rakan_NavIndex_Hide").button({icons:{primary:"ui-icon-arrowthick-2-n-s"},text:false});$('.vb_pls_rakan_NavIndex').mouseleave(function(){if($("#vb_pls_rakan_NavIndex_Hide").is(':checked')){$(this).find('ul li, .vb_pls_rakan_NavIndexTabs div').slideToggle('fast')}}).mouseenter(function(){if($("#vb_pls_rakan_NavIndex_Hide").is(':checked')){$(this).find('ul li, .vb_pls_rakan_NavIndexTabs div').slideDown('fast')}});$(window).ready(function(){$.remov_vb_pls_rakan()}).load(function(){$.remov_vb_pls_rakan()}).resize(function(){if($('.vb_pls_rakan_Quran_obj').size()){$('.vb_pls_rakan_Quran_obj object').width(parseInt($('#vb_pls_rakan_TabCntQuran').width()))}if($('div[id^="___plusone"]').size()){var wid=parseInt($('.vb_pls_rakan_Vote_C .ui-widget div:eq(0)').width());$('div[id^="___plusone"], div[id^="___plusone"] iframe:eq(0)').width(wid)}});$('#vb_pls_rakan_TabBtnAbout').click(function(){var ths='#vb_pls_rakan_TabCntAbout';if($('.vb_pls_rakan_About_A').size()<1){$(ths).append('<div class="vb_pls_rakan_About_A"></div>')}if($('.vb_pls_rakan_About_B').size()<1){$(ths).append('<div class="vb_pls_rakan_About_B"></div>')}if($('.vb_pls_rakan_About_C').size()<1){$(ths).append('<div class="vb_pls_rakan_About_C"></div>')}if($('.vb_pls_rakan_About_A div').size()<1){var str='<div>'+thsScript.name+' <span style="color:'+$(".ui-state-default").css('background-color')+';">'+thsScript.ver+'</span></div>';str+=cLear;str+=$.getAboutPage(lngTRN('PAGEFB'),lnkWEB.lnkFB);str+=$.getAboutPage(lngTRN('PAGEGP'),lnkWEB.lnkGP);str+=$.getAboutPage(lngTRN('PAGEAS'),lnkWEB.lnkSH);str+='<div style="margin-right:22px;color:'+$(".ui-state-default").css('background-color')+';">'+lngTRN('DETAILS')+'</div>';$('.vb_pls_rakan_About_A').empty().html($.getBOX(str,'arrowthickstop-1-w'))}if($('.vb_pls_rakan_About_B iframe').size()<1){var str='<iframe src="'+lnkWEB.lnkFL+'?href='+encodeURIComponent(lnkWEB.lnkFB)+'&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:25px;" allowTransparency="true"></iframe>';$('.vb_pls_rakan_About_B').empty().html($.getBOX(str))}if($('.vb_pls_rakan_About_C div').size()<1){var str='<div>'+lngTRN('PROGRAMMING')+'</div>';str+='<div style="margin-right:22px;">{ راكان الحربي » RaKaN Al-Harbi » رذاذ الندى » rakan938 }</div><br />';str+=cLear;str+=$.getAboutMe(lngTRN('EMAILHM'),'live.com','MSN',thsScript.milHM,1,1);str+=$.getAboutMe(lngTRN('EMAILGP'),'google.com','GMail',thsScript.milGM,1,1);str+=$.getAboutMe(lngTRN('TW'),'twitter.com','Twitter',lnkWEB.lnkTR,1,0);str+=$.getAboutMe(lngTRN('FB'),'facebook.com','Facebook',lnkWEB.lnkFR,1,0);str+=$.getAboutMe(lngTRN('ASKME'),'ask.fm','ASK',lnkWEB.lnkAM,1,0);str+=$.getAboutMe(lngTRN('LINE'),'line.me','LINE',thsScript.me,0,0);str+=$.getAboutMe(lngTRN('BBM'),'bbm.com','BBM',thsScript.bbm,0,0);$('.vb_pls_rakan_About_C').empty().html($.getBOX(str,'arrowthickstop-1-w'))}});$('#vb_pls_rakan_TabBtnStyle').click(function(){var ths='#vb_pls_rakan_TabCntStyle';if($.chkUSER()){$(ths).empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}if($('.vb_pls_rakan_Style_A').size()<1){$(ths).append('<div class="vb_pls_rakan_Style_A"></div>')}if($('.vb_pls_rakan_Style_B').size()<1){$(ths).append('<div class="vb_pls_rakan_Style_B" style="max-height:120px;overflow:auto;"></div>')}if($('.vb_pls_rakan_Style_C').size()<1){$(ths).append('<div class="vb_pls_rakan_Style_C"></div>')}$('.vb_pls_rakan_Style_A').empty().html($.getMSG('active','arrowthickstop-1-w',lngTRN('CLICKAPPLYSTYLE')));var strB='';var allVal=GM_listValues();var len=thsHost.length+24;$.each(allVal,function(i){if(allVal[i].substring(0,len)==="vb_pls_rakan_StyleList_"+thsHost+"_"){var pid=allVal[i];var pch=$.parseJSON(GM_getValue(pid));var cod=pch.code;var htm=pch.html;var codOT=cod.split(valExample);strB+='<div class="vb_pls_rakan_Style_lst" style="margin-bottom:3px;">';strB+='<textarea class="vb_pls_rakan_Style_lst_One" rows="2" cols="10" readonly="readonly" style="display:none;">'+codOT[0]+'</textarea>';strB+='<textarea class="vb_pls_rakan_Style_lst_Two" rows="2" cols="10" readonly="readonly" style="display:none;">'+codOT[1]+'</textarea>';strB+='<div style="padding:5px;cursor:pointer;" class="vb_pls_rakan_Style_lst_Clk ui-state-default ui-corner-all">';strB+='<div class="vb_pls_rakan_rgt">';strB+='<button name="'+pid+'" class="vb_pls_rakan_Style_lst_Del">'+lngTRN('DELTHIS')+'</button>';strB+='</div>';strB+='<div class="vb_pls_rakan_rgt" style="padding-right:5px;">';strB+=htm;strB+='</div>';strB+=cLear;strB+='</div>';strB+='</div>'}});if(strB){$('.vb_pls_rakan_Style_B').empty().html(strB)}else{$.setMSG('highlight','info',lngTRN('NOTWRITINGSTYLE'))}$(".vb_pls_rakan_Style_lst_Del").button({icons:{primary:"ui-icon-trash"},text:false}).mousedown(function(){return false}).click(function(){var pid=$(this).attr('name');$(this).parents('.vb_pls_rakan_Style_lst').hide("blind",{direction:"vertical"},500,function(){GM_deleteValue(pid);if(!$('.vb_pls_rakan_Style_lst:visible').size()){$.setMSG('highlight','info',lngTRN('NOTWRITINGSTYLE'))}});return false});$('.vb_pls_rakan_Style_lst_Clk').click(function(){var idEdt=$('.vBulletin_editor').attr("id");if(idEdt===null||idEdt===undefined||idEdt===''){alert(lngTRN('MUSTEDITOR'));return false}else{$.setMSG('active','clock',lngTRN('PLEASEWAIT'));var lstOne=$(this).parents('.vb_pls_rakan_Style_lst').find('.vb_pls_rakan_Style_lst_One').text();var lstTwo=$(this).parents('.vb_pls_rakan_Style_lst').find('.vb_pls_rakan_Style_lst_Two').text();if(!unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){$.insertStyle(idEdt,lstOne,lstTwo);$('#vb_pls_rakan_TabBtnStyle').click().click()}else{unsafeWindow.switch_editor_mode(idEdt);var timrq=1;var timrd;timrd=setInterval(function(){timrq++;if(!$(ths).is(':visible')){clearInterval(timrd);return false}if(!unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){clearInterval(timrd);$.insertStyle(idEdt,lstOne,lstTwo);unsafeWindow.switch_editor_mode(idEdt);$('#vb_pls_rakan_TabBtnStyle').click().click();return false}if(timrq>600){clearInterval(timrd);alert(lngTRN('PLEASERELOAD'));$('#vb_pls_rakan_TabBtnStyle').click().click();return false}},100)}return false}}).setEfct();var strC='';strC+='<div class="vb_pls_rakan_lft" style="margin-top:5px;">';strC+='<button name="addStyle" class="vb_pls_rakan_Style_Add">'+lngTRN('ADDSTYLE')+'</button>';strC+='</div>';strC+=cLear;$('.vb_pls_rakan_Style_C').empty().html(strC);$(".vb_pls_rakan_Style_Add").button({icons:{primary:"ui-icon-plusthick"}}).click(function(){var strCa='';strCa+=lngTRN('TERMSADDSTYLE');strCa+='<ul>';strCa+='<li>'+lngTRN('TERMSADDSTYLE1')+'</li>';strCa+='<li>'+lngTRN('TERMSADDSTYLE2')+'</li>';strCa+='<li>'+lngTRN('TERMSADDSTYLE3')+'</li>';strCa+='<li>'+lngTRN('TERMSADDSTYLE4')+'</li>';strCa+='</ul>';$.setMSG('highlight','info',strCa);$('.vb_pls_rakan_Style_B').empty();var strCb='';strCb+='<div class="vb_pls_rakan_lft vb_pls_rakan_Style_Btn" style="margin-top:5px;">';strCb+='<button name="addStyle" class="vb_pls_rakan_Style_AddOK">'+lngTRN('OK')+'</button>';strCb+='<button name="addStyle" class="vb_pls_rakan_Style_AddNO">'+lngTRN('CANCEL')+'</button>';strCb+='</div>';strCb+=cLear;$('.vb_pls_rakan_Style_C').empty().html(strCb);$(".vb_pls_rakan_Style_Btn").buttonset();$(".vb_pls_rakan_Style_AddOK").button({icons:{primary:"ui-icon-check"}}).click(function(){var idEdt=$('.vBulletin_editor').attr("id");if(idEdt===null||idEdt===undefined||idEdt===''){alert(lngTRN('MUSTEDITORANYPAGE'));return false}else{if(unsafeWindow.vB_Editor[idEdt].get_editor_contents().indexOf(valExample)===-1){alert(lngTRN('WRITINGEXAMPLE'));return false}$.setMSG('active','clock',lngTRN('PLEASEWAIT'));$(this).button({disabled:true});if(!unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){$.setCodHtm(idEdt,1,unsafeWindow.vB_Editor[idEdt].get_editor_contents())}else{$.setCodHtm(idEdt,0,unsafeWindow.vB_Editor[idEdt].get_editor_contents())}}return false});$(".vb_pls_rakan_Style_AddNO").click(function(){$('#vb_pls_rakan_TabBtnStyle').click().click();return false});return false})});$('#vb_pls_rakan_TabBtnQuran').click(function(){var str='';var ths='#vb_pls_rakan_TabCntQuran';var $ths=$('<div class="vb_pls_rakan_Quran_obj"></div>');if($('.vb_pls_rakan_Quran_obj').size()){return false}else{$(ths).append($ths)}var stage=[parseInt($(ths).width()),'300'];str+='<object data="'+lnkWEB.QUswf+'" type="application/x-shockwave-flash" width="'+stage[0]+'" height="'+stage[1]+'">';str+='<param value="'+'stageW='+stage[0]+'&amp;stageH='+stage[1]+'&amp;pathToFiles='+'&amp;settingsPath='+lnkWEB.QUstg+'&amp;xmlPath='+lnkWEB.QUply+'" name="flashvars"></param>';str+='</object>';$ths.empty().html(str)});$('#vb_pls_rakan_TabBtnVote').click(function(){var ths='#vb_pls_rakan_TabCntVote';if($.chkUSER()){$(ths).empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}if($('input[name="vote"]').length){if(vjx_TabVote){if($('.vb_pls_rakan_Vote_A').size()<1){$(ths).append('<div class="vb_pls_rakan_Vote_A"></div>')}if($('.vb_pls_rakan_Vote_B').size()<1){$(ths).append('<div class="vb_pls_rakan_Vote_B"></div>')}if($('.vb_pls_rakan_Vote_C').size()<1){$(ths).append('<div class="vb_pls_rakan_Vote_C"></div>')}if($('.vb_pls_rakan_Vote_D').size()<1){$(ths).append('<div class="vb_pls_rakan_Vote_D"></div>')}var str='';str+='<div class="smallfont vb_pls_rakan_rgt" id="vb_pls_rakan_TabCntVote_vb_Radio">';$('input[name="vote"]').each(function(i){var val=$(this).val();var nam=$('label[for="'+$(this).attr('id')+'"]').text();var src=$("img[src*='rating_"+val+"']").attr('src');var img='<img class="inlineimg" src="'+src+'" alt="'+nam+'">';str+='<input type="radio" id="vb_pls_rakan_TabCntVote_vb_Radio'+i+'" name="vb_pls_rakan_TabCntVote_vb_Radio" value="'+val+'" />';str+='<label for="vb_pls_rakan_TabCntVote_vb_Radio'+i+'" title="'+nam+'">&nbsp;'+img+'&nbsp;</label>'});str+='</div>';str+='<div class="smallfont vb_pls_rakan_lft"><button class="vb_pls_rakan_TabCntVote_vb_BtnSav">'+lngTRN('RATING')+'</button></div>';str+=cLear;$('.vb_pls_rakan_Vote_A').empty().html($.getBOX(str));$("#vb_pls_rakan_TabCntVote_vb_Radio").buttonset();$(".vb_pls_rakan_TabCntVote_vb_BtnSav").button({icons:{primary:"ui-icon-disk"}});$(".vb_pls_rakan_TabCntVote_vb_BtnSav").click(function(){$(this).button({disabled:true});var chkVote=$("#vb_pls_rakan_TabCntVote_vb_Radio input[type='radio']:checked").val();if(chkVote===null||chkVote===undefined){alert(lngTRN('SELECTRATING'));$(this).button({disabled:false})}else{var xthr=$("#showthread_threadrate_form input[name='t']").val();var xkey=$("#showthread_threadrate_form input[name='securitytoken']").val();var xppp=$("#showthread_threadrate_form input[name='pp']").val();var xpag=$("#showthread_threadrate_form input[name='page']").val();$.ajax({type:'POST',url:lnkVB.rate,data:'t='+xthr+'&securitytoken='+xkey+'&vote='+chkVote+'&pp='+xppp+'&page='+xpag,beforeSend:function(){$(".vb_pls_rakan_TabCntVote_vb_BtnSav").button({label:lngTRN('PLEASEWAIT'),icons:{primary:''}});$("#vb_pls_rakan_TabCntVote_vb_Radio input[type='radio']").button({disabled:true})},success:function(result){$(".vb_pls_rakan_TabCntVote_vb_BtnSav").button({label:lngTRN('RATING'),icons:{primary:'ui-icon-disk'}});$("#vb_pls_rakan_TabCntVote_vb_Radio input[type='radio']").button({disabled:false});$(".vb_pls_rakan_TabCntVote_vb_BtnSav").button({disabled:false});var message=$(result).find('message').text();var error=$(result).find('error').text();if(message){alert(message);return false}if(error){alert(error);return false}}})}});var str='<iframe src="'+lnkWEB.lnkFL+'?href='+encodeURIComponent(location.href)+'&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:25px;" allowTransparency="true"></iframe>';$('.vb_pls_rakan_Vote_B').empty().html($.getBOX(str));var str='<div class="g-plusone" data-size="tall" data-width="'+parseInt($('.vb_pls_rakan_Vote_C').width())+'" data-align="right" data-annotation="inline"></div>';$.AddScriptTXT("window.___gcfg={lang:'ar-SA'};(function(){var po=document.createElement('script');po.type='text/javascript';po.async=true;po.src='"+lnkWEB.lnkJS+"';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);})();");$('.vb_pls_rakan_Vote_C').empty().html($.getBOX(str));var str='<a href="'+lnkWEB.lnkTW+'" class="twitter-share-button" data-lang="ar"></a>';$.AddScriptTXT("!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','twitter-wjs');");$('.vb_pls_rakan_Vote_D').empty().html($.getBOX(str));vjx_TabVote=false}}else{$(ths).empty().html($.getMSG('highlight','info',lngTRN('OPENTOPIC')))}});$('#vb_pls_rakan_TabBtnPost').click(function(){var ths='#vb_pls_rakan_TabCntPost';if(vjx_TabShare){if(isChrome){vjx_TabShare=false;$(ths).empty().html($.getMSG('error','alert',lngTRN('UNSUPPORTED')));return false}else{$.ajax({type:'GET',url:lnkWEB.AddTo,dataType:"script",beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(){vjx_TabShare=false;$.AddScriptTXT('var a2a_config = a2a_config || {};'+'a2a_config.show_menu={position:"static",top:"0px",left:"0px"};'+'a2a_config.color_link_text="'+$.getHEX($(".ui-state-default").css('color'))+'";'+'a2a_config.color_link_text_hover="'+$.getHEX($(".ui-state-focus").css('color'))+'";');GM_addStyle('.a2a_menu, .a2a_menu_inside, .a2a_menu a, .a2a_tabs div, .a2a_menu_find_container, .a2a_menu_powered_by{-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;}'+'#a2apage_EMAIL, .a2a_tabs_default, .a2a_menu_find_container, .a2apage_wide, .a2a_menu_powered_by{display:none !important;}'+'.a2a_menu{width:100% !important;min-width:100% !important;}'+'.a2a_i{display:block !important;}'+'.a2a_menu, .a2a_menu_inside{background:transparent !important;padding:0 !important;border:none !important;}'+'.a2a_menu_inside{padding-bottom:7px !important;}'+'.a2a_menu a, .a2a_menu a.a2a_i{border:1px solid transparent !important;}'+'.a2a_menu a:hover, .a2a_menu a:active, .a2a_menu a.a2a_i:focus{border:1px solid '+$(".ui-state-default").css('border-left-color')+' !important;background-color:'+$(".ui-state-default").css('background-color')+' !important;}');$(ths).empty().html('<div id="a2a_menu_container"></div>')}})}}});$('#vb_pls_rakan_TabBtnSmileVB').click(function(){var ths='#vb_pls_rakan_TabCntSmileVB';if($.chkUSER()){$(ths).empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}var str='';if(vjx_TabSmileVB){$.ajax({url:lnkVB.misc,data:'do=getsmilies',beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(result){vjx_TabSmileVB=false;var ico=$(result).find('#smilietable img');$.each(ico,function(){var src=$(this).attr('src');var alt=$(this).attr('alt');var tit=$(this).attr('title');var xid=$(this).attr('id').toString().match(/\d+$/)[0];str+='<div title="'+tit+'" class="vb_pls_rakan_TabCntSmileVBIcons vb_pls_rakan_rgt vb_pls_rakan_whp ui-state-default">';str+='<img smilieid="'+xid+'" alt="'+alt+'" src="'+src+'" height="19px" width="19px" />';str+='</div>'});str+=cLear;$(ths).empty().html(str);$.each(ico,function(){var src=$(this).attr('src');$(this).error(function(){$(ths).find('img[src="'+src+'"]').parent('.vb_pls_rakan_TabCntSmileVBIcons').remove()})});$('.vb_pls_rakan_TabCntSmileVBIcons').click(function(){var idEdt=$('.vBulletin_editor').attr("id");if(idEdt===null||idEdt===undefined||idEdt===''){alert(lngTRN('MUSTEDITOR'))}else{if(isChrome){if(unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){alert(lngTRN('UNSUPPORTEDWYSIWYG'))}else{unsafeWindow.vB_Editor[idEdt].insert_text($(this).find('img').attr('alt'),true)}}else{if(unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){unsafeWindow.vB_Editor[idEdt].insert_text('<img smilieid="'+$(this).find('img').attr('smilieid')+'" src="'+$(this).find('img').attr('src')+'" border="0" class="inlineimg" alt="'+$(this).find('img').attr('alt')+'" />',false)}else{unsafeWindow.vB_Editor[idEdt].insert_text($(this).find('img').attr('alt'),false)}}}}).setEfct()}})}});$('#vb_pls_rakan_TabBtnSmilePhone').click(function(){var ths='#vb_pls_rakan_TabCntSmilePhone';if($.chkUSER()){$(ths).empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}if($("#vb_pls_rakan_TabCntSmilePhone div").size()<1){var str='';var emoji={"\ud83d\ude04":0,"\ud83d\ude03":1,"\ud83d\ude00":2,"\ud83d\ude0a":3,"\u263a\ufe0f":4,"\ud83d\ude09":5,"\ud83d\ude0d":6,"\ud83d\ude18":7,"\ud83d\ude1a":8,"\ud83d\ude17":9,"\ud83d\ude19":10,"\ud83d\ude1c":11,"\ud83d\ude1d":12,"\ud83d\ude1b":13,"\ud83d\ude33":14,"\ud83d\ude01":15,"\ud83d\ude14":16,"\ud83d\ude0c":17,"\ud83d\ude12":18,"\ud83d\ude1e":19,"\ud83d\ude23":20,"\ud83d\ude22":21,"\ud83d\ude02":22,"\ud83d\ude2d":23,"\ud83d\ude2a":24,"\ud83d\ude25":25,"\ud83d\ude30":26,"\ud83d\ude05":27,"\ud83d\ude13":28,"\ud83d\ude29":29,"\ud83d\ude2b":30,"\ud83d\ude28":31,"\ud83d\ude31":32,"\ud83d\ude20":33,"\ud83d\ude21":34,"\ud83d\ude24":35,"\ud83d\ude16":36,"\ud83d\ude06":37,"\ud83d\ude0b":38,"\ud83d\ude37":39,"\ud83d\ude0e":40,"\ud83d\ude34":41,"\ud83d\ude35":42,"\ud83d\ude32":43,"\ud83d\ude1f":44,"\ud83d\ude26":45,"\ud83d\ude27":46,"\ud83d\ude08":47,"\ud83d\udc7f":48,"\ud83d\ude2e":49,"\ud83d\ude2c":50,"\ud83d\ude10":51,"\ud83d\ude15":52,"\ud83d\ude2f":53,"\ud83d\ude36":54,"\ud83d\ude07":55,"\ud83d\ude0f":56,"\ud83d\ude11":57,"\ud83d\udc72":58,"\ud83d\udc73":59,"\ud83d\udc6e":60,"\ud83d\udc77":61,"\ud83d\udc82":62,"\ud83d\udc76":63,"\ud83d\udc66":64,"\ud83d\udc67":65,"\ud83d\udc68":66,"\ud83d\udc69":67,"\ud83d\udc74":68,"\ud83d\udc75":69,"\ud83d\udc71":70,"\ud83d\udc7c":71,"\ud83d\udc78":72,"\ud83d\ude3a":73,"\ud83d\ude38":74,"\ud83d\ude3b":75,"\ud83d\ude3d":76,"\ud83d\ude3c":77,"\ud83d\ude40":78,"\ud83d\ude3f":79,"\ud83d\ude39":80,"\ud83d\ude3e":81,"\ud83d\udc79":82,"\ud83d\udc7a":83,"\ud83d\ude48":84,"\ud83d\ude49":85,"\ud83d\ude4a":86,"\ud83d\udc80":87,"\ud83d\udc7d":88,"\ud83d\udca9":89,"\ud83d\udd25":90,"\u2728":91,"\ud83c\udf1f":92,"\ud83d\udcab":93,"\ud83d\udca5":94,"\ud83d\udca2":95,"\ud83d\udca6":96,"\ud83d\udca7":97,"\ud83d\udca4":98,"\ud83d\udca8":99,"\ud83d\udc42":100,"\ud83d\udc40":101,"\ud83d\udc43":102,"\ud83d\udc45":103,"\ud83d\udc44":104,"\ud83d\udc4d":105,"\ud83d\udc4e":106,"\ud83d\udc4c":107,"\ud83d\udc4a":108,"\u270a":109,"\u270c\ufe0f":110,"\ud83d\udc4b":111,"\u270b":112,"\ud83d\udc50":113,"\ud83d\udc46":114,"\ud83d\udc47":115,"\ud83d\udc49":116,"\ud83d\udc48":117,"\ud83d\ude4c":118,"\ud83d\ude4f":119,"\u261d\ufe0f":120,"\ud83d\udc4f":121,"\ud83d\udcaa":122,"\ud83d\udeb6":123,"\ud83c\udfc3":124,"\ud83d\udc83":125,"\ud83d\udc6b":126,"\ud83d\udc6a":127,"\ud83d\udc6c":128,"\ud83d\udc6d":129,"\ud83d\udc8f":130,"\ud83d\udc91":131,"\ud83d\udc6f":132,"\ud83d\ude46":133,"\ud83d\ude45":134,"\ud83d\udc81":135,"\ud83d\ude4b":136,"\ud83d\udc86":137,"\ud83d\udc87":138,"\ud83d\udc85":139,"\ud83d\udc70":140,"\ud83d\ude4e":141,"\ud83d\ude4d":142,"\ud83d\ude47":143,"\ud83c\udfa9":144,"\ud83d\udc51":145,"\ud83d\udc52":146,"\ud83d\udc5f":147,"\ud83d\udc5e":148,"\ud83d\udc61":149,"\ud83d\udc60":150,"\ud83d\udc62":151,"\ud83d\udc55":152,"\ud83d\udc54":153,"\ud83d\udc5a":154,"\ud83d\udc57":155,"\ud83c\udfbd":156,"\ud83d\udc56":157,"\ud83d\udc58":158,"\ud83d\udc59":159,"\ud83d\udcbc":160,"\ud83d\udc5c":161,"\ud83d\udc5d":162,"\ud83d\udc5b":163,"\ud83d\udc53":164,"\ud83c\udf80":165,"\ud83c\udf02":166,"\ud83d\udc84":167,"\ud83d\udc9b":168,"\ud83d\udc99":169,"\ud83d\udc9c":170,"\ud83d\udc9a":171,"\u2764\ufe0f":172,"\ud83d\udc94":173,"\ud83d\udc97":174,"\ud83d\udc93":175,"\ud83d\udc95":176,"\ud83d\udc96":177,"\ud83d\udc9e":178,"\ud83d\udc98":179,"\ud83d\udc8c":180,"\ud83d\udc8b":181,"\ud83d\udc8d":182,"\ud83d\udc8e":183,"\ud83d\udc64":184,"\ud83d\udc65":185,"\ud83d\udcac":186,"\ud83d\udc63":187,"\ud83d\udcad":188,"\ud83d\udc36":189,"\ud83d\udc3a":190,"\ud83d\udc31":191,"\ud83d\udc2d":192,"\ud83d\udc39":193,"\ud83d\udc30":194,"\ud83d\udc38":195,"\ud83d\udc2f":196,"\ud83d\udc28":197,"\ud83d\udc3b":198,"\ud83d\udc37":199,"\ud83d\udc3d":200,"\ud83d\udc2e":201,"\ud83d\udc17":202,"\ud83d\udc35":203,"\ud83d\udc12":204,"\ud83d\udc34":205,"\ud83d\udc11":206,"\ud83d\udc18":207,"\ud83d\udc3c":208,"\ud83d\udc27":209,"\ud83d\udc26":210,"\ud83d\udc24":211,"\ud83d\udc25":212,"\ud83d\udc23":213,"\ud83d\udc14":214,"\ud83d\udc0d":215,"\ud83d\udc22":216,"\ud83d\udc1b":217,"\ud83d\udc1d":218,"\ud83d\udc1c":219,"\ud83d\udc1e":220,"\ud83d\udc0c":221,"\ud83d\udc19":222,"\ud83d\udc1a":223,"\ud83d\udc20":224,"\ud83d\udc1f":225,"\ud83d\udc2c":226,"\ud83d\udc33":227,"\ud83d\udc0b":228,"\ud83d\udc04":229,"\ud83d\udc0f":230,"\ud83d\udc00":231,"\ud83d\udc03":232,"\ud83d\udc05":233,"\ud83d\udc07":234,"\ud83d\udc09":235,"\ud83d\udc0e":236,"\ud83d\udc10":237,"\ud83d\udc13":238,"\ud83d\udc15":239,"\ud83d\udc16":240,"\ud83d\udc01":241,"\ud83d\udc02":242,"\ud83d\udc32":243,"\ud83d\udc21":244,"\ud83d\udc0a":245,"\ud83d\udc2b":246,"\ud83d\udc2a":247,"\ud83d\udc06":248,"\ud83d\udc08":249,"\ud83d\udc29":250,"\ud83d\udc3e":251,"\ud83d\udc90":252,"\ud83c\udf38":253,"\ud83c\udf37":254,"\ud83c\udf40":255,"\ud83c\udf39":256,"\ud83c\udf3b":257,"\ud83c\udf3a":258,"\ud83c\udf41":259,"\ud83c\udf43":260,"\ud83c\udf42":261,"\ud83c\udf3f":262,"\ud83c\udf3e":263,"\ud83c\udf44":264,"\ud83c\udf35":265,"\ud83c\udf34":266,"\ud83c\udf32":267,"\ud83c\udf33":268,"\ud83c\udf30":269,"\ud83c\udf31":270,"\ud83c\udf3c":271,"\ud83c\udf10":272,"\ud83c\udf1e":273,"\ud83c\udf1d":274,"\ud83c\udf1a":275,"\ud83c\udf11":276,"\ud83c\udf12":277,"\ud83c\udf13":278,"\ud83c\udf14":279,"\ud83c\udf15":280,"\ud83c\udf16":281,"\ud83c\udf17":282,"\ud83c\udf18":283,"\ud83c\udf1c":284,"\ud83c\udf1b":285,"\ud83c\udf19":286,"\ud83c\udf0d":287,"\ud83c\udf0e":288,"\ud83c\udf0f":289,"\ud83c\udf0b":290,"\ud83c\udf0c":291,"\ud83c\udf20":292,"\u2b50\ufe0f":293,"\u2600\ufe0f":294,"\u26c5\ufe0f":295,"\u2601\ufe0f":296,"\u26a1\ufe0f":297,"\u2614\ufe0f":298,"\u2744\ufe0f":299,"\u26c4\ufe0f":300,"\ud83c\udf00":301,"\ud83c\udf01":302,"\ud83c\udf08":303,"\ud83c\udf0a":304,"\ud83c\udf8d":305,"\ud83d\udc9d":306,"\ud83c\udf8e":307,"\ud83c\udf92":308,"\ud83c\udf93":309,"\ud83c\udf8f":310,"\ud83c\udf86":311,"\ud83c\udf87":312,"\ud83c\udf90":313,"\ud83c\udf91":314,"\ud83c\udf83":315,"\ud83d\udc7b":316,"\ud83c\udf85":317,"\ud83c\udf84":318,"\ud83c\udf81":319,"\ud83c\udf8b":320,"\ud83c\udf89":321,"\ud83c\udf8a":322,"\ud83c\udf88":323,"\ud83c\udf8c":324,"\ud83d\udd2e":325,"\ud83c\udfa5":326,"\ud83d\udcf7":327,"\ud83d\udcf9":328,"\ud83d\udcfc":329,"\ud83d\udcbf":330,"\ud83d\udcc0":331,"\ud83d\udcbd":332,"\ud83d\udcbe":333,"\ud83d\udcbb":334,"\ud83d\udcf1":335,"\u260e\ufe0f":336,"\ud83d\udcde":337,"\ud83d\udcdf":338,"\ud83d\udce0":339,"\ud83d\udce1":340,"\ud83d\udcfa":341,"\ud83d\udcfb":342,"\ud83d\udd0a":343,"\ud83d\udd09":344,"\ud83d\udd08":345,"\ud83d\udd07":346,"\ud83d\udd14":347,"\ud83d\udd15":348,"\ud83d\udce2":349,"\ud83d\udce3":350,"\u23f3":351,"\u231b\ufe0f":352,"\u23f0":353,"\u231a\ufe0f":354,"\ud83d\udd13":355,"\ud83d\udd12":356,"\ud83d\udd0f":357,"\ud83d\udd10":358,"\ud83d\udd11":359,"\ud83d\udd0e":360,"\ud83d\udca1":361,"\ud83d\udd26":362,"\ud83d\udd06":363,"\ud83d\udd05":364,"\ud83d\udd0c":365,"\ud83d\udd0b":366,"\ud83d\udd0d":367,"\ud83d\udec1":368,"\ud83d\udec0":369,"\ud83d\udebf":370,"\ud83d\udebd":371,"\ud83d\udd27":372,"\ud83d\udd29":373,"\ud83d\udd28":374,"\ud83d\udeaa":375,"\ud83d\udeac":376,"\ud83d\udca3":377,"\ud83d\udd2b":378,"\ud83d\udd2a":379,"\ud83d\udc8a":380,"\ud83d\udc89":381,"\ud83d\udcb0":382,"\ud83d\udcb4":383,"\ud83d\udcb5":384,"\ud83d\udcb7":385,"\ud83d\udcb6":386,"\ud83d\udcb3":387,"\ud83d\udcb8":388,"\ud83d\udcf2":389,"\ud83d\udce7":390,"\ud83d\udce5":391,"\ud83d\udce4":392,"\u2709\ufe0f":393,"\ud83d\udce9":394,"\ud83d\udce8":395,"\ud83d\udcef":396,"\ud83d\udceb":397,"\ud83d\udcea":398,"\ud83d\udcec":399,"\ud83d\udced":400,"\ud83d\udcee":401,"\ud83d\udce6":402,"\ud83d\udcdd":403,"\ud83d\udcc4":404,"\ud83d\udcc3":405,"\ud83d\udcd1":406,"\ud83d\udcca":407,"\ud83d\udcc8":408,"\ud83d\udcc9":409,"\ud83d\udcdc":410,"\ud83d\udccb":411,"\ud83d\udcc5":412,"\ud83d\udcc6":413,"\ud83d\udcc7":414,"\ud83d\udcc1":415,"\ud83d\udcc2":416,"\u2702\ufe0f":417,"\ud83d\udccc":418,"\ud83d\udcce":419,"\u2712\ufe0f":420,"\u270f\ufe0f":421,"\ud83d\udccf":422,"\ud83d\udcd0":423,"\ud83d\udcd5":424,"\ud83d\udcd7":425,"\ud83d\udcd8":426,"\ud83d\udcd9":427,"\ud83d\udcd3":428,"\ud83d\udcd4":429,"\ud83d\udcd2":430,"\ud83d\udcda":431,"\ud83d\udcd6":432,"\ud83d\udd16":433,"\ud83d\udcdb":434,"\ud83d\udd2c":435,"\ud83d\udd2d":436,"\ud83d\udcf0":437,"\ud83c\udfa8":438,"\ud83c\udfac":439,"\ud83c\udfa4":440,"\ud83c\udfa7":441,"\ud83c\udfbc":442,"\ud83c\udfb5":443,"\ud83c\udfb6":444,"\ud83c\udfb9":445,"\ud83c\udfbb":446,"\ud83c\udfba":447,"\ud83c\udfb7":448,"\ud83c\udfb8":449,"\ud83d\udc7e":450,"\ud83c\udfae":451,"\ud83c\udccf":452,"\ud83c\udfb4":453,"\ud83c\udc04\ufe0f":454,"\ud83c\udfb2":455,"\ud83c\udfaf":456,"\ud83c\udfc8":457,"\ud83c\udfc0":458,"\u26bd\ufe0f":459,"\u26be\ufe0f":460,"\ud83c\udfbe":461,"\ud83c\udfb1":462,"\ud83c\udfc9":463,"\ud83c\udfb3":464,"\u26f3\ufe0f":465,"\ud83d\udeb5":466,"\ud83d\udeb4":467,"\ud83c\udfc1":468,"\ud83c\udfc7":469,"\ud83c\udfc6":470,"\ud83c\udfbf":471,"\ud83c\udfc2":472,"\ud83c\udfca":473,"\ud83c\udfc4":474,"\ud83c\udfa3":475,"\u2615\ufe0f":476,"\ud83c\udf75":477,"\ud83c\udf76":478,"\ud83c\udf7c":479,"\ud83c\udf7a":480,"\ud83c\udf7b":481,"\ud83c\udf78":482,"\ud83c\udf79":483,"\ud83c\udf77":484,"\ud83c\udf74":485,"\ud83c\udf55":486,"\ud83c\udf54":487,"\ud83c\udf5f":488,"\ud83c\udf57":489,"\ud83c\udf56":490,"\ud83c\udf5d":491,"\ud83c\udf5b":492,"\ud83c\udf64":493,"\ud83c\udf71":494,"\ud83c\udf63":495,"\ud83c\udf65":496,"\ud83c\udf59":497,"\ud83c\udf58":498,"\ud83c\udf5a":499,"\ud83c\udf5c":500,"\ud83c\udf72":501,"\ud83c\udf62":502,"\ud83c\udf61":503,"\ud83c\udf73":504,"\ud83c\udf5e":505,"\ud83c\udf69":506,"\ud83c\udf6e":507,"\ud83c\udf66":508,"\ud83c\udf68":509,"\ud83c\udf67":510,"\ud83c\udf82":511,"\ud83c\udf70":512,"\ud83c\udf6a":513,"\ud83c\udf6b":514,"\ud83c\udf6c":515,"\ud83c\udf6d":516,"\ud83c\udf6f":517,"\ud83c\udf4e":518,"\ud83c\udf4f":519,"\ud83c\udf4a":520,"\ud83c\udf4b":521,"\ud83c\udf52":522,"\ud83c\udf47":523,"\ud83c\udf49":524,"\ud83c\udf53":525,"\ud83c\udf51":526,"\ud83c\udf48":527,"\ud83c\udf4c":528,"\ud83c\udf50":529,"\ud83c\udf4d":530,"\ud83c\udf60":531,"\ud83c\udf46":532,"\ud83c\udf45":533,"\ud83c\udf3d":534,"\ud83c\udfe0":535,"\ud83c\udfe1":536,"\ud83c\udfeb":537,"\ud83c\udfe2":538,"\ud83c\udfe3":539,"\ud83c\udfe5":540,"\ud83c\udfe6":541,"\ud83c\udfea":542,"\ud83c\udfe9":543,"\ud83c\udfe8":544,"\ud83d\udc92":545,"\u26ea\ufe0f":546,"\ud83c\udfec":547,"\ud83c\udfe4":548,"\ud83c\udf07":549,"\ud83c\udf06":550,"\ud83c\udfef":551,"\ud83c\udff0":552,"\u26fa\ufe0f":553,"\ud83c\udfed":554,"\ud83d\uddfc":555,"\ud83d\uddfe":556,"\ud83d\uddfb":557,"\ud83c\udf04":558,"\ud83c\udf05":559,"\ud83c\udf03":560,"\ud83d\uddfd":561,"\ud83c\udf09":562,"\ud83c\udfa0":563,"\ud83c\udfa1":564,"\u26f2\ufe0f":565,"\ud83c\udfa2":566,"\ud83d\udea2":567,"\u26f5\ufe0f":568,"\ud83d\udea4":569,"\ud83d\udea3":570,"\u2693\ufe0f":571,"\ud83d\ude80":572,"\u2708\ufe0f":573,"\ud83d\udcba":574,"\ud83d\ude81":575,"\ud83d\ude82":576,"\ud83d\ude8a":577,"\ud83d\ude89":578,"\ud83d\ude9e":579,"\ud83d\ude86":580,"\ud83d\ude84":581,"\ud83d\ude85":582,"\ud83d\ude88":583,"\ud83d\ude87":584,"\ud83d\ude9d":585,"\ud83d\ude8b":586,"\ud83d\ude83":587,"\ud83d\ude8e":588,"\ud83d\ude8c":589,"\ud83d\ude8d":590,"\ud83d\ude99":591,"\ud83d\ude98":592,"\ud83d\ude97":593,"\ud83d\ude95":594,"\ud83d\ude96":595,"\ud83d\ude9b":596,"\ud83d\ude9a":597,"\ud83d\udea8":598,"\ud83d\ude93":599,"\ud83d\ude94":600,"\ud83d\ude92":601,"\ud83d\ude91":602,"\ud83d\ude90":603,"\ud83d\udeb2":604,"\ud83d\udea1":605,"\ud83d\ude9f":606,"\ud83d\udea0":607,"\ud83d\ude9c":608,"\ud83d\udc88":609,"\ud83d\ude8f":610,"\ud83c\udfab":611,"\ud83d\udea6":612,"\ud83d\udea5":613,"\u26a0\ufe0f":614,"\ud83d\udea7":615,"\ud83d\udd30":616,"\u26fd\ufe0f":617,"\ud83c\udfee":618,"\ud83c\udfb0":619,"\u2668\ufe0f":620,"\ud83d\uddff":621,"\ud83c\udfaa":622,"\ud83c\udfad":623,"\ud83d\udccd":624,"\ud83d\udea9":625,"\ud83c\uddef\ud83c\uddf5":626,"\ud83c\uddf0\ud83c\uddf7":627,"\ud83c\udde9\ud83c\uddea":628,"\ud83c\udde8\ud83c\uddf3":629,"\ud83c\uddfa\ud83c\uddf8":630,"\ud83c\uddeb\ud83c\uddf7":631,"\ud83c\uddea\ud83c\uddf8":632,"\ud83c\uddee\ud83c\uddf9":633,"\ud83c\uddf7\ud83c\uddfa":634,"\ud83c\uddec\ud83c\udde7":635,"1\u20e3":636,"2\u20e3":637,"3\u20e3":638,"4\u20e3":639,"5\u20e3":640,"6\u20e3":641,"7\u20e3":642,"8\u20e3":643,"9\u20e3":644,"0\u20e3":645,"\ud83d\udd1f":646,"\ud83d\udd22":647,"\u0023\u20e3":648,"\ud83d\udd23":649,"\u2b06\ufe0f":650,"\u2b07\ufe0f":651,"\u2b05\ufe0f":652,"\u27a1\ufe0f":653,"\ud83d\udd20":654,"\ud83d\udd21":655,"\ud83d\udd24":656,"\u2197\ufe0f":657,"\u2196\ufe0f":658,"\u2198\ufe0f":659,"\u2199\ufe0f":660,"\u2194\ufe0f":661,"\u2195\ufe0f":662,"\ud83d\udd04":663,"\u25c0\ufe0f":664,"\u25b6\ufe0f":665,"\ud83d\udd3c":666,"\ud83d\udd3d":667,"\u21a9\ufe0f":668,"\u21aa\ufe0f":669,"\u2139\ufe0f":670,"\u23ea":671,"\u23e9":672,"\u23eb":673,"\u23ec":674,"\u2935\ufe0f":675,"\u2934\ufe0f":676,"\ud83c\udd97":677,"\ud83d\udd00":678,"\ud83d\udd01":679,"\ud83d\udd02":680,"\ud83c\udd95":681,"\ud83c\udd99":682,"\ud83c\udd92":683,"\ud83c\udd93":684,"\ud83c\udd96":685,"\ud83d\udcf6":686,"\ud83c\udfa6":687,"\ud83c\ude01":688,"\ud83c\ude2f\ufe0f":689,"\ud83c\ude33":690,"\ud83c\ude35":691,"\ud83c\ude34":692,"\ud83c\ude32":693,"\ud83c\ude50":694,"\ud83c\ude39":695,"\ud83c\ude3a":696,"\ud83c\ude36":697,"\ud83c\ude1a\ufe0f":698,"\ud83d\udebb":699,"\ud83d\udeb9":700,"\ud83d\udeba":701,"\ud83d\udebc":702,"\ud83d\udebe":703,"\ud83d\udeb0":704,"\ud83d\udeae":705,"\ud83c\udd7f\ufe0f":706,"\u267f\ufe0f":707,"\ud83d\udead":708,"\ud83c\ude37":709,"\ud83c\ude38":710,"\ud83c\ude02":711,"\u24c2\ufe0f":712,"\ud83d\udec2":713,"\ud83d\udec4":714,"\ud83d\udec5":715,"\ud83d\udec3":716,"\ud83c\ude51":717,"\u3299\ufe0f":718,"\u3297\ufe0f":719,"\ud83c\udd91":720,"\ud83c\udd98":721,"\ud83c\udd94":722,"\ud83d\udeab":723,"\ud83d\udd1e":724,"\ud83d\udcf5":725,"\ud83d\udeaf":726,"\ud83d\udeb1":727,"\ud83d\udeb3":728,"\ud83d\udeb7":729,"\ud83d\udeb8":730,"\u26d4\ufe0f":731,"\u2733\ufe0f":732,"\u2747\ufe0f":733,"\u274e":734,"\u2705":735,"\u2734\ufe0f":736,"\ud83d\udc9f":737,"\ud83c\udd9a":738,"\ud83d\udcf3":739,"\ud83d\udcf4":740,"\ud83c\udd70":741,"\ud83c\udd71":742,"\ud83c\udd8e":743,"\ud83c\udd7e":744,"\ud83d\udca0":745,"\u27bf":746,"\u267b\ufe0f":747,"\u2648\ufe0f":748,"\u2649\ufe0f":749,"\u264a\ufe0f":750,"\u264b\ufe0f":751,"\u264c\ufe0f":752,"\u264d\ufe0f":753,"\u264e\ufe0f":754,"\u264f\ufe0f":755,"\u2650\ufe0f":756,"\u2651\ufe0f":757,"\u2652\ufe0f":758,"\u2653\ufe0f":759,"\u26ce":760,"\ud83d\udd2f":761,"\ud83c\udfe7":762,"\ud83d\udcb9":763,"\ud83d\udcb2":764,"\ud83d\udcb1":765,"\u00a9":766,"\u00ae":767,"\u2122":768,"\u274c":769,"\u203c\ufe0f":770,"\u2049\ufe0f":771,"\u2757\ufe0f":772,"\u2753":773,"\u2755":774,"\u2754":775,"\u2b55\ufe0f":776,"\ud83d\udd1d":777,"\ud83d\udd1a":778,"\ud83d\udd19":779,"\ud83d\udd1b":780,"\ud83d\udd1c":781,"\ud83d\udd03":782,"\ud83d\udd5b":783,"\ud83d\udd67":784,"\ud83d\udd50":785,"\ud83d\udd5c":786,"\ud83d\udd51":787,"\ud83d\udd5d":788,"\ud83d\udd52":789,"\ud83d\udd5e":790,"\ud83d\udd53":791,"\ud83d\udd5f":792,"\ud83d\udd54":793,"\ud83d\udd60":794,"\ud83d\udd55":795,"\ud83d\udd56":796,"\ud83d\udd57":797,"\ud83d\udd58":798,"\ud83d\udd59":799,"\ud83d\udd5a":800,"\ud83d\udd61":801,"\ud83d\udd62":802,"\ud83d\udd63":803,"\ud83d\udd64":804,"\ud83d\udd65":805,"\ud83d\udd66":806,"\u2716\ufe0f":807,"\u2795":808,"\u2796":809,"\u2797":810,"\u2660\ufe0f":811,"\u2665\ufe0f":812,"\u2663\ufe0f":813,"\u2666\ufe0f":814,"\ud83d\udcae":815,"\ud83d\udcaf":816,"\u2714\ufe0f":817,"\u2611\ufe0f":818,"\ud83d\udd18":819,"\ud83d\udd17":820,"\u27b0":821,"\u3030":822,"\u303d\ufe0f":823,"\ud83d\udd31":824,"\u25fc\ufe0f":825,"\u25fb\ufe0f":826,"\u25fe\ufe0f":827,"\u25fd\ufe0f":828,"\u25aa\ufe0f":829,"\u25ab\ufe0f":830,"\ud83d\udd3a":831,"\ud83d\udd32":832,"\ud83d\udd33":833,"\u26ab\ufe0f":834,"\u26aa\ufe0f":835,"\ud83d\udd34":836,"\ud83d\udd35":837,"\ud83d\udd3b":838,"\u2b1c\ufe0f":839,"\u2b1b\ufe0f":840,"\ud83d\udd36":841,"\ud83d\udd37":842,"\ud83d\udd38":843,"\ud83d\udd39":844,"\u263a":4,"\u270c":110,"\u261d":120,"\u2764":172,"\u2b50":293,"\u2600":294,"\u26c5":295,"\u2601":296,"\u26a1":297,"\u2614":298,"\u2744":299,"\u26c4":300,"\u260e":336,"\u231b":352,"\u231a":354,"\u2709":393,"\u2702":417,"\u2712":420,"\u270f":421,"\ud83c\udc04":454,"\u26bd":459,"\u26be":460,"\u26f3":465,"\u2615":476,"\u26ea":546,"\u26fa":553,"\u26f2":565,"\u26f5":568,"\u2693":571,"\u2708":573,"\u26a0":614,"\u26fd":617,"\u2668":620,"\u2b06":650,"\u2b07":651,"\u2b05":652,"\u27a1":653,"\u2197":657,"\u2196":658,"\u2198":659,"\u2199":660,"\u2194":661,"\u2195":662,"\u25c0":664,"\u25b6":665,"\u21a9":668,"\u21aa":669,"\u2139":670,"\u2935":675,"\u2934":676,"\ud83c\ude2f":689,"\ud83c\ude1a":698,"\ud83c\udd7f":706,"\u267f":707,"\u24c2":712,"\u3299":718,"\u3297":719,"\u26d4":731,"\u2733":732,"\u2747":733,"\u2734":736,"\u267b":747,"\u2648":748,"\u2649":749,"\u264a":750,"\u264b":751,"\u264c":752,"\u264d":753,"\u264e":754,"\u264f":755,"\u2650":756,"\u2651":757,"\u2652":758,"\u2653":759,"\u203c":770,"\u2049":771,"\u2757":772,"\u2b55":776,"\u2716":807,"\u2660":811,"\u2665":812,"\u2663":813,"\u2666":814,"\u2714":817,"\u2611":818,"\u303d":823,"\u25fc":825,"\u25fb":826,"\u25fe":827,"\u25fd":828,"\u25aa":829,"\u25ab":830,"\u26ab":834,"\u26aa":835,"\u2b1c":839,"\u2b1b":840};$.each(emoji,function(k,v){str+='<div id="vb_pls_rakan_TabCntSmilePhoneIcons_'+v+'" class="vb_pls_rakan_TabCntSmilePhoneIcons vb_pls_rakan_whp ui-state-default">'+k+'</div>'});str+=cLear;$(ths).empty().html(str)}$('.vb_pls_rakan_TabCntSmilePhoneIcons').click(function(){var idEdt=$('.vBulletin_editor').attr("id");if(idEdt===null||idEdt===undefined||idEdt===''){alert(lngTRN('MUSTEDITOR'))}else{var thsID=$(this).attr('id');thsID=thsID.split('_');thsID=thsID[thsID.length-1];var val='';$.each(emoji,function(k,v){if(v==thsID){val=k;return false}});if(isChrome){if(unsafeWindow.vB_Editor[idEdt].wysiwyg_mode){alert(lngTRN('UNSUPPORTEDWYSIWYG'))}else{unsafeWindow.vB_Editor[idEdt].insert_text(val,true)}}else{unsafeWindow.vB_Editor[idEdt].insert_text(val,true)}}}).setEfct()});$('#vb_pls_rakan_TabBtnReadingList').click(function(){var ths='#vb_pls_rakan_TabCntReadingList';if($.chkUSER()){$(ths).empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}var idReadingList=GM_getValue("vb_pls_rakan_ReadingList_"+thsHost,null);if(idReadingList!==null){$.ajax({url:lnkVB.subc,data:'do=viewsubscription&folderid='+idReadingList+'&pp=3&page='+pgReadingList,cache:false,beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(result){try{pgReadingList='';GM_addStyle('.vb_pls_rakan_css_reading_list table {background:none !important; border:1px solid '+$(".ui-state-default").css('border-left-color')+' !important; color:none !important;}'+'.vb_pls_rakan_css_reading_list .vbmenu_control, .vb_pls_rakan_css_reading_list .thead, .vb_pls_rakan_css_reading_list .alt1, .vb_pls_rakan_css_reading_list .alt2, .vb_pls_rakan_css_reading_list .time {border-color:none !important;}'+'.vb_pls_rakan_css_reading_list .vbmenu_control, .vb_pls_rakan_css_reading_list .thead {background:'+$(".ui-state-active").css('background-color')+' !important; border-color:none !important;}'+'.vb_pls_rakan_css_reading_list .vbmenu_control, .vb_pls_rakan_css_reading_list .alt1, .vb_pls_rakan_css_reading_list a {color:'+$(".ui-state-default").css('color')+' !important;}'+'.vb_pls_rakan_css_reading_list .thead {color:'+$(".ui-state-hover").css('color')+' !important;}'+'.vb_pls_rakan_css_reading_list .alt1 {background:'+$(".ui-state-default").css('background-color')+' !important;}'+'.vb_pls_rakan_css_reading_list .alt2 {background:'+$(".ui-state-hover").css('background-color')+' !important;}'+'.vb_pls_rakan_css_reading_list .alt2, .vb_pls_rakan_css_reading_list .time {color:'+$(".ui-state-active").css('color')+' !important;}'+'.vb_pls_rakan_css_reading_list a {font-weight: bold;}'+'.vb_pls_rakan_css_reading_list a:hover {color:'+$(".ui-state-focus").css('color')+' !important;}');var str='';var xr=$('td:last-child',$(result).find('div.pagenav')).remove().end().html();var xj=$(result).find('form[action*="dostuff"] table tr:first-child td span:eq(0)').html();xj=xj.split(':');xj=xj[1];if(xr!==null&&xr!==undefined){str+='<div style="padding-left:5px;" class="vb_pls_rakan_css_reading_list vb_pls_rakan_rgt vb_pls_rakan_TabCntReadingListTablePage">'+xr+'</div>'}if(xj>0){str+='<div class="vb_pls_rakan_css_reading_list vb_pls_rakan_rgt vb_pls_rakan_TabCntReadingListTableThed"><table class="tborder" border="0" cellpadding="3" cellspacing="1"><tr><td class="vbmenu_control"><span class="smallfont">'+lngTRN('NUMPOST')+'</span></td><td class="alt1"><span class="smallfont">'+xj+'</span></td></tr></table></div>'}else{str+=$.getMSG('highlight','info',lngTRN('EMPTYREADINGLIST'))}str+='<div class="smallfont vb_pls_rakan_lft"><button class="vb_pls_rakan_TabCntReadingListBtnSetFldr">'+lngTRN('CHANGEFOLDER')+'</button></div>';if(xj>0){str+='<div class="smallfont vb_pls_rakan_lft"><button class="vb_pls_rakan_TabCntReadingListBtnClrFldr">'+lngTRN('ALLDEL')+'</button></div>'}str+=cLear;if(xj>0){var xa=$(result).find('form[action*="dostuff"] table td[id^="td_threadtitle"]');str+='<div class="vb_pls_rakan_css_reading_list">';str+='<table class="tborder" width="100%" align="center" border="0" cellpadding="3" cellspacing="1">';str+='<tr>';str+='<td class="thead">'+lngTRN('DELTHIS')+'</td>';str+='<td class="thead" width="100%"><span style="white-space: nowrap;">'+lngTRN('TOPICANDAUTHOR')+'</span></td>';str+='<td class="thead" width="150" nowrap="nowrap"><span style="white-space: nowrap;">'+lngTRN('LASTPOST')+'</span></td>';str+='</tr>';xa.each(function(i,v){var thsID=$(v).attr('id');thsID=thsID.split('_');thsID=thsID[thsID.length-1];var xb=$(result).find('form[action*="dostuff"] table td[title*="مشاهدات:"]').eq(i).html();str+='<tr>';str+='<td class="alt1" align="center"><button name="'+thsID+'" class="vb_pls_rakan_TabCntReadingListBtnDelThs">'+lngTRN('DELTHIS')+'</button></td>';str+='<td class="alt1">'+$(this).html()+'</td>';str+='<td class="alt1" align="right">'+xb+'</td>';str+='</tr>'});str+='</table>';str+='</div>'}$(ths).empty().html(str);$('.vb_pls_rakan_TabCntReadingListTablePage a').click(function(){pgReadingList=$.getParameterByName('page',$(this).attr('href'));$('#vb_pls_rakan_TabBtnReadingList').click().click();return false});$(".vb_pls_rakan_TabCntReadingListBtnDelThs").button({icons:{primary:"ui-icon-trash"},text:false}).css({height:'22px',width:'22px'}).click(function(){pgReadingList=$('.vb_pls_rakan_TabCntReadingListTablePage td.alt2').text();$.ajax({url:lnkVB.subc,data:'do=removesubscription&t='+$(this).attr('name'),cache:false,beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},complete:function(){$('#vb_pls_rakan_TabBtnReadingList').click().click()}})});$(".vb_pls_rakan_TabCntReadingListBtnSetFldr").button({icons:{primary:"ui-icon-transferthick-e-w"}}).click(function(){GM_deleteValue("vb_pls_rakan_ReadingList_"+thsHost);$('#vb_pls_rakan_TabBtnReadingList').click().click();$(".vb_pls_rakan_TabCntReadingListBtnViwFldr").click()});$(".vb_pls_rakan_TabCntReadingListBtnClrFldr").button({icons:{primary:"ui-icon ui-icon-closethick"}}).click(function(){var YsNo=confirm(lngTRN('AYSALLDEL'));if(YsNo==true){$.ajax({url:lnkVB.subc,data:'do=emptyfolder&folderid='+idReadingList,cache:false,beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(result){var xkey=$(result).find('form[action*="doemptyfolder"] input[name="securitytoken"]').val();if(xkey===null||xkey===undefined){alert(lngTRN('PLEASEAGAIN'));$('#vb_pls_rakan_TabBtnReadingList').click().click();return false}$.ajax({type:'POST',url:lnkVB.subc,data:'do=doemptyfolder&folderid='+idReadingList+'&securitytoken='+xkey,success:function(result){GM_deleteValue("vb_pls_rakan_ReadingList_"+thsHost);alert(lngTRN('OKYALLDEL'));$('#vb_pls_rakan_TabBtnReadingList').click().click()}})}})}})}catch(er){$(ths).empty().html($.getMSG('error','alert',lngTRN('PLEASEAGAIN')));GM_deleteValue("vb_pls_rakan_ReadingList_"+thsHost);return false}}})}else{$(ths).empty().html($.getMSG('highlight','info',lngTRN('MUSTREADINGLIST'))+'<div class="smallfont vb_pls_rakan_lft" style="margin-top:5px;"><button class="vb_pls_rakan_TabCntReadingListBtnViwFldr">'+lngTRN('SELECTFOLDER')+'</button></div>'+cLear);$(".vb_pls_rakan_TabCntReadingListBtnViwFldr").button({icons:{primary:"ui-icon-folder-open"}}).click(function(){$.ajax({url:lnkVB.subc,data:'do=editfolders',cache:false,beforeSend:function(){$(ths).empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(result){var str='';str+=lngTRN('SELECTFOLDERREADINGLIST');str+='<div class="smallfont vb_pls_rakan_rgt" id="vb_pls_rakan_TabCntReadingListRadio">';$(result).find('form[action^="subscription"] input[type="text"][value!=""]').each(function(i){str+='<input type="radio" id="vb_pls_rakan_TabCntReadingListRadio'+i+'" name="vb_pls_rakan_TabCntReadingListRadio" value="'+$(this).attr('name')+'" />';str+='<label for="vb_pls_rakan_TabCntReadingListRadio'+i+'">'+$(this).val()+'</label>'});str+='</div>';str+=cLear;$(ths).empty().html($.getMSG('highlight','info',str)+'<div class="smallfont vb_pls_rakan_lft" style="margin-top:5px;"><button class="vb_pls_rakan_TabCntReadingListBtnSavFldr">'+lngTRN('SAVE')+'</button></div>'+cLear);$("#vb_pls_rakan_TabCntReadingListRadio").buttonset();$(".vb_pls_rakan_TabCntReadingListBtnSavFldr").button({icons:{primary:"ui-icon-disk"}}).click(function(){var chkFldr=$("input[name='vb_pls_rakan_TabCntReadingListRadio']:checked").val();if(chkFldr===null||chkFldr===undefined){alert(lngTRN('MUSTSELECTFOLDER'))}else{var idFldr=new RegExp("\\[(.*?)\\]","g").exec(chkFldr)[1];GM_setValue("vb_pls_rakan_ReadingList_"+thsHost,idFldr);$('#vb_pls_rakan_TabBtnReadingList').click().click()}})}})})}});if(GM_getValue("vb_pls_rakan_ReadingList_"+thsHost,null)!==null){$('tr td[id^="td_threadstatusicon"]').each(function(){var thsID=$(this).attr('id');thsID=thsID.split('_');thsID=thsID[thsID.length-1];var ico=$(this).html();$(this).empty().html('<table border="0" cellpadding="0" cellspacing="0" width="100%">'+'<tr>'+'<td width="50%"><button name="'+thsID+'" class="vb_pls_rakan_BtnAddSubscription">'+lngTRN('ADDREADINGLIST')+'</button></td>'+'<td width="1%">&nbsp;</td>'+'<td width="50%">'+ico+'</td>'+'</tr>'+'</table>')});$(".vb_pls_rakan_BtnAddSubscription").button({icons:{primary:"ui-icon-star"},text:false}).css({height:'22px',width:'22px'}).click(function(){var thsID=$(this).attr('name');var $thsTR=$(this).parents().eq(5);var $tabRdLst=$('#vb_pls_rakan_TabBtnReadingList').parent('li');$.ajax({url:lnkVB.subc,data:'do=addsubscription&threadid='+thsID,cache:false,beforeSend:function(){$thsTR.effect("pulsate",{times:10},500)},success:function(result){var xkey=$(result).find('form[action*="subscription"] input[name="securitytoken"]').val();if(xkey===null||xkey===undefined){$thsTR.clearQueue().stop().effect("pulsate",{times:1},100);alert(lngTRN('PLEASEAGAIN'));return false}$.ajax({type:'POST',url:lnkVB.subc,data:'do=doaddsubscription&threadid='+thsID+'&folderid='+GM_getValue("vb_pls_rakan_ReadingList_"+thsHost)+'&emailupdate=0&securitytoken='+xkey,success:function(result){$thsTR.clearQueue().stop().effect("pulsate",{times:1},100);$thsTR.effect("transfer",{to:$tabRdLst},1000);var idShowTab=$('.vb_pls_rakan_NavIndex .ui-tabs-panel:not(.ui-tabs-hide)').attr("id");if(idShowTab===null||idShowTab===undefined||idShowTab!=='vb_pls_rakan_TabCntReadingList'){$('#vb_pls_rakan_TabBtnReadingList').click()}else if(idShowTab==='vb_pls_rakan_TabCntReadingList'){$('#vb_pls_rakan_TabBtnReadingList').click().click()}return false}})}});return false})}$('#vb_pls_rakan_TabBtnProfile').click(function(){var ths='#vb_pls_rakan_TabCntProfile';var $info=$('<div class="vb_pls_rakan_Info"></div>');var $head=$('<div class="vb_pls_rakan_ThemeToolBar"></div>');var $them=$('<div class="vb_pls_rakan_ThemeList" style="direction:ltr;max-height:160px;overflow:auto;"></div>');if($('.vb_pls_rakan_Info').size()<1){$(ths).append($info)}if($('.vb_pls_rakan_ThemeToolBar').size()<1){$(ths).append($head)}if($('.vb_pls_rakan_ThemeList').size()<1){$(ths).append($them)}if($.chkUSER()){$info.empty().html($.getMSG('error','alert',lngTRN('MUSTLOGIN')));return false}if(vjx_TabProfile){var str1='';var lnk_log_out=$("a:contains('تسجيل الخروج')").attr('href');$.ajax({url:lnkVB.send,cache:false,beforeSend:function(){$info.empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')))},success:function(result){try{vjx_TabProfile=false;var mrg='';$(result).find('input[name="name"]').each(function(i){var val=$(this).val();if(val!==null&&val.length>0){mrg='margin-right:5px;';str1+='<div style="padding:5px;" class="smallfont vb_pls_rakan_rgt ui-state-default">'+lngTRN('NIKENAME')+'</div>';str1+='<div style="padding:5px;" class="smallfont vb_pls_rakan_rgt ui-state-hover">'+val+'</div>';return false}});$(result).find('input[name="email"]').each(function(i){var val=$(this).val();if(val!==null&&val.length>0){str1+='<div style="padding:5px;'+mrg+'" class="smallfont vb_pls_rakan_rgt ui-state-default">'+lngTRN('EMAIL')+'</div>';str1+='<div style="padding:5px;" class="smallfont vb_pls_rakan_rgt ui-state-hover">'+val+'</div>';return false}});if(lnk_log_out!==null){str1+='<div class="smallfont"><button class="vb_pls_rakan_TabCntProfileBtnOut vb_pls_rakan_lft">'+lngTRN('LOGOUT')+'</button></div>'}str1+=cLear;$info.empty().html(str1);$(".vb_pls_rakan_TabCntProfileBtnOut").button({icons:{primary:"ui-icon-power"}}).click(function(){$info.empty().html($.getMSG('default','clock',lngTRN('PLEASEWAIT')));location.href=lnk_log_out})}catch(er){$info.empty().html($.getMSG('error','alert',lngTRN('PLEASEAGAIN')));return false}}})}if($('.vb_pls_rakan_ThemeToolBar div').size()<1){var str3='';str3+='<div style="padding:5px 0 5px 0;" class="vb_pls_rakan_rgt smallfont ui-state-default">'+lngTRN('STYLEACTIVE');str3+='<span class="vb_pls_rakan_SetTheme vb_pls_rakan_pmb ui-state-hover"></span>';str3+='<div title="'+lngTRN('SHOW')+'" class="vb_pls_rakan_rgt vb_pls_rakan_bmh vb_pls_rakan_SetThemeClk">';str3+='<span style="margin:5px 3px 0 3px;" class="ui-icon ui-icon-circle-arrow-s"></span>';str3+='</div></div>';str3+='<div style="padding:5px 0 5px 0;margin-right:5px;" class="vb_pls_rakan_rgt smallfont ui-state-default">'+lngTRN('STYLEFOCUS');str3+='<span thsTheme="'+thsThem+'" class="vb_pls_rakan_ThsTheme vb_pls_rakan_pmb ui-state-hover">'+lngTRN('STYLESELECT')+'</span>';str3+='<div title="'+lngTRN('SHOW')+'" class="vb_pls_rakan_rgt vb_pls_rakan_bmh vb_pls_rakan_ThsThemeClk">';str3+='<span style="margin:5px 3px 0 3px;" class="ui-icon ui-icon-circle-arrow-s"></span>';str3+='</div>';str3+='<div title="'+lngTRN('SAVE')+'" class="vb_pls_rakan_lft vb_pls_rakan_bmh vb_pls_rakan_ThsThemeSav">';str3+='<span style="margin:5px 3px 0 3px;" class="ui-icon ui-icon-disk"></span>';str3+='</div></div>';str3+=cLear;$head.empty().html(str3)}if($('.vb_pls_rakan_ThemeList a').size()<1){var lstTheme={'UI Lightness':[lnkWEB.JQthm+'theme_90_ui_light.png',lnkWEB.AJXthm+'ui-lightness/jquery-ui.css'],'UI Darkness':[lnkWEB.JQthm+'theme_90_ui_dark.png',lnkWEB.AJXthm+'ui-darkness/jquery-ui.css'],'Smoothness':[lnkWEB.JQthm+'theme_90_smoothness.png',lnkWEB.AJXthm+'smoothness/jquery-ui.css'],'Start':[lnkWEB.JQthm+'theme_90_start_menu.png',lnkWEB.AJXthm+'start/jquery-ui.css'],'Redmond':[lnkWEB.JQthm+'theme_90_windoze.png',lnkWEB.AJXthm+'redmond/jquery-ui.css'],'Sunny':[lnkWEB.JQthm+'theme_90_sunny.png',lnkWEB.AJXthm+'sunny/jquery-ui.css'],'Overcast':[lnkWEB.JQthm+'theme_90_overcast.png',lnkWEB.AJXthm+'overcast/jquery-ui.css'],'Le Frog':[lnkWEB.JQthm+'theme_90_le_frog.png',lnkWEB.AJXthm+'le-frog/jquery-ui.css'],'Flick':[lnkWEB.JQthm+'theme_90_flick.png',lnkWEB.AJXthm+'flick/jquery-ui.css'],'Pepper Grinder':[lnkWEB.JQthm+'theme_90_pepper_grinder.png',lnkWEB.AJXthm+'pepper-grinder/jquery-ui.css'],'Eggplant':[lnkWEB.JQthm+'theme_90_eggplant.png',lnkWEB.AJXthm+'eggplant/jquery-ui.css'],'Dark Hive':[lnkWEB.JQthm+'theme_90_dark_hive.png',lnkWEB.AJXthm+'dark-hive/jquery-ui.css'],'Cupertino':[lnkWEB.JQthm+'theme_90_cupertino.png',lnkWEB.AJXthm+'cupertino/jquery-ui.css'],'South St':[lnkWEB.JQthm+'theme_90_south_street.png',lnkWEB.AJXthm+'south-street/jquery-ui.css'],'Blitzer':[lnkWEB.JQthm+'theme_90_blitzer.png',lnkWEB.AJXthm+'blitzer/jquery-ui.css'],'Humanity':[lnkWEB.JQthm+'theme_90_humanity.png',lnkWEB.AJXthm+'humanity/jquery-ui.css'],'Hot Sneaks':[lnkWEB.JQthm+'theme_90_hot_sneaks.png',lnkWEB.AJXthm+'hot-sneaks/jquery-ui.css'],'Excite Bike':[lnkWEB.JQthm+'theme_90_excite_bike.png',lnkWEB.AJXthm+'excite-bike/jquery-ui.css'],'Vader':[lnkWEB.JQthm+'theme_90_black_matte.png',lnkWEB.AJXthm+'vader/jquery-ui.css'],'Dot Luv':[lnkWEB.JQthm+'theme_90_dot_luv.png',lnkWEB.AJXthm+'dot-luv/jquery-ui.css'],'Mint Choc':[lnkWEB.JQthm+'theme_90_mint_choco.png',lnkWEB.AJXthm+'mint-choc/jquery-ui.css'],'Black Tie':[lnkWEB.JQthm+'theme_90_black_tie.png',lnkWEB.AJXthm+'black-tie/jquery-ui.css'],'Swanky Purse':[lnkWEB.JQthm+'theme_90_swanky_purse.png',lnkWEB.AJXthm+'swanky-purse/jquery-ui.css'],'Trontastic':[lnkWEB.JQthm+'theme_90_trontastic.png',lnkWEB.AJXthm+'trontastic/jquery-ui.css']};var str2='';$.each(lstTheme,function(iName,iData){var iTheme=iData[1].match("themes/(.*?)/jquery-")[1];str2+='<a href="'+iData[1]+'" title="'+iName+'" thsTheme="'+iTheme+'" class="vb_pls_rakan_Theme vb_pls_rakan_otw ui-state-default">';str2+='<div style="height:17px;overflow:hidden;">'+iName+'</div>';str2+='<img src="'+iData[0]+'" alt="'+iName+'" style="margin-top:5px;" />';str2+='</a>'});str2+=cLear;$them.empty().html(str2)}$('.vb_pls_rakan_SetTheme').html($('.vb_pls_rakan_Theme[href*="'+thsThem+'"]').attr('title'));$('.vb_pls_rakan_ThsThemeSav').click(function(){if($('.vb_pls_rakan_Theme[title="'+$('.vb_pls_rakan_ThsTheme').text()+'"]').size()<1){alert(lngTRN('PLEASESTYLESELECT'));return false}if(thsThem===$('.vb_pls_rakan_ThsTheme').attr('thsTheme')){alert(lngTRN('NOSAVESTYLE'));return false}var YsNo=confirm(lngTRN('MUSTSAVERELOAD'));if(YsNo){GM_setValue("vb_pls_rakan_theme_"+thsHost,$('.vb_pls_rakan_ThsTheme').attr('thsTheme'));location.reload()}else{return false}}).setEfct();$('.vb_pls_rakan_Theme').click(function(){if($(this).attr('title')==$('.vb_pls_rakan_ThsTheme').text()){return false}$('.vb_pls_rakan_ThsTheme').html($(this).attr('title'));$('.vb_pls_rakan_ThsTheme').attr('thsTheme',$(this).attr('thsTheme'));$("link.vb_pls_rakan_ui_theme").remove();if($(this).attr('title')==$('.vb_pls_rakan_SetTheme').text()){return false}if($(this).attr('title')==$('.vb_pls_rakan_ThsTheme').text()){var cssLink=$('<link type="text/css" rel="stylesheet" class="vb_pls_rakan_ui_theme" href="'+$(this).attr('href')+'" />');$("head").append(cssLink);return false}}).setEfct();$('.vb_pls_rakan_SetThemeClk').click(function(){$.thsSelect('.vb_pls_rakan_SetTheme',false)}).setEfct();$('.vb_pls_rakan_ThsThemeClk').click(function(){$.thsSelect('.vb_pls_rakan_ThsTheme',true)}).setEfct()});$.fn.extend({setEfct:function(){$(this).mouseenter(function(){$(this).removeClass('ui-state-default').addClass('ui-state-hover')}).mouseleave(function(){$(this).removeClass('ui-state-hover').addClass('ui-state-default')}).mousedown(function(){$(this).addClass('ui-state-active')}).mouseup(function(){$(this).removeClass('ui-state-active')})}});(function($){$.remov_vb_pls_rakan=function(){$('iframe').each(function(){$(this).load(function(){$(this).contents().find(".vb_pls_rakan_ui_theme_def").remove();$(this).contents().find('style:contains("vb_pls_rakan_NavIndex")').remove();$(this).contents().find(".vb_pls_rakan_NavIndex").remove();$(this).contents().find(".vb_pls_rakan_them_state").remove()})});$('body.wysiwyg').parents('html').find('.vb_pls_rakan_ui_theme_def').remove();$('body.wysiwyg').parents('html').find('style:contains("vb_pls_rakan_NavIndex")').remove();$('body.wysiwyg .vb_pls_rakan_NavIndex').remove();$('body.wysiwyg .vb_pls_rakan_them_state').remove();$('iframe[id^="aswift"], iframe[id^="google_ads"]').contents().find('.vb_pls_rakan_ui_theme_def').remove();$('iframe[id^="aswift"], iframe[id^="google_ads"]').contents().find('style:contains("vb_pls_rakan_NavIndex")').remove();$('iframe[id^="aswift"], iframe[id^="google_ads"]').contents().find('.vb_pls_rakan_NavIndex').remove();$('iframe[id^="aswift"], iframe[id^="google_ads"]').contents().find('.vb_pls_rakan_them_state').remove()};$.chkUSER=function(){if($("a[href*='logout']").length<1){return true}if($("a[href*='usercp.php']").length<1){return true}if($("input[name*='login_username']").length>0){return true}return false};$.getParameterByName=function(val,lnk){val=val.replace(ExpPBN1,"\\\[").replace(ExpPBN2,"\\\]");var regexS="[\\?&]"+val+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(lnk);if(results==null){return""}else{return decodeURIComponent(results[1].replace(ExpPBN3," "))}};$.AddScriptTXT=function(str){var a=document.createElement('script');a.type='text/javascript';a.innerHTML=str;var b=document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a,b)};$.getHEX=function(rgb){var parts=rgb.match(ExpRGB);delete(parts[0]);for(var i=1;i<=3;++i){parts[i]=parseInt(parts[i]).toString(16);if(parts[i].length==1)parts[i]='0'+parts[i]}return parts.join('').toUpperCase()};$.getMSG=function(typ,ico,txt){var str='<div style="margin-bottom:2px;" class="ui-widget"><div class="ui-state-'+typ+' ui-corner-all"><p>';str+='<span class="ui-icon ui-icon-'+ico+'" style="float:right; margin-right:3px; margin-left:3px;"></span>';str+='<strong>'+txt+'<strong></p></div></div>';return str};$.getBOX=function(htm,ico,typ){var cls=(typ)?typ:'highlight';var img=(ico)?'<span class="ui-icon ui-icon-'+ico+'" style="float:right; margin-right:3px; margin-left:3px;"></span>':'';var str='<div style="margin-bottom:2px;" class="ui-widget"><div style="padding:10px;" class="ui-state-'+cls+' ui-corner-all">';str+=img+htm;str+='</div></div>';return str};$.chkTheme=function(){if($('.vb_pls_rakan_ThsTheme').size()){if(thsThem!==$('.vb_pls_rakan_ThsTheme').attr('thsTheme')){$("link.vb_pls_rakan_ui_theme").remove();$('.vb_pls_rakan_ThsTheme').attr('thsTheme',thsThem);$('.vb_pls_rakan_ThsTheme').empty().html(lngTRN('STYLESELECT'));return false}}};$.thsSelect=function(cls,msg){var $ths=$('.vb_pls_rakan_Theme[title="'+$(cls).text()+'"]');if($ths.size()<1){if(msg){alert(lngTRN('PLEASESTYLESELECT'))}return false}$('.vb_pls_rakan_SetThemeClk,.vb_pls_rakan_ThsThemeClk').hide();$ths.effect("pulsate",{times:3},500,function(){$('.vb_pls_rakan_SetThemeClk,.vb_pls_rakan_ThsThemeClk').show()})};$.quoteString=function(string){var meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};if(string.match(ExpESC)){return'"'+string.replace(ExpESC,function(a){var c=meta[a];if(typeof c==='string'){return c}c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"'}return'"'+string+'"'};$.setStyleCH=function(cod,htm){GM_setValue("vb_pls_rakan_StyleList_"+thsHost+"_"+new Date().getTime(),'{"code":'+$.quoteString(cod)+', "html":'+$.quoteString(htm)+'}')};$.setMSG=function(typ,ico,txt){$('.vb_pls_rakan_Style_A').find('strong').empty().html(txt).end().find('span').removeClass().addClass('ui-icon ui-icon-'+ico).end().find('div.ui-corner-all').removeClass().addClass('ui-state-'+typ+' ui-corner-all')};$.insertStyle=function(idEdt,lstOne,lstTwo){unsafeWindow.vB_Editor[idEdt].insert_text('',true);unsafeWindow.vB_Editor[idEdt].insert_text(lstOne,false);unsafeWindow.vB_Editor[idEdt].insert_text(lstTwo,false)};$.setCodHtm=function(xid,mod,txt){unsafeWindow.switch_editor_mode(xid);var timrq=1;var timrd;timrd=setInterval(function(){timrq++;if(!$(".vb_pls_rakan_Style_AddOK").is(':visible')){clearInterval(timrd);return false}if(unsafeWindow.vB_Editor[xid].wysiwyg_mode===mod){clearInterval(timrd);var str=unsafeWindow.vB_Editor[xid].get_editor_contents();if(str==''){alert(lngTRN('PLEASERELOAD'))}else{if(mod==1){$.setStyleCH(txt,str)}else{$.setStyleCH(str,txt)}}$(".vb_pls_rakan_Style_AddNO").click();return false}if(timrq>600){clearInterval(timrd);return false}},100)};$.getAboutPage=function(txt,lnk){var str='<div style="margin-right:22px;" class="vb_pls_rakan_rgt">'+txt+'</div>'+'<div style="margin-right:15px;" class="vb_pls_rakan_rgt"><a href="'+lnk+'" target="_blank">'+lnk+'</a></div>'+cLear;return str};$.getAboutMe=function(tit,dom,alt,lnk,a,m){var str_a=lnk;var str_b='';if(m){str_b='mailto:'}if(a){str_a='<a href="'+str_b+lnk+'" target="_blank">'+lnk+'</a>'}var str='<div style="margin-right:22px;" class="vb_pls_rakan_rgt" title="'+tit+'">'+'<img src="'+lnkWEB.lnkFV+dom+'&alt=p" alt="'+alt+'">'+'<span style="margin-right:10px;vertical-align:bottom;">'+str_a+'</span>'+'</div>'+cLear;return str}})(jQuery)});