(function(){function d(e){return document.getElementById(e)}function c(f,e){d(f).style.display=e}function b(g,f){g=g||0.1;f=f||16;var p=0;var o=0;var k=0;var j=0;var i=0;var h=0;if(document.documentElement){p=document.documentElement.scrollLeft||0;o=document.documentElement.scrollTop||0}if(document.body){k=document.body.scrollLeft||0;j=document.body.scrollTop||0}var i=window.scrollX||0;var h=window.scrollY||0;var n=Math.max(i,Math.max(k,p));var m=Math.max(h,Math.max(j,o));var e=1+g;window.scrollTo(Math.floor(n/e),Math.floor(m/e));if(n>0||m>0){var l="MGJS.goTop("+g+", "+f+")";window.setTimeout(l,f)}}function a(l,m,f,k,g,n){d(f).className=k;d(g).className=n;var e,h;h=l.split(",");for(var j=0;j<h.length;j++){var e=h[j];if(d(e)){c(e,"block")}}h=m.split(",");for(var j=0;j<h.length;j++){e=h[j];if(d(e)){c(e,"none")}}}window.MGJS={};window.MGJS["$"]=d;window.MGJS["setStyleDisplay"]=c;window.MGJS["goTop"]=b;window.MGJS["switchTab"]=a})();function switchImage(a,i,h,d,e,g,c){if(a&&i){var b=$(a);b.src=i;if(g){b.title=g}if(c){b.alt=c}}if(h&&d){var f=$(h);f.href=d}};
