returns a viewport size (visible part of the window)
// FIXME: need more docs!! var d = dojo.doc, dd = d.documentElement, w = window, b = dojo.body(); if(dojo.isMozilla){ return {w: dd.clientWidth, h: w.innerHeight}; // Object }else if(!dojo.isOpera && w.innerWidth){ return {w: w.innerWidth, h: w.innerHeight}; // Object }else if (!dojo.isOpera && dd && dd.clientWidth){ return {w: dd.clientWidth, h: dd.clientHeight}; // Object }else if (b.clientWidth){ return {w: b.clientWidth, h: b.clientHeight}; // Object } return null; // Object