$('.commentInput input').bind('focus',function(){
$('.commentInput').css('position','static ');
//或者$('#viewport').height($(window).height()+'px');
}).bind('blur',function(){
$('.commentInput').css({'position':'fixed','bottom':'0'});
//或者$('#viewport').height('auto');
});