//===== COWBELL Co. official web site ======================   `_` =====
//      C O W B E L L   c a f f e                              t
//      [!]Unauthorized copying of all contents prohibited.   K K  R
//========= (C)2001-2003 COWBELL Co. All rights reserved. == (d )m =====
// any problems?  ok, please contact us... mailto:info@cowbell.jp
//
// JavaScript - [function] switch and configure stylesheet
// appears by courtesy of www.e-fukui.com ( http://www.e-fukui.com/ )


//StyleSheet Switch
Mac = navigator.appVersion.indexOf('Mac',0) != -1;
Win = navigator.appVersion.indexOf('Win',0) != -1;

//var browser = navigator.appName;
//var version = navigator.appVersion;
// Microsoft Internet Explorer

//if ((browser.indexOf('Explorer',0) != -1) && (version.indexOf('Mac',0) != -1) && (version.indexOf('5.0',0) != -1)) { Win = 1; }
//else if ((browser.indexOf('Explorer',0) != -1) && (version.indexOf('Mac',0) != -1) && (version.indexOf('5.0',0) == -1)) { Mac = 1; }
//else if ((browser.indexOf('Navigator',0) != -1) && (version.indexOf('Mac',0) != -1)) { Mac = 1; }
//else if (version.indexOf('Win',0) != -1) { Win = 1; }


//for christmas version
date=new Date();
year=date.getFullYear();
month=date.getMonth(); month++;
day=date.getDate();


if (((month == 12) && (day == 24)) || ((month == 12) && (day == 25))) { msg = 1; }
else { msg = 0; }


if ((Mac) && (msg == 0)) {

	document.writeln('<style type="text/css"><!--',
	'.size1 { font-size: 9px; line-height:140%; }',
	'.size2 { font-size:10px; line-height:140%; }',
	'.size3 { font-size:12px; line-height:140%; }',
	'.size4 { font-size:14px; line-height:120%; }',
	'.size5 { font-size:16px; line-height:110%; }',
	'.line1 { font-size: 9px; line-height:100%; }',
	'.line2 { font-size:10px; line-height:100%; }',
	'.line3 { font-size:12px; line-height:100%; }',
	'.caption1 { font-size: 9px; line-height:110%; }',
	'.caption2 { font-size:10px; line-height:110%; }',
	'.caption3 { font-size:12px; line-height:110%; }',
	'.uisize1 { font-size: 9px; line-height:140%; }',
	'.uisize2 { font-size:10px; line-height:140%; }',
	'.uisize3 { font-size:12px; line-height:140%; }',
	'.uisize4 { font-size:14px; line-height:120%; }',
	'.uisize5 { font-size:16px; line-height:110%; }',
	'.uiline1 { font-size: 9px; line-height:100%; }',
	'.uiline2 { font-size:10px; line-height:100%; }',
	'.uiline3 { font-size:12px; line-height:100%; }',
	'.uicaption1 { font-size: 9px; line-height:110%; }',
	'.uicaption2 { font-size:10px; line-height:110%; }',
	'.uicaption3 { font-size:12px; line-height:110%; }',
	'.ticker { font-size:12px; line-height:14px; text-decoration:none; }',
	'.textbox { border: 1px #660000 solid; width: 180px; }',
	'.pulldown { background: #eae5e5; border: 1px #999999; }',
	'a:link { color: #000099; text-decoration: none; }',
	'a:visited { color: #990099; text-decoration: none; }',
	'a:hover { text-decoration: underline; }',
	'.keyword { color: #FF6600; }',
	'--></style>');

}


if ((Win) && (msg == 0)) {

	document.writeln('<style type="text/css"><!--',
	'.size1 { font-size: 11px; line-height:140%; }',
	'.size2 { font-size: 12px; line-height:140%; }',
	'.size3 { font-size:13px; line-height:140%; }',
	'.size4 { font-size:16px; line-height:140%; }',
	'.size5 { font-size:18px; line-height:110%; }',
	'.line1 { font-size: 11px; line-height:100%; }',
	'.line2 { font-size: 12px; line-height:110%; }',
	'.line3 { font-size:13px; line-height:101%; }',
	'.caption1 { font-size: 11px; line-height:130%; }',
	'.caption2 { font-size: 12px; line-height:120%; }',
	'.caption3 { font-size:13px; line-height:120%; }',
	'.uisize1 { font-size: 11px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize2 { font-size: 12px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize3 { font-size:13px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize4 { font-size:16px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize5 { font-size:18px; line-height:110%; font-family: "MS UI Gothic"; }',
	'.uiline1 { font-size: 11px; line-height:100%; font-family: "MS UI Gothic"; }',
	'.uiline2 { font-size: 12px; line-height:110%; font-family: "MS UI Gothic"; }',
	'.uiline3 { font-size:13px; line-height:101%; font-family: "MS UI Gothic"; }',
	'.uicaption1 { font-size: 11px; line-height:130%; font-family: "MS UI Gothic"; }',
	'.uicaption2 { font-size: 12px; line-height:120%; font-family: "MS UI Gothic"; }',
	'.uicaption3 { font-size:13px; line-height:120%; font-family: "MS UI Gothic"; }',
	'.ticker { font-size:12px; line-height:14px; }',
	'.textbox { border: 1px #660000 solid; width: 180px; }',
	'.pulldown { background: #eae5e5; border: 1px #999999; }',
	'a:link { color: #000099; text-decoration: none; }',
	'a:visited { color: #990099; text-decoration: none; }',
	'a:hover { text-decoration: underline; }',
	'.keyword { color: #FF6600; }',
	'--></style>');

}


