1var vB_ReadMarker={forum_statusicon_prefix:"forum_statusicon_",thread_statusicon_prefix:"thread_statusicon_",thread_gotonew_prefix:"thread_gotonew_",thread_title_prefix:"thread_title_"};function vB_AJAX_ReadMarker(e){this.forumid=e}function mark_forum_read(e){return AJAX_Compatible?(vB_ReadMarker[e]=new vB_AJAX_ReadMarker(e),vB_ReadMarker[e].mark_read()):window.location="forumdisplay.php?"+SESSIONURL+"do=markread&forumid="+e+"&markreadhash="+SECURITYTOKEN,!1}function init_forum_readmarker_icon(e){mark_forum_read(this.id.substr(vB_ReadMarker.forum_statusicon_prefix.length))}function init_forum_readmarker_system(){for(var e=fetch_tags(document,"img"),r=0;r<e.length;r++)e[r].id&&e[r].id.substr(0,vB_ReadMarker.forum_statusicon_prefix.length)==vB_ReadMarker.forum_statusicon_prefix&&-1!=e[r].src.search(/\/([^\/]+)(new)(_lock)?-48b?\.([a-z0-9]+)$/i)&&(img_alt_2_title(e[r]),e[r].otitle=e[r].title,e[r].title=vbphrase.doubleclick_forum_markread,e[r].style.cursor=pointer_cursor,e[r].ondblclick=init_forum_readmarker_icon)}function vB_AJAX_ForumReadMarker(){}function mark_forum_and_threads_read(e){return AJAX_Compatible?(vB_ReadMarker[e]=new vB_AJAX_ReadMarker(e),vB_ReadMarker[e].mark_read(),vB_ReadMarker[e]=new vB_AJAX_ForumReadMarker,vB_ReadMarker[e].mark_threads_read()):window.location="forumdisplay.php?"+SESSIONURL+"do=markread&forumid="+e+"&markreadhash="+SECURITYTOKEN,!1}vB_AJAX_ReadMarker.prototype.mark_read=function(){YAHOO.util.Connect.asyncRequest("POST",fetch_ajax_url("ajax.php?do=markread&f="+this.forumid),{success:this.handle_ajax_request,failure:this.handle_ajax_error,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=markread&forumid="+this.forumid)},vB_AJAX_ReadMarker.prototype.handle_ajax_error=function(e){vBulletin_AJAX_Error_Handler(e)},vB_AJAX_ReadMarker.prototype.handle_ajax_request=function(e){for(var r=fetch_tags(e.responseXML,"forum"),t=0;t<r.length;t++){var a=r[t].firstChild.nodeValue;this.update_forum_status(a);var _=fetch_object("threadbits_forum_"+a);_&&this.handle_threadbits(_)}},vB_AJAX_ReadMarker.prototype.update_forum_status=function(e){var r=fetch_object(vB_ReadMarker.forum_statusicon_prefix+e);r&&(r.style.cursor="default",r.title=r.otitle,r.src=this.fetch_old_src(r.src,"forum"))},vB_AJAX_ReadMarker.prototype.handle_threadbits=function(e){for(var r=fetch_tags(e,"a"),t=0;t<r.length;t++)r[t].id&&r[t].id.substr(0,vB_ReadMarker.thread_gotonew_prefix.length)==vB_ReadMarker.thread_gotonew_prefix&&this.update_thread_status(r[t].id.substr(vB_ReadMarker.thread_gotonew_prefix.length))},vB_AJAX_ReadMarker.prototype.update_thread_status=function(e){var r=fetch_object(vB_ReadMarker.thread_statusicon_prefix+e);r&&(r.src=this.fetch_old_src(r.src,"thread"));var t=fetch_object(vB_ReadMarker.thread_gotonew_prefix+e);t&&t.parentNode.removeChild(t);var a=fetch_object(vB_ReadMarker.thread_title_prefix+e);a&&(a.style.fontWeight="normal")},vB_AJAX_ReadMarker.prototype.fetch_old_src=function(e,r){return e.replace(/_(new)([-_])(.+)$/i,"thread"==r?"$2$3":"_old$2$3")},vB_AJAX_ForumReadMarker.prototype.mark_threads_read=function(){for(var e=YAHOO.util.Dom.getElementsByClassName("new","li","threadlist"),r=0;r<e.length;r++){YAHOO.util.Dom.removeClass(e[r],"new");var t=YAHOO.util.Dom.getElementsByClassName("threadtitle_unread","a",e[r]);if(t=t[0]){YAHOO.util.Dom.removeClass(t,"threadtitle_unread");var a=YAHOO.util.Dom.getElementsByClassName("gotonewpost","img",e[r]);if(a&&a[0]){var _=YAHOO.util.Dom.getAncestorByTagName(a[0],"a");_&&YAHOO.util.Dom.setStyle(_,"display","none")}}}window.YAHOO&&YAHOO.vBulletin&&YAHOO.vBulletin.vBPopupMenu&&YAHOO.vBulletin.vBPopupMenu.close_all()};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.