//	vec.js		02/02/20 -

var m_sCGI = "http://www.kanemasa-inc.jp/ing/bin/numing.cgi";
var m_sSoft= "http://hp.vector.co.jp/authors/VA012572/soft/dat/";

// ------------------------------------------------------------------
//	ＤＬカウンターのリンクをセット
// ------------------------------------------------------------------
function v_Down(sSet, sLzh, sCap, sSize, sDisc)
{
	var sCmd = "?name=" + sSet + "&down=" + m_sSoft + sLzh;
	var sSub = " (" + sLzh + " " + sSize + ")";

	document.write("<IMG src='../img/pt/br.gif' border=0>", " ");
	document.write("<A href=", m_sCGI, sCmd, ">");
	document.write(sCap, sSub, "</A><BR>", "\n");

	if (sDisc)		document.write(sDisc, "<BR><BR>", "\n");
}

// ------------------------------------------------------------------
//	ページカウンターをセット
// ------------------------------------------------------------------
function v_Page(sSet, sLen, sType)
{
	document.write("<IMG src=", m_sCGI);
	document.write("?name=", sSet, "&len=", sLen, "&type=", sType);
	document.write(" alt=", sSet, ">");
}

// ------------------------------------------------------------------
//	タイトルを表示
// ------------------------------------------------------------------
function v_ViewCap(sImage, sTitle, sJap)
{
	var sImg = "./res/" + sImage;
	var sCap = sTitle;
	if (sJap)	sCap = sTitle + " （" + sJap + "）";

	document.write("<CENTER><TABLE border=0><TR>");
	document.write("<TD><IMG src=", sImg, " border=0></TD>");

	document.write("<TD>　</TD><TD>　</TD>");
	document.write("<TD><FONT size=5 color='indigo'><B>",
		sCap, "</B></FONT></TD>");

	document.write("</TR></TABLE></CENTER>");
	document.write("<HR><BR>", "\n");
}

// ------------------------------------------------------------------
//	ダウンロードを表示
// ------------------------------------------------------------------
function v_ViewDown()
{
	document.write("<TABLE border=0 width='100%' cellspacing=2 cellpadding=3>");
	document.write("<TR><TD class='down'>",
		"<IMG src='../img/download.gif' border=0>　ダウンロード");
	document.write("</TD></TR></TABLE>", "\n");
}

