/* FILE ARCHIVED ON 15:25:48 Aug 3, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:54:26 Nov 3, 2016. 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)). */ $(document).ready(function(){$("#shareme").sharrre({share:{googlePlus:true,facebook:true,twitter:true,linkedin:true,stumbleupon:true},enableTracking:true,urlCurl:"/ajax/ajax.sharrre.php",buttons:{googlePlus:{size:"tall"},facebook:{layout:"box_count"},twitter:{count:"vertical"},linkedin:{counter:"top"},stumbleupon:{layout:"5"}},hover:function(c,b){$(c.element).find(".buttons").show()},hide:function(c,b){$(c.element).find(".buttons").hide()}});$("#tabshell .tabby").hide();$("#tabs li").attr("id","");if(window.location.hash){switch(window.location.hash){case"#chart-daily":a("tab2");break;case"#chart-exp-projection":a("tab4");break;case"#chart-exp-trend":a("tab5");break;case"#chart-mini":a("tab9");break;case"#news":a("tab0");break;default:a("tab1");break}}else{a("tab1")}$("#tabs a").click(function(b){b.preventDefault();a($(this).attr("title"))});function a(b){tmpObj=$("#"+b);switch(b){case"tab0":tmpObj="#tab1";break;case"tab1":if(location.hash){window.location.hash="";history.pushState("",document.title,window.location.pathname)}break;case"tab2":if($(tmpObj).children(".chart").length==0){$(tmpObj).append('
');$(tmpObj).append('
');$(tmpObj).append('
')}location.hash="chart-daily";break;case"tab4":if($(tmpObj).children(".chart").length==0){$(tmpObj).append('
')}location.hash="chart-exp-projection";break;case"tab5":if($(tmpObj).children(".chart").length==0){$(tmpObj).append('
')}location.hash="chart-exp-trend";break;case"tab9":if($(tmpObj).children(".chart").length==0){$(tmpObj).append('
')}location.hash="chart-mini";if(!$("#simplecopy-html-button").data("copy-init")){$("#simplecopy-html-button").zclip({path:"/js/ZeroClipboard.swf",copy:$("#simplecopy-html").val(),beforeCopy:function(){$(this).removeClass("blue");$(this).removeClass("green");$(this).text("copying")},afterCopy:function(){$(this).addClass("green");$(this).text("HTML Copied!");$("#simplecopy-html").select();$("#simplecopy-html").focus()}});$("#simplecopy-html-button").data("copy-init",true)}if(!$("#simplecopy-bbcode-button").data("copy-init")){$("#simplecopy-bbcode-button").zclip({path:"/js/ZeroClipboard.swf",copy:$("#simplecopy-bbcode").val(),beforeCopy:function(){$(this).removeClass("blue");$(this).removeClass("green");$(this).text("copying")},afterCopy:function(){$(this).addClass("green");$(this).text("BBCode Copied!");$("#simplecopy-bbcode").select();$("#simplecopy-bbcode").focus()}});$("#simplecopy-bbcode-button").data("copy-init",true)}if(!$("#simplecopy-reddit-button").data("copy-init")){$("#simplecopy-reddit-button").zclip({path:"/js/ZeroClipboard.swf",copy:$("#simplecopy-reddit").val(),beforeCopy:function(){$(this).removeClass("blue");$(this).removeClass("green");$(this).text("copying")},afterCopy:function(){$(this).addClass("green");$(this).text("Reddit Code Copied!");$("#simplecopy-reddit").select();$("#simplecopy-reddit").focus()}});$("#simplecopy-reddit-button").data("copy-init",true)}break}$("#tabshell .tabby").hide();$("#tabs li").attr("id","");titleObj=$("select[title='"+b+"']");$("a[title='"+b+"']").parent().attr("id","current");$(tmpObj).fadeIn()}});