function getwindow()
				{
				var d = document, v = window, w, h, l, t;
				if( typeof v.innerWidth==='number' )
				{
				 w = v.innerWidth;
				 h = v.innerHeight;
				 l = v.pageXOffset;
				 t = v.pageYOffset;
				}
				else if( ( v = d.documentElement ) &&    typeof v.clientWidth==='number' &&    v.clientWidth !== 0 || ( v = d.body ) )
				{
				w = v.clientWidth;
				h = v.clientHeight;
				 l = v.scrollLeft;
				 t = v.scrollTop;
				 }
				 return {w: w, h: h, l: l, t: t};

				 }

