var add = "./";
function fn_menu_top(num1) {
	document.write('<!-- saved from url=(0013)about:internet -->\n');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1180" height="360" id="fl_menu_top" align="middle">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write('<param name="movie" value="etc/menu_top.swf" />\n');
	document.write('<param name="FlashVars" value="p_num=' + num1 + '&add=' + add + '" />\n');
	document.write('<param name="menu" value="false" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="etc/menu_top.swf" FlashVars="p_num=' + num1 + '&add=' + add + '" menu="false" quality="high" wmode="transparent" width="1180" height="360" name="fl_menu_top" swLiveConnect="true" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
}
function fn_menu(num1) {
	document.write('<!-- saved from url=(0013)about:internet -->\n');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1180" height="80" id="fl_menu" align="middle">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write('<param name="movie" value="etc/menu.swf" />\n');
	document.write('<param name="FlashVars" value="p_num=' + num1 + '&add=' + add + '" />\n');
	document.write('<param name="menu" value="false" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="etc/menu.swf" FlashVars="p_num=' + num1 + '&add=' + add + '" menu="false" quality="high" wmode="transparent" width="1180" height="80" name="fl_menu" swLiveConnect="true" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('</object>\n');
}

//日付取得
var date = new Date();
var year = date.getYear();
var year2 = date.getFullYear();
var mon = date.getMonth() + 1;
var day = date.getDate();
var hour = date.getHours();
var min = date.getMinutes();
var sec = date.getSeconds();
var chashStr = hour + min + sec;

//OTHERS
function fn_top() {
  scrollTo(0,0);undefined;
}
function fn_back() {
  history.back();
}
function fn_copy() {
	document.write('Copyright&copy; 2010-' + year2 + ' TAX大竹 2nd//Edition All Rights Reserved.\n');
}
function fn_year() {
  document.write('<select name="年(必須)" size="1">\n');
  document.write('<option selected="selected">-</option> 年\n');
  document.write('<option value="' + year2 + '">' + year2 + '</option> 年\n');
  document.write('<option value="' + (year2 + 1) + '">' + (year2 + 1) + '</option> 年\n');
  document.write('</select> 年\n');
}
function fn_view(id_num,box_num) {
  for(i = 1;i <= box_num;i ++) {
    document.getElementById("box" + i).className = "view_off";
  }
  document.getElementById("box" + id_num).className = "view_on";
}
function fn_jump() {
  url_data = location.search;
  if(url_data){
    url_data = url_data.substring(1);
    j1 = url_data.substr(0,1);
    j2 = url_data.substr(1,1);
    fn_view(j1,j2);
  }
}

