SplittedLists=function(A){var C=getElementsByAttributeValue("class","splitted",A);
for(var B=0;
B<C.length;
B++){if(C[B].tagName.toLowerCase()=="ul"||C[B].tagName.toLowerCase()=="ol"){this.splitList(C[B])
}}};
SplittedLists.prototype.splitList=function(F){var D=document.createElement(F.tagName.toLowerCase());
var C=document.createElement(F.tagName.toLowerCase());
ClassName.remove(F,"splitted");
D.className=C.className=F.className;
F.parentNode.replaceChild(C,F);
C.parentNode.insertBefore(D,C);
var A=F.getElementsByTagName("li");
var E=Math.round(A.length/2);
if(F.tagName.toLowerCase()=="ol"){C.start=E+1
}if(A.length==1){C.parentNode.removeChild(C)
}for(var B=A.length-1;
B>E-1;
B--){C.insertBefore(A[B],C.firstChild)
}for(var B=E-1;
B>=0;
B--){D.insertBefore(A[B],D.firstChild)
}};
EventListener.addEvent(window,"load",function(){window.splittedLists=new SplittedLists()
});