PageSourceSearch

https://www.warriorforum.com/clientscript/vbulletin_global.js?v=387

js warriorforum.com collected 2026-09-24 08:27:15 UTC 24,093 bytes, 110 lines download raw bytes

1function fetch_object(e){return document.getElementById?document.getElementById(e):document.all?document.all[e]:document.layers?document.layers[e]:null}function fetch_tags(e,t){return null==e?new Array:"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):e.all&&e.all.tags?e.all.tags(t):new Array}function fetch_tag_count(e,t){return fetch_tags(e,t).length}function do_an_e(e){return!e||is_ie?(window.event.returnValue=!1,window.event.cancelBubble=!0,window.event):(e.stopPropagation(),e.preventDefault(),e)}function e_by_gum(e){return!e||is_ie?(window.event.cancelBubble=!0,window.event):("submit"==e.target.type&&e.target.form.submit(),e.stopPropagation(),e)}function validatemessage(e,t,n){if(is_kon||is_saf||is_webtv)return!0
2if(t.length<1)return alert(vbphrase.must_enter_subject),!1
3var o=PHP.trim(stripcode(e,!1,ignorequotechars))
4return o.length<n?(alert(construct_phrase(vbphrase.message_too_short,n)),!1):"undefined"!=typeof document.forms.vbform&&"undefined"!=typeof document.forms.vbform.imagestamp?(document.forms.vbform.imagestamp.failed=!1,6!=document.forms.vbform.imagestamp.value.length?(alert(vbphrase.complete_image_verification),document.forms.vbform.imagestamp.failed=!0,document.forms.vbform.imagestamp.focus(),!1):!0):!0}function stripcode(e,t,n){if(!is_regexp)return e
5if(n)for(var o=(new Date).getTime();(startindex=PHP.stripos(e,"[quote"))!==!1&&!((new Date).getTime()-o>2e3)&&(stopindex=PHP.stripos(e,"[/quote]"))!==!1;)fragment=e.substr(startindex,stopindex-startindex+8),e=e.replace(fragment,""),e=PHP.trim(e)
6if(t){e=e.replace(/<img[^>]+src="([^"]+)"[^>]*>/gi,"$1")
7var i=new RegExp("<(\\w+)[^>]*>","gi"),r=new RegExp("<\\/\\w+>","gi")
8e=e.replace(i,""),e=e.replace(r,"")
9var s=new RegExp("(&nbsp;)","gi")
10e=e.replace(s," ")}else{var a=new RegExp("\\[(\\w+)(=[^\\]]*)?\\]","gi"),l=new RegExp("\\[\\/(\\w+)\\]","gi")
11e=e.replace(a,""),e=e.replace(l,"")}return e}function vB_PHP_Emulator(){}function vB_AJAX_Handler(e){this.async=e?!0:!1,this.conn=null}function is_ajax_compatible(){if("undefined"!=typeof vb_disable_ajax&&2==vb_disable_ajax)return!1
12if(is_ie&&!is_ie4)return!0
13if(!window.XMLHttpRequest)return!1
14try{var e=new XMLHttpRequest
15return e.setRequestHeader?!0:!1}catch(t){return!1}}function vBulletin_AJAX_Error_Handler(e){console.warn("AJAX Error: Status = %s: %s",e.status,e.statusText)}function vB_Hidden_Form(e){this.action=e,this.variables=new Array}function vB_Select_Overlay_Handler(e){this.browser_affected=is_ie&&YAHOO.env.ua.ie<7,this.browser_affected&&(this.overlay=YAHOO.util.Dom.get(e),this.hidden_selects=new Array,console.log("Initializing <select> overlay handler for '%s'.",this.overlay.id))}function openWindow(e,t,n,o){return window.open(e,"undefined"==typeof o?"vBPopup":o,"statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes"+("undefined"!=typeof t?",width="+t:"")+("undefined"!=typeof n?",height="+n:""))}function js_open_help(e,t,n){return openWindow("help.php?s="+SESSIONHASH+"&do=answer&page="+e+"&pageaction="+t+"&option="+n,600,450,"helpwindow")}function attachments(e){return openWindow("misc.php?"+SESSIONURL+"do=showattachments&t="+e,480,300)}function who(e){return openWindow("misc.php?"+SESSIONURL+"do=whoposted&t="+e,230,300)}function imwindow(e,t,n,o){return openWindow("sendmessage.php?"+SESSIONURL+"do=im&type="+e+"&u="+t,n,o)}function SendMSNMessage(e){if(is_ie)try{MsgrObj.InstantMessage(e)}catch(t){alert(vbphrase.msn_functions_only_work_in_ie)}else alert(vbphrase.msn_functions_only_work_in_ie)
16return!1}function AddMSNContact(e){if(is_ie)try{MsgrObj.AddContact(0,e)}catch(t){alert(vbphrase.msn_functions_only_work_in_ie)}else alert(vbphrase.msn_functions_only_work_in_ie)
17return!1}function detect_caps_lock(e){e=e?e:window.event
18var t=e.which?e.which:e.keyCode?e.keyCode:e.charCode?e.charCode:0,n=e.shiftKey||e.modifiers&&4&e.modifiers,o=e.ctrlKey||e.modifiers&&2&e.modifiers
19return t>=65&&90>=t&&!n&&!o||t>=97&&122>=t&&n}function log_out(e){var t=document.getElementsByTagName("html")[0]
20return t.style.filter="progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)",confirm(e)?!0:(t.style.filter="",!1)}function set_cookie(e,t,n){console.log("Set Cookie :: %s = '%s'",e,t),document.cookie=e+"="+escape(t)+"; path=/"+("undefined"!=typeof n?"; expires="+n.toGMTString():"")}function delete_cookie(e){console.log("Delete Cookie :: %s",e),document.cookie=e+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/"}function fetch_cookie(e){for(cookie_name=e+"=",cookie_length=document.cookie.length,cookie_begin=0;cookie_begin<cookie_length;){if(value_begin=cookie_begin+cookie_name.length,document.cookie.substring(cookie_begin,value_begin)==cookie_name){var t=document.cookie.indexOf(";",value_begin);-1==t&&(t=cookie_length)
21var n=unescape(document.cookie.substring(value_begin,t))
22return console.log("Fetch Cookie :: %s = '%s'",e,n),n}if(cookie_begin=document.cookie.indexOf(" ",cookie_begin)+1,0==cookie_begin)break}return console.log("Fetch Cookie :: %s (null)",e),null}function js_toggle_all(e,t,n,o,i){for(var r=0;r<e.elements.length;r++){var s=e.elements[r]
23if(s.type==t&&-1==PHP.in_array(s.name,o,!1))switch(t){case"radio":s.value==n&&(s.checked=i)
24break
25case"select-one":s.selectedIndex=i
26break
27default:s.checked=i}}}function js_select_all(e){exclude=new Array,exclude[0]="selectall",js_toggle_all(e,"select-one","",exclude,e.selectall.selectedIndex)}function js_check_all(e){exclude=new Array,exclude[0]="keepattachments",exclude[1]="allbox",exclude[2]="removeall",js_toggle_all(e,"checkbox","",exclude,e.allbox.checked)}function js_check_all_option(e,t){exclude=new Array,exclude[0]="useusergroup",js_toggle_all(e,"radio",t,exclude,!0)}function checkall(e){js_check_all(e)}function checkall_option(e,t){js_check_all_option(e,t)}function resize_textarea(e,t){var n=fetch_object(t)
28return n.style.width=parseInt(n.offsetWidth)+(0>e?-100:100)+"px",n.style.height=parseInt(n.offsetHeight)+(0>e?-100:100)+"px",!1}function region_intersects(e,t){return e="undefined"==typeof e.left?YAHOO.util.Dom.getRegion(e):e,t="undefined"==typeof t.left?YAHOO.util.Dom.getRegion(t):t,e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top?!1:!0}function fetch_viewport_info(){return null==viewport_info&&(viewport_info={x:YAHOO.util.Dom.getDocumentScrollLeft(),y:YAHOO.util.Dom.getDocumentScrollTop(),w:YAHOO.util.Dom.getViewportWidth(),h:YAHOO.util.Dom.getViewportHe
28ight()},console.info("Viewport Info: Size = %dx%d, Position = %d,%d",viewport_info.w,viewport_info.h,viewport_info.x,viewport_info.y)),viewport_info}function clear_viewport_info(){viewport_info=null}function center_element(e){viewport_info=fetch_viewport_info(),YAHOO.util.Dom.setXY(e,[viewport_info.w/2+viewport_info.x-e.clientWidth/2,viewport_info.h/2+viewport_info.y-e.clientHeight/2])}function fetch_all_stylesheets(e){var t=new Array,n=0,o=null,i=0,r=0
29for(n=0;n<document.styleSheets.length;n++){o=document.styleSheets[n],t.push(o)
30try{if(o.cssRules)for(i=0;i<o.cssRules.length;i++)o.cssRules[i].styleSheet&&t.push(o.cssRules[i].styleSheet)
31else if(o.imports)for(r=0;r<o.imports.length;r++)t.push(o.imports[r])}catch(s){t.pop()
32continue}}return t}function highlight_login_box(){var e,t=fetch_object("navbar_username"),n="inlinemod",o=1600,i=200
33if(t)for(t.focus(),t.select(),e=0;o>e;e+=2*i)window.setTimeout(function(){YAHOO.util.Dom.addClass(t,n)},e),window.setTimeout(function(){YAHOO.util.Dom.removeClass(t,n)},e+i)
34return!1}function toggle_collapse(e,t){if(!is_regexp)return!1
35var n=fetch_object("collapseobj_"+e),o=fetch_object("collapseimg_"+e),i=fetch_object("collapsecel_"+e)
36return n?("none"==n.style.display||"open"==t?(n.style.display="",t||save_collapsed(e,!1),o&&(img_re=ne
36w RegExp("_collapsed\\.gif$"),o.src=o.src.replace(img_re,".gif")),i&&(cel_re=new RegExp("^(thead|tcat)(_collapsed)$"),i.className=i.className.replace(cel_re,"$1"))):("none"!=n.style.display||"closed"==t)&&(n.style.display="none",t||save_collapsed(e,!0),o&&(img_re=new RegExp("\\.gif$"),o.src=o.src.replace(img_re,"_collapsed.gif")),i&&(cel_re=new RegExp("^(thead|tcat)$"),i.className=i.className.replace(cel_re,"$1_collapsed"))),!1):(o&&(o.style.display="none"),!1)}function save_collapsed(e,t){var n=fetch_cookie("vbulletin_collapse"),o=new Array
37if(null!=n){n=n.split("\n")
38for(var i in n)YAHOO.lang.hasOwnProperty(n,i)&&n[i]!=e&&""!=n[i]&&(o[o.length]=n[i])}t&&(o[o.length]=e),expires=new Date,expires.setTime(expires.getTime()+31536e6),set_cookie("vbulletin_collapse",o.join("\n"),expires)}function vBpagenav(){}function vbmenu_register(e,t,n){return"object"==typeof vBmenu?vBmenu.register(e,t):!1}function string_to_node(e){var t=document.createElement("div")
39t.innerHTML=e
40for(var n=t.firstChild;n&&1!=n.nodeType;)n=n.nextSibling
41return n?n.cloneNode(!0):t.firstChild.cloneNode(!0)}function set_unselectable(e){if(e=YAHOO.util.Dom.get(e),!is_ie4&&"undefined"!=typeof e.tagName){if(e.hasChildNodes())for(var t=0;t<e.childNodes.length;t++)set_unselectable(e.childNodes[t])
42e.unselectable="on"}}function fetch_sessionhash(){return""==SESSIONURL?"":SESSIONURL.substr(2,32)}function construct_phrase(){if(!arguments||arguments.length<1||!is_regexp)return!1
43for(var e,t=arguments,n=t[0],o=1;o<t.length;o++)e=new RegExp("%"+o+"\\$s","gi"),n=n.replace(e,t[o])
44return n}function switch_id(e,t){var n=e.options[e.selectedIndex].value
45if(""!=n){var o=new String(window.location),i=new String("")
46if(o=o.split("#"),o[1]&&(i="#"+o[1]),o=o[0],-1!=o.indexOf(t+"id=")&&is_regexp){var r=new RegExp(t+"id=\\d+&?")
47o=o.replace(r,"")}-1==o.indexOf("?")?o+="?":(lastchar=o.substr(o.length-1),"&"!=lastchar&&"?"!=lastchar&&(o+="&")),window.location=o+t+"id="+n+i}}function child_img_alt_2_title(e){for(var t=e.getElementsByTagName("img"),n=0;n<t.length;n++)img_alt_2_title(t[n])}function img_alt_2_title(e){e.title||""==e.alt||(e.title=e.alt)}function do_securitytoken_replacement(e){if(""!=e){for(var t=0;t<document.forms.length;t++)document.forms[t].elements.securitytoken&&document.forms[t].elements.securitytoken.value==SECURITYTOKEN&&(document.forms[t].elements.securitytoken.value=e)
48SECURITYTOKEN=e,console.log("Securitytoken updated")}}function handle_securitytoken_response(e){if(console.log("Processing securitytoken update"),e.responseXML&&e.responseXML.getElementsByTagName("securitytoken").length){var t=e.responseXML.getElementsByTagName("securitytoken")[0].firstChild.nodeValue
49do_securitytoken_replacement(t),securitytoken_errors=0}else handle_securitytoken_error(e)}function handle_securitytoken_error(e){console.log("Securitytoken Error"),3==++securitytoken_errors&&do_securitytoken_replacement("guest")}function replace_securitytoken(){window.clearTimeout(securitytoken_timeout),AJAX_Compatible&&""!=SECURITYTOKEN&&"guest"!=SECURITYTOKEN&&(securitytoken_timeout=window.setTimeout("replace_securitytoken()",36e5),YAHOO.util.Connect.asyncRequest("POST","ajax.php",{success:handle_securitytoken_response,failure:handle_securitytoken_error,timeout:vB_Default_Timeout},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=securitytoken"))}function Comment_Init(e){if("undefined"!=typeof e.id){var t=e.id
50if(isNaN(t)){var n=null;(n=t.match(/(\d+)/))&&(t=n[0])}"undefined"!=typeof inlineMod_comment&&im_init(e,inlineMod_comment),"undefined"!=typeof vB_QuickEditor_Factory&&("undefined"==typeof vB_QuickEditor_Factory.controls[t]?vB_QuickEditor_Factory.controls[t]=new vB_QuickEditor(t,vB_QuickEditor_Factory):vB_QuickEditor_Factory.controls[t].init()),"undefined"!=typeof vB_QuickLoader_Factory&&(vB_QuickLoader_Factory.controls[t]=new vB_QuickLoader(t,vB_QuickLoader_Factory)),child_img_alt_2_title(e)}}function PostBit_Init(e,t){if(console.log("PostBit Init: %d",t),"undefined"!=typeof vBmenu)for(var n=fetch_tags(e,"div"),o=0;o<n.length;o++)n[o].id&&"postmenu_"==n[o].id.substr(0,9)&&vBmenu.register(n[o].id,!0)
51"undefined"!=typeof vB_QuickEditor&&vB_AJAX_QuickEdit_Init(e),"undefined"!=typeof vB_QuickReply&&qr_init_buttons(e),"undefined"!=typeof mq_init&&mq_init(e),"undefined"!=typeof vBrep&&"undefined"!=typeof t&&"null"!=typeof t&&vbrep_register(t),"undefined"!=typeof inlineMod&&im_init(e),"undefined"!=typeof vB_Lightbox&&init_postbit_lightbox(e,!1,!0),child_img_alt_2_title(e)}
51function vBulletin_init(){if(is_webtv)return!1
52if(child_img_alt_2_title(document),"object"==typeof vBmenu){"undefined"!=typeof YAHOO?(YAHOO.util.Event.on(document,"click",vbmenu_hide),YAHOO.util.Event.on(window,"resize",vbmenu_hide)):window.attachEvent&&!is_saf?(document.attachEvent("onclick",vbmenu_hide),window.attachEvent("onresize",vbmenu_hide)):document.addEventListener&&!is_saf?(document.addEventListener("click",vbmenu_hide,!1),window.addEventListener("resize",vbmenu_hide,!1)):(window.onclick=vbmenu_hide,window.onresize=vbmenu_hide)
53for(var e=fetch_tags(document,"td"),t=0;t<e.length;t++)if(e[t].hasChildNodes()&&e[t].firstChild.name&&-1!=e[t].firstChild.name.indexOf("PageNav")){var n=e[t].title
54e[t].title="",e[t].innerHTML="",e[t].id="pagenav."+t
55var o=vBmenu.register(e[t].id)
56o.addr=n,is_saf&&(o.controlobj._onclick=o.controlobj.onclick,o.controlobj.onclick=vBpagenav.prototype.controlobj_onclick)}"undefined"!=typeof n&&(fetch_object("pagenav_form").gotopage=vBpagenav.prototype.form_gotopage,fetch_object("pagenav_ibtn").onclick=vBpagenav.prototype.ibtn_onclick,fetch_object("pagenav_itxt").onkeypress=vBpagenav.prototype.itxt_onkeypress),vBmenu.activate(!0)}return vBulletin.init(),!0}function vBulletin_Framework(){this.elements=new Array,this.ajaxurls=new Array,this.events=new Array,this.time=new Date,this.add_event("systemInit")}function handle_dismiss_notice_error(e){if(e.argument){var t=YAHOO.util.Dom.get("dismiss_notice_hidden")
57t.value=e.argument
58var n=YAHOO.util.Dom.get("notices")
59n.submit()}}function handle_dismiss_notice_ajax(e){if(e.responseXML&&e.responseXML.getElementsByTagName("dismissed").length){var t=e.responseXML.getElementsByTagName("dismissed")[0].firstChild.nodeValue,n=YAHOO.util.Dom.get("navbar_notice_"+t)
60if(null!=n){n.style.display="none"
61var o=YAHOO.util.Dom.getElementsByClassName("navbar_notice","",YAHOO.util.Dom.get("notices")),r=0
62for(i=0;i<o.length;i++)"none"!=o[i].style.display&&r++
63if(0==r){var s=YAHOO.util.Dom.get("notices")
64null!=s&&(s.style.display="none")}}}else handle_dismiss_notice_error(e)}function dismiss_notice(e){if(AJAX_Compatible){YAHOO.util.Connect.asyncRequest("POST","ajax.php?do=dismissnotice",{success:handle_dismiss_notice_ajax,failure:handle_dismiss_notice_error,timeout:vB_Default_Timeout,argument:e},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=dismissnotice&noticeid="+PHP.urlencode(e))
65return!1}return!0}if(!window.console||!console.firebug){window.console={}
66for(var names=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"],i=0;i<names.length;++i)window.console[names[i]]=function(){}}var SESSIONURL="undefined"==typeof SESSIONURL?"":SESSIONURL,SECURITYTOKEN="undefined"==typeof SECURITYTOKEN?"":SECURITYTOKEN,vbphrase="undefined"==typeof vbphrase?new Array:vbphrase,vB_Editor=new Array,ignorequotechars=!1,pagenavcounter=0,is_regexp=window.RegExp?!0:!1,AJAX_Compatible=!1,viewport_info=null,vB_Default_Timeout=15e3,userAgent=navigator.userAgent.toLowerCase(),is_opera=YAHOO.env.ua.opera>0,is_saf=YAHOO.env.ua.webkit>0,is_webtv=-1!=userAgent.indexOf("webtv"),is_ie=YAHOO.env.ua.ie>0&&!is_opera&&!is_saf&&!is_webtv,is_ie4=4==YAHOO.env.ua.ie,is_ie7=YAHOO.env.ua.ie>=7,is_ps3=-1!=userAgent.indexOf("playstation 3"),is_moz=YAHOO.env.ua.gecko>0,is_kon=-1!=userAgent.indexOf("konqueror"),is_ns=-1==userAgent.indexOf("compatible")&&-1!=userAgent.indexOf("mozilla")&&!is_opera&&!is_webtv&&!is_saf,is_ns4=is_ns&&4==parseInt(navigator.appVersion),is_mac=-1!=userAgent.indexOf("mac"),pointer_cursor=is_ie?"hand":"pointer"
67String.prototype.vBlength=function(){return is_ie&&-1!=this.indexOf("\n")?this.replace(/\r?\n/g,"_").length:this.length},"12"=="1234".substr(-2,2)&&(String.prototype.substr_orig=String.prototype.substr,String.prototype.substr=function(e,t){return"undefined"==typeof t?this.substr_orig(0>e?this.length+e:e):this.substr_orig(0>e?this.length+e:e,t)}),"undefined"==typeof Array.prototype.shift&&(Array.prototype.shift=function(){for(var e=0,t=this[0],n=this.length-1;n>e;e++)this[e]=this[e+1]
68return this.length--,t}),vB_PHP_Emulator.prototype.stripos=function(e,t,n){return"undefined"==typeof n&&(n=0),index=e.toLowerCase().indexOf(t.toLowerCase(),n),-1==index?!1:index},vB_PHP_Emulator.prototype.ltrim=function(e){return e.replace(/^\s+/g,"")},vB_PHP_Emulator.prototype.rtrim=function(e){return e.replace(/(\s+)$/g,"")},vB_PHP_Emulator.prototype.trim=function(e){return this.ltrim(this.rtrim(e))},vB_PHP_Emulator.prototype.preg_quote=function(e){return e.replace(/(\+|\{|\}|\(|\)|\[|\]|\||\/|\?|\^|\$|\\|\.|\=|\!|\<|\>|\:|\*)/g,"\\$1")},vB_PHP_Emulator.prototype.match_all=function(e,t){var n=e.match(RegExp(t,"gim"))
69if(n){for(var o=new Array,i=new RegExp(t,"im"),r=0;r<n.length;r++)o[o.length]=n[r].match(i)
70return o}return!1},vB_PHP_Emulator.prototype.unhtmlspecialchars=function(e){var t=new Array(/&lt;/g,/&gt;/g,/&quot;/g,/&amp;/g),n=new Array("<",">",'"',"&")
71for(var o in t)YAHOO.lang.hasOwnProperty(t,o)&&(e=e.replace(t[o],n[o]))
72return e},vB_PHP_Emulator.prototype.unescape_cdata=function(e){var t=/<\=\!\=\[\=C\=D\=A\=T\=A\=\[/g,n=/\]\=\]\=>/g
73return e.replace(t,"<![CDATA[").replace(n,"]]>")},vB_PHP_Emulator.prototype.htmlspecialchars=function(e){for(var t=new Array(is_mac&&is_ie?new RegExp("&","g"):new RegExp("&(?!#[0-9]+;)","g"),new RegExp("<","g"),new RegExp(">","g"),new RegExp('"',"g")),n=new Array("&amp;","&lt;","&gt;","&quot;"),o=0;o<t.length;o++)e=e.replace(t[o],n[o])
74return e},vB_PHP_Emulator.prototype.in_array=function(e,t,n){var o,i=new String(e)
75if(n){i=i.toLowerCase()
76for(o in t)if(YAHOO.lang.hasOwnProperty(t,o)&&t[o].toLowerCase()==i)return o}else for(o in t)if(YAHOO.lang.hasOwnProperty(t,o)&&t[o]==i)return o
77return-1},vB_PHP_Emulator.prototype.str_pad=function(e,t,n){if(e=new String(e),n=new String(n),e.length<t){for(padtext=new String(n);padtext.length<t-e.length;)padtext+=n
78e=padtext.substr(0,t-e.length)+e}return e},vB_PHP_Emulator.prototype.urlencode=function(e){e=escape(e.toString()).replace(/\+/g,"%2B")
79var t=e.match(/(%([0-9A-F]{2}))/gi)
80if(t)for(var n=0;n<t.length;n++){var o=t[n].substring(1,3)
81parseInt(o,16)>=128&&(e=e.replace(t[n],"%u00"+o))}return e=e.replace("%25","%u0025")},vB_PHP_Emulator.prototype.ucfirst=function(e,t){if("undefined"!=typeof t){var n=e.indexOf(t)
82n>0&&(e=e.substr(0,n))}e=e.split(" ")
83for(var o=0;o<e.length;o++)e[o]=e[o].substr(0,1).toUpperCase()+e[o].substr(1)
84return e.join(" ")},vB_AJAX_Handler.prototype.init=function(){return AJAX_Compatible},vB_AJAX_Handler.is_compatible=function(){return AJAX_Compatible},vB_AJAX_Handler.prototype.onreadystatechange=function(e){this.callback=e},vB_AJAX_Handler.prototype.fetch_data=function(e){return console.warn('vB_AJAX_Handler.prototype.fetch_data() is deprecated.\nUse responseXML.getElementsByTagName("x")[i].firstChild.nodeValue instead.'),e&&e.firstChild&&e.firstChild.nodeValue?PHP.unescape_cdata(e.firstChild.nodeValue):""},vB_AJAX_Handler.prototype.send=function(e,t){this.conn=YAHOO.util.Connect.asyncRequest("POST",e,{success:this.callback},t+"&securitytoken="+SECURITYTOKEN+"&s="+fetch_sessionhash()),this.handler=this.conn.
84conn},AJAX_Compatible=is_ajax_compatible(),console.info("This browser is%s AJAX compatible",AJAX_Compatible?"":" NOT"),vB_Hidden_Form.prototype.add_variable=function(e,t){this.variables[this.variables.length]=new Array(e,t),console.log("vB_Hidden_Form :: add_variable(%s)",e)},vB_Hidden_Form.prototype.add_variables_from_object=function(e){if(e){console.info("vB_Hidden_Form :: add_variables_from_object(%s)",e.id)
85var t,n=fetch_tags(e,"input")
86for(t=0;t<n.length;t++)switch(n[t].type){case"checkbox":case"radio":n[t].checked&&this.add_variable(n[t].name,n[t].value)
87break
88case"text":case"hidden":case"password":this.add_variable(n[t].name,n[t].value)
89break
90default:continue}var o=fetch_tags(e,"textarea")
91for(t=0;t<o.length;t++)this.add_variable(o[t].name,o[t].value)
92var i=fetch_tags(e,"select")
93for(t=0;t<i.length;t++)if(i[t].multiple)for(var r=0;r<i[t].options.length;r++)i[t].options[r].selected&&this.add_variable(i[t].name,i[t].options[r].value)
94else this.add_variable(i[t].name,i[t].options[i[t].selectedIndex].value)}},vB_Hidden_Form.prototype.fetch_variable=function(e){for(var t=0;t<this.variables.length;t++)if(this.variables[t][0]==e)return this.variables[t][1]
95return null},vB_Hidden_Form.prototype.submit_form=function(){this.form=document.createElement("form"),this.form.method="post",this.form.action=this.action
96for(var e=0;e<this.variables.length;e++){var t=document.createElement("input")
97t.type="hidden",t.name=this.variables[e][0],t.value=this.variables[e][1],this.form.appendChild(t)}console.info("vB_Hidden_Form :: submit_form() -> %s",this.action),document.body.appendChild(this.form).submit()},vB_Hidden_Form.prototype.build_query_string=function(){for(var e="",t=0;t<this.variables.length;t++)e+=this.variables[t][0]+"="+PHP.urlencode(this.variables[t][1])+"&"
98return console.info("vB_Hidden_Form :: Query String = %s",e),e},vB_Hidden_Form.prototype.add_input=vB_Hidden_Form.prototype.add_variable,vB_Hidden_Form.prototype.add_inputs_from_object=vB_Hidden_Form.prototype.add_variables_from_object,vB_Select_Overlay_Handler.prototype.hide=function(){if(this.browser_affected)for(var e=YAHOO.util.Dom.getRegion(this.overlay),t=document.getElementsByTagName("select"),n=0;n<t.length;n++)if(region_intersects(t[n],e)){if(YAHOO.util.Dom.isAncestor(this.overlay,t[n]))continue
99YAHOO.util.Dom.setStyle(t[n],"visibility","hidden"),this.hidden_selects.push(YAHOO.util.Dom.generateId(t[n]))}},vB_Select_Overlay_Handler.prototype.show=function(){if(this.browser_affected)for(var e;e=this.hidden_selects.pop();)YAHOO.util.Dom.setStyle(e,"visibility","visible")},vBpagenav.prototype.controlobj_onclick=function(e){this._onclick(e)
100for(var t=fetch_tags(this.menu.menuobj,"input"),n=0;n<t.length;n++)if("text"==t[n].type){t[n].focus()
101break}},vBpagenav.prototype.form_gotopage=function(e){return(pagenum=parseInt(fetch_object("pagenav_itxt").value,10))>0&&(window.location=vBmenu.menus[vBmenu.activemenu].addr+"&page="+pagenum),!1},vBpagenav.prototype.ibtn_onclick=function(e){return this.form.gotopage()},vBpagenav.prototype.itxt_onkeypress=function(e){return 13==(e?e:window.event).keyCode?this.form.gotopage():!0}
102var securitytoken_timeout=window.setTimeout("replace_securitytoken()",36e5),securitytoken_errors=0
103vBulletin_Framework.prototype.init=function(){console.info("Firing System Init"),this.events.systemInit.fire()},vBulletin_Framework.prototype.extend=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.baseConstructor=t,e.superClass=t.prototype},vBulletin_Framework.prototype.register_control=function(e,t){for(var n=new Array,o=1;o<arguments.length;o++)n.push(arguments[o])
104this.elements[e]||(console.info('Creating array vBulletin.elements["%s"]',e),this.elements[e]=new Array)
105var i=this.elements[e].push(n)
106console.log('vBulletin.elements["%s"][%d] = %s',e,i-1,n.join(", "))},vBulletin_Framework.prototype.register_ajax_urls=function(e,t,n){e=e.split("?"),e[1]=SESSIONURL+"securitytoken="+SECURITYTOKEN+"&ajax=1&"+e[1].replace(/\{(\d+)(:\w+)?\}/gi,"%$1$s"),t=t.split("?"),t[1]=SESSIONURL+"securitytoken="+SECURITYTOKEN+"&ajax=1&"+t[1].replace(/\{(\d+)(:\w+)?\}/gi,"%$1$s"),console.log("Register AJAX URLs for %s",n)
107for(var o=0;o<n.length;o++)this.ajaxurls[n[o]]=new Array(e,t)},vBulletin_Framework.prototype.add_event=function(e){this.events[e]=new YAHOO.util.CustomEvent(e)},vBulletin_Framework.prototype.console=function(){if(window.console||console.firebug){for(var args=new Array,i=0;i<arguments.length;i++)args[args.length]=arguments[i]
108try{eval("console.log('"+args.join("','")+"');")}catch(e){}}}
109var PHP=new vB_PHP_Emulator,vBulletin=new vBulletin_Framework
110vBulletin.events.systemInit.subscribe(function(){YAHOO.util.Event.on(window,"resize",clear_viewport_info),YAHOO.util.Event.on(window,"scroll",clear_viewport_info)})

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.