            function windowHeight() {
                var height = 0;
                if( typeof( window.innerHeight ) == 'number' ) {
                //Non-IE
                height = window.innerHeight;
                } else if( document.documentElement && document.documentElement.clientHeight ) {
                //IE 6+ in 'standards compliant mode'
                height = document.documentElement.clientHeight;
                } else if( document.body && document.body.clientHeight ) {
                height = document.body.clientHeight;                                                                                                                   }
                return parseInt(height);
            }	
            
            function windowWidth() {
                var width = 0;
                if( typeof( window.innerWidth ) == 'number' ) {
                //Non-IE
                width = window.innerWidth;
                } else if( document.documentElement && document.documentElement.clientWidth ) {
                //IE 6+ in 'standards compliant mode'
                width = document.documentElement.clientWidth;
                } else if( document.body && document.body.clienWidth ) {
                width = document.body.clientWidth;                                                                                                                   }
                return parseInt(width);
            }  
