function com_google_gwt_sample_i18n_I18N(){var k=window,j=document,s=k.external,C,u,p,o='',w={},F=[],B=[],n=[],y,A;if(!k.__gwt_stylesLoaded){k.__gwt_stylesLoaded={};}if(!k.__gwt_scriptsLoaded){k.__gwt_scriptsLoaded={};}var x=k.onload;k.onload=function(a){if(x){k.onload=x;k.onload(a);}p=true;v();};function t(){try{return s&&(s.gwtOnLoad&&k.location.search.indexOf('gwt.hybrid')== -1);}catch(a){return false;}}
function v(){if(C&&(u&&p)){var c=j.getElementById('com.google.gwt.sample.i18n.I18N');var b=c.contentWindow;b.__gwt_initHandlers=com_google_gwt_sample_i18n_I18N.__gwt_initHandlers;if(t()){b.__gwt_getProperty=function(a){return q(a);};}com_google_gwt_sample_i18n_I18N=null;b.gwtOnLoad(y,'com.google.gwt.sample.i18n.I18N',o);}}
function r(){var f,e=j.getElementById('__gwt_js_marker_com.google.gwt.sample.i18n.I18N');if(e){f=e.nextSibling;}else{j.write('<script id="__gwt_marker_com.google.gwt.sample.i18n.I18N"><\/script>');e=j.getElementById('__gwt_marker_com.google.gwt.sample.i18n.I18N');if(e){f=e.previousSibling;}}function c(b){var a=b.lastIndexOf('/');return a>=0?b.substring(0,a+1):'';}
;if(f&&f.src){o=c(f.src);}if(o==''){o=c(j.location.href);}else if(o.match(/^\w+:\/\//)){}else{var d=j.createElement('img');d.src=o+'clear.cache.gif';o=c(d.src);}if(e){e.parentNode.removeChild(e);}}
function z(){var f=document.getElementsByTagName('meta');for(var d=0,g=f.length;d<g;++d){var e=f[d],h=e.getAttribute('name'),b;if(h){if(h=='gwt:property'){b=e.getAttribute('content');if(b){var i,c=b.indexOf('=');if(c>=0){h=b.substring(0,c);i=b.substring(c+1);}else{h=b;i='';}w[h]=i;}}else if(h=='gwt:onPropertyErrorFn'){b=e.getAttribute('content');if(b){try{A=eval(b);}catch(a){alert('Bad handler "'+b+'" for "gwt:onPropertyErrorFn"');}}}else if(h=='gwt:onLoadErrorFn'){b=e.getAttribute('content');if(b){try{y=eval(b);}catch(a){alert('Bad handler "'+b+'" for "gwt:onLoadErrorFn"');}}}}}}
function m(a,b){return b in F[a];}
function l(a){var b=w[a];return b==null?null:b;}
function E(d,e){var a=n;for(var b=0,c=d.length-1;b<c;++b){a=a[d[b]]||(a[d[b]]=[]);}a[d[c]]=e;}
function q(d){var e=B[d](),b=F[d];if(e in b){return e;}var a=[];for(var c in b){a[b[c]]=c;}if(A){A(d,a,e);}throw null;}
B['locale']=function(){try{var g;if(g==null){var b=location.search;var h=b.indexOf('locale');if(h>=0){var e=b.substring(h);var c=e.indexOf('=')+1;var d=e.indexOf('&');if(d== -1){d=e.length;}g=e.substring(c,d);}}if(g==null){g=l('locale');}if(g==null){return 'default';}while(!m('locale',g)){var f=g.lastIndexOf('_');if(f== -1){g='default';break;}else{g=g.substring(0,f);}}return g;}catch(a){alert('Unexpected exception in locale detection, using default: '+a);return 'default';}};F['locale']={'default':0,'fr':1};B['user.agent']=function(){var d=navigator.userAgent.toLowerCase();var b=function(a){return parseInt(a[1])*1000+parseInt(a[2]);};if(d.indexOf('opera')!= -1){return 'opera';}else if(d.indexOf('webkit')!= -1){return 'safari';}else if(d.indexOf('msie')!= -1){var c=/msie ([0-9]+)\.([0-9]+)/.exec(d);if(c&&c.length==3){if(b(c)>=6000){return 'ie6';}}}else if(d.indexOf('gecko')!= -1){var c=/rv:([0-9]+)\.([0-9]+)/.exec(d);if(c&&c.length==3){if(b(c)>=1008)return 'gecko1_8';}return 'gecko';}return 'unknown';};F['user.agent']={'gecko':0,'gecko1_8':1,'ie6':2,'opera':3,'safari':4};com_google_gwt_sample_i18n_I18N.onInjectionDone=function(){C=true;v();};com_google_gwt_sample_i18n_I18N.onScriptLoad=function(){u=true;v();};r();z();var D;if(t()){D='hosted.html?com_google_gwt_sample_i18n_I18N';}else{try{E(['fr','safari'],'013649157915400475C2FE0FD10820BE');E(['default','opera'],'27C93E60FC368DE9F21CC608D0B4E31F');E(['default','ie6'],'30EBDB024832694A77A263961C76ADED');E(['fr','opera'],'5DF829B49707A1CBFA6C5C997F3DF6B9');E(['fr','gecko'],'7C4AA6746C0640B6B87958349A0E291C');E(['default','gecko1_8'],'882CE4C8BF4294EEC8BEE770A9265258');E(['default','gecko'],'90320F8FB618624826AAB969CFE81876');E(['fr','gecko1_8'],'90EB3AB00AFEE9A826A8AE4E01E19734');E(['default','safari'],'9696688AB1836FC1A496B765F43EE9E3');E(['fr','ie6'],'CEE704D8C78E69F9BE849F1B23F1A297');D=n[q('locale')][q('user.agent')];}catch(a){return;}D+='.cache.html';}j.write('<iframe id="com.google.gwt.sample.i18n.I18N" style="width:0;height:0;border:0" src="'+o+D+'"><\/iframe>');j.write("<script>com_google_gwt_sample_i18n_I18N.onInjectionDone('com.google.gwt.sample.i18n.I18N')<\/script>");}
com_google_gwt_sample_i18n_I18N.__gwt_initHandlers=function(i,e,j){var d=window,g=d.onresize,f=d.onbeforeunload,h=d.onunload;d.onresize=function(a){i();if(g)g(a);};d.onbeforeunload=function(a){var c=e();var b;if(f)b=f(a);if(c!==null)return c;return b;};d.onunload=function(a){j();if(h)h(a);};};com_google_gwt_sample_i18n_I18N();
