1 2if('undefined'===typeof BG_SHCE_USE_EFFECTS){BG_SHCE_USE_EFFECTS='0'} 3if('undefined'===typeof BG_SHCE_TOGGLE_SPEED){BG_SHCE_TOGGLE_SPEED='0'} 4if('undefined'===typeof BG_SHCE_TOGGLE_OPTIONS){BG_SHCE_TOGGLE_OPTIONS='swing'} 5if('undefined'===typeof BG_SHCE_TOGGLE_EFFECT){BG_SHCE_TOGGLE_EFFECT=''} 6function bgExpandCollapsedContent(){var bgCollapseExpandItems=document.querySelectorAll('input[bg_collapse_expand]');for(i=0;i<bgCollapseExpandItems.length;i++){var showHideButton=document.getElementById('bg-showmore-action-'+bgCollapseExpandItems[i].value);var hiddenContent=document.getElementById('bg-showmore-hidden-'+bgCollapseExpandItems[i].value);if(showHideButton&&hiddenContent){if(window.addEventListener){showHideButton.addEventListener('click',function(event){bgExpandCollapsedContentAction(event,this)})}else{window.attachEvent("onclick",function(event){bgExpandCollapsedContentAction(event,this)})}} 7if(jQuery(showHideButton).parent().prop("tagName")==='LI'&&jQuery(showHideButton).parent().parent().prop("tagName")==='UL'){jQuery(showHideButton).parent().parent().css('margin-bottom',0)}}} 8function bgExpandCollapsedContentAction(event,thisObj){event.preventDefault();var bgUniqId=thisObj.id.replace('bg-showmore-action-','');var showHideButton=document.getElementById('bg-showmore-action-'+bgUniqId);var hiddenContent=document.getElementById('bg-showmore-hidden-'+bgUniqId);var showLessText=document.getElementById('bg-show-less-text-'+bgUniqId).value;var showMoreText=document.getElementById('bg-show-more-text-'+bgUniqId).value;var text=jQuery(showHideButton).text();if(BG_SHCE_USE_EFFECTS==='1'){jQuery(hiddenContent).toggle(BG_SHCE_TOGGLE_EFFECT,BG_SHCE_TOGGLE_OPTIONS,parseInt(BG_SHCE_TOGGLE_SPEED)+1)}else{jQuery(hiddenContent).toggle(parseInt(BG_SHCE_TOGGLE_SPEED))} 9if(showLessText===''){jQuery(showHideButton).toggle();if(jQuery(showHideButton).parent().prop("tagName")==='LI'){jQuery(showHideButton).parent().toggle()}}else{jQuery(showHideButton).text(text==showMoreText?showLessText:showMoreText);jQuery(showHideButton).toggleClass("bg-close")} 10if('undefined'!==typeof gmspAllMaps){gmspResizeMaps('recenterHidden')}} 11function bgSelectedEffect(){var effectOpts=jQuery('#bg_shce_effect > option');if(effectOpts.length>0){var i=0;while(i<effectOpts.length){if(effectOpts[i].value===BG_SHCE_TOGGLE_EFFECT){effectOpts[i].selected=!0} 12i++}} 13if(BG_SHCE_USE_EFFECTS==='1'){jQuery('.bg-effects').show()}} 14jQuery(document).ready(function(){bgExpandCollapsedContent();bgSelectedEffect()}); 15 16
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.