if (document.images) document.write("IE4.0以上、あるいはNN3.0以上のブラウザです。";
else document.write("IE3以下、またはNN2以下のブラウザです。");
if (document.getElementById) document.write("IE5.0以上、あるいはNN6.0以上のブラウザです。";
else document.write("IE4.X以下、またはNN4.X以下のブラウザです。");
if (document.all) document.write("IE4以上のブラウザです。");
else document.write("IE3以下、またはIE以外のブラウザです。");
if (document.layers) document.write("NN4です。");
else document.write("NN4以外のブラウザです。");
if (document.all && document.getElementById) document.write("IE5以上のブラウザです。");
else document.write("IE4以下のブラウザです。");
if (!document.all && document.getElementById) document.write("NN6以上のブラウザです。");
else document.write("NN6以上のブラウザではありません。");