<!-- #include file="../../../include.asp" -->
<!-- #include file="../../../user/bk/hojyobo/fk_seizokansetsuhaifuhyo_view_main_in.asp" -->

<%
'<!-- 
'################################################
'	名称	:製造間接費配賦表
'	作成日	:2016/02/18
'	作成者	:小野
'	概要	:
'################################################
'-->
'
'
%>

<%
main()
Sub main()
	If Not(SessionCheck()) Then
		Exit Sub
	End If
	
	Dim PageType
	PageType = Request("PageType")

	Dim Label
	If PageType = "Uriage" Then
		Label = "売上帳"
	Else
		Label = "仕入帳"
	End If

	Label = "製造間接費配賦表"

	Dim RouteType
	RouteType = Request("RouteType")

	Dim AutoPrint 
	AutoPrint = Request("AutoPrint")

%>
<html>
<% = HtmlHeader("sj3tyobored11") %>
<SCRIPT LANGUAGE="JavaScript">
<!--
	HomeAlias = "<% = HomeAlias %>";
	HomeAliasSL = "<% = HomeAliasSL %>";
	ExitFlg = 1;
-->
</SCRIPT>

<body onkeydown="if(ExitFlg==2)ExitFlg=3;" onBeforeUnload="if(ExitFlg!=0)window.event.returnValue = ExitMsg(ExitFlg)"<% If AutoPrint = "1" Then %> onLoad="PrintoutReal();"<% End If %> bgcolor="#5C70B6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
	If InStr(RouteType, "ViewOnly") > 0 Then
		Response.Write(HtmlDesign(4))	
	ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then
		Response.Write(HtmlDesign(2))
	Else
		Response.Write(HtmlDesign(1))
	End If

	Response.Write(HttpL1(3))
	
	If InStr(RouteType, "ViewOnly") > 0 Then
		Response.Write(HttpL2("照会・集計ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s_viewonly.asp')", "経理部", "", "補助簿", "", Label, "", "", "", "", ""))
	ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then
		Response.Write(HttpL2("補助簿ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp?RouteType=" & RouteType & "')", Label, "", "", "", "", "","", "", "", ""))
	ElseIf PackageMode = 1 Then
		Response.Write(HttpL2("メインメニュー" ,"tblbtn('/" & HomeAlias & "/user/bk/menu_cyac.asp')", "手入力帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_cyac3.asp')", Label, "", "", "", "", "", "", ""))
	Else
		'Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "経理部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s1.asp')", "帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp')", Label, "", "", ""))
		Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "製造部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s6.asp')", Label, "", "", "", "", ""))
	End If
	
	Response.Write(HttpL3("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""))

	Response.Write(HttpL3_1("印刷", "PrintoutReal()", "", "", "", "", "", "", "", ""))
	
	If InStr(RouteType, "ViewOnly") > 0 Then
		Response.Write(HttpL3_2("", "", "", "", "", "", "", "", "", ""))
	Else
		Response.Write(HttpL3_2("入力", "tblbtn('fk_seizokansetsuhaifuhyo.asp?RouteType=" & RouteType & "&PageType=" & PageType & "')", "", "", "", "", "", "", "", ""))
	End If

	Response.Write(HttpL4(Label, ""))
%>	
							  
<div id="L0" style="position: absolute; visibility: hidden; left: 0px; top: -2000px;">							 
<% 
	Response.Write(SeizoKansetsuHaifuhyo(EnshuCD, KaisyaCD, KaisyaCD, "", "", "", "", "", "", "", "", "", "", 0, 0))
%>
</div>
</body>
<% = HtmlFooter %>
<% 
End Sub
%>