var MCEmbedHelper=function(){};MCEmbedHelper.createStyleSheetLinkTag=function(a){var b=document.getElementsByTagName("head")[0],c=document.createElement("link");c.href=a;c.type="text/css";c.rel="stylesheet";b.appendChild(c)};MCEmbedHelper.getUniqueId=function(){var a;try{a=crc.hex(String(Math.random()))}catch(b){a=String(Math.floor(Math.random()*1E9))}return a};MCEmbedHelper.getLocalConnectionId=function(a){var b="dummy_"+a;document.write("<span id='"+b+"' style='display:none'></span>");try{var c=document.getElementById(b),d=c.parentNode.parentNode,e=d.mc_lc_id;if(!e)e=a,d.mc_lc_id=e;c.parentNode.removeChild(c)}catch(g){if(console.error("MCEmbedHelper:getLocalConnectionId:exception:",g),e=document.mc_lc_id,!e)e=a,document.mc_lc_id=e}return e};MCEmbedHelper.embedSeminarDataTag=function(){if(document.getElementsByClassName("MCSeminarController").length==0)for(var a=document.getElementsByClassName("MCSeminarIndex"),b=0;b<a.length;b++){var c=a[b].parentNode.parentNode;c.className="MCSeminarController "+c.className;var d=c.getElementsByTagName("object");if(d.length>0)for(var d=d[0].getElementsByTagName("param"),e=0;e<d.length;e++)if(d[e].getAttribute("name")=="movie")var g=d[e].getAttribute("value");else if(d[e].getAttribute("name")=="flashvars"){g=d[e].getAttribute("value");g=g.split("&");for(e=0;e<g.length;e++){var f=g[e].split("=")[0],h=g[e].split("=")[1];if(f=="vs"){g=document.createElement("div");g.className="SeminarData";g.style.display="none";g.innerHTML=base+"/"+f+"/"+h+".xml";c.appendChild(g);break}}}}};MCEmbedHelper.reloadFlash=function(a){var b=document.getElementById(a);if(!b)b=document[a].parentNode;b.parentNode.innerHTML=b.parentNode.innerHTML};MCEmbedHelper.getParamByName=function(a){for(var b=window.location.search.substring(1).split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("=");if(d>0){var e=b[c].substring(0,d),d=b[c].substring(d+1);if(e==a)return d}}};var MCFullscreenManager=function(){};MCFullscreenManager.target=null;MCFullscreenManager.enter=function(a){if(MCFullscreenManager.target=a)document.body.className+=" MCFullScreenBody",a.className+=" MCFullScreenActive",a._parent=a.parentNode,a.parentNode.removeChild(a),document.body.appendChild(a),a=document.createElement("meta"),a.id="MCMetaViewport",a.setAttribute("name","viewport"),a.setAttribute("content","width=980px;"),document.head.appendChild(a)};MCFullscreenManager.exit=function(){var a=MCFullscreenManager.target;if(a)document.body.className=document.body.className.replace("MCFullScreenBody"),a.className=a.className.replace("MCFullScreenActive",""),a._parent.appendChild(a),document.body.removeChild(a),a=document.getElementById("MCMetaViewport"),a.removeChild(a);MCFullscreenManager.target=null};var MCCompatibilityHelper=function(){};MCCompatibilityHelper.init=function(){if(!MCCompatibilityHelper.initialised){MCCompatibilityHelper.initialised=!0;var a=navigator.userAgent.toLowerCase();window.isIE=a.indexOf("msie")!=-1?!0:!1;window.isOpera=!isIE&&window.hasOwnProperty("opera")?!0:!1;window.isFirefox=a.indexOf("firefox")!=-1;window.isMobileSafari=a.indexOf("safari")!=-1&&a.indexOf("mobile")!=-1;window.isSafari=a.indexOf("safari")!=-1&&!isMobileSafari;window.canPlayFlash=!window.isMobileSafari;window.canPlayVideo=window.isSafari||window.isMobileSafari;if(!window.console){var b={log:function(){}};window.console=b}window.log=function(a){b.log(a)};window.flashTagName=isIE?"object":"embed";window.xmlToString=function(a){return isIE?a.xml:(new XMLSerializer).serializeToString(a)};window.insertStyle=function(a,d,b){a.addRule!=void 0?a.addRule(d,b+" !important ",a.cssRules?a.cssRules.length:0):a.insertRule!=void 0&&a.insertRule(d+"{"+b+" !important }",a.cssRules.length)};window.setElementOpacity=function(a,b){isIE?a.style.filter="alpha(opacity="+Math.floor(b*100)+")":isFirefox?a.style.MozOpacity=b:a.style.opacity=b}}};MCCompatibilityHelper.init();if(typeof MC=="undefined")var MC={};MC={id:function(a){return document.getElementById(a)},evt:{getPos:function(a){var b={};b.x=a.offsetLeft;for(b.y=a.offsetTop;a.offsetParent;)a=a.offsetParent,b.x+=a.offsetLeft,b.y+=a.offsetTop;return b},targetNode:function(a){var b;if(a.target)b=a.target;else if(a.srcElement)b=a.srcElement;if(b.nodeType==3)b=b.parentNode;return b},addEvents:function(a,b,c,d){d=d||!1;if(a.addEventListener)a.addEventListener(b,c,d);else if(a.attachEvent)a.attachEvent("on"+b,c);else return!1;return!0},removeEvents:function(a,b,c,d){d=d||!1;if(a.removeEventListener)a.removeEventListener(b,c,d);else if(a.detachEvent)a.detachEvent("on"+b,c);else return!1;return!0}},CheckFlashPlayer:{macVersion:{},winVersion:{},macMovieVersion:{},winMovieVersion:{},platform:{},checkVersion:function(){this.winVersion={major:9,minor:0,revision:115,debug:0};this.macVersion={major:10,minor:0,revision:42,debug:34};this.macMovieVersion=this.winMovieVersion=this.winVersion;this.platform=/mac/i.test(navigator.platform)?"mac":"win";var a=this.platform=="mac"?this.macVersion:this.winVersion,b=this.getVersion();if(b=="undef")return b;var c=function(a){if(b.major<a.major)return"<";else if(b.major>a.major)return">";else if(b.major==a.major)if(b.minor<a.minor)return"<";else if(b.minor>a.minor)return">";else if(b.minor==a.minor)if(b.revision<a.revision)return"<";else if(b.revision>a.revision)return">";else if(b.revision==a.revision)return"=";return null},a=c(a);if(this.platform=="mac"&&a=="<"&&(a=c(this.macMovieVersion),a==">"||a=="="))return"%";return a},getVersion:function(){var a,b,c={};if(navigator.plugins&&navigator.mimeTypes["application/x-shockwave-flash"]){b=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;if(b.description)a=b.description;a.match(/(\d+)\.(\d+)(?:\s*[r\.](\d+))?(?:\s*[bd](\d+))?$/)}else{var d;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),d=b.GetVariable("$version")}catch(e){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),d="WIN 6,0,21,0",b.AllowScriptAccess="always",d=b.GetVariable("$version")}catch(g){}}a=d}a?a.match(/(\d+),(\d+),(\d+),(\d+)/):a="undef";a&&a!="undef"?(c.major=parseInt(RegExp.$1)||0,c.minor=parseInt(RegExp.$2)||0,c.revision=parseInt(RegExp.$3)||0,c.debug=parseInt(RegExp.$4)||0):a=="undef"&&(c=a);return c},check:function(a){var b=MC.CheckFlashPlayer.checkVersion();if(/(\<|undef|\%)/.test(b)){var c,d,e,g,f=document;f.write('<div id="moviecommons-empty-tag"></div>');c=f.getElementById("moviecommons-empty-tag");d=c.parentNode;g=this.alertHTML();e=f.createElement("div");e.innerHTML=g;if((a=f.getElementById(a))&&a!="")a.style.display="none";if(b=="%")a.style.display="block";a.parentNode.insertBefore(e,a);d.removeChild(c)}},alertHTML:function(){var a="",b;for(b in this[this.platform+"Version"])a+=this[this.platform+"Version"][b]+".";a=a.replace(/\.$/,"");this.platform=="win"&&(a=a.replace(/\.0$/,""));a="\u52d5\u753b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u306b\u306fFlashPlayer "+a+" \u4ee5\u4e0a\u304c\u5fc5\u8981\u3067\u3059\u3002<br />";a+="\u53f3\u306e\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u6700\u65b0\u7248\u306e\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002";b="";b+='<table style="font-size: 12px; color: red;margin:0px auto;">';b+='<tr><td rowspan="2"><div style="width:30px;height:30px;"></div></td><td rowspan="2" nowrap>';b+=a;b+='</td><td style="padding: 15px 0px 0px 5px;">';b+='<a href="http://www.adobe.com/go/getflashplayer_jp">';b+='<img border="0" src="http://www.adobe.com/misc/images/160x41_get_flashplayer.gif" ';b+='alt="Adobe Flash Player \u3092\u5165\u624b" style="vertical-align: text-top;"/>';b+='</a></td><td rowspan="2"><div style="width:30px;height:30px;"></div></td></tr><tr><td/></tr></table>';return b}}};MC.DialogWindow={bod:"",init:function(a,b){var c=this;c.bod=document.getElementsByTagName("body")[0];if(!MC.id("moviecommons-dialog-cancel")&&!MC.id("moviecommons-dialog-ok")){var d=document.createElement("div"),e=document.createElement("div"),g=d.style,f=e.style;e.id="moviecommons-dialog-window";d.id="moviecommons-dialog-overlay";g.backgroundColor="black";g.left="0px";g.top="0px";g.opacity="0.3";g.filter="alpha(opacity=30)";g.position="absolute";g.zIndex="1000";f.backgroundColor="white";f.display="block";f.left="50%";f.top="50%";f.position="absolute";f.zIndex="1010";c.set_overlay(d);e.appendChild(a);c.bod.appendChild(d);c.bod.appendChild(e)}MC.DialogWindow.iefix("hidden");c.start_effect();e=function(a){c.close_effect.apply(c);var b=MC.evt.targetNode(a);b.id=="moviecommons-dialog-ok"&&c.form&&c.ajax_request(c.form);if(MC.id("moviecommons-dialog-ok"))MC.id("moviecommons-dialog-ok").disabled=!0;if(MC.id("moviecommons-dialog-cancel"))MC.id("moviecommons-dialog-cancel").disabled=!0;c.iefix();MC.evt.removeEvents(b,"click",arguments.callee)};b&&c.set_window_style(f,b);MC.evt.addEvents(window,"resize",function(){c.set_overlay.apply(c,[d])});MC.id("moviecommons-dialog-cancel")&&MC.evt.addEvents(MC.id("moviecommons-dialog-cancel"),"click",e);MC.id("moviecommons-dialog-ok")&&MC.evt.addEvents(MC.id("moviecommons-dialog-ok"),"click",e)},set_window_style:function(a,b){if(b){var c=parseInt(b.width),d=parseInt(b.height)+20,e=this.get_scroll(),e=parseInt(e.y);try{a.width=c+"px";a.height=d+"px";a.marginLeft="-"+b.width/2+"px";if(/MSIE (6\.|5\.5)/.test(navigator.userAgent))MC.id("btn_wrap").style.width=c+"px";a.marginTop=this.test_flag?"0px":e-(b.height/2+20)+"px"}catch(g){}}},start_effect:function(){MC.id("moviecommons-dialog-window").style.display="block"},close_effect:function(){MC.id("moviecommons-dialog-window").style.display="none";MC.id("moviecommons-dialog-overlay").style.display="none";this.cancel.apply(this)},oldembed:function(a,b,c){var d=document,e=d.createElement("div");b==null&&/^.+width\=\"(\d+)\".+height\=\"(\d+)/.test(a)&&(b=parseInt(RegExp.$1),c=parseInt(RegExp.$2));var g=MC.CheckFlashPlayer,f=g.checkVersion();if(document.embed_mc_lc_id==void 0)document.embed_mc_lc_id=new Date/1E3|0;var h=crc.hex(document.embed_mc_lc_id+""),a=a.replace(/\.swf\?/g,".swf?mc_lc_id="+h+"&");/(\<|undef|\%)/.test(f)?(g=g.alertHTML(),f=="%"?(e.innerHTML="<div>"+g+a+"</div>",c+=80):(e.innerHTML='<div style="text-align:center;width:100%;position:absolute;top:10px;left:0px;background-color:white;">'+g+"</div>",b=650,c=90)):e.innerHTML=a;a=d.createElement("div");a.id="btn_wrap";f=a.style;d=d.createElement("div");d.id="moviecommons-dialog-cancel";f.position="absolute";f.width="100%";f.clear="both";f.marginTop="10px";f.textAlign="center";f.bottom="10px";f.left="0px";d.style.cursor="pointer";f='<img src="';f+=/https/.test(location.protocol)?"https":"http";f+='://cp1.moviecommons.com/images_common/close.gif"';f+=' height="24" width="100" alt="close" />';d.innerHTML=f;a.appendChild(d);e.appendChild(a);this.init(e,{width:b,height:c})},embed:function(a,b,c,d){var e=document,g=e.createElement("div"),f=a,h=b,l=c;h==null&&/^.+width\=\"(\d+)\".+height\=\"(\d+)/.test(f)&&(h=parseInt(RegExp.$1),l=parseInt(RegExp.$2));var j=MC.CheckFlashPlayer,i=j.checkVersion();if(d!="/"&&d!=void 0&&d!=null){var k=createHttpRequest();k.open("GET",d,!1);k.send(null);var k=k.responseText,k=k.substr(k.length-42,42),m=Base64.encode(document.location.toString()),f=f.replace(/\.swf\?(v|s|vs)=(.{36})/g,".swf?$1="+k+k+"$2"+m)}if(document.embed_mc_lc_id==void 0)document.embed_mc_lc_id=new Date/1E3|0;k=crc.hex(document.embed_mc_lc_id+"");f=f.replace(/\.swf\?/g,".swf?mc_lc_id="+k+"&");/(\<|undef|\%)/.test(i)?(j=j.alertHTML(),i=="%"?(g.innerHTML="<div>"+j+f+"</div>",l+=80):(g.innerHTML='<div style="text-align:center;width:100%;position:absolute;top:10px;left:0px;background-color:white;">'+j+"</div>",h=650,l=90)):g.innerHTML=f;f=e.createElement("div");f.id="btn_wrap";i=f.style;e=e.createElement("div");e.id="moviecommons-dialog-cancel";i.position="absolute";i.width="100%";i.clear="both";i.marginTop="10px";i.textAlign="center";i.bottom="10px";i.left="0px";e.style.cursor="pointer";i='<img src="';i+=/https/.test(location.protocol)?"https":"http";i+='://cp1.moviecommons.com/images_common/close.gif"';i+=' height="24" width="100" alt="close" />';e.innerHTML=i;f.appendChild(e);g.appendChild(f);this.init(g,{width:h,height:l});if(window.event)window.event.returnValue=!1;else for(g=arguments.callee.caller;g;)(h=g.arguments[0])&&h.constructor==MouseEvent&&h.preventDefault(),g=g.caller},mc_close_lc:function(){for(var a=document.getElementsByTagName("object"),b=0;b<a.length;b++){var c=a[b];try{c.js_lc_close()}catch(d){}}},cancel:function(){MC.DialogWindow.mc_close_lc();MC.id("moviecommons-dialog-window")&&MC.id("moviecommons-dialog-window").parentNode.removeChild(MC.id("moviecommons-dialog-window"));MC.id("moviecommons-dialog-overlay")&&MC.id("moviecommons-dialog-overlay").parentNode.removeChild(MC.id("moviecommons-dialog-overlay"))},iefix:function(a){if(/MSIE (6\.|5\.5)/.test(navigator.userAgent))for(var a=a||"visible",b=document.getElementsByTagName("select"),c=b.length;c--;)b[c].style.visibility=a},get_scroll:function(){var a={};a.y=document.documentElement.scrollTop||document.body.scrollTop;a.x=document.documentElement.scrollLeft||document.body.scrollLeft;return a},get_page_size:function(a){var b,c,d,e,g,f,a=a||document.body;if(a!=document.body)try{b=a.getWidth(),c=a.getHeight(),e=a.scrollWidth,d=a.scrollHeight}catch(h){}else{window.innerHeight&&window.scrollMaxY?(f=document.body.scrollWidth,g=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(f=document.body.scrollWidth,g=document.body.scrollHeight):(f=document.body.offsetWidth,g=document.body.offsetHeight);if(window.innerHeight)b=window.innerWidth,c=window.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)b=document.documentElement.clientWidth,c=document.documentElement.clientHeight;else if(document.body)b=document.body.clientWidth,c=document.body.clientHeight;d=g<c?c:g;e=f<b?b:f}return{pw:e,ph:d,ww:b,wh:c,ys:g,yx:f}},set_overlay:function(a){if(a){var b=a.style,c=0;/MSIE/.test(navigator.userAgent)&&(c+=30);try{var d=this.get_page_size(a.parentNode);b.height=parseInt(d.ph)+c+"px";b.width=d.pw+"px"}catch(e){}}}};crc=new function(){this.hex=function(d,e,c,f){d=b(d,e,c);return a(d,e,"hex",f)};this.dec=function(d,e,c,f){d=b(d,e,c);return a(d,e,"dec",f)};this.bin=function(d,e,c,f){d=b(d,e,c);return a(d,e,"bin",f)};var a=function(a,b,c,f){b=b==16?16:32;if(f)return a;b==32&&(a=~a>>>0);if(c=="hex"){a=a.toString(16);for(b=b/4-a.length;b-- >0;)a="0"+a}else if(c=="bin"){for(var c=[],h="",f=0;f<b;f+=8,a>>>=8)c[f]=a&255;c=c.reverse();for(f in c)h+=String.fromCharCode(c[f]);a=h}return a},b=function(a,b,g){var b=b==16?16:32,f="_"+b,b=isNaN(g)?[0,65535,4294967295][b/16]:g,g=[];if(a&&a.constructor===[].constructor)g=a;else if(typeof a=="string"){var h,l,j=[];for(h=g=0;g<a.length;g++)l=a.charCodeAt(g),l<=255?j[h++]=l:(j[h++]=l>>>8,j[h++]=l&255);g=j}for(a=0;a<g.length;a++)b=c[f][(b^g[a])&255]^b>>>8;return b},c={_16:[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960],_32:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]}};function createHttpRequest(){if(window.ActiveXObject)try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(b){return null}}else return window.XMLHttpRequest?new XMLHttpRequest:null}function requestFile(a,b,c,d){var e=createHttpRequest();e.open(b,c,d);e.onreadystatechange=function(){e.readyState==4&&on_loaded(e)};e.send(a)}(function(){var a=function(a){for(var b={},c=0,d=a.length;c<d;c++)b[a.charAt(c)]=c;return b}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),b=function(a){a=a.charCodeAt(0)<<16|a.charCodeAt(1)<<8|a.charCodeAt(2);return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>18)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a&63)},c=function(a){if(a.match(/[^\x00-\xFF]/))throw"unsupported character found";for(var c=0;a.length%3;)a+="\0",c++;a=a.replace(/[\x00-\xFF]{3}/g,b);if(!c)return a;for(a=a.substr(0,a.length-c);c--;)a+="=";return a},d=window.btoa||c,e=function(b){b=a[b.charAt(0)]<<18|a[b.charAt(1)]<<12|a[b.charAt(2)]<<6|a[b.charAt(3)];return String.fromCharCode(b>>16)+String.fromCharCode(b>>8&255)+String.fromCharCode(b&255)},g=function(a){for(var a=a.replace(/[^A-Za-z0-9\+\/]/g,""),b=0;a.length%4;)a+="A",b++;a=a.replace(/[A-Za-z0-9\+\/]{4}/g,e);a.length-=[0,0,2,1][b];return a},f=window.atob||g,h=/[^\x00-\xFF]/g,l=function(a){a=a.charCodeAt(0);return a<2048?String.fromCharCode(192|a>>>6)+String.fromCharCode(128|a&63):String.fromCharCode(224|a>>>12&15)+String.fromCharCode(128|a>>>6&63)+String.fromCharCode(128|a&63)},j=function(a){return a.replace(h,l)},i=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,k=function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1);return b<224?String.fromCharCode((b&31)<<6|c&63):(a=a.charCodeAt(2),String.fromCharCode((b&15)<<12|(c&63)<<6|a&63))},m=function(a){return a.replace(i,k)};this.Base64||(Base64={fromBase64:g,toBase64:c,atob:f,btoa:d,utob:j,btou:m,encode:function(a){return d(j(a))},encodeURI:function(a){return d(j(a)).replace(/[+\/]/g,function(a){return a=="+"?"-":"_"}).replace(/=+$/,"")},decode:function(a){return m(f(a.replace(/[-_]/g,function(a){return a=="-"?"+":"/"})))}})})();
