function findWindowHeight() {
	var height = 0;

	if(typeof(window.innerHeight) == 'number') {
		height = window.innerHeight;
	} else if(document.documentElement && document.documentElement.clientHeight) {
		height = document.documentElement.clientHeight;
	} else if(document.body && document.body.clientHeight) {
		height = document.body.clientHeight;
	}

	return height;
}
function findWindowWidth() {
	var width = 0;

	if(typeof(window.innerWidth) == 'number') {
		width = window.innerWidth;
	} else if(document.documentElement && document.documentElement.clientWidth) {
		width = document.documentElement.clientWidth;
	} else if(document.body && document.body.clientWidth) {
		width = document.body.clientWidth;
	}

	return width;
}
function findX(o){var x=0;if(o.offsetParent){while(o.offsetParent){x+=o.offsetLeft;o=o.offsetParent;};}else if(o.x){x+=o.x;};return x;}
function findY(o){var y=0;if(o.offsetParent){while(o.offsetParent){y+=o.offsetTop;o=o.offsetParent;};}else if(o.y){y+=o.y;};return y;}
function findW(o){var w=o.offsetWidth;if(w=='undefined'){w=o.style.pixelWidth;};return w;}
function findH(o){var h=o.offsetHeight;if(h=='undefined'){h=o.style.pixelHeight;};return h;}

