function windowSize() {
 	var intWidth = 0;
	var intHeight = 0;
 	if (typeof (window.innerWidth) == 'number') {
		/* Browser is NOT Internet Explorer */
		intWidth = window.innerWidth;
		intHeight = window.innerHeight;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		/* Browser is Internet Explorer 6+ in "standards compliant" (Heh) mode. */
		intWidth = document.documentElement.clientWidth;
		intHeight = document.documentElement.clientHeight;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		/* Browser is Internet Explorer 4 compatible */
		intWidth = document.body.clientWidth;
		intHeight = document.body.clientHeight;
	}
	return Array(intWidth, intHeight);
}

function windowHeight() {
	var intHeight = 0;
 	if (typeof (window.innerWidth) == 'number') {
		/* Browser is NOT Internet Explorer */
		intHeight = window.innerHeight;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		/* Browser is Internet Explorer 6+ in "standards compliant" (Heh) mode. */
		intHeight = document.documentElement.clientHeight;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		/* Browser is Internet Explorer 4 compatible */
		intHeight = document.body.clientHeight;
	}
	return intHeight;
}

function windowWidth() {
 	var intWidth = 0;
 	if (typeof (window.innerWidth) == 'number') {
		/* Browser is NOT Internet Explorer */
		intWidth = window.innerWidth;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		/* Browser is Internet Explorer 6+ in "standards compliant" (Heh) mode. */
		intWidth = document.documentElement.clientWidth + 14;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		/* Browser is Internet Explorer 4 compatible */
		intWidth = document.body.clientWidth;
	}
	return intWidth;
}

