vendor/assets/elfinder_OLD/js/elfinder.full.js
function(element) {
			var pnode = element;
			var x = pnode.offsetLeft;
			var y = pnode.offsetTop;
			
			while ( pnode.offsetParent ) {
				pnode = pnode.offsetParent;
				if (pnode != document.body && pnode.currentStyle['position'] != 'static') {
					break;
				}
				if (pnode != document.body && pnode != document.documentElement) {
					x -= pnode.scrollLeft;
					y -= pnode.scrollTop;
				}
				x += pnode.offsetLeft;
				y += pnode.offsetTop;
			}
			
			return { x: x, y: y };
		}
function(element) {
			var pnode = element;
			var x = pnode.offsetLeft;
			var y = pnode.offsetTop;
			
			while ( pnode.offsetParent ) {
				pnode = pnode.offsetParent;
				if (pnode != document.body && pnode.currentStyle['position'] != 'static') {
					break;
				}
				if (pnode != document.body && pnode != document.documentElement) {
					x -= pnode.scrollLeft;
					y -= pnode.scrollTop;
				}
				x += pnode.offsetLeft;
				y += pnode.offsetTop;
			}
			
			return { x: x, y: y };
		}
function ( element ) { var pnode = element ; var x = pnode . offsetLeft ; var y = pnode . offsetTop ; while ( pnode . offsetParent ) { pnode = pnode . offsetParent ; if ( pnode != document . body && pnode . currentStyle [ 'position' ] != 'static' ) { break ; } if ( pnode != document . body && pnode != document . documentElement ) { x -= pnode . scrollLeft ; y -= pnode . scrollTop ; } x += pnode . offsetLeft ; y += pnode . offsetTop ; } return { x : x , y : y } ; }
IE & IE<9
IE & IE<9