/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
gCssUA = navigator.userAgent.toUpperCase();
gCssBrw = navigator.appName.toUpperCase();

with (document){
		write("<style type=\"text/css\"><!--");

//WIN-IE
	if (gCssUA.indexOf("WIN") != -1 && gCssUA.indexOf("MSIE") != -1){

		write("h1,h2,h3,h4,h5,h6,p,th,td,li,dt,dd,textarea,pre,address,blockquote{font-size:10pt; line-height:1.4em;}");
		write(".aste,p.aste{color:#ff0000; font-size:7pt; line-height:1.4em;}");
		write(".mini,p.mini{font-size:7pt; line-height:1.4em;}");
		write(".larg{font-size:12pt; line-height:1.4em;}");

	}

//MAC
	if (gCssUA.indexOf("MAC") != -1){

		write("h1,h2,h3,h4,h5,h6,p,th,td,li,dt,dd,textarea,pre,address,blockquote{font-size:12px; line-height:1.4em;}}");
		write(".aste,p.aste{{color:#ff0000; font-size:11px; line-height:1.4em;}");
		write(".mini,p.mini{{font-size:11px; line-height:1.4em;}");
		write(".larg{font-size:14px; line-height:1.4em;}");

}

	write("--></style>");
}