/*
'==============================================================================
' 各ページのヘッダ部の書き出し
'==============================================================================
*/
function DrawHead () {
//function DrawHead (flg) {
//	var wMark;
//	var wLayerS;
//	var wLayerE;
	var wIcoLink;

	wIcoLink = "<IMG src=\"/jyoho/images/ico_link.gif\" width=\"16\" height=\"14\" align=\"absmiddle\">"
//
//	//------------------------------------------------------------
//	//マークのタグ編集
//	//------------------------------------------------------------
//	wMark = "<IMG src=\"/dmr/images/ico_mark.gif\" width=\"9\" height=\"9\" hspace=\"2\">";
	
//	//------------------------------------------------------------
//	//レイヤータグ編集
//	//------------------------------------------------------------
//	if (flag == "wns") {
//		
//		//Netscapeの場合
//		wLayerS = "<LAYER id=\"header\" pagex=\"190px\" pagey=\"0px\" width=\"610px\" height=\"62px\" z-index=\"2\">"
//		wLayerE = "</LAYER>"
//		
//	} else {
//		
//		//Internet Explorerの場合
//		wLayerS = "<DIV id=\"header\" style=\"position:absolute; left:190px; top:0px; width:610px; height:62px; z-index:2;\">"
//		wLayerE = "</DIV>"
//
//	}

	//------------------------------------------------------------
	//書き出し
	//------------------------------------------------------------
//	document.write(wLayerS);
	document.write("<TABLE width=\"760\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">");
	document.write("<TR>");
	document.write("<TD colspan=\"3\"><IMG src=\"/jyoho/images/ttl_sole.gif\" alt=\"こうち男女共同参画センター・ソーレ\" width=\"760\" height=\"60\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD width=\"180\"><IMG src=\"/jyoho/images/ttl_contents.gif\" alt=\"コンテンツ\" width=\"180\" height=\"20\"></TD>");
	document.write("<TD width=\"70\"><IMG src=\"/jyoho/images/ttl_contents2.gif\" alt=\"コンテンツ\" width=\"70\" height=\"20\"></TD>");
//携帯サイト作れないため中止	document.write("<TD width=\"510\" align=\"right\" class=\"navi\">" + wIcoLink + "<A href=\"/jyoho/k/index.html\">携帯サイト</A>　" + wIcoLink + "<A href=\"/jyoho/sitemap.htm\">サイトマップ</A></TD>");
	document.write("<TD width=\"510\" align=\"right\" class=\"navi\">" + wIcoLink + "<A href=\"/jyoho/sitemap.htm\">サイトマップ</A></TD>");
	document.write("</TR>");
	document.write("</TABLE>");
//	document.write(wLayerE);

}

/*
'==============================================================================
' 各ページのメニュー部の書き出し
'==============================================================================
*/
function DrawMenu (flg) {
	var wButtonTypeA;
	var wBannerTypeA;
	var wMarkTypeA;
	var wMarkTypeB;
	var wMarkTypeC;
	var wLineTypeA;
	var wLayerS;
	var wLayerE;
	
	wButtonTypeA = " width=\"155\" height=\"27\" border=\"0\"";
	wBannerTypeA = " width=\"150\" height=\"37\" border=\"0\" vspace=\"2\"";
	
	wMarkTypeA = "<IMG src=\"/jyoho/images/men_on.gif\" width=\"15\" height=\"27\" border=\"0\">";
//	wMarkTypeB = "<IMG src=\"/jyoho/images/men_off.gif\" width=\"15\" height=\"100%\" border=\"0\">";
	wMarkTypeB = " background=\"/jyoho/images/men_off.gif\"";
	wMarkTypeC = "<IMG src=\"/jyoho/images/men_home1.gif\" width=\"15\" height=\"27\" border=\"0\">";
	wLineTypeA = "<IMG src=\"/jyoho/images/lin_menu.gif\" width=\"154\" height=\"15\" border=\"0\">"; 

	//------------------------------------------------------------
	//レイヤータグ編集
	//------------------------------------------------------------
//	if (flag == "wns") {
//		
//		//Netscapeの場合
//		wLayerS = "<LAYER id=\"memu\" pagex=\"10\" pagey=\"0\" width=\"180\" height=\"100\" z-index=\"1\">"
//		wLayerE = "</LAYER>"
//
//	} else {
//		
//		//Internet Explorerの場合
//		wLayerS = "<DIV id=\"memu\" style=\"position:absolute; left:10px; top:0px; width:180px; height:100%; z-index:1\";>"
//		wLayerE = "</DIV>"
//
//	}
	
	//------------------------------------------------------------
	//書き出し
	//------------------------------------------------------------
//	document.write("<DIV id=\"memu\" style=\"position:absolute; left:8px; top:0px; width:182px; height:100px; z-index:1\">");
//	document.write("<DIV id=\"memu\" style=\"position:absolute; left:8px; top:0px; width:182px; height:100%; z-index:1\" background-color: #E7FB7B; layer-background-color: #E7FB7B;>");
//	document.write(wLayerS);
	document.write("<TABLE width=\"170\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"menu\">");
	//HOMEへ
	document.write("<TR>");
	document.write("<TD colspan=\"2\" width=\"180\"><A href=\"/jyoho/default.htm\"><IMG src=\"/jyoho/images/ttl_home.gif\" alt=\"HOMEへ\" width=\"180\" height=\"21\" border=\"0\"></A></TD>");
	document.write("</TR>");
	//センターの概要
	document.write("<TR>");
	document.write("<TD width=\"15\">" + wMarkTypeA + "</TD>");
	document.write("<TD width=\"155\"><IMG src=\"/jyoho/images/men_001.gif\"" + wButtonTypeA + " alt=\"センターの概要\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/sole.htm#sole\">ソーレについて</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/sole.htm#unnei\">運営主体</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//センター利用案内
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_002.gif\"" + wButtonTypeA + " alt=\"センター利用案内\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/reserve.htm#process\">ご利用の手順</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/reserve.htm#reserve\">予約方法</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/application.htm\">申請書様式（ダウンロード）</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/floor.htm\">館内案内</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/map.htm\">アクセス（地図）</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/gae00s4.asp\">施設予約状況</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//講座・イベント情報
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_004.gif\"" + wButtonTypeA + " alt=\"講座・イベント情報\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/info/eve_list.asp\">講座・イベント情報</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/info/report.htm\">講座終了報告</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/info/demae.htm\">ミニ出前講座<BR>&nbsp;&nbsp;＆ウェルカムセミナー</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//相談情報
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_006.gif\"" + wButtonTypeA + " alt=\"相談情報\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/soudan/consult.htm#ippan\">女性のための一般相談</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/soudan/consult.htm#senmon\">女性のための専門相談（法律・こころ・健康）</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/soudan/consult.htm#dansei\">男性のための悩み相談</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/soudan/list.htm\">相談窓口一覧</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//情報ライブラリー
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_007.gif\"" + wButtonTypeA + " alt=\"情報ライブラリー\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/guidance.htm\">利用案内</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/newarrival.asp\">新着図書</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/lib_seach.asp\">図書資料検索</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/guide/panel.htm\">パネル貸出について</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//出版物
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_003.gif\"" + wButtonTypeA + " alt=\"出版物\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/publication/solescope/menu.htm\">ソーレ・スコープ（情報紙）</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/publication/guchokipa/menu.htm\">ぐーちょきぱー（啓発誌）</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/publication/document/menu.htm\">講演会記録</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/publication/seikatushi/menu.htm\">「高知の女性の生活史」記録集</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/publication/etc/menu.htm\">その他の出版物</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//情報ステーション
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_009.gif\"" + wButtonTypeA + " alt=\"情報ステーション\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/station/pdf/dantairiyou.pdf\" target=\"_blank\">ソーレ利用団体情報</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/play/menu.htm\">ちょっと一息</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/station/datamenu.htm\">データ集</A><BR>");
	document.write("・<A class=\"typem\" href=\"/jyoho/pdf/kessan7.pdf\" target=\"_blank\">事業実績</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//リンク集
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeA + "</TD>");
	document.write("<TD><IMG src=\"/jyoho/images/men_011.gif\"" + wButtonTypeA + " alt=\"リンク集\"></TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD" + wMarkTypeB + ">&nbsp;</TD>");
	document.write("<TD>");
	document.write("・<A class=\"typem\" href=\"/jyoho/link.htm\">リンク</A><BR>" + wLineTypeA);
	document.write("</TD>");
	document.write("</TR>");
	//ＨＯＭＥへ
	document.write("<TR>");
	document.write("<TD>" + wMarkTypeC + "</TD>");
	document.write("<TD><A href=\"/jyoho/default.htm\"><IMG src=\"/jyoho/images/men_012.gif\"" + wButtonTypeA + " alt=\"ＨＯＭＥへ\"></A></TD>");
	document.write("</TR>");
	document.write("</TABLE>");
//	document.write(wLayerE);
	
	//------------------------------------------------------------
	//本文部分のレイヤータグ（開始）編集
	//------------------------------------------------------------
//	if (flag == "wns") {
//		
//		//Netscapeの場合
//		if (window.location == "http://www.digi-mori.com/dmr/index.html") {
//			document.write("<TABLE border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><TR><TD width=\"200\">&nbsp;</TD><TD width=\"590\">");
//		} else {
//			document.write("<LAYER id=\"main\" pagex=\"200\" pagey=\"62\" width=\"590\" height=\"100\"  z-index=\"3\">");
//		}
//	} else {
//		
//		//Internet Explorerの場合
//		document.write("<DIV id=\"main\" style=\"position:absolute; left:200px; top:62px; width:590px; height:100; z-index:3\">");
//
//	}

}

/*
'==============================================================================
' 各ページフッダ部の書き出し
'==============================================================================
*/
function DrawFoot (prev,flg) {
	var wInfoArray;
	var mainColor;
	var subColor;

	//------------------------------------------------------------
	//書き出し
	//------------------------------------------------------------
	document.write("<BR>");
	document.write("<BR>");
	document.write("<TABLE width=\"550\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
	document.write("<TR>");
	if (flg == 1) {		//ページがタテに長い場合はflgに1を設定し[トップページに戻る]ボタンを表示
//20060106UPD(M)			document.write("<TD align=\"right\"><FONT size=\"-1\">［ <A href=\"#top\">このページのトップへ↑</A> ］</FONT></TD>");
			document.write("<TD align=\"right\"><A href=\"#top\"><IMG src=\"/jyoho/images/btn_pagetop.gif\" width=\"155\" height=\"21\" border=\"0\" alt=\"このページのトップへ\"></A></FONT></TD>");
	} else {
			document.write("<TD></TD>");
	}
	document.write("</TR>");
	document.write("</TABLE>");
	document.write("<HR align=\"left\" width=\"550\" size=\"1\" noshade>");
	DrawCopyright();
	
	//------------------------------------------------------------
	//本文部分のレイヤータグ（終了）編集
	//------------------------------------------------------------
//	if (flag == "wns") {
//		
//		//Netscapeの場合
//		if (window.location == "http://www.digi-mori.com/dmr/index.html") {
//			document.write("</TD></TR></TABLE>");
//		} else {
//			document.write("</LAYER>");
//		}
//		
//	} else {
//		
//		//Internet Explorerの場合
//		document.write("</DIV>");
//
//	}
	
}

/*
'==============================================================================
' コピーライト部の書き出し(例：見出し、記事、写真の無断転載を禁じます)
'==============================================================================
*/

function DrawCopyright () {
    //書き出し
    document.write("<TABLE width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
    document.write("<TR valign=\"bottom\" align=\"right\">");
//    document.write("<TD colspan=\"2\" height=\"20\" class=\"copyright\">Copyright(C) 1999-2005 SOLE All Rights Reserved<BR>このホームページ上の全てのデータ、ファイルを無断で転載、掲載する事を禁止します。</TD>");
    document.write("<TD colspan=\"2\" height=\"20\" class=\"copyright\"><FONT size=\"-1\" color=\"#666666\"> Copyright(C) 1999-2007 SOLE All Rights Reserved<BR>このホームページ上の全てのデータ、ファイルを無断で転載、掲載する事を禁止します。</FONT></TD>");
		document.write("</TR>");
    document.write("</TABLE>");
}

/*
'==============================================================================
' カレンダーの書き出し
'==============================================================================
*/

function DrawCalendear () {
	document.write("aa")
}

/*
'==============================================================================
' ウィンドウを新しく開く（リンク集の高知県下の地図）
'==============================================================================
*/
function OpnMap(gName, gUrl, gWidth, gHeight){

    var vUrl = gUrl;
    var vWindowName = gName;                //Window名称

    vOthers = "";
    vOthers = vOthers + " left=0";          //画面位置(横)
    vOthers = vOthers + ",top=0";           //画面位置(縦)
    vOthers = vOthers + ",scrollbars=yes";  //画面スクロールバー表示ON
    vOthers = vOthers + ",resizable=yes";   //画面サイズ変更ON
    vOthers = vOthers + "," + gWidth;       //画面サイズ(横)
    vOthers = vOthers + "," + gHeight;      //画面サイズ(縦)

    window.open(vUrl,vWindowName,vOthers);

}

/*
'==============================================================================
' ウィンドウOPEN
'==============================================================================
*/
function openBrWindow() { 
  var vUrl;
	var vName;
	var vOther;
	
	vUrl   = "yamamap/index.html"
	vName  = "山マップ"
	vOther = "width=376,height=500,scrollbars=yes"
		
  window.open(vUrl,vName,vOther);
	
}
