var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var $rotateoptions = new Array(); $rotateoptions[2] = new Array(); $rotateoptions[2]["style"] = "tabs"; $rotateoptions[2]["rotate"] = 1; $rotateoptions[2]["random_start"] = 0; $rotateoptions[2]["start_tab"] = 0; $rotateoptions[2]["interval"] = 3000; $tw = jQuery.noConflict(); $tw(document).ready(function() { $tw('.tabbed-widget').each(function() { var $widgetid = $tw(this).attr("id"); // tabbed-widget-1 $widgetid = $widgetid.split("-", 3)[2]; var $widgetstyle = $rotateoptions[$widgetid]["style"]; var $do_rotate = $rotateoptions[$widgetid]["rotate"]; var $rotate_interval = $rotateoptions[$widgetid]["interval"]; var $random_start = $rotateoptions[$widgetid]["random_start"]; var $start_tab = $rotateoptions[$widgetid]["start_tab"]; if ($widgetstyle == 'tabs') { var $tab_count = 0; // Build tab navigation var $tabbed_nav = ''; $tw('.tw-tabs', this).prepend($tabbed_nav); var $options = { cookie: { expires: 30 } }; if ($random_start) $start_tab = Math.floor($tab_count * Math.random()); jQuery.extend($options, { active: $start_tab }); //console.log($options); //console.log($start_tab); if ($do_rotate) $tw('.tw-tabs', this).tabs($options).tabs('rotate', $rotate_interval); else $tw('.tw-tabs', this).tabs($options); } else if ($widgetstyle == 'accordion') { var $tab_count = 0; var $acco = $tw('.tw-accordion', this); $tw('.tw-title', this).each(function(i) { $tw(this).html(''+$tw(this).text()+''); $tab_count++; }); var $options = { autoHeight: false, header: '.tw-title' }; if ($random_start) $start_tab = Math.floor($tab_count * Math.random()); jQuery.extend($options, { active: $start_tab }); $acco.accordion($options); //$tw('.ui-accordion-header:first', this).addClass('tw-first-widget'); //$tw('.ui-accordion-header:last', this).addClass('tw-last-widget'); if ($do_rotate) { var $cleared = false; var $wasstopped = false; (function() { var t = 0; var $step = 0; var $saverotation; function dorotate() { t = ++t; if (t == $tab_count) { $step = -2; t = t + $step; } else if (t == 1) { t = t; $step = 0; } else { t = t + $step; } $acco.accordion('activate', t); } if (!$cleared) var rotation = setInterval(function(){ dorotate(); }, $rotate_interval); $acco.bind("mouseenter", function(){ clearInterval(rotation); rotation = null; $cleared = true; }).bind("mouseleave",function(){ if (!$wasstopped) rotation = setInterval(function(){ dorotate(); }, $rotate_interval); }).bind("click",function(){ $wasstopped = true; clearInterval(rotation); rotation = null; }); })(); } } }); }); } /* FILE ARCHIVED ON 19:16:57 Oct 03, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:59:49 Aug 11, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.741 exclusion.robots: 0.113 exclusion.robots.policy: 0.101 esindex: 0.007 cdx.remote: 31.852 LoadShardBlock: 162.571 (3) PetaboxLoader3.datanode: 163.332 (4) PetaboxLoader3.resolve: 126.535 (2) load_resource: 186.989 */