火狐浏览器获取浏览器高度和谷歌不同 先要判断是否是火狐浏览器
var bodyHeight;
if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
bodyHeight = document.documentElement.scrollHeight;
}else{
bodyHeight = document.body.scrollHeight;
}