Index: sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js
===================================================================
--- sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js	(revision 6914)
+++ sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js	(revision 6915)
@@ -102,69 +102,6 @@
 
 function printEvents(){
-
-/* 	var print = $('.fc-header-right').find('.fc-button.fc-button-agendaDay').clone();
-	$('.fc-header-right').find('.fc-button-year').toggleClass('fc-corner-right');
-	print.addClass('fc-corner-right');
-	print.addClass('fc-button-print');
-	print.removeClass('fc-button-agendaDay');
-	print.removeClass('fc-corner-left');
-	print.find('.fc-button-content').html('Imprimir');
-	$('.fc-header-right').append(print);
-	$('.fc-button-print').click(function(){
- 		var window_print = window.open('','ExpressoCalendar','width=800,height=600,scrollbars=yes');
-		var calendar = document.getElementById('calendar').cloneNode(true);
-		$(calendar).css('width', '77%');
-		$(calendar).fullCalendar('render');
-		bdhtml = $(calendar).find('.fc-content').clone().html();		
-		window_print.document.open();		
-		window_print.document.write('<link rel="stylesheet" type="text/css" href="../prototype/modules/calendar/css/reset.css">'+
-		'<link rel="stylesheet" type="text/css" href="../prototype/plugins/fullcalendar/fullcalendar.css">'+
-		'<link rel="stylesheet" type="text/css" href="../prototype/plugins/fullcalendar/fullcalendar.print.css" media="print">'+bdhtml);
-		window_print.document.close();
-		window_print.print();  
-	});	 */
-
-
 	//var html = DataLayer.render( path + 'templates/attendee_permissions.ejs', {} );
 	var print = $('.fc-header-right').find('.fc-button.fc-button-agendaDay').clone();
-/*
-       $('.fc-header-right').find('.fc-button-year').toggleClass('fc-corner-right');
-       print.addClass('fc-corner-right');
-       print.addClass('fc-button-print');
-       print.removeClass('fc-button-agendaDay');
-       print.removeClass('fc-corner-left');
-       print.find('.fc-button-content').html('Imprimir');
-       $('.fc-header-right').append(print);
-       $('.fc-button-print').click(function(){
-			var window_print = window.open('','ExpressoCalendar','width=600,height=600,scrollbars=yes');        
-			window_print.document.open();
-			
-			
-			var end = $("#calendar").fullCalendar('getView').visEnd.getTime()/1000;
-			var start = $("#calendar").fullCalendar('getView').visStart.getTime()/1000;
-			var criteria = DataLayer.criteria("schedulable:calendar", {'start':start, 'end':end} );
-				
-			var data = DataLayer.get("schedulable:print", criteria);
-				
-			
-			if($("#calendar").fullCalendar('getView').name == "month"){
-				
-				window_print.document.write('<link rel="stylesheet" type"text/css" href="../prototype/modules/calendar/css/calendar_print.css" >' + DataLayer.render('templates/print_month.ejs', {
-					'InfoPage' : $("#calendar").fullCalendar('getView').title,
-					'days' : data
-				} ));
-			} else if($("#calendar").fullCalendar('getView').name == "agendaWeek"){
-				
-				window_print.document.write('<link rel="stylesheet" type"text/css" href="../prototype/modules/calendar/css/calendar_print.css" >' + DataLayer.render('templates/print_week.ejs', {
-					'InfoPage' : $("#calendar").fullCalendar('getView').title,
-					'days' : data
-				} ));
-			}
-			//window_print.document.close();
-			window_print.print();
-	   });
-*/
-
-
 
 	$('.fc-header-right').find('.fc-button-year').toggleClass('fc-corner-right');
@@ -186,6 +123,5 @@
 			window_print.document.write(DataLayer.render('templates/calendar_month_print.ejs', {
 				'InfoPage' : $("#calendar").fullCalendar('getView').title,
-				'days' : data,
-				'title': 'Calendário Mensal'
+				'days' : data
 			} ));
 		}
@@ -193,34 +129,25 @@
 			window_print.document.write(DataLayer.render('templates/calendar_day_print.ejs', {
 				'InfoPage' : $("#calendar").fullCalendar('getView').title,
-				'days' : data,
-				'title': 'Calendário Diário'
+				'days' : data
 			} ));
-		}	
-		
+		}
 		if($("#calendar").fullCalendar('getView').name == "agendaWeek"){
-				
-				window_print.document.write(DataLayer.render('templates/calendar_week_print.ejs', {
-					'InfoPage' : $("#calendar").fullCalendar('getView').title,
-					'days' : data,
-					'title': 'Calendário Semanal'
-				} ));
-				
-				var aux = 0;
-				
-				
-				setTimeout(function(){$(window_print.document).find(".all-day").each(function(){
-					if($(this).height() > aux)
-						aux = $(this).height();
-				})
-				
-				$(window_print.document).find(".all-day").each(function(){
-					$(this).height(aux);
-				});
-				$(window_print.document).find(".all-day-line .write").height(aux);
-				aux = 0;
-				},20);
-				
+			window_print.document.write(DataLayer.render('templates/calendar_week_print.ejs', {
+				'InfoPage' : $("#calendar").fullCalendar('getView').title,
+				'days' : data
+			}));
+			
+			var aux = 0;
+			setTimeout(function(){$(window_print.document).find(".all-day").each(function(){
+				if($(this).height() > aux)
+					aux = $(this).height();
+			});
+			$(window_print.document).find(".all-day").each(function(){
+				$(this).height(aux);
+			});
+			$(window_print.document).find(".all-day-line .write").height(aux);
+			aux = 0;
+			},20);
 		}
-		}	
 		if($("#calendar").fullCalendar('getView').name == "year"){	
 			window_print.document.write(DataLayer.render('templates/calendar_year_print.ejs', {
