commentwindow.centerPopup();
$('form#comment input[type="submit"]').click(function(e){
$.invoke('Calendar_Item/AddLog', $('form#comment').serialize(), function(data){
commentwindow.centerPopup();
$('form#comment input[type="submit"]').click(function(e){
$.invoke('Calendar_Item/AddLog', $('form#comment').serialize(), function(data){