[5922] | 1 | /* |
---|
[5934] | 2 | * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved. |
---|
[5922] | 3 | * |
---|
| 4 | * http://www.lockon.co.jp/ |
---|
| 5 | */ |
---|
| 6 | gCssUA = navigator.userAgent.toUpperCase(); |
---|
[1328] | 7 | gCssBrw = navigator.appName.toUpperCase(); |
---|
| 8 | |
---|
| 9 | with (document) { |
---|
| 10 | write("<style type=\"text/css\"><!--"); |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | //WIN-IE |
---|
| 14 | if (gCssUA.indexOf("WIN") != -1 && gCssUA.indexOf("MSIE") != -1) { |
---|
| 15 | write(".fs10 {font-size: 62.5%; line-height: 150%; letter-spacing:1px;}"); |
---|
| 16 | write(".fs12 {font-size: 75%; line-height: 150%; letter-spacing:1.5px;}"); |
---|
| 17 | write(".fs14 {font-size: 87.5%; line-height: 150%; letter-spacing:2px;}"); |
---|
| 18 | write(".fs18 {font-size: 117.5%; line-height: 130%; letter-spacing:2.5px;}"); |
---|
| 19 | write(".fs22 {font-size: 137.5%; line-height: 130%; letter-spacing:3px;}"); |
---|
| 20 | write(".fs24 {font-size: 150%; line-height: 130%; letter-spacing:3px;}"); |
---|
| 21 | write(".fs30 {font-size: 187.5%; line-height: 125%; letter-spacing:3.5px;}"); |
---|
| 22 | write(".fs10n {font-size: 62.5%; letter-spacing:1px;}"); |
---|
| 23 | write(".fs12n {font-size: 75%; letter-spacing:1.5px;}"); |
---|
| 24 | write(".fs14n {font-size: 87.5%; letter-spacing:2px;}"); |
---|
| 25 | write(".fs18n {font-size: 117.5%; letter-spacing:2.5px;}"); |
---|
| 26 | write(".fs22n {font-size: 137.5%; letter-spacing:1px;}"); |
---|
| 27 | write(".fs24n {font-size: 150%; letter-spacing:1px;}"); |
---|
| 28 | write(".fs30n {font-size: 187.5%; letter-spacing:1px;}"); |
---|
| 29 | write(".fs12st {font-size: 75%; line-height: 150%; letter-spacing:1.5px; font-weight: bold;}"); |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | //WIN-NN |
---|
| 33 | if (gCssUA.indexOf("WIN") != -1 && gCssBrw.indexOf("NETSCAPE") != -1) { |
---|
| 34 | write(".fs10 {font-size:72%; line-height:130%;}"); |
---|
| 35 | write(".fs12 {font-size: 75%; line-height: 150%;}"); |
---|
| 36 | write(".fs14 {font-size: 87.5%; line-height: 140%;}"); |
---|
| 37 | write(".fs18 {font-size: 117.5%; line-height: 130%;}"); |
---|
| 38 | write(".fs22 {font-size: 137.5%; line-height: 130%;}"); |
---|
| 39 | write(".fs24 {font-size: 150%; line-height: 130%;}"); |
---|
| 40 | write(".fs30 {font-size: 187.5%; line-height: 120%;}"); |
---|
| 41 | write(".fs10n {font-size:72%;}"); |
---|
| 42 | write(".fs12n {font-size: 75%;}"); |
---|
| 43 | write(".fs14n {font-size: 87.5%;}"); |
---|
| 44 | write(".fs18n {font-size: 117.5%;}"); |
---|
| 45 | write(".fs22n {font-size: 137.5%;}"); |
---|
| 46 | write(".fs24n {font-size: 150%;}"); |
---|
| 47 | write(".fs30n {font-size: 187.5%;}"); |
---|
| 48 | write(".fs12st {font-size: 75%; line-height: 150%; font-weight: bold;}"); |
---|
| 49 | } |
---|
| 50 | |
---|
| 51 | //WIN-NN4.x |
---|
| 52 | if ( navigator.appName == "Netscape" && navigator.appVersion.substr(0,2) == "4." ) { |
---|
| 53 | write(".fs10 {font-size:90%; line-height: 130%;}"); |
---|
| 54 | write(".fs12 {font-size: 100%; line-height: 140%;}"); |
---|
| 55 | write(".fs14 {font-size: 110%; line-height: 135%;}"); |
---|
| 56 | write(".fs18 {font-size: 130%; line-height: 175%;}"); |
---|
| 57 | write(".fs24 {font-size: 190%; line-height: 240%;}"); |
---|
| 58 | write(".fs30 {font-size: 240%; line-height: 285%;}"); |
---|
| 59 | write(".fs10n {font-size:90%;}"); |
---|
| 60 | write(".fs12n {font-size: 100%;}"); |
---|
| 61 | write(".fs14n {font-size: 110%;}"); |
---|
| 62 | write(".fs18n {font-size: 130%;}"); |
---|
| 63 | write(".fs24n {font-size: 190%;}"); |
---|
| 64 | write(".fs30n {font-size: 240%;}"); |
---|
| 65 | write(".fs12st {font-size: 100%; line-height: 140%; font-weight: bold;}"); |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | //MAC |
---|
| 69 | if (gCssUA.indexOf("MAC") != -1) { |
---|
| 70 | write(".fs10 {font-size: 10px; line-height: 14px;}"); |
---|
| 71 | write(".fs12 {font-size: 12px; line-height: 18px;}"); |
---|
| 72 | write(".fs14 {font-size: 14px; line-height: 18px;}"); |
---|
| 73 | write(".fs18 {font-size: 18px; line-height: 23px;}"); |
---|
| 74 | write(".fs22 {font-size: 22px; line-height: 27px;}"); |
---|
| 75 | write(".fs24 {font-size: 24px; line-height: 30px;}"); |
---|
| 76 | write(".fs30 {font-size: 30px; line-height: 35px;}"); |
---|
| 77 | write(".fs10n {font-size: 10px;}"); |
---|
| 78 | write(".fs12n {font-size: 12px;}"); |
---|
| 79 | write(".fs14n {font-size: 14px;}"); |
---|
| 80 | write(".fs18n {font-size: 18px;}"); |
---|
| 81 | write(".fs22n {font-size: 22px;}"); |
---|
| 82 | write(".fs24n {font-size: 24px;}"); |
---|
| 83 | write(".fs30n {font-size: 30px;}"); |
---|
| 84 | write(".fs12st {font-size: 12px; line-height: 18px; font-weight: bold;}"); |
---|
| 85 | } |
---|
| 86 | |
---|
| 87 | write("--></style>"); |
---|
| 88 | } |
---|