var description = {
	tyuuseishibou:	"体内にある脂肪の一種で、使われなかったものは皮下脂肪として蓄えられます。血液中に多くなりすぎると動脈硬化性疾患の危険因子となります。高値を示す最大の原因は肥満です。食べ過ぎ・運動不足・飲酒は高値の原因です。高いと冠動脈疾患の発症率が高くなるといわれています。",
	kettou: "血液中のブドウ糖です。全身でエネルギーとしてもっとも利用されやすい栄養素です。食事や運動・ストレス・お薬などでいつも変化しています。多すぎると糖尿病になります。",
	hemogrobin: "赤血球の中のヘモグロビンの一部とブドウ糖（血糖）が結合したものです。ブドウ糖が増加すると、ヘモグロビンA1cも高値となります。過去1～2ヶ月前の血糖値を反映します。",
	crp: "炎症や組織の破壊が起こるとすぐに増える蛋白質の一つです。回復とともに減少していきます。当院では低濃度（高濃度）まで測定できる「高感度CRP」を早くから導入しています。冠動脈疾患・慢性炎症（喫煙による炎症など）をとらえることができます。",
	zendama: "動脈内壁にへばりついた悪玉コレステロールを取り除き、動脈硬化を防ぐといわれています。喫煙･肥満･運動不足・糖尿病などが原因で下がります。",
	akudama: "動脈硬化性疾患の直接的な危険因子と考えられています。虚血性心疾患の頻度が増加することが知られています。",
	nanagog: "糖尿病の診断にもっとも頻繁に用いられる検査です。通常75gのブドウ糖が含まれたジュースを飲み血液や尿中の糖の経時変化を測定します。",
	nyou: "電圧、電解質調節に関わる腎臓や副腎の働きが正常かどうかを確認する検査です。多すぎても少なすぎても病気になります。",
	na: "体内の水の調節に重要な役割を果たしています。尿・汗・便などから排泄されます。とくに腎臓におけるナトリウムの出入りは水の出入りを伴います。"
	};
var offsetX=-4, offsetY = 4, twith=240;
var stemHook = 'bottomRight';
var className = 'creamy';

document.observe('dom:loaded', function() {
	new Tip($('tyuuseishibou'),description['tyuuseishibou'] , {
		className: className,
	  title: '中性脂肪',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('kettou'),description['kettou'] , {
		className: className,
	  title: '血糖',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('hemogrobin'),description['hemogrobin'] , {
		className: className,
	  title: 'ヘモグロビンA1c',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('crp'),description['crp'] , {
		className: className,
	  title: 'CRP',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('zendama'),description['zendama'] , {
		className: className,
	  title: '善玉（HDL）コレステロール',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('akudama'),description['akudama'] , {
		className: className,
	  title: '悪玉（LDL）コレステロール',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('nanagog'),description['nanagog'] , {
		className: className,
	  title: '75gOGTT',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('nyou'),description['nyou'] , {
		className: className,
	  title: 'アルドステロン',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
	new Tip($('na'),description['na'] , {
		className: className,
	  title: 'ナトリウム',
	  stem: stemHook,
	  hook: { target: 'topRight', tip: 'bottomRight' },
	  offset: { x: offsetX, y: offsetY },
	  width: twith,
	  showOn: 'click',
	  hideOn: 'mouseout'
	});
										});
	/*
	
	$$('div.p-date').each(function(element){
		date=element.descendants();
		new Tip(element, {
			ajax: {
	  	url: '/include/hanakotoba.php?month='+date[1].innerHTML.stripTags()+'&hi='+date[0].innerHTML.stripTags()
			},
		  title: 'ハナことば',
		  stem: 'leftMiddle',
		  hook: { tip: 'leftMiddle', mouse: true },
		  offset: { x: 40, y: 0 }
		});	
	});
	$$('ul#carno-arch a.essay').each(function(element){
		id = (element).readAttribute('id');
		new Tip(element, essays[id], {
		  title: 'カルノズ　エッセイ',
		  stem: 'bottomLeft',
		  hook: { tip: 'bottomLeft', mouse: true },
		  offset: { x: 0, y: 0 }
		});	
	});
	*/



