jQuery.template("Tmpl-knoema-dsviewer-sidebar-tabs",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push(""),typeof allTabs!="undefined"&&allTabs!=null&&(typeof allTabs=="function"?allTabs.call($item):allTabs)&&(__.push(''),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/dsviewer/sidebar-tabs.htm","Tools"))),__.push("<\/a>")),__.push(' '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/dsviewer/sidebar-tabs.htm","Details"))),__.push("<\/a> "),typeof health!="undefined"&&health!=null&&(typeof health=="function"?health.call($item):health)&&(__.push(''),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/dsviewer/sidebar-tabs.htm","Health"))),__.push("<\/a>")),__.push(" "),typeof history!="undefined"&&history!=null&&(typeof history=="function"?history.call($item):history)&&(__.push(''),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/dsviewer/sidebar-tabs.htm","Archive"))),__.push("<\/a>")),__.push("");return __});jQuery.template("Tmpl-knoema-dsviewer-share-dialog",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('
<\/a><\/a> <\/div>');return __});jQuery.template("Tmpl-knoema-dsviewer-selection-too-huge",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('
<\/div> '),typeof!limitExceeded!="undefined"&&!limitExceeded!=null&&(typeof!limitExceeded=="function"?(!limitExceeded).call($item):!limitExceeded)?(__.push("

"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/dsviewer/selection-too-huge.htm","The selection you have made
is too huge for interactive visualization.")),__.push("<\/h2>

"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/dsviewer/selection-too-huge.htm","Either reduce your selection to fewer than 100 time series<\/strong> or download the selected data<\/strong> to explore it further.")),__.push(" <\/p> ")):!0&&(__.push("

"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/dsviewer/selection-too-huge.htm","The selection you have made
is too huge")),__.push("<\/h2>

"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/dsviewer/selection-too-huge.htm","Please reduce it to 100 timeseries<\/strong>
to load interactive visualizations
or reduce to {limit} timeseries to request downloads<\/strong>.",{limit:downloadSeriesLimit})),__.push(" <\/p> ")),__.push(" "),typeof datasetImageUrl!="undefined"&&datasetImageUrl!=null&&(typeof datasetImageUrl=="function"?datasetImageUrl.call($item):datasetImageUrl)&&(__.push("

"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/dsviewer/selection-too-huge.htm","Or alternatively you can [download all data|href={datasetImageUrl}] at once in a single file.",{datasetImageUrl:datasetImageUrl})),__.push(" ")),__.push(" <\/div> <\/div>");return __});jQuery.template("Tmpl-knoema-dsviewer-gadget-export-dialog",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('

<\/em>'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('<\/h2> <\/span> '),typeof isPremiumUser!="undefined"&&isPremiumUser!=null&&(typeof isPremiumUser=="function"?isPremiumUser.call($item):isPremiumUser)?(__.push('