/*******************************************************************************/
/*関数名： print header                                                        */
/*概要  ： タイトルからメニューまでを表示                                      */
/*引数  ：無し                                                                 */
/*戻り値：無し                                                                 */
/*作成  ：2009/06/17 succeed usami                                             */
/*******************************************************************************/

function print_header()
{
	var head = "";
	head = '<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center" summary="このテーブルはヘッダーためのものです">';
	head += '<tr><td rowspan="2"><A href="../index.html"><img src="../img/head2-1.jpg" width="245" height="62" border="0"></A><a href="../index.html"><img src="../img/head2-2.gif" width="71" height="62" border="0"></a><img src="../img/head2-3.gif" width="50" height="62"></td>';
	head += '<td width"=93"><a href="../job/index.html"><img src="../img/head_job.gif" width="94" height="40" alt="人材募集" border="0"></a></td>';
	head += '<td width="93"><a href="../mailform/index.html"><img src="../img/head_q.gif" width="93" height="40" alt="お問い合わせ" border="0"></a></td>';
	head += '<td width="94"><a href="../sitemap/index.html"><img src="../img/head4-1.gif" width="94" height="40" alt="サイトマップ" border="0"></a></td>';
	head += '<td width"=93"><a href="../policy/index.html"><img src="../img/head5-1.gif" width="93" height="40" alt="サイトポリシー" border="0"></a></td>';
	head += '<td rowspan="2"><img src="../img/head6-1.gif" width="20" height="62" alt="shadow"></td></tr>';
	head += '<tr><td colspan="4"><img src="../img/head4-2.gif" width="196" height="22" alt="shadow"><img src="../img/head4-3.gif" width="88" height="22" alt="shadow"><img src="../img/head4-4.gif" width="90" height="22" alt="shadow"></td></tr>';
	head += '<tr><td colspan="6">';
	head += '<table width="760" border="0" cellspacing="0" cellpadding="0" summary="メニューのためのテーブルです">';
	head += '<tr><td><a href="../company/index.html"><img src="../img/menu1off.gif" onmouseover="this.src=\'../img/menu1on.gif\'" onmouseout="this.src=\'../img/menu1off.gif\'" border="0" width="128" height="42" alt="会社案内"></a></td>';
	head += '<td><a href="../service/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image9\',\'\',\'../img/menu2on.gif\',1)"><img name="Image9" border="0" src="../img/menu2off.gif" width="127" height="42" alt="サービス"></a></td>';
	head += '<td><a href="../web/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image10\',\'\',\'../img/menu3on.gif\',1)"><img name="Image10" border="0" src="../img/menu3off.gif" width="128" height="42" alt="ウェブ制作"></a></td>';
	head += '<td><a href="../soft/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image11\',\'\',\'../img/menu4on.gif\',1)"><img name="Image11" border="0" src="../img/menu4off.gif" width="127" height="42" alt="受託ソフト制作"></a></td>';
	head += '<td><a href="../soft/network.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image13\',\'\',\'../img/menu_net_on.gif\',1)"><img name="Image13" border="0" src="../img/menu_net_off.gif" width="122" height="42" alt="ネットワーク構築"></a></td>';
	head += '<td><a href="../soft/installed.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image12\',\'\',\'../img/menu_donyu_on.gif\',1)"><img name="Image12" border="0" src="../img/menu_donyu_off.gif" width="128" height="42" alt="導入実績"></a></td>';
	head += '</tr></table></td></tr></table>';
    
	document.write(head);
}


function print_footer()
{
	/*
	var footer = "";
	footer = '<script type="text/javascript" src="http://i.yimg.jp/images/analytics/js/ywa.js"></script>';
	footer += '<script type="text/javascript">';
	footer += 'var YWATracker = YWA.getTracker("1000155276354");';
	footer += 'YWATracker.addExcludeProtocol("file:");';
	footer += 'YWATracker.submit();';
	footer += '</script>';
	footer += '<noscript>';
	footer += '<div><img src="http://by.analytics.yahoo.co.jp/p.pl?a=1000155276354&js=no" width="1" height="1" alt="" /></div>';
	footer += '</noscript>';

	document.write(footer);
	*/
}
/******************************************************************************/
/*関数名：pre_load                                                            */
/*概要  ：画像先読み込み                                                      */
/*引数  ：top         メニュー用トップページマウスオーバー時画像              */
/*      ：gyomu       メニュー用業務内容マウスオーバー時画像                  */
/*      ：corp        メニュー用会社案内マウスオーバー時画像                  */
/*      ：map         メニュー用地図マウスオーバー時画像                      */
/*戻り値：無し                                                                */
/*作成  ：2009/05/18  y-usami                                                 */
/******************************************************************************/
function pre_loard(top,gyomu,corp,map)
{
	preImg = new Image();
	
	img_arr = new Array(top,gyomu,corp,map);
	for(i=0;i < img_arr.length;i++)
	{
		preImg.src = img_arr[i];
	}
}


function MM_swapImgRestore() { //v3.0

	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}


function MM_preloadImages() { //v3.0

	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}


function MM_findObj(n, d) { //v4.0

	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

	if(!x && document.getElementById) x=document.getElementById(n); return x;

}


function MM_swapImage() { //v3.0

	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

	MM_preloadImages('img/menu1on.gif','img/menu2on.gif','img/menu3on.gif','img/menu4on.gif','img/menu5on.gif','img/menu6on.gif');
}
