// JavaScript Document //alert(navigator.userAgent); //alert(''); //WINDOWS OS if (navigator.appVersion.indexOf("Win")!=-1){ //Fix style for Chrome2 if (/Chrome[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for Chrome/x.x; var chversion=new Number(RegExp.$1) // capture x.x portion and store as a number if (chversion>10) document.write(''); } //Fix style for IE if (/MSIE[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for MSIE/x.x; var msieversion=new Number(RegExp.$1) // capture x.x portion and store as a number if (msieversion>6) document.write(''); } // Fix style for opera if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for Opera/x.x or Opera x.x (ignoring remaining decimal places); var oprversion=new Number(RegExp.$1) // capture x.x portion and store as a number if (oprversion>9) document.write('') } // Fix style for safari if (/Safari[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ //test for Safari/x.x; var safversion=new Number(RegExp.$1) // capture x.x portion and store as a number if (safversion>4) document.write('') } } //MacOS if (navigator.appVersion.indexOf("Mac")!=-1){ } //UNIX if (navigator.appVersion.indexOf("X11")!=-1){ }