function preload() {
	if (!document.images) return;
	var ar = new Array();
	var arguments = preload.arguments;
	for (var i = 0; i < arguments.length; i++) {
	ar[i] = new Image();
	ar[i].src = arguments[i];
	}
}

function Header() {
	document.write("<h1><a href='http://www.bibigawa.or.jp/'><img src='image/logo.gif' alt='社会福祉法人&nbsp;美々川福祉会' /></a></h1>");
	document.write("<p>〒059-1361&nbsp;北海道苫小牧市字美沢193番地1</p>");
}

function PtopMark() {
	document.write("<a name='top' id='top'></a>");
}

function Ptop(stat) {
	if (stat != "no"){
		document.write("<a href='#top'><img src='image/spacer.gif' width='120' height='24' alt='ページ先頭へ' /></a>");
			}
}

function Movie() {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='540' height='248' id='index' align='middle'>");
	document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='movie' value='index.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='index.swf' quality='high' bgcolor='#ffffff' width='540' height='248' name='index' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

function Count() {
	document.write("<table cellspacing='4' cellpadding='0' border='0' align='center' summary='access counter'>");
	document.write("<tr>");
	document.write("<td><span class='size12'><span class='ye'>★★★</span>&nbsp;あなたは</span></td>");
	document.write("<td><img src='/counter?charset=ocr,border=0' alt='access counter' /></td>");
	document.write("<td><span class='size12'>人目のお客様です。&nbsp;<span class='ye'>★★★</span></span></td>");
	document.write("</tr>");
	document.write("</table>");
}

function RepoOpen() {
	document.write("<table width='100%' cellspacing='1' cellpadding='2' border='0' align='center'>");
}

function RepoWrite(item1,item2) {
	document.write("<tr>");
	document.write("<td width='30%' bgcolor='#ccff66' align='center' class='size12'>" + item1 + "</td>");
	document.write("<td width='70%' bgcolor='#ccff99' align='center' class='size12'>" + item2 + "</td>");
	document.write("</tr>");
}

function RepoClose() {
	document.write("</table>");
}

function EnkakuOpen() {
	document.write("<table width='100%' cellspacing='0' cellpadding='2' border='0'>");
}

function EnkakuWrite(color,gengo,yy,mm,dd,comment) {
	if (color=="w"){
		back = "#ffffff";
	}
	if (color=="b"){
		back = "#ccccff";
	}
	document.write("<tr>");
	document.write("<td class='size12' bgcolor='" + back + "'>" + gengo + "</td>");
	document.write("<td class='size12' bgcolor='" + back + "' align='right'>" + yy + "年&nbsp;</td>");
	document.write("<td class='size12' bgcolor='" + back + "' align='right'>" + mm + "月&nbsp;</td>");
	document.write("<td class='size12' bgcolor='" + back + "' align='right'>" + dd + "日&nbsp;</td>");
	document.write("<td class='size12' bgcolor='" + back + "'>" + comment + "</td>");
	document.write("</tr>");
}

function EnkakuClose() {
	document.write("</table>");
}

function SideMenu(){
	document.write("<ul class='sidemenu'>");
	document.write("<li><a href='http://www.bibigawa.or.jp/'>Home</a></li>");
	document.write("<li><a href='houjin.html'>当法人について</a></li>");
	document.write("<li><a href='rinen.html'>基本理念・支援指針</a></li>");
	document.write("<li><a href='jigyo.html'>事業報告</a></li>");
	document.write("<li><a href='hyouka.html'>福祉サービス第三者評価</a></li>");
	document.write("<li><a href='recruit.html'>求人情報</a></li>");
	document.write("<li><a href='privacy.html'>個人情報保護方針</a></li>");
	document.write("</ul>");
	document.write("<ul class='sidemenu_2'>");
	document.write("<li><img src='image/b_info_s.gif' alt='施設のご案内' /></a></li>");
	document.write("<li><a href='fukushien.html'><img src='image/b_01_of.gif'	onMouseover=\"this.src='image/b_01_om.gif'\" onMouseout=\"this.src='image/b_01_of.gif'\"	alt='【障がい者支援施設】美々川福祉園' /></a></li>");
	document.write("<li><a href='daycenter.html'><img src='image/b_02_of.gif'	onMouseover=\"this.src='image/b_02_om.gif'\" onMouseout=\"this.src='image/b_02_of.gif'\"	alt='【障がい福祉サービス事業所】美々川デイセンター' /></a></li>");
	document.write("<li><a href='eco.html'><img src='image/b_03_of.gif'		onMouseover=\"this.src='image/b_03_om.gif'\" onMouseout=\"this.src='image/b_03_of.gif'\"	alt='【障がい福祉サービス事業所】美々川エコ' /></a></li>");
	document.write("<li><a href='wing.html'><img src='image/b_04_of.gif'		onMouseover=\"this.src='image/b_04_om.gif'\" onMouseout=\"this.src='image/b_04_of.gif'\"	alt='【障害福祉サービス事業】共同生活援助・共同生活介護&nbsp;ウイング' /></a></li>");
	document.write("<li><img src='image/b_info_j.gif' alt='就労製品のご案内' /></a></li>");
	document.write("<li><a href='jusan_soap.html'><img src='image/b_11_of.gif'	onMouseover=\"this.src='image/b_11_om.gif'\" onMouseout=\"this.src='image/b_11_of.gif'\"	alt='【天然油脂リサイクル石鹸】美々川せっけん' /></a></li>");
	document.write("<li><a href='jusan_soap_gold.html'><img src='image/b_15_of.gif'	onMouseover=\"this.src='image/b_15_om.gif'\" onMouseout=\"this.src='image/b_15_of.gif'\"	alt='【台所用液体石鹸】美々川せっけんGOLD' /></a></li>");
	/*document.write("<li><a href='jusan_shiitake.html'><img src='image/b_12_of.gif'	onMouseover=\"this.src='image/b_12_om.gif'\" onMouseout=\"this.src='image/b_12_of.gif'\"	alt='原木しいたけ' /></a></li>");*/
	 document.write("<li><a href='jusan_k_shiitake.html'><img src='image/b_17_of.gif'	onMouseover=\"this.src='image/b_17_om.gif'\" onMouseout=\"this.src='image/b_17_of.gif'\"	alt='菌床しいたけ' /></a></li>");
	document.write("<li><a href='jusan_jam.html'><img src='image/b_13_of.gif'	onMouseover=\"this.src='image/b_13_om.gif'\" onMouseout=\"this.src='image/b_13_of.gif'\"	alt='【有機・無農薬栽培】はすかっぷじゃむ' /></a></li>");
	/* document.write("<li><a href='jusan_ukokkei.html'><img src='image/b_14_of.gif'	onMouseover=\"this.src='image/b_14_om.gif'\" onMouseout=\"this.src='image/b_14_of.gif'\"	alt='健康のもと&nbsp;烏骨鶏' /></a></li>"); */
	document.write("<li><a href='jusan_zenac.html'><img src='image/b_16_of.gif'	onMouseover=\"this.src='image/b_16_om.gif'\" onMouseout=\"this.src='image/b_16_of.gif'\"	alt='【スーパーセラミック活性炭】ZENAC' /></a></li>");
	document.write("<li><a href='#'><img src='image/b_18_of.gif'	onMouseover=\"this.src='image/b_18_om.gif'\" onMouseout=\"this.src='image/b_18_of.gif'\"	alt='通信販売' /></a></li>");
	document.write("<li>&nbsp;</li>");
	/* document.write("<li><img src='image/b_info_o.gif' alt='お知らせ' /></a></li>"); */	
	document.write("<li><img src='image/toiawase.gif' border='0' alt='お問い合わせ先一覧' usemap='#map_1'/>");
	document.write("<map name='map_1'><area shape='rect' coords='25,245,160,275' href='mailto:info@bibigawa.or.jp' title='メールはこちらから' /></map></li>");
	document.write("</ul>");
}

function Footer(){
	document.write("<address>Copyright&nbsp;&copy;美々川福祉会.All&nbsp;rights&nbsp;reserved.</address>");
}

function Zoom(stat,fname){
	if (stat==0){
		window.open(fname,"zoom","menubar=no,scrollbars=yes,resizable=no,width=640,height=480");
	} else {
		window.open(fname,"zoom","menubar=no,scrollbars=yes,resizable=no,width=480,height=640");
	}
}


