window.LE=window.LE||{};LE.AjaxPaging=LE.AjaxPaging||function(d,e){function g(){f=true;c(true)}function h(){f=false}function c(l){var m=jQuery(".taglib-page-iterator",a);if(l){m.show()}else{m.hide()}}function i(){c(false);jQuery("div.page-links a[href]",a).each(function(){var l=jQuery(this);l.attr("oldhref",l.attr("href"));l.attr("href","#");l.click(b)})}function j(){window.setTimeout(j,5000);if(!f){jQuery("div.page-links a.first, div.page-links a.next",a).filter(":last").click()}}function b(){f=true;var m=jQuery(this).attr("oldhref");var l=m;if(l.indexOf("?")<0){l+="?";l+=jQuery.param({p_p_state:"exclusive"})}else{l=l.replace(/p_p_state=(normal|maximized)/gi,"p_p_state=exclusive")}jQuery(".portlet-content-container, .portlet-borderless-container",a).fadeTo("normal",0.1,function(){var n=this;jQuery.get(l,null,function(o){o=o.replace(/p_p_state(=|%3D)exclusive/gi,"p_p_state$1normal");jQuery(n).html(o);jQuery(n).fadeTo("normal",1);i()});f=false});return false}var a=jQuery(d);var f=false;var k="le_ajax_paged";e=e||5000;if(a.length>1){a.each(function(){new LE.AjaxPaging(this,e)})}else{if(a.length==1&&!a.hasClass(k)){a.addClass(k);a.hover(g,h);i();window.setTimeout(j,e)}}return{}};LE.EmailPage=LE.EmailPage||function(){return{createPageSnapshot:function(c){jQuery("*[href]").each(function(){this.href=jQuery.trim(this.href);if(this.href==null||this.href==""){return}if(this.href.indexOf("/")==0){this.host=location.host;this.hostname=location.hostname}});jQuery("*[src]").each(function(){this.src=jQuery.trim(this.src);if(this.src==null||this.src==""){return}if(this.src.indexOf("/")==0){this.host=location.host;this.hostname=location.hostname}});jQuery("script").remove();jQuery("#p_p_id_1_WAR_chatportlet_").remove();jQuery(".lfr-dock").remove();jQuery("ul.child-menu").remove();jQuery("span.delete-tab").remove();jQuery("div#add-page").remove();jQuery(".portlet-borderless-bar").remove();jQuery(".portlet-small-icon-bar").remove();jQuery(".lfr-actions, .lfr-meta-actions").remove();var a=jQuery("#banner .logo a");a.html("<img src='"+a.css("background-image").replace(/url\((.*)\)/gi,"$1")+"'/>");jQuery("*").each(function(){jQuery(this).css(jQuery(this).css())});var d=document.createElement("form");d.style.display="none";d.setAttribute("name","savePageForEmailForm");d.setAttribute("action",c);d.setAttribute("method","post");var b=document.createElement("input");b.setAttribute("type","hidden");b.setAttribute("name","_emailthispage_WAR_lebaseportlet_content");b.setAttribute("value",jQuery("body").html());d.appendChild(b);document.body.appendChild(d);d.submit()}}}();jQuery.fn.css2=jQuery.fn.css;jQuery.fn.css=function(){if(arguments.length){return jQuery.fn.css2.apply(this,arguments)}var b=["font-family","font-size","font-weight","font-style","color","text-transform","text-decoration","letter-spacing","word-spacing","line-height","text-align","vertical-align","direction","background-color","background-image","background-repeat","background-position","background-attachment","opacity","width","height","top","right","bottom","left","margin-top","margin-right","margin-bottom","margin-left","padding-top","padding-right","padding-bottom","padding-left","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","position","display","visibility","z-index","overflow-x","overflow-y","white-space","clip","float","clear","cursor","list-style-image","list-style-position","list-style-type","marker-offset"];var a=b.length,d={};for(var c=0;c<a;c++){d[b[c]]=jQuery.fn.css2.call(this,b[c])}return d};