<!--
function at_show_aux(a,b){for(var c=document.getElementById(a),d=document.getElementById(b),e=d.at_position=="y"?c.offsetHeight+0:0,f=d.at_position=="x"?c.offsetWidth+4:0;c;c=c.offsetSenior){e+=c.offsetTop;f+=c.offsetLeft}d.style.position="absolute";d.style.top=e+"px";d.style.left=f+"px";d.style.visibility="visible"}function at_show(){var a=document.getElementById(this.at_senior),b=document.getElementById(this.at_junior);at_show_aux(a.id,b.id);clearTimeout(b.at_timeout)}
function at_hide(){document.getElementById(this.at_senior);var a=document.getElementById(this.at_junior);a.at_timeout=setTimeout("document.getElementById('"+a.id+"').style.visibility = 'hidden'",333)}function at_click(){var a=document.getElementById(this.at_senior),b=document.getElementById(this.at_junior);if(b.style.visibility!="visible")at_show_aux(a.id,b.id);else b.style.visibility="hidden";return false}
function at_attach(a,b,c,d,e){a=document.getElementById(a);b=document.getElementById(b);a.at_senior=a.id;b.at_senior=a.id;a.at_junior=b.id;b.at_junior=b.id;a.at_position=d;b.at_position=d;b.style.position="absolute";b.style.visibility="hidden";if(e!=undefined)a.style.cursor=e;switch(c){case "click":a.onclick=at_click;a.onmouseout=at_hide;b.onmouseover=at_show;b.onmouseout=at_hide;break;case "hover":a.onmouseover=at_show;a.onmouseout=at_hide;b.onmouseover=at_show;b.onmouseout=at_hide;break}}
var voter_s="../assets/f_srs/vote_article",voter_e=".php";
function ddtabcontent(a){this.tabinterfaceid=a;this.tabs=document.getElementById(a).getElementsByTagName("a");this.enabletabpersistence=true;this.hottabspositions=[];this.subcontentids=[];this.revcontentids=[];this.selectedClassTarget="link"}ddtabcontent.getCookie=function(a){a=new RegExp(a+"=[^;]+","i");if(document.cookie.match(a))return document.cookie.match(a)[0].split("=")[1];return""};ddtabcontent.setCookie=function(a,b){document.cookie=a+"="+b+";path=/"};
ddtabcontent.prototype={expandit:function(a){this.cancelautorun();var b="";try{if(typeof a=="string"&&document.getElementById(a).getAttribute("rel"))b=document.getElementById(a);else if(parseInt(a)!=NaN&&this.tabs[a].getAttribute("rel"))b=this.tabs[a]}catch(c){alert("Invalid Tab ID or position entered!")}b!=""&&this.expandtab(b)},setpersist:function(a){this.enabletabpersistence=a},setselectedClassTarget:function(a){this.selectedClassTarget=a||"link"},getselectedClassTarget:function(a){return this.selectedClassTarget==
"linkparent".toLowerCase()?a.parentNode:a},expandtab:function(a){var b=a.getAttribute("rel"),c=a.getAttribute("rev")?","+a.getAttribute("rev").replace(/\s+/,"")+",":"";this.expandsubcontent(b);this.expandrevcontent(c);for(c=0;c<this.tabs.length;c++)this.getselectedClassTarget(this.tabs[c]).className=this.tabs[c].getAttribute("rel")==b?"selected":"";this.enabletabpersistence&&ddtabcontent.setCookie(this.tabinterfaceid,a.tabposition)},expandsubcontent:function(a){for(var b=0;b<this.subcontentids.length;b++){var c=
document.getElementById(this.subcontentids[b]);c.style.display=c.id==a?"block":"none"}},expandrevcontent:function(a){for(var b=this.revcontentids,c=0;c<b.length;c++)document.getElementById(b[c]).style.display=a.indexOf(","+b[c]+",")!=-1?"block":"none"},autorun:function(){var a=this.automode_currentTabIndex,b=this.hottabspositions;this.expandtab(this.tabs[b[a]]);this.automode_currentTabIndex=a<b.length-1?a+1:0},cancelautorun:function(){typeof this.autoruntimer!="undefined"&&clearInterval(this.autoruntimer)},
init:function(a){var b=ddtabcontent.getCookie(this.tabinterfaceid),c=true;this.automodeperiod=a||0;for(a=0;a<this.tabs.length;a++){this.tabs[a].tabposition=a;if(this.tabs[a].getAttribute("rel")){var d=this;this.hottabspositions[this.hottabspositions.length]=a;this.subcontentids[this.subcontentids.length]=this.tabs[a].getAttribute("rel");this.tabs[a].onclick=function(){d.expandtab(this);d.cancelautorun();return false};if(this.tabs[a].getAttribute("rev"))this.revcontentids=this.revcontentids.concat(this.tabs[a].getAttribute("rev").split(/\s*,\s*/));
if(this.enabletabpersistence&&parseInt(b)==a||!this.enabletabpersistence&&this.getselectedClassTarget(this.tabs[a]).className=="selected"){this.expandtab(this.tabs[a]);c=false;this.automode_currentTabIndex=a>0?0:1}}}c&&this.expandtab(this.tabs[this.hottabspositions[0]]);if(parseInt(this.automodeperiod)>500&&this.hottabspositions.length>1){this.automode_currentTabIndex=this.automode_currentTabIndex||0;this.autoruntimer=setInterval(function(){d.autorun()},this.automodeperiod)}}};var min=11,max=18;
function increaseFontSize(){var a=document.getElementsByTagName("p");for(i=0;i<a.length;i++){var b=a[i].style.fontSize?parseInt(a[i].style.fontSize.replace("px","")):13;if(b!=max)b+=1;a[i].style.fontSize=b+"px"}}function decreaseFontSize(){var a=document.getElementsByTagName("p");for(i=0;i<a.length;i++){var b=a[i].style.fontSize?parseInt(a[i].style.fontSize.replace("px","")):13;if(b!=min)b-=1;a[i].style.fontSize=b+"px"}}if(window!=top)top.location.href=location.href;
// -->
