var fontSize;var abort=false;var regExp=new RegExp(",","g");var a=1;var showTotals=getCookie("ShowTotals");if(!((showTotals=="n")||(showTotals=="y"))){showTotals="n"}var showPercentages=getCookie("ShowPercentages");if(!((showPercentages=="n")||(showPercentages=="y"))){showPercentages="n"}var showCellColors=getCookie("ShowCellColors");if(!((showCellColors=="n")||(showCellColors=="y"))){showCellColors="y"}var twoScales=getCookie("TwoScales");if(!((twoScales=="n")||(twoScales=="y"))){twoScales="y"}var plotSize=getCookie("PlotSize");if(!((plotSize==1)||(plotSize==2)||(plotSize==3)||(plotSize==4)||(plotSize==5)||(plotSize==6)||(plotSize==7)||(plotSize==8))){plotSize=2;setCookie("PlotSize",plotSize)}function tr(A){document.write("<tr>"+A+"</tr>")}function trc(A){if(showCellColors=="y"){A=" bgcolor=#C0C0C0"}else{A=" bgcolor="+A}document.write("<tr"+A+">")}function tdg(A){if(showCellColors=="y"){bgc=" bgcolor=#C0C0C0"}else{bgc=""}if(A==""){A="&nbsp;"}document.write("<td"+bgc+">"+A+"</td>")}function tdc(A,B,C){if(showCellColors=="y"){A=" bgcolor="+A}else{A=""}if((showPercentages=="y")&&(B!="")){document.write("<td"+A+"><span class=d1>"+B+"</span><span class=d2>"+C+"</span></td>")}else{document.write("<td"+A+">"+C+"</td>")}}function tdnc(A){document.write("<td>"+A+"</td>")}function ll1(C,A,B){document.write("<td class=cb><b><a href='TablesWikiFur"+C+".htm' title='"+A+"'>"+B+"</a></b></td>")}function ll2(A){document.write("<td class=cb><b>"+A+"</b></td>")}function thl2nb(B,A){header="<a href='TablesWikiFur"+B+".htm'><small>"+A+"</small></a>";document.write("<th class=lb colspan=2 style='text-align:left'>"+header+"</th>")}function thcnb(B,A){header="<a href='TablesWikiFur"+B+".htm'><small>"+A+"</small></a>";document.write("<th class=cnb>"+header+"</th>")}function thcxnb(C,B,A){header="<a href='TablesWikiFur"+B+".htm'><small>"+A+"</small></a>";document.write("<th class=cnb colspan="+C+">"+header+"</th>")}function showOnNoPercentages(A){if(showPercentages=="n"){document.write(A)}}function thcnb0(B,A){}var imageFormat=getCookie("ImageFormat");if(!((imageFormat=="Gif")||(imageFormat=="Png")||(imageFormat=="Svg"))){imageFormat="Png";setCookie("ImageFormat",imageFormat)}function ShowCellTopLeft(D,B,C){D="<font color="+B+">"+D+"</font>";if(C=="small"){D="<small>"+D+"</small>"}var A=document.getElementById("table1").rows;var E=A[0].cells;E[0].innerHTML=D}function getLegend(){if(twoScales=="n"){return("&nbsp;")}else{if(showTotals=="y"){return("|&nbsp;&nbsp <image src='../violetbar.gif' width=15 height =10> <b>:</b> <image src='../yellowbar.gif' width=15 height =10> <b>:</b> <image src='../greenbar.gif'  width=15 height =10> = 1 <b>:</b> 1 <b>:</b> 10")}else{return("|&nbsp;&nbsp <image src='../yellowbar.gif' width=15 height =10> <b>:</b> <image src='../greenbar.gif'  width=15 height =10> = 1 <b>:</b> 10")}}}function switchShowTotals(){if(showTotals=="n"){showTotals="y"}else{showTotals="n"}setCookie("ShowTotals",showTotals);window.location.reload()}function switchTwoScales(){if(twoScales=="n"){twoScales="y"}else{twoScales="n"}setCookie("TwoScales",twoScales);window.location.reload()}function switchShowPercentages(){if(showPercentages=="n"){showPercentages="y"}else{showPercentages="n"}setCookie("ShowPercentages",showPercentages);window.location.reload()}function switchShowCellColors(){if(showCellColors=="n"){showCellColors="y"}else{showCellColors="n"}setCookie("ShowCellColors",showCellColors);window.location.reload()}function switchLanguage(){var A=document.form.language.value;window.location="Statistics__Language_"+A+".htm"}function switchPage(){var A=document.form.page.value;gotoPage(A)}function gotoPage(A){if(A!=""){window.location=A}}function changeCSS(D,B,C){var E;if(document.all){E="rules"}else{if(document.getElementById){E="cssRules"}else{return}}for(var A=0;A<document.styleSheets[0][E].length;A++){if(document.styleSheets[0][E][A].selectorText==D){document.styleSheets[0][E][A].style[B]=C}}}function embedSvg(A){w=900;if(plotSize==1){w=700}if(plotSize==2){w=770}if(plotSize==3){w=847}if(plotSize==4){w=932}if(plotSize==5){w=1025}if(plotSize==6){w=1127}if(plotSize==7){w=1240}if(plotSize==8){w=1500}h=Math.round(w*384/621);wh="width='"+w+"' height='"+h+"'";document.write("<embed src='"+A+"' name='SVGEmbed' "+wh+" type='image/svg-xml' pluginspage='http://www.adobe.com/svg/viewer/install/'>")}function switchPlotSize(A){if((A=="-")&&(plotSize>1)){plotSize--;setCookie("PlotSize",plotSize);window.location.reload()}if((A=="+")&&(plotSize<8)){plotSize++;setCookie("PlotSize",plotSize);window.location.reload()}}function switchFontSize(A){if((A=="-")&&(fontSize>9)){fontSize--;setCookie("FontSize",fontSize)}if((A=="+")&&(fontSize<18)){fontSize++;setCookie("FontSize",fontSize)}document.getElementById("table1").style.fontSize=fontSize;document.getElementById("table2").style.fontSize=fontSize;document.getElementById("table3").style.fontSize=fontSize;document.getElementById("table4").style.fontSize=fontSize;document.getElementById("table5").style.fontSize=fontSize;document.getElementById("table6").style.fontSize=fontSize}function initTableSize(){fontSize=getCookie("FontSize");if(fontSize==""){fontSize=11}document.getElementById("table1").style.fontSize=fontSize;document.getElementById("table2").style.fontSize=fontSize;document.getElementById("table3").style.fontSize=fontSize;document.getElementById("table4").style.fontSize=fontSize;document.getElementById("table5").style.fontSize=fontSize;document.getElementById("table6").style.fontSize=fontSize}function setCookie(C,E,A,G,D,F){var B=C+"="+escape(E)+((A)?"; expires="+A.toGMTString():"")+((G)?"; path="+G:"")+((D)?"; domain="+D:"")+((F)?"; secure":"");document.cookie=B}function getCookie(B){var D=B+"=";var A="";var C=document.cookie.indexOf(D);if(C==-1){return A}var E=document.cookie.indexOf(";",C+D.length);if(E==-1){E=document.cookie.length}return unescape(document.cookie.substring(C+D.length,E))}function y_axis(C,A,B,F,E,D){sep_1000=E;sep_dec=D;if((A!=-1)&&(showTotals=="n")){max=A}else{max=C}maxheight=100;maxvalue=max;maxvalue3=max;if(max==0){maxvalue=1}if(F==1){limit=1000}else{limit=100000}yscale=1;exponent=0;while(max/yscale>limit){yscale=yscale*10;exponent++}if(yscale==1){prefix="&nbsp;"}else{if(exponent>4){prefix="x 10<sup>"+exponent+"</sup>"}else{prefix="x "+yscale}}maxvalue2=" ";if(maxvalue>1000000){maxvalue=Math.round(maxvalue/100000)/10;maxvalue2=" M"}maxvalue1=maxvalue;if(maxvalue>999){maxvalue="?"+maxvalue;maxvalue1=maxvalue.substr(1,maxvalue.length-4).toString()+sep_1000+maxvalue.substr(maxvalue.length-3)}width=40;if(F==1){h="<tr><td class=chart_scale bgcolor=#ffffff valign=bottom width="+width+"><img height=2 src='../blanco.gif' width="+width+"><br>"+maxvalue1.toString()+maxvalue2+"&nbsp;<br><img height=1 src='../black.gif'  width="+width+"><br><img height="+maxheight+" src='../blanco.gif' width="+width+"><br><img height=1 src='../black.gif'  width="+width+"><br>"+prefix+"&nbsp;<br><img height=1 src='../blanco.gif'  width="+width+"><br>"+B+"&nbsp;<br></td>"}else{h="<tr><td class=chart_scale><table width='100%' cellSpacing=0 cellPadding=0 border=0><tbody><tr><td class=chart_scale bgcolor=#ffffff valign=bottom><img height=1 src='../black.gif'  width="+10+"><br><img height="+10+" src='../blanco.gif' width=1>"+maxvalue1.toString()+maxvalue2+"&nbsp;<br><img height="+((maxheight/2)-11)+" src='../blanco.gif' width=1>"+B+"&nbsp;<br><img height="+((maxheight/2)-2)+" src='../blanco.gif' width=1><br><img height=1 src='../black.gif'  width="+10+"><br></td></tr><tr><td class=chart_scale bgcolor=#ffffff>"+prefix+"&nbsp;</td></tr></tbody></table></td>"}document.write(h);maxvalue=max/yscale;values="<td class=chart>"+prefix+"&nbsp;</td>";odd=true;columns=1}function bar(B,C,A,D){img="blanco";if(C=="-"){C=0}if(A=="-"){A=0}C*=1;A*=1;if(B=="Y"){img="yellowbar"}if(B=="B"){img="bluebar"}if(B=="R"){img="redbar"}if(B=="G"){img="greenbar"}if(B=="V"){img="violetbar"}img2="greybar";h="<td class=chart valign=bottom width=18>";height=0;if((C!=0)&&(maxvalue!=0)){height=Math.round(maxheight*((C/yscale)/maxvalue))}height2=0;if((A!=0)&&(maxvalue!=0)){height2=Math.round(maxheight*((A/yscale)/maxvalue))-1}if(height2>1){h+="<img height=1 src='../black.gif' width=15><br><img height="+(height2-1)+" src='../"+img2+".gif' width=15><br>"}if(height>0){h+="<img height=1 src='../black.gif' width=15><br><img height="+height+" src='../"+img+".gif' width=15><br><img height=1 src='../black.gif' width=18><br>"}else{h+="<img height=1 src='../black.gif' width=18><br>"}value3=(((C+A)/yscale)+".").split(".");value4=value3[0];if(value4==0){value4=""}if(value4>=0){if(odd){h+="<font color='#000088'>"+value4+"</font>"}else{h+="<font color='#000000'>"+value4+"</font>"}odd=!odd}h+="<br><img height=1 src='../grey.gif' width=18>";h+="<br>"+D+"</td>";document.write(h)}function bar2(A,B){img="blanco";if(B=="-"){B=0}if(A=="Y"){img="yellowbar"}if(A=="B"){img="bluebar"}if(A=="R"){img="redbar"}if(A=="G"){img="greenbar"}columns++;if(columns==2){if(showTotals=="y"){img="violetbar"}else{img="blanco"}}h="<td class=chart valign=bottom><table width='100%' cellSpacing=0 background='../background2.gif' cellPadding=0 border=0><tbody><tr>";height=0;if((B!=0)&&(maxvalue!=0)){height=maxheight*((B/yscale)/maxvalue)}if((twoScales=="y")&&(B<(maxvalue3/10))){height*=10;img="greenbar2"}height=Math.round(height);h+="<td class=chart valign=bottom height='102'><center>";if((columns==2)&&(showTotals=="n")){h+="&nbsp;"}else{if(height>0){h+="<img height=1 src='../black.gif' width=15><br>";h+="<img height="+height+" src='../"+img+".gif' width=15><br>"}h+="<img height=1 src='../black.gif' width=15></center>"}value2=((B/yscale)+".").split(".");B=value2[0]+"."+(value2[1]+"0000").substr(0,1);if((value2[0]>10)||((A=="Y")&&(yscale==1))){B=value2[0]}if(B>0){if(B>999){B=B.substr(0,B.length-3)+","+B.substr(B.length-3)}B=B.replace(regExp,sep_1000);h+="</td></tr><tr><td class=chart><font color='#000000'>"+B+"</font></td></tr>"}else{h+="</td></tr><tr><td class=chart>&nbsp;</td></tr>"}h+="</tbody></table></td>";document.write(h)}function get_rule(A){if(document.getElementById&&document.styleSheets&&document.styleSheets[0].cssRules){for(sheet=0;sheet<document.styleSheets.length;sheet++){for(rule=0;rule<document.styleSheets[sheet].cssRules.length;rule++){if(document.styleSheets[sheet].cssRules[rule].selectorText==A){return(document.styleSheets[sheet].cssRules[rule])}}}}else{if(document.all&&document.styleSheets){for(sheet=0;sheet<document.styleSheets.length;sheet++){for(rule=0;rule<document.styleSheets(sheet).rules.length;rule++){if(document.styleSheets(sheet).rules(rule).selectorText==A){return(document.styleSheets(sheet).rules(rule))}}}}}return(0)}function get_style_class(s){var theclass=null;if(document.layers){theclass=eval("document.classes."+s+".all")}else{myclass=get_rule("."+s);if(!myclass){myclass=get_rule(s)}if(!myclass){myclass=get_rule("*."+s)}if(myclass){return(myclass.style)}}return(theclass)}function set_style_booklinks(A){if(A==0){A=getCookie("ShowBookSizes")}if(A==-1){A=getCookie("ShowBookSizes");A++;alert("x")}if((A<1)||(A>3)){A=1}setCookie("ShowBookSizes",A);if(A==1){get_style_class("ch1").color="#BBBB66";get_style_class("ch1").fontSize="12px";get_style_class("ch1").fontWeight="normal";get_style_class("ch1").paddingLeft="3px";get_style_class("ch1").paddingRight="3px";get_style_class("ch2").color="#4466AA";get_style_class("ch2").fontSize="12px";get_style_class("ch2").fontWeight="normal";get_style_class("ch2").paddingLeft="3px";get_style_class("ch2").paddingRight="3px";get_style_class("ch3").color="#0000FF";get_style_class("ch3").fontSize="12px";get_style_class("ch3").fontWeight="bold";get_style_class("ch3").paddingLeft="3px";get_style_class("ch3").paddingRight="3px"}if(A==2){get_style_class("ch1").color="#BBBB66";get_style_class("ch1").fontSize="10px";get_style_class("ch1").fontWeight="normal";get_style_class("ch1").paddingLeft="3px";get_style_class("ch1").paddingRight="3px";get_style_class("ch2").color="#4466AA";get_style_class("ch2").fontSize="12px";get_style_class("ch2").fontWeight="normal";get_style_class("ch2").paddingLeft="3px";get_style_class("ch2").paddingRight="3px";get_style_class("ch3").color="#0000FF";get_style_class("ch3").fontSize="15px";get_style_class("ch3").fontWeight="normal";get_style_class("ch3").paddingLeft="3px";get_style_class("ch3").paddingRight="3px"}if(A==3){get_style_class("ch1").color="#000044";get_style_class("ch1").fontSize="9px";get_style_class("ch1").fontWeight="normal";get_style_class("ch1").paddingLeft="0px";get_style_class("ch1").paddingRight="0px";get_style_class("ch2").color="#0000AA";get_style_class("ch2").fontSize="11px";get_style_class("ch2").fontWeight="bolder";get_style_class("ch2").paddingLeft="3px";get_style_class("ch2").paddingRight="3px";get_style_class("ch3").color="#0000FF";get_style_class("ch3").fontSize="13px";get_style_class("ch3").fontWeight="bold";get_style_class("ch3").paddingLeft="6px";get_style_class("ch3").paddingRight="6px"}};