var pages = new Array(6);
pages[0]="/index.html";
pages[1]="/products.html";
pages[2]="/dataservice/dataservice.html";
pages[3]="/service_soft.html";
pages[4]="/mailmag.html";
pages[5]="/about.html";

function gotoPage(idx) {
	//window.location.href=pages[idx];
}

function getLastModified() {
	wDate = new Date(document.lastModified);
	sYear = wDate.getYear();
	if (sYear < 2000) sYear += 1900;
	sMonth = wDate.getMonth() + 1; 
	sDay = wDate.getDate(); 
	return sYear + "." + sMonth + "." + sDay;
}

function printLastModified() {
	var txtHTML = '';
	txtHTML = '<br style="font-size:10pt;">';
	txtHTML += '<div align="right" style="font-size:8pt;margin-right:10;">';
	txtHTML += '更新日：'
	txtHTML += getLastModified();
	txtHTML += '</div>';
	document.write(txtHTML);
}

function printCopyRight() {
	document.write("Ccopyright &copy; 2005-2010 DJSOFT, All rights reserved.");
}

MM_preloadImages('/image/bt_01_on.gif','/image/support.gif', '/image/data-service.gif','/image/products.gif','/image/service.gif');
var txtHTML = '';
txtHTML+='<table width="800" border="0" cellspacing="0" cellpadding="0">';
txtHTML+='  <tr> ';
txtHTML+='    <td width="10"><img src="/image/obj_hed_left.gif" width="10" height="40"></td>';
txtHTML+='    <td background="/image/obj_hed_center.gif" width="780">';
txtHTML+='      <table border="0" cellspacing="0" cellpadding="0" background="">';
txtHTML+='        <tr>';
txtHTML+='          <td><img src="/image/companyname.gif" alt="DJSOFT" width="170" height="28"></td>';
txtHTML+='          <td><img src="/image/obj_txt_thankyou.gif" width="133" height="7"></td>';
txtHTML+='        </tr>';
txtHTML+='      </table>';
txtHTML+='    </td>';
txtHTML+='    <td width="10"><img src="/image/obj_hed_right.gif" width="10" height="40"></td>';
txtHTML+='  </tr>';
txtHTML+='</table>	';
txtHTML+='<table width="800" border="0" cellspacing="0" cellpadding="0">';
txtHTML+='  <tr>';
txtHTML+='    <td width="15"><img src="/image/obj_bt_left.gif" width="15" height="31"></td>';
txtHTML+='    <td background="/image/obj_bt_center.gif" width="770">';
txtHTML+='      <table border="0" cellspacing="0" cellpadding="0" name="menubutton">';
txtHTML+='        <tr>';

txtHTML+='          <td><a href="'+pages[0] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1\',\'\',\'/image/bt_01_on.gif\',1)" ><img src="/image/bt_01_off.gif" height="14" border="0" onClick="gotoPage(0)" name="Image1" alt="HOME"></a></td>';

txtHTML+='          <td><a href="'+pages[1] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image2\',\'\',\'/image/products.gif\',1)"><img src="/image/products_red.gif" height="14" border="0" onClick="gotoPage(1)" name="Image2" alt="製品情報"></a></td>';

txtHTML+='          <td><a href="'+pages[2] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image3\',\'\',\'/image/data-service.gif\',1)"><img src="/image/data-service_red.gif" height="14" border="0 onClick="gotoPage(2)" name="Image3" alt="データサービス"></a></td>';

txtHTML+='          <td><a href="'+pages[3] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image4\',\'\',\'/image/service.gif\',1)"><img src="/image/service_red.gif" height="14" border="0" onClick="gotoPage(3)" name="Image4" alt="サービス案内"></a></td>';

txtHTML+='          <td><a href="'+pages[4] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image5\',\'\',\'/image/mailmag.gif\',1)"><img src="/image/mailmag_red.gif" height="14" border="0" onClick="gotoPage(4)" name="Image5"   alt="メールマガジン"></a></td>';

txtHTML+='          <td><a href="'+pages[5] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/image/bt_03_on.gif\',1)"><img src="/image/bt_03_off.gif" height="14" border="0" onClick="gotoPage(5)" name="Image6"  alt="会社案内"></a></td>';

txtHTML+='          <td><a href="mailto:';
txtHTML+= 'info';
txtHTML+= '@djsoft';
txtHTML+= '.co.jp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/image/bt_06_on.gif\',1)"><img src="/image/bt_06_off.gif" height="14" border="0" name="Image7" alt="お問い合わせ"></a></td>';
txtHTML+='        </tr>';
txtHTML+='      </table>';
txtHTML+='    </td>';
txtHTML+='    <td width="15"><img src="/image/obj_bt_right.gif" width="15" height="31"></td>';
txtHTML+='  </tr>';
txtHTML+='</table>';
document.write(txtHTML);

