/*
var yomotsuSetBaseFont = {
	fontRule : {
		hiragino  : "font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',sans-serif;",
		msPGothic : "font-family:'ＭＳ Ｐゴシック','MS P Gothic',sans-serif;",
		meirio    : "font-family: 'メイリオ',Meiryo,'Segoe UI',sans-serif;"
	},
	
	ua : {
		//Safari (Mac and Win), Macintosh
		hiragino  : navigator.userAgent.match(/Safari/) && !navigator.userAgent.match(/Chrome/) || navigator.userAgent.match(/Macintosh|Mac_PowerPC/),
		//Server 2003, XP, 2000, NT 4.0, ME, 98, 95, CE
		msPGothic : navigator.userAgent.match(/Windows NT (4|5)\.\d+|windows (98|95|CE)/),
		//Vista
		meirio    : navigator.userAgent.match(/Windows NT (6)\.\d+/)
	},
	
	insertRule : function(){	
		if(this.ua.hiragino)
			document.write('<style type="text/css">html body {' + this.fontRule.hiragino + '}</style>');
		else if(this.ua.msPGothic)
			document.write('<style type="text/css">html body {' + this.fontRule.msPGothic + '}</style>');
		else if(this.ua.meirio || navigator.userAgent.match(/Windows/))
			document.write('<style type="text/css">html body {' + this.fontRule.meirio + '}</style>');
	}
}

yomotsuSetBaseFont.insertRule()
*/
