if(typeof window.orientation !== 'undefined') { }