function get_ww() {
var frameWidth=800;
if (self.innerWidth)
frameWidth = self.innerWidth;
else if (document.documentElement && document.documentElement.clientWidth)
frameWidth = document.documentElement.clientWidth;
else if (document.body)
frameWidth = document.body.clientWidth;
return frameWidth;
}
function get_wh() {
var frameHeight=640;
if (self.innerHeight)
frameHeight = self.innerHeight;
else if (document.documentElement && document.documentElement.clientHeight)
frameHeight = document.documentElement.clientHeight;
else if (document.body)
frameHeight = document.body.clientHeight;
return frameHeight;
}