(function(){function e(b,a){!a.condition()&&(new Date).getTime()-a.inittime<a.timeout?setTimeout(function(){e(b,a)},100):(a.callback(),a._mask&&a._mask.destroy())}zk.gapi.GOOGLE_API_LOADING_TIMEOUT=1E4;zk.gapi.loadAPIs=function(b,a,c,d){d={condition:function(){return window.google&&window.google.load},callback:function(){a();delete zk.gapi.LOADING}};d.message=c;d.condition()?a():(zk.gapi.waitUntil(b,d),zk.gapi.LOADING||(zk.gapi.LOADING=!0,d.condition()||zk.loadScript("http://www.google.com/jsapi?key="+
zk.googleAPIkey)))};zk.gapi.waitUntil=function(b,a){a.inittime=a.inittime||(new Date).getTime();a.timeout=a.timeout||zk.gapi.GOOGLE_API_LOADING_TIMEOUT;var c={};c.anchor=b;a.message&&(c.message=a.message);a._mask=new zk.eff.Mask(c);e(b,a)}})();
