equal
deleted
inserted
replaced
213 myHeight = document.documentElement.clientHeight; |
213 myHeight = document.documentElement.clientHeight; |
214 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { |
214 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { |
215 myHeight = document.body.clientHeight; |
215 myHeight = document.body.clientHeight; |
216 } |
216 } |
217 return myHeight; |
217 return myHeight; |
218 } |
218 } |
219 |
219 |
220 function getWidth() { |
220 function getWidth() { |
221 var myWidth = 0; |
221 var myWidth = 0; |
222 if( typeof( window.innerWidth ) == 'number' ) { |
222 if( typeof( window.innerWidth ) == 'number' ) { |
223 myWidth = window.innerWidth; |
223 myWidth = window.innerWidth; |