﻿/**********************************************************/
// 初期処理
// 
/**********************************************************/
window.onload = function(){
	//ソフト機能紹介ボタンのホバー
	document.getElementById("a_help01").onmouseout = function(evt){BackBtnImg('img_help01','4');};
	document.getElementById("a_help01").onmouseover = function(evt){BackBtnImg('img_help01','5');};
	document.getElementById("a_help02").onmouseout = function(evt){BackBtnImg('img_help02','4');};
	document.getElementById("a_help02").onmouseover = function(evt){BackBtnImg('img_help02','5');};
	document.getElementById("a_help03").onmouseout = function(evt){BackBtnImg('img_help03','4');};
	document.getElementById("a_help03").onmouseover = function(evt){BackBtnImg('img_help03','5');};

	//ダウンロードボタンのホバー
	document.getElementById("a_dl01").onmouseout = function(evt){BackBtnImg('img_dl01','2');};
	document.getElementById("a_dl01").onmouseover = function(evt){BackBtnImg('img_dl01','3');};
	document.getElementById("a_dl02").onmouseout = function(evt){BackBtnImg('img_dl02','2');};
	document.getElementById("a_dl02").onmouseover = function(evt){BackBtnImg('img_dl02','3');};
	document.getElementById("a_dl03").onmouseout = function(evt){BackBtnImg('img_dl03','2');};
	document.getElementById("a_dl03").onmouseover = function(evt){BackBtnImg('img_dl03','3');};

	//製品画像のリンク
	document.getElementById("a_ttl01").onclick = function(evt){OpenMailUrl('1');};
	document.getElementById("a_ttl02").onclick = function(evt){OpenMailUrl('2');};
	document.getElementById("a_ttl03").onclick = function(evt){OpenMailUrl('3');};

	//ダウンロードボタンのリンク
	document.getElementById("a_dl01").onclick = function(evt){OpenMailUrl('1');};
	document.getElementById("a_dl02").onclick = function(evt){OpenMailUrl('2');};
	document.getElementById("a_dl03").onclick = function(evt){OpenMailUrl('3');};

	//ページカウンター処理
	comSetCounterPage(comGetFileName());
}

/************************************************************************/
// お客さま情報入力画面を表示する
// Input Parameter
//    psMode : 1:電話帳 2:メモ機能付きカレンダー 3:郵便番号-住所 変換
//    piRowIndex : カレント行のインデックス
// Output Parameter
//    なし
/************************************************************************/
function OpenMailUrl(psMode){

	//お客さま情報入力画面に値を渡す
	document.getElementById("Mode").value=psMode;

	document.InpUser.submit();
	return true;
}