//stylesheet for christmas version

if ((Mac) && (msg == 1)) {

	document.writeln('<style type="text/css"><!--',
	'.size1 { font-size: 9px; line-height:140%; }',
	'.size2 { font-size:10px; line-height:140%; }',
	'.size3 { font-size:12px; line-height:140%; }',
	'.size4 { font-size:14px; line-height:120%; }',
	'.size5 { font-size:16px; line-height:110%; }',
	'.line1 { font-size: 9px; line-height:100%; }',
	'.line2 { font-size:10px; line-height:100%; }',
	'.line3 { font-size:12px; line-height:100%; }',
	'.caption1 { font-size: 9px; line-height:110%; }',
	'.caption2 { font-size:10px; line-height:110%; }',
	'.caption3 { font-size:12px; line-height:110%; }',
	'.uisize1 { font-size: 9px; line-height:140%; }',
	'.uisize2 { font-size:10px; line-height:140%; }',
	'.uisize3 { font-size:12px; line-height:140%; }',
	'.uisize4 { font-size:14px; line-height:120%; }',
	'.uisize5 { font-size:16px; line-height:110%; }',
	'.uiline1 { font-size: 9px; line-height:100%; }',
	'.uiline2 { font-size:10px; line-height:100%; }',
	'.uiline3 { font-size:12px; line-height:100%; }',
	'.uicaption1 { font-size: 9px; line-height:110%; }',
	'.uicaption2 { font-size:10px; line-height:110%; }',
	'.uicaption3 { font-size:12px; line-height:110%; }',
	'.ticker { font-size:12px; line-height:14px; text-decoration:none; }',
	'.textbox { border: 1px #660000 solid; width: 180px; }',
	'.pulldown { background: #eae5e5; border: 1px #999999; }',
	'a:link { text-decoration: none; color: #cc99cc; }',
	'a:visited { text-decoration: none; color: #cc3333; }',
	'a:hover { text-decoration: underline; }',
	'.keyword { color: #FF6600; }',
	'--></style>');

}

if ((Win) && (msg == 1)) {

	document.writeln('<style type="text/css"><!--',
	'.size1 { font-size: 11px; line-height:140%; }',
	'.size2 { font-size: 12px; line-height:140%; }',
	'.size3 { font-size:13px; line-height:140%; }',
	'.size4 { font-size:16px; line-height:140%; }',
	'.size5 { font-size:18px; line-height:110%; }',
	'.line1 { font-size: 11px; line-height:100%; }',
	'.line2 { font-size: 12px; line-height:110%; }',
	'.line3 { font-size:13px; line-height:101%; }',
	'.caption1 { font-size: 11px; line-height:130%; }',
	'.caption2 { font-size: 12px; line-height:120%; }',
	'.caption3 { font-size:13px; line-height:120%; }',
	'.uisize1 { font-size: 11px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize2 { font-size: 12px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize3 { font-size:13px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize4 { font-size:16px; line-height:140%; font-family: "MS UI Gothic"; }',
	'.uisize5 { font-size:18px; line-height:110%; font-family: "MS UI Gothic"; }',
	'.uiline1 { font-size: 11px; line-height:100%; font-family: "MS UI Gothic"; }',
	'.uiline2 { font-size: 12px; line-height:110%; font-family: "MS UI Gothic"; }',
	'.uiline3 { font-size:13px; line-height:101%; font-family: "MS UI Gothic"; }',
	'.uicaption1 { font-size: 11px; line-height:130%; font-family: "MS UI Gothic"; }',
	'.uicaption2 { font-size: 12px; line-height:120%; font-family: "MS UI Gothic"; }',
	'.uicaption3 { font-size:13px; line-height:120%; font-family: "MS UI Gothic"; }',
	'.ticker { font-size:12px; line-height:14px; }',
	'.textbox { border: 1px #660000 solid; width: 180px; }',
	'.pulldown { background: #eae5e5; border: 1px #999999; }',
	'a:link { text-decoration: none; color: #339933; }',
	'a:visited { text-decoration: none; color: #cc3333; }',
	'a:hover { text-decoration: underline; }',
	'.keyword { color: #FF6600; }',
	'--></style>');

}
