window.onresize = function(){
var width=$("body").width();
var height=$("body").height();
alert("height:"+height+" "+width)
}
window.onresize = function(){
var width=$("body").width();
var height=$("body").height();
alert("height:"+height+" "+width)
}