var OP=(function(){return{widget:{}}})();OP.utility=(function(){var A=[];return{observe:function(C,B,D){C["on"+B]=D},addLoadProcess:function(B){A.push(B)},onLoad:function(){for(var B=0;B<A.length;B++){A[B].call()}if(!document.getElementById("content_s")){return }if(document.getElementById("content_s").offsetHeight==0){OP.utility.previewObserver=OP.periodicalExecuter.call();OP.utility.previewObserver.init(function(){if(document.getElementById("content_s").offsetHeight!=0){OP.utility.setupDisplay();OP.utility.previewObserver.stop()}},0.5)}else{OP.utility.setupDisplay()}},setupDisplay:function(){OP.utility.getMaxAndAdjust(document.getElementById("content_s"));OP.utility.getMaxAndAdjust(document.getElementById("column_wrap"));document.getElementById("content_s").style.paddingBottom=document.getElementById("footer").offsetHeight+"px"},getMaxAndAdjust:function(E){var B=0,F=/\S/,D,C;if(!E){return }for(D=0;D<E.childNodes.length;D++){if((E.childNodes[D].nodeType==3)&&(!F.test(E.childNodes[D].nodeValue))){E.removeChild(E.childNodes[D]);D--}else{B=Math.max(E.offsetHeight,E.childNodes[D].offsetHeight,B)}}for(C=0;C<E.childNodes.length;C++){if(E.childNodes[C].className!="forclear"){E.childNodes[C].style.height=(B+1)+"px"}}}}})();OP.widget.collection=(function(){var B=[],A=[];return{add:function(C,D){B.push({widget:C,observe_class:D})},load:function(){var F,E,D,C,G;F=document.getElementsByTagName("div");for(E=0;E<B.length;E++){for(D=0;D<F.length;D++){if(F[D].className==B[E].observe_class){C=B[E].widget.call();G=C.construct(F[D]);A[G]=C}}}},getWidgetInstance:function(C){return A[C]}}}());OP.periodicalExecuter=(function(){var A,B;return{callback:null,init:function(D,C){this.callback=D;A=C;this.execute()},stop:function(){clearInterval(B)},execute:function(){var C=this;B=setInterval(function(){C.callback.call(C)},A*1000)},getCallback:function(){return _callback}}});OP.utility.addLoadProcess(OP.widget.collection.load);OP.utility.observe(window,"load",OP.utility.onLoad);