window.google||(google={});if(!window.google.update)google.update={};google.update.c=[];function _GU_OnloadHandlerAdd(a,b){var c=google.update.c.length;typeof b=="number"&&b<c&&b>=0&&(c=b);google.update.c.splice(c,0,a)}function _GU_OnloadBody(a){var b=window.google.update.c;if(b)for(var c=0;c<b.length;++c)try{b[c](a)}catch(d){}}
function _GU_getPlatform(){if(window.google.update.d)return window.google.update.d;window.google.update.d=navigator.platform=="Win32"?"win":navigator.platform=="WinCE"?"wince":/linux/i.test(navigator.platform)?"linux":/mac/i.test(navigator.platform)?"mac":"win";return window.google.update.d}
function _GU_getBrowserId(){if(window.google.update.a)return window.google.update.a;window.google.update.a=0;if(navigator.userAgent.indexOf("Opera")!=-1)window.google.update.a=0;else if(navigator.userAgent.indexOf("Firefox")!=-1)window.google.update.a=3;else if(navigator.userAgent.indexOf("MSIE")!=-1)if(navigator.userAgent.indexOf("Windows CE")!=-1)window.google.update.a=0;else{if(navigator.userAgent.indexOf("PPC")==-1&&navigator.userAgent.indexOf("Smartphone")==-1)window.google.update.a=2}else if(navigator.userAgent.indexOf("Chrome")!=
-1)window.google.update.a=4;else if(navigator.userAgent.indexOf("Safari")!=-1)window.google.update.a=0;return window.google.update.a}function _GU_setCookie(a,b,c){a=a+"="+escape(b);-1!=c&&(b=new Date,b.setMinutes(b.getMinutes()+c),a+=";expires="+b.toUTCString());document.cookie=a}function _GU_setSessionCookie(a,b){_GU_setCookie(a,b,-1)}
function _GU_getCookie(a){if(document.cookie){var b=document.cookie.indexOf(a+"=");if(b!=-1&&(b==0||document.cookie.substring(b-2,b-1)==";")){b=b+a.length+1;a=document.cookie.indexOf(";",b);if(a==-1)a=document.cookie.length;return unescape(document.cookie.substring(b,a))}}return""}function _GU_removeCookie(a){_GU_setCookie(a,"",0)}function _GU_areCookiesSupported(){_GU_setCookie("test","1",1);var a=_GU_getCookie("test")=="1";_GU_removeCookie("test");return a}
function _GU_initIid(){function a(){function b(){for(var a=65536,a=Math.floor(Math.random()*a),a=a.toString(16);a.length<4;)a="0"+a;return a.toUpperCase()}return"{"+b()+b()+"-"+b()+"-"+b()+"-"+b()+"-"+b()+b()+b()+"}"}var b=_GU_getCookie("iid");b?window.google.update.b=b:_GU_areCookiesSupported()?(window.google.update.b=a(),_GU_setSessionCookie("iid",window.google.update.b)):window.google.update.b="{11112222-3333-4444-5555-666677778888}"}
function _GU_getIid(){window.google.update.b||_GU_initIid();return window.google.update.b}function _GU_createAppInfo(a,b,c,d){var e={};e.guid=a;e.name=b;e.needsAdmin=c;e.customParams=d;return e}
function GU_BuildTag(a,b){b||(b="");for(var c="",d=0;d<a.length;++d)d==0?(c+="appguid="+a[d].guid,c+=b):c+="&appguid="+a[d].guid,c+="&appname="+encodeURIComponent(a[d].name).replace(/~/g,"%7E").replace(/\!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\'/g,"%27"),c+="&needsadmin="+a[d].needsAdmin,a[d].customParams&&(c+=a[d].customParams);return c}
function GU_buildGlobalExtra(a,b){var c="&iid="+_GU_getIid()+"&lang="+a+"&browser="+_GU_getBrowserId()+"&usagestats=";c+=b?"1":"0";return c}
function _GU_isClickOnceAvailable(){function a(b){var a=navigator.userAgent.match(/\.NET CLR [0-9.]+/g);if(a==null||a.length==0)return false;b=b.split(".");if(b.length==0)return false;for(var d=0;d<a.length;++d){var e=a[d].match(/\.NET CLR ([0-9.]+)/);if(!(e==null||e.length!=2)){var e=e[1].split("."),f;if(f=e.length>0){var h=f=0,i=0;do h=f<b.length?Number(b[f]):0,i=f<e.length?Number(e[f]):0,++f;while((f<b.length||f<e.length)&&h==i);e=h<i?-1:h>i?1:0;f=e<=0}if(f)return true}}return false}return window.location.search.indexOf("noclickonce")>=
0?false:2!=_GU_getBrowserId()?false:a("2.0.0")}function _GU_isOneClickAvailable(){return window.google.update&&window.google.update.oneclick}function _GU_SetupOneClick(){_GU_SetupOneClickVersions(["9","8"])}
function _GU_SetupOneClickVersions(a){function b(b){var a=document.createElement("object");a.type="application/x-vnd.google.oneclickctrl."+b;a.id="OneClickCtrl";a.style.position="absolute";a.style.top="-5000px";a.style.left="-5000px";document.body.appendChild(a);return a}if((!window.google.update||!window.google.update.oneclick)&&"win"==_GU_getPlatform()){for(var c=0;c<a.length;++c){var d=a[c];try{new ActiveXObject("Google.OneClickCtrl."+d),window.google.update.oneclickPlugin_=b(d)}catch(e){var f=
navigator.mimeTypes["application/x-vnd.google.oneclickctrl."+d];if(f&&f.enabledPlugin)window.google.update.oneclickPlugin_=b(d)}if(window.google.update.oneclickPlugin_)break}if(window.google.update.oneclickPlugin_&&!(window.location.search.indexOf("nooneclick")>=0)&&!window.google.update.oneclick)window.google.update.oneclick={getOneClickVersion:function(){try{return window.google.update.oneclickPlugin_.GetOneClickVersion()}catch(a){return-1}},install:function(a,b,d,e,f){var k="//tools.google.com";
k+="/service/update2/installping";d=GU_buildGlobalExtra(b,d);d='"'+GU_BuildTag(a,d)+'"';for(c=0;c<a.length;++c){var g=k;g+="?appid="+encodeURIComponent(a[c].guid);g+="&lang="+encodeURIComponent(b);g+="&iid="+encodeURIComponent(_GU_getIid());g+="&installsource=oneclick";var l=new Image;l.src=g}a="/install "+d;try{window.google.update.oneclickPlugin_.Install(a,e,f)}catch(j){e=0;try{e=j.number,e||(a="",a=j.message?j.message:j,e=parseInt(a,"0x"==a.substring(0,2)?16:10))}catch(m){}if(isNaN(e)||0==e)e=
-2;f(e)}},launchAppCommand:function(a,b,c){if(window.google.update.oneclick.getOneClickVersion()<9)return false;try{return window.google.update.oneclickPlugin_.LaunchAppCommand(a,b,c),true}catch(d){return false}},getInstalledVersion:function(a,b){var c="";try{c=window.google.update.oneclickPlugin_.GetInstalledVersion(a,b)}catch(d){}return c}}}}function _GU_buildDlPath(a,b,c,d,e){b=GU_buildGlobalExtra(b,c);a=GU_BuildTag(a,b);return d+"/tag/s/"+encodeURIComponent(a)+e}
function _GU_buildDlPathNoTag(a,b,c,d,e){return d+e}function _GU_buildClickOncePath(a,b,c,d,e){b=GU_buildGlobalExtra(b,c);a=GU_BuildTag(a,b);return d+e+"?"+encodeURIComponent(a)};
