/*-----------------------------------------------------------------------------
 * FlashCtrl関数
 *
 * auguments[0]==swfのpath
 * auguments[1]==width
 * auguments[2]==height
 *
 * IEで表示する場合、「このコントロールにアクティブ…」云々の警告が発生するため、
 * JS内でFlashを定義。
 *
 * menu = false は右クリック禁止用
 * align="middle" はFireFoxでFlashを表示したときに生じる2pxの隙間埋め。
 *
 *-----------------------------------------------------------------------------*/
function FlashCtrl(){
	var str;
	str  = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n';
	str += 'codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"\n';
	str += 'id="top" width="'
	str += arguments[1]// width
	str += '" height="'
	str += arguments[2]// height
	str += '">\n';
	str += '<param name="movie" value="'
	str += arguments[0]// path
	str += '">\n';
	str += '<param name="quality" value="high">\n';
	str += '<param name="bgcolor" value="#FFFFFF">\n';
	str += '<embed src="'
	str += arguments[0]// path
	str += '" quality="high" bgcolor="#FFFFFF"\n';
	str += 'width="'
	str += arguments[1]// width
	str += '" height="'
	str += arguments[2]// height
	str += '" menu=false align="middle"\n';
	str += 'type="application/x-shockwave-flash"\n';
	str += 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n';
	str += '</embed>\n';
	str += '</object>\n';

	document.write(str);
}



/*-----------------------------------------------------------------------------
 * News関数
 *
 * 引数なし
 *
 * 全ページで使っているのでJS化。
 *-----------------------------------------------------------------------------*/
function News() {
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2010/03/29</td>");
	document.write("<td height='16' width='137' class=text1>eラーニングページを追加。</td>");
	document.write("</tr>");
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2010/03/11</td>");
	document.write("<td height='16' width='137' class=text1>eラーニング構築事業開始。</td>");
	document.write("</tr>");
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2010/02/09</td>");
	document.write("<td height='16' width='137' class=text1>Web制作事業ページを追加。</td>");
	document.write("</tr>");
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2010/02/02</td>");
	document.write("<td height='16' width='137' class=text1>Web制作広告を追加。</td>");
	document.write("</tr>");
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2010/01/22</td>");
	document.write("<td height='16' width='137' class=text1>組織図を更新。</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td height='16'  width='56' class=text1>2008/09/29</td>");
	document.write("<td height='16' width='137' class=text1>求人情報更新。</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td height='16'  width='56' class=text1>2008/08/06</td>");
	document.write("<td height='16' width='137' class=text1>「研修室ブログ。」開始。</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td height='16'  width='56' class=text1>2008/08/01</td>");
	document.write("<td height='16' width='137' class=text1>プライバシーマーク更新。</td>");
	document.write("</tr>");
	document.write("<tr>"); 
	document.write("<td height='16'  width='56' class=text1>2008/04/01</td>");
	document.write("<td height='16' width='137' class=text1>Webサイトリニューアル。</td>");
	document.write("</tr>");
}
