triggered immediately before rendering of calendar is started.
some.attachEvent("onBeforeRender", function(){ //... some code here ... });