$(document).ready(function(){
$("#divtimetable").scrollTop($("#scrollUpLines").text());
$(".DivShowMaxInfo").hide();
$(".maxinfo").live({
mouseenter: function(){$(this).css('text-decoration', 'underline');},
mouseleave: function(){$(this).css('text-decoration', 'none');}
});
$(".ShowMaxInfo").live( "click", function(e) {
$(this).after("
");
var tObj = $(this).next(".DivShowMaxInfo");
$("#overlay").show().css('height',$(document).height()+300);
tObj.css('left', ($(document).width() - tObj.width()) / 2).css('top', $(document).scrollTop()+10);
tObj.slideDown('slow');
});
$(".ShowMaxInfo").live({
mouseenter: function(){$(this).css('text-decoration', 'underline');},
mouseleave: function(){$(this).css('text-decoration', 'none');}
});
$("#CloseShowMaxInfo").live({
click: function(){
$(".DivShowMaxInfo").hide();
$("#overlay").hide();
}
});
});