var path="";

function cssLoad(){



	//cssファイル設定

	winIE='/common/css/win_ie.css';

	winNN='/common/css/win_nn.css';

	macIE='/common/css/mac_ie.css';

	macNN='/common/css/mac_nn.css';

	var cssFile='';

	strApp=navigator.appName;

	strAgnt=navigator.userAgent;



	if (strAgnt.indexOf("Win") != -1) {

		if (strApp.indexOf('Microsoft') != -1) {

			cssFile = winIE;

		} else if (strApp.indexOf('Netscape') != -1) {

			cssFile = winNN;

		} else {

			cssFile = winIE;

		}

	} else if (strAgnt.indexOf("Mac") != -1) {

		if (strApp.indexOf('Microsoft') != -1) {

			cssFile = macIE;

		} else if (strApp.indexOf('Netscape') != -1) {

			cssFile = macNN;

		} else {

			cssFile = macIE;

		}

	} else {

		cssFile = winIE;

	}



	//cssファイルのリンク書き込み

	if (cssFile != '') {

		document.write('<LINK rel="stylesheet" href="' + cssFile + '">');

	}

}



cssLoad();


