pic_name=new Array();pic_name2=new Array();
//1つ目のマウスオーバーした時の画像を指定する
pic_name[0] ="/pc/images/index_top_03_over.gif";
//1つ目のマウスアウトした時の画像を指定する
pic_name2[0]="/pc/images/index_top_3.gif";
//2つ目のマウスオーバーした時の画像を指定する
pic_name[1] ="/pc/images/index_top_04_over.gif";
//2つ目のマウスアウトした時の画像を指定する
pic_name2[1]="/pc/images/index_top_4.gif";
//3つ目のマウスオーバーした時の画像を指定する
pic_name[2] ="/pc/images/index_top_05_over.gif";
//3つ目のマウスアウトした時の画像を指定する
pic_name2[2]="/pc/images/index_top_5.gif";
//4つ目のマウスオーバーした時の画像を指定する
pic_name[3] ="/pc/images/index_top_06_over.gif";
//4つ目のマウスアウトした時の画像を指定する
pic_name2[3]="/pc/images/index_top_6.gif";
//5つ目のマウスオーバーした時の画像を指定する
pic_name[4] ="/pc/images/index_top_07_over.gif";
//5つ目のマウスアウトした時の画像を指定する
pic_name2[4]="/pc/images/index_top_7.gif";
//6つ目のマウスオーバーした時の画像を指定する
pic_name[5] ="/pc/images/index_top_08_over.gif";
//6つ目のマウスアウトした時の画像を指定する
pic_name2[5]="/pc/images/index_top_8.gif";


//
pic1=new Array();
pic2=new Array();
for(i=0; i<pic_name.length; i++)
{
pic1[i]=new Image();pic1[i].src=pic_name[i];
pic2[i]=new Image();pic2[i].src=pic_name2[i];
}
function mouse_in(dotti)
{document.images["link"+dotti].src=pic1[dotti].src;}
function mouse_out(dotti)
{document.images["link"+dotti].src=pic2[dotti].src;}

//友近ヘッダー
function header(){
document.write("<center>");
document.write("<table id='_____01' width='960' height='139' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td colspan='7'>");
document.write("<IMG src='http://www.tomochika.jp/pc/images/index_top_1.jpg' width='960' height='93'>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td>");
document.write("<IMG src='http://www.tomochika.jp/pc/images/index_top_2.gif' width='212' height='46'></td>");
document.write("<td><A href='http://www.tomochika.jp/pc/index.html' onMouseOver='mouse_in(0);' onMouseOut='mouse_out(0)'><IMG src='http://www.tomochika.jp/pc/images/index_top_3.gif' width='86' height='46' alt='' border='0' name='link0'></A></td>");
document.write("<td><A href='http://www.tomochika.jp/pc/index_profile.html' onMouseOver='mouse_in(1);' onMouseOut='mouse_out(1)'><IMG src='http://www.tomochika.jp/pc/images/index_top_4.gif' width='123' height='46' alt='' border='0' name='link1'></A></td>");
document.write("<td><A href='http://www.tomochika.jp/pc/index_katsudo.html' onMouseOver='mouse_in(2);' onMouseOut='mouse_out(2)'><IMG src='http://www.tomochika.jp/pc/images/index_top_5.gif' width='107' height='46' alt='' border='0' name='link2'></A></td>");
document.write("<td><A href='http://www.tomochika.jp/pc/index_sports.html' onMouseOver='mouse_in(3);' onMouseOut='mouse_out(3)'><IMG src='http://www.tomochika.jp/pc/images/index_top_6.gif' width='136' height='46' alt='' border='0' name='link3'></A></td>");
document.write("<td><A href='http://www.tomochika.jp/pc/index_manifesto.html' onMouseOver='mouse_in(4);' onMouseOut='mouse_out(4)'><IMG src='http://www.tomochika.jp/pc/images/index_top_7.gif' width='124' height='46' alt='' border='0' name='link4'></A></td>");
document.write("<td><A href='https://sv19.wadax.ne.jp/~cresto-jp/formmail/tomochika_kouenkai_moushikomisyo/form/form.html' onMouseOver='mouse_in(5);' onMouseOut='mouse_out(5)'><IMG src='http://www.tomochika.jp/pc/images/index_top_8.gif' width='172' height='46' alt='' border='0' name='link5'></A></td>");
document.write("</tr>");
document.write("</table>");
document.write("</center>");
}
