// CSS記述書き込み用スクリプト// ver.1.01// hument Inc./* set variable */var cssDir = 'css/'; // CSS Directoryvar cssTags = '<link rel="stylesheet" type="text/css" href="';var flag = null;var _poor = 'CSS no support'; /* css deverge for cross platform & cross browser */if (_win) { // win os	if (_ns6) { // Windows Netscape6.X		flag = 'wie';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="WinNS6_style">');		document.close();		//alert('Windows Netscape6.X');	}	else if (_ns4 || _ns4up || _nav) { // Windows Netscape4.X		flag = 'wns';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="WinNS_style">');		document.close();		//alert('Windows Netscape4.X');	}	else if (_ie4 || _ie4up || _ie5 || _ie5up) { // Windows IE		flag = 'wie';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="WinIE_style">');		document.close();		//alert('Windows IE');	}	else if (_ns2 || _ns3 || _ie3) { // WindowsでCSS未対応のブラウザ		flag = _poor + ' browser...';		//alert(flag);	}	else if (_opera) { // Windows OPERA		flag = 'wie';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="WinOpera_style">');		document.close();		//alert('Windows OPERA');	}	else { // Windowsその他のブラウザ		flag = _poor + ' browser...';		//alert(flag);	}}else if (_mac) { // mac os	if (_ns6) { // Mac Netscape6.X		flag = 'mac';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="MacNS6_style">');		document.close();		//alert('Mac Netscape6.X');	}	else if (_ns4 || _ns4up || _nav) { // Mac Netscape4.X		flag = 'mac';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="MacNS_style">');		document.close();		//alert('Mac Netscape4.X');	}	else if (_ie5 || _ie5up) { // Mac IE5		flag = 'mac';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="MacIE_style">');		document.close();		//alert('Mac IE5');	}	else if (_ie4 || _ie45 || _ie4up) { // Mac IE4.X		flag = 'mac';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="MacIE_style">');		document.close();		//alert('Mac IE4.X');	}	else if (_ns2 || _ns3 || _ie3) { // MacでCSS未対応のブラウザ		flag = _poor + ' browser...';		//alert(flag);	}	else if (_opera) { // Mac OPERA		flag = 'mie';		document.open();		document.write(cssTags + cssDir + flag + '.css" title="MacOpera_style">');		document.close();		//alert('Mac OPERA');	}	else if (_icab) { // Mac icab		flag = 'icab';		//alert('Mac icab');	}	else { // Macその他のブラウザ		flag = _poor + ' browser...';		//alert(flag);	}}else { // その他のブラウザ	flag = _poor + ' platform...';	//alert(flag);}