rem: return( parseInt( ( MonthViewBoxHeight - EventBoxHeight ) / EventBoxHeight ) ); 
add: this.numberOfEventsToShow = parseInt( ( MonthViewBoxHeight - EventBoxHeight ) / EventBoxHeight ); 
context: MonthView.prototype.getNumberOfEventsToShow = function monthView_getNumberOfEventsToShow( ){   //get the style height of the month view box.   var MonthViewBoxHeight = document.defaultView.getComputedStyle(document.getElementById("month-week-4-day-4-box"), "").getPropertyValue("height");   MonthViewBoxHeight = parseInt( MonthViewBoxHeight ); //strip off the px at the end      //get the height of an event box.   var Element = document.getElementsByAttribute( "eventbox", "monthview" )[0];   var EventBoxHeight = document.defaultView.getComputedStyle( Element, "" ).getPropertyValue( "height" );   EventBoxHeight = parseInt( EventBoxHeight ); //strip off the px at the end   //calculate the number of events to show.   dump( "\n\n"+( MonthViewBoxHeight - EventBoxHeight ) / EventBoxHeight );   dump( "\n"+MonthViewBoxHeight );   dump( "\n"+EventBoxHeight );   return( parseInt( ( MonthViewBoxHeight - EventBoxHeight ) / EventBoxHeight ) );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ede3be3e455c257c3f0066989dbf2653bb2c6a27/monthView.js/buggy/calendar/resources/content/monthView.js