// detect browser function browserStats() { var ua = " " + navigator.userAgent.toLowerCase(); this.nn = ua.indexOf( "mozilla" ) > 0; ua.indexOf( "compatible" ) > 0 ? this.nn = false : ""; this.ie = ua.indexOf( "msie" ) > 0; this.version = parseInt( navigator.appVersion ); this.mac = ua.indexOf( "mac" ) > 0; this.ie ? ua.indexOf( "msie 5" ) > 0 ? this.version = 5 : "" : ""; this.ie ? ua.indexOf( "msie 6" ) > 0 ? this.version = 6 : "" : ""; return this; } var b = new browserStats(); //Global Netscape browser resize fix if( b.nn ) {widthCheck = window.innerWidth;heightCheck = window.innerHeight;window.onresize = resizeFix;} function resizeFix() {widthCheck != window.innerWidth || heightCheck != window.innerHeight ? window.location.reload( true ) : "";}