var foswiki={getMetaTag:function(e){if(null==foswiki.metaTags||0===foswiki.metaTags.length){var i=document.getElementsByTagName("META");i=i[0].parentNode.childNodes,foswiki.metaTags=[];for(var t=0;t<i.length;t++)null!=i[t].tagName&&"META"==i[t].tagName.toUpperCase()&&(foswiki.metaTags[i[t].name]=unescape(i[t].content))}return foswiki.metaTags[e]},getPreference:function(e,i){if(void 0!==foswiki.preferences&&void 0!==foswiki.preferences[e])return foswiki.preferences[e];var t=foswiki.getMetaTag(e);return void 0!==t?(void 0===foswiki.preferences&&(foswiki.preferences={}),foswiki.preferences[e]=unescape(t),t):(i&&window.alert("Trying to get preference '"+e+"' from server, but this feature is not implemented yet."),null)},getElementsByClassName:function(e,i,t){for(var n,a=t||"*",r=e.getElementsByTagName(a),s=i.replace(/\-/g,"\\-"),o=new RegExp("\\b"+s+"\\b"),f=[],c=0;c<r.length;c++)n=r[c],o.test(n.className)&&f.push(n);return f}};jQuery(document).ready((function(e){e(".foswikiCheckAllOn").click((function(i){e(".foswikiGlobalCheckable").attr("checked","checked")})),e(".foswikiCheckAllOff").click((function(i){e(".foswikiGlobalCheckable").removeAttr("checked")}))}));
