var ur='http://osanai.info';/*http://sv48.wadax.ne.jp/~osanai-info/があるため絶対パス記述にしている*/
var classhead;
var dday;
if(dday){}else{dday='';}

var bgc='background-color:#33ab00;border-left:#ffffff solid 1px;color:#ffffff;width:60px;';
document.write('<link rel="stylesheet" type="text/css" href="'+ur+'/css/all_btn_emb.css">');
document.write('<link rel="stylesheet" type="text/css" href="'+ur+'/css/form.css">');

document.write('<div align="center" id="container"><div id="shadeleft">	<div id="shaderight">');

if (classhead =='05'){
document.write('<table width="700px" height="90" border="0" cellspacing="0" cellpadding="0" align="center" style="background-image:url('+ur+'/img/head/head-tomo.jpg);background-repeat:no-repeat;"><TR >');
}else{
document.write('<table width="700px" height="90" border="0" cellspacing="0" cellpadding="0" align="center" style="background-image:url('+ur+'/img/head/head.jpg);background-repeat:no-repeat;"><TR >');
}

document.write('<td colspan="3" width="700" height="57" ></td></tr>');
document.write('<tr><td height="20" align="center" >');
document.write('<table id="enclo" width="400px" height="20" border="0" cellspacing="0" cellpadding="0" align="center"><TR >');

if (classhead =="00") {
document.write('<td style="background-image:url('+ur+'/img/head/top2.png);background-position:center center;border-left:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');
}else{
document.write('<td id="top"><a href="'+ur+'/index.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}/*トップ*/

if (classhead =="01") {
document.write('<td style="width:100px;background-image:url('+ur+'/img/head/hel2.png);background-position:center center;border-left:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="100px" height="20px"></td>');
}else{
document.write('<td id="hel" style="width:100px;"><a href="'+ur+'/osanai.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="100px" height="20px"></a></td>');}/*健康づくりとは*/

if (classhead =="02") {
document.write('<td  style="background-image:url('+ur+'/img/head/42.png);background-position:center center;border-left:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');/*style="'+bgc+'"*/
}else{
document.write('<td id="pri"><a href="'+ur+'/principles.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}/*４原則*/

if (classhead =="03") {
document.write('<td style="background-image:url('+ur+'/img/head/his2.png);background-position:center center;border-left:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');
}else{
document.write('<td id="his"><a href="'+ur+'/profile.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}/*経歴*/

if (classhead =="04") {
document.write('<td style="background-image:url('+ur+'/img/head/aut2.png);background-position:center center;border-left:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');
}else{
document.write('<td id="aut" ><a href="'+ur+'/book.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}/*著書*/

/*if (classhead =="05") {
document.write('<td style="background-image:url(/img/head/tom2.png);background-position:center center;border-left:#ffffff solid 1px;border-right:#ffffff solid 1px;"><img src="/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');
}else{
document.write('<td id="tom" style="border-right:#ffffff solid 1px;"><a href="/tomonokai.html"><img src="/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}*//*友の会*/

if (classhead =="06") {
document.write('<td style="background-image:url('+ur+'/img/head/topic2.png);background-position:center center;border-left:#ffffff solid 1px;border-right:#ffffff solid 1px;"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></td>');
}else{
document.write('<td id="topi" style="border-right:#ffffff solid 1px;"><a href="'+ur+'/topics.html"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="20px"></a></td>');}/*トピック*/

/*if (classhead =="07") {
document.write('<td style="'+bgc+'border-right:solid 1px #ffffff;"><nobr>ｉｎｆｏ</nobr></td>');
}else{
document.write('<td style="border-right:solid 1px #ffffff;"><a href="/info.html"><nobr>ｉｎｆｏ&nbsp;</nobr></a></td>');}*/

document.write('</TR></TABLE>');
document.write('</td></TR><TR><td height="12px"><img src="'+ur+'/img/stuff/space.gif" border="0" width="60px" height="12px"></td>');
document.write('</TR></TABLE>');

