window.google||(google={});if(!window.google.update)google.update={};google.update.d=[];function _GU_OnloadHandlerAdd(c,b){var a=google.update.d.length;if(typeof b=="number")if(b<a&&b>=0)a=b;google.update.d.splice(a,0,c)}function _GU_OnloadBody(c){var b=window.google.update.d;if(b)for(var a=0;a<b.length;++a)b[a](c)}
function _GU_getPlatform(){if(window.google.update.e)return window.google.update.e;window.google.update.e=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.e}
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("Safari")!=
-1)window.google.update.a=0;return window.google.update.a}function _GU_setCookie(c,b,a){var d=c+"="+escape(b);if(-1!=a){var e=new Date;e.setMinutes(e.getMinutes()+a);d+=";expires="+e.toUTCString()}document.cookie=d}function _GU_setSessionCookie(c,b){_GU_setCookie(c,b,-1)}
function _GU_getCookie(c){if(document.cookie){var b=document.cookie.indexOf(c+"=");if(b!=-1&&(b==0||document.cookie.substring(b-2,b-1)==";")){b=b+c.length+1;var a=document.cookie.indexOf(";",b);if(a==-1)a=document.cookie.length;return unescape(document.cookie.substring(b,a))}}return""}function _GU_removeCookie(c){_GU_setCookie(c,"",0)}function _GU_areCookiesSupported(){_GU_setCookie("test","1",1);var c=_GU_getCookie("test")=="1";_GU_removeCookie("test");return c}
function _GU_initIid(){function c(){function a(){var d=65536,e=Math.floor(Math.random()*d),h=e.toString(16);while(h.length<4)h="0"+h;return h.toUpperCase()}return"{"+a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()+"}"}var b=_GU_getCookie("iid");if(b){window.google.update.b=b;return}if(!_GU_areCookiesSupported()){window.google.update.b="{11112222-3333-4444-5555-666677778888}";return}window.google.update.b=c();_GU_setSessionCookie("iid",window.google.update.b)}
function _GU_getIid(){window.google.update.b||_GU_initIid();return window.google.update.b}function _GU_createAppInfo(c,b,a,d){var e={};e.c=c;e.name=b;e.g=a;e.f=d;return e}
function GU_BuildTag(c,b){b||(b="");var a="";for(var d=0;d<c.length;++d){if(d==0){a+="appguid="+c[d].c;a+=b}else a+="&appguid="+c[d].c;a+="&appname="+encodeURIComponent(c[d].name).replace(/~/g,"%7E").replace(/\!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\'/g,"%27");a+="&needsadmin="+c[d].g;if(c[d].f)a+=c[d].f}return a}
function GU_buildGlobalExtra(c,b){var a="&iid="+_GU_getIid()+"&lang="+c+"&browser="+_GU_getBrowserId()+"&usagestats=";a+=b?"1":"0";return a}
function _GU_isClickOnceAvailable(){function c(b){function a(g){var i=g.match(/([0-9]+)\.([0-9]+)\.([0-9]+)/i);return i.slice(1)}function d(g,i){var j=0;for(;j<g.length;++j){var k=new Number(g[j]),l=new Number(i[j]);if(k<l)return-1;if(k>l)return 1}return 0}var e=navigator.userAgent.match(/\.NET CLR [0-9.]+/g);if(e!=null&&e.length>0){var h=a(b),f=0;for(;f<e.length;++f)if(d(h,a(e[f]))<=0)return true}return false}return c("2.0.0")}
function _GU_isOneClickAvailable(){return window.google.update&&window.google.update.oneclick}function _GU_SetupOneClick(){_GU_SetupOneClickVersions(["7","6"])}
function _GU_SetupOneClickVersions(c){function b(f){var g=document.createElement("object");g.type="application/x-vnd.google.oneclickctrl."+f;g.id="OneClickCtrl";document.body.appendChild(g);return g}if(window.google.update&&window.google.update.oneclick)return;if("win"!=_GU_getPlatform())return;for(var a=0;a<c.length;++a){var d=c[a];try{new ActiveXObject("Google.OneClickCtrl."+d);window.google.update.oneclickPlugin_=b(d)}catch(e){var h=navigator.mimeTypes["application/x-vnd.google.oneclickctrl."+
d];if(h&&h.enabledPlugin)window.google.update.oneclickPlugin_=b(d)}if(window.google.update.oneclickPlugin_)break}if(!window.google.update.oneclickPlugin_||window.location.search.indexOf("nooneclick")>=0)return;if(!window.google.update.oneclick)window.google.update.oneclick={getOneClickVersion:function(){try{return window.google.update.oneclickPlugin_.GetOneClickVersion()}catch(f){return-1}},install:function(f,g,i,j,k){var l="http://tools.google.com";l+="/service/update2/installping";var o=GU_buildGlobalExtra(g,
i),p='"'+GU_BuildTag(f,o)+'"';for(a=0;a<f.length;++a){var m=l;m+="?appid="+encodeURIComponent(f[a].c);m+="&lang="+encodeURIComponent(g);m+="&iid="+encodeURIComponent(_GU_getIid());m+="&installsource=oneclick";var q=new Image;q.src=m}var r="/install "+p;try{window.google.update.oneclickPlugin_.Install(r,j,k)}catch(s){var n=s.h;n||(n=-2);k(n)}},getInstalledVersion:function(f,g){var i="";if(this.getOneClickVersion()<7)return i;try{i=window.google.update.oneclickPlugin_.GetInstalledVersion(f,g)}catch(j){}return i}}}
function _GU_buildDlPath(c,b,a,d,e){var h=GU_buildGlobalExtra(b,a),f=GU_BuildTag(c,h);return d+"/tag/s/"+encodeURIComponent(f)+e}function _GU_buildDlPathNoTag(c,b,a,d,e){return d+"/"+e}function _GU_buildClickOncePath(c,b,a,d,e){var h=GU_buildGlobalExtra(b,a),f=GU_BuildTag(c,h);return d+e+"?"+encodeURIComponent(f)};
