Ojay.onContentReady("body",function(){Ojay("a").forEach(function(A){A.node.hideFocus=true;if(A.hasClass("new-window")){A.node.target="_blank";var B=A.node.title;A.node.title=B?B+" (Opens in a new window)":"This link opens in a new window"}})});var submitPollForm=function(C,G,A){A.getButtons().forEach("createHiddenFields");var E=C.node.action||"",F=C.descendants("input[type=radio]").toArray(),B=F.filter("checked")[0];if(!B){return }var D={ajax:true};D[G]=B.value;C.descendants("input[type=hidden], input[type=submit]").forEach(function(H){D[H.node.name]=H.node.value});Ojay.HTTP.POST(E,D,{onSuccess:function(H){C.insert(H.responseText,"after").hide()}})}.methodize();var hijackPollForm=function(D,B,C){var G=D.descendants("input[type=radio]"),F=G.siblings("label"),E={};G.forEach(function(H,I){E[H.node.id]={radio:H.node,label:F[I]}});if(!C){return }var A=new YAHOO.widget.ButtonGroup(C);F.hide();A.getButtons().forEach(function(J){var I=E[J.get("id")].label;var L=I.innerHTML;var N,K,M,H;if(L.length>36){K=L.split(/\s+/);M=0;H=0;N="";while(H<K.length){if(M+K[H].length>=36){N+="<br>"+K[H];M=0}else{N+=" "+K[H];M+=K[H].length+1}H++}L=N}if(I){J.set("label",L)}});D.on("submit",Ojay.stopEvent)._(submitPollForm,B,A)}