	//OSとブラウザの判別開始	var osType  = "";	//OSのタイプ	var browser = "";	//ブラウザのタイプ	var appVersion = navigator.appVersion;	//OSとブラウザのタイプが合わさったやつ	//まずはOSの判別	if(appVersion.indexOf("Win") != -1 || appVersion.indexOf("win") != -1){			osType = "Win";	}else if(appVersion.indexOf("Mac") != -1){		osType = "Mac";	}else{		osType = "Others";	}	//次にブラウザの判別	if(appVersion.indexOf("MSIE") == -1){			browser = "NS";	}else if(appVersion.indexOf("MSIE") != -1){			browser = "IE";	}else{		browser = "Others";	}	//実際にスタイルシートを吐く部分	//スタイルシートを変更したい時にはwriteの部分を変えてください。	//	//例）	write("type1 {color: #FF0000}");	//				を	//		write(".type1 {color: #FF0000}\n");	//		write(".type2 {color: #00FF00}\n");	//				なんかに	//	//		\nは改行です。			with (document) {			write("<STYLE TYPE='text/css'>");			//WindowsでかつIE******************************		if (osType == "Win" && browser == "IE"){	/* 本文文字サイズ8pt*/        	write(".size1{  font-size: 8pt; }");		/* 本文文字サイズ8pt　幅150%*/        	write(".size1h{  font-size: 8pt;  line-height:150%;}");	/* 本文文字サイズ8pt　幅130%*/        	write(".size3h{  font-size: 8pt;  line-height:130%;}");	/*  本文文字サイズ10pt */        	write(".size2{  font-size: 10pt; }");	/* 本文文字サイズ10pt　幅150% */        	write(".size2h {  font-size: 10pt;  line-height:150%;}");	/* 本文文字サイズ10pt　幅130% */        	write(".size4h {  font-size: 10pt;  line-height:130%;}");	/*  本文文字サイズ14pt */        	write(".size5{  font-size: 14pt; }");		//WindowsでかつNetscape******************************		}else if(osType == "Win" && browser == "NS"){    	    	write(".type1 {color: #00FF00; }");	/* 本文文字サイズ8pt*/	    	write(".size1{  font-size: 8pt; }");		/* 本文文字サイズ8pt　幅160% */	    	write(".size1h{  font-size: 8pt;  line-height:160%;}");	/* 本文文字サイズ8pt　幅140% */	    	write(".size3h{  font-size: 8pt;  line-height:140%;}");	/*  本文文字サイズ10pt */	    	write(".size2{  font-size: 10pt; }");	/* 本文文字サイズ10pt　幅160%*/	    	write(".size2h {  font-size: 10pt;  line-height:160%;}");	/* 本文文字サイズ10pt　幅140%*/	    	write(".size4h {  font-size: 10pt;  line-height:140%;}");	/*  本文文字サイズ14pt */	    	write(".size5{  font-size: 14pt; }");			//MacでかつIE***************************************		}else if(osType == "Mac" && browser == "IE"){	/* 本文文字サイズ10px*/			write(".size1{  font-size: 10px; }");	/* 本文文字サイズ10px　幅150% */			write(".size1h{  font-size: 10px;  line-height:150%;}");	/* 本文文字サイズ10px　幅130% */			write(".size3h{  font-size: 10px;  line-height:130%;}");	/*  本文文字サイズ12px */			write(".size2{  font-size: 12px; }");	/* 本文文字サイズ12px　幅150% */			write(".size2h {  font-size: 12px;  line-height:150%;}");	/* 本文文字サイズ12px　幅130% */			write(".size4h {  font-size: 12px;  line-height:130%;}");		/*  本文文字サイズ18px */			write(".size5{  font-size: 18px; }");		//MacでかつNetscape******************************		}else if(osType == "Mac" && browser == "NS"){	/* 本文文字サイズ10pt*/			write(".size1{  font-size: 10px; }");	/* 本文文字サイズ10pt　幅120%  */			write(".size1h{  font-size: 10px;  line-height: 120%; }");	/* 本文文字サイズ10pt　幅110%  */			write(".size3h{  font-size: 10px;  line-height: 110%; }");	/*  本文文字サイズ12pt */			write(".size2{  font-size: 12px; }");	/* 本文文字サイズ12pt　幅120% */			write(".size2h {  font-size: 12px;  line-height: 120%; }");	/* 本文文字サイズ12pt　幅110% */			write(".size4h {  font-size: 12px;  line-height: 110%; }");	/*  本文文字サイズ18pt */			write(".size5{  font-size: 18px; }");		//それ以外の場合******************************		}else{	/* 本文文字サイズ8pt*/        	write(".size1{  font-size: 8pt; }");		/* 本文文字サイズ8pt　幅150%*/        	write(".size1h{  font-size: 8pt;  line-height:150%;}");	/* 本文文字サイズ8pt　幅130%*/        	write(".size3h{  font-size: 8pt;  line-height:130%;}");	/*  本文文字サイズ10pt */        	write(".size2{  font-size: 10pt; }");	/* 本文文字サイズ10pt　幅130%*/        	write(".size2h {  font-size: 10pt;  line-height:150%;}");	/* 本文文字サイズ10pt　幅130% */        	write(".size4h {  font-size: 10pt;  line-height:130%;}");	/*  本文文字サイズ14pt */        	write(".size5{  font-size: 14pt; }");		}		write("</STYLE>");}