if(dojo.render.html.mozilla){  w = _document.documentElement.clientWidth; h = _window.innerHeight; }else if(!dojo.render.html.opera && _window.innerWidth){    w = _window.innerWidth; h = _window.innerHeight; } else if (!dojo.render.html.opera && dojo.exists(_document, "documentElement.clientWidth")){  var w2 = _document.documentElement.clientWidth;  if(!w || w2 && w2 < w) { w = w2; } h = _document.documentElement.clientHeight; } else if (dojo.body().clientWidth){  w = dojo.body().clientWidth; h = dojo.body().clientHeight; } return { width: w, height: h }; 
if(dojo.render.html.mozilla){  w = _document.documentElement.clientWidth; h = _window.innerHeight; }else if(!dojo.render.html.opera && _window.innerWidth){    w = _window.innerWidth; h = _window.innerHeight; } else if (!dojo.render.html.opera && dojo.exists(_document, "documentElement.clientWidth")){  var w2 = _document.documentElement.clientWidth;  if(!w || w2 && w2 < w) { w = w2; } h = _document.documentElement.clientHeight; } else if (dojo.body().clientWidth){  w = dojo.body().clientWidth; h = dojo.body().clientHeight; } return { width: w, height: h }; 
dojo.html.getViewport = function(){	//	summary	//	Returns the dimensions of the viewable area of a browser window	var _window = dojo.global();	var _document = dojo.doc();	var w = 0;	var h = 0;	if(dojo.render.html.mozilla){		// mozilla		w = _document.documentElement.clientWidth;		h = _window.innerHeight;	}else if(!dojo.render.html.opera && _window.innerWidth){		//in opera9, dojo.body().clientWidth should be used, instead		//of window.innerWidth/document.documentElement.clientWidth		//so we have to check whether it is opera		w = _window.innerWidth;		h = _window.innerHeight;	} else if (!dojo.render.html.opera && dojo.exists(_document, "documentElement.clientWidth")){		// IE6 Strict		var w2 = _document.documentElement.clientWidth;		// this lets us account for scrollbars		if(!w || w2 && w2 < w) {			w = w2;		}		h = _document.documentElement.clientHeight;	} else if (dojo.body().clientWidth){		// IE, Opera		w = dojo.body().clientWidth;		h = dojo.body().clientHeight;	}	return { width: w, height: h };	//	object}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js