/*-------------------------------------//
//                                     //
//  ++++++   東京21cクラブ   +++++++   //
//    http://210.150.88.50     //
//                                     //
//                                     //
//  COMMON FUNCTIONS JavaScript        //
//-------------------------------------*/

//var httpurl="http://210.150.88.50";
//var httpsurl="https://210.150.88.50";
var httpurl="http://www.tokyo21c-club.com";
var httpsurl="https://www.tokyo21c-club.com";

function href(p)
{
	location.href = httpurl+p;
}
function submit(p)
{
	document.formhttp.action=httpurl+p;
	document.formhttp.submit();
}
function hrefhttps(p)
{
	location.href = httpsurl+p;
}
function submithttps(p)
{
	document.formhttps.action=httpsurl+p;
	document.formhttps.submit();
}

// IMAGE_CONTROL +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


function swapImgRestore() { //v3.0
  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function swapImage() { //v3.0
  var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



// WINDOW_CONTROL ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

function openWin(n){
content = "/layout/layout_" + n + ".html";
var w;
w = window.open(content,"layout","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=480,height=520");
w.window.focus();
}

// generateHead +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function generateHead(area) {
	if (area=="open"){
		var areaID = "1";
	document.open();
	document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr><td class="head' + areaID + '-table" align="left">\n');
	document.write('<table width="750" height="70" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr>\n');
	document.write('<td width="150" valign="bottom" align="left"><a href="/open/english/" onmouseover="swapImage(\'home\',\'\',\'/open/english/images/btn_home' + areaID + '_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_home' + areaID + '_def.gif" name="home" alt="HOME" width="60" height="15" border="0"></a></td>\n');
	document.write('<td width="449" align="center" valign="middle"><a href="/open/english/" target="_self"><img src="/open/english/images/logo_t21c_' + areaID + '.gif" width="220" height="60" alt="Tokyo 21c Club" border="0"></a></td>\n');
	document.write('<td width="150" valign="bottom" align="right"><a href="http://www.tokyo21c-club.com/open/index_f.html"><img src="/open/english/images/btn_japanese.gif" alt="japanese" width="140" height="15" border="0"></a><img src="/open/english/images/space.gif" width="140" height="15" alt=""><a href="http://www.marunouchi.com/" target="_blank"><img src="/open/english/images/logo_marunouchi_' + areaID + '.gif" width="140" height="30" border="0" alt="Marunouchi"></a></td>\n');
	document.write('<td width="1" bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src=/open/english/images/space.gif" width="1" height="70" alt=""></td>\n');
	document.write('</tr>\n');
	document.write('</table>\n');
	document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>\n');
	document.write('</table>\n');
	document.write('</td></tr>\n');
	document.write('</table>\n');
	document.close();
	}
	else if (area=="limited"){
		var areaID = "2";
	document.open();
	document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr><td class="head' + areaID + '-table" align="left">\n');
	document.write('<table width="750" height="70" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr>\n');
	document.write('<td width="150" valign="bottom" align="left" class="head' + areaID + '-table"><img src="/images/space.gif" name="home" alt="" width="60" height="15" border="0"></td>\n');
	document.write('<td width="449" align="center" valign="middle"><img src="/images/logo_t21c_' + areaID + '.gif" width="220" height="60" alt="Tokyo 21c Club" border="0"></td>\n');
	document.write('<td width="150" valign="bottom" align="right"><a href="http://www.marunouchi.com/" target="_blank"><img src="/images/logo_marunouchi_' + areaID + '.gif" width="140" height="30" border="0" alt="Marunouchi"></a></td>\n');
	document.write('<td width="1" bgcolor="#ffffff" background="/images/bg_border_1.gif"><img src="/images/space.gif" width="1" height="70" alt=""></td>\n');
	document.write('</tr>\n');
	document.write('</table>\n');
	document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
	document.write('<tr><td bgcolor="#ffffff" background="/images/bg_border_1.gif"><img src="/images/space.gif" width="1" height="1" alt=""></td></tr>\n');
	document.write('</table>\n');
	document.write('</td></tr>\n');
	document.write('</table>\n');
	document.close();
	}
}

// generateFoot +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function generateFoot(mode) {
	document.open();
	if(mode=="visible"){
		document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr><td align="left" bgcolor="#000000">\n');
		document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr>\n');
//		document.write('<td width="749" align="right" valign="middle" class="foot-bar"><a href="/theme.html" target="_self" class="foot-menu"><font color="#ffffff">東京21cクラブとは</font></a> | <a href="/faq.html" target="_self" class="foot-menu"><font color="#ffffff">FAQ</font></a> | <a href="/cgi-bin/general/contact/contact.cgi" target="_self" class="foot-menu"><font color="#ffffff">お問い合わせ</font></a> | <a href="/link.html" target="_self" class="foot-menu"><font color="#ffffff">関連サイト</font></a> | <a href="/access.html" target="_self" class="foot-menu"><font color="#ffffff">アクセス</font></a><img src="/images/space.gif" width="10" height="10" alt=""></td>\n');
//		document.write('<td width="749" align="right" valign="middle" class="foot-bar"><a href="/open/theme/theme.html" target="_self" class="foot-menu"><font color="#ffffff">東京21cクラブとは</font></a> | <a href="/open/facility/facility.html" target="_self" class="foot-menu"><font color="#ffffff">提供施設のご紹介</font></a> | <a href="/open/info/history.html" target="_self" class="foot-menu"><font color="#ffffff">活動履歴</font></a> | <a href="/open/member/advisory.html" target="_self" class="foot-menu"><font color="#ffffff">アドバイザリーメンバーのご紹介</font></a> | <a href="/open/member/group.html" target="_self" class="foot-menu"><font color="#ffffff">登録グループのご紹介</font></a> | <a href="/open/info/faq.html" target="_self" class="foot-menu"><font color="#ffffff">FAQ</font></a> | <a href="/cgi-bin/general/contact/contact.cgi" target="_self" class="foot-menu"><font color="#ffffff">お問い合わせ</font></a> | <a href="/open/info/link.html" target="_self" class="foot-menu"><font color="#ffffff">関連サイト</font></a> | <a href="/open/info/access.html" target="_self" class="foot-menu"><font color="#ffffff">アクセス</font></a><img src="/images/space.gif" width="10" height="10" alt=""></td>\n');

		document.write('<td width="749" align="right" valign="middle" class="foot-bar"><a href="/open/english/theme/theme.html" target="_self" class="foot-menu"><font color="#ffffff">About the club</font></a> | <a href="/open/english/facility/facility.html" target="_self" class="foot-menu"><font color="#ffffff">Facilities</font></a> | <a href="/open/english/comingsoon/comingsoon.html" target="_self" class="foot-menu"><font color="#ffffff">Advisory members</font></a> | <a href="/open/english/network/network.html" target="_self" class="foot-menu"><font color="#ffffff">Members’ network</font></a><img src="/open/english/images/space.gif" width="10" height="10" alt=""><br> <a href="/open/english/event/event01.html" target="_self" class="foot-menu"><font color="#ffffff">Event information</font></a> | <a href="/open/english/info/faq.html" target="_self" class="foot-menu"><font color="#ffffff">FAQ</font></a> | <a href="/open/english/contact/contact.html" target="_self" class="foot-menu"><font color="#ffffff">Contact us</font></a> | <a href="/open/english/info/link.html" target="_self" class="foot-menu"><font color="#ffffff">Links</font></a> | <a href="/open/english/info/access.html" target="_self" class="foot-menu"><font color="#ffffff">Access</font></a><img src="/open/english/images/space.gif" width="10" height="10" alt=""></td>\n');

		document.write('<td width="1" bgcolor="#ffffff" background="open/english/images/bg_border_1.gif"><img src="open/english/images/space.gif" width="1" height="30" alt=""></td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		document.write('</td></tr>\n');
		document.write('</table>\n');
		document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr><td class="foot-table" align="left">\n');
		document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr>\n');
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/sitemap.html" onmouseover="swapImage(\'fm01\',\'\',\'/images/btn_sitemap_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm01" src="/images/btn_sitemap_def.gif" width="100" height="20" border="0" alt="サイトマップ"></a></td>\n');
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/recommend.html" onmouseover="swapImage(\'fm02\',\'\',\'/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/images/btn_recommend_def.gif" width="100" height="20" border="0" alt="閲覧環境について"></a></td>\n');

		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/sitemap.html" onmouseover="swapImage(\'fm01\',\'\',\'/open/english/images/btn_sitemap_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm01" src="/open/english/images/btn_sitemap_def.gif" width="100" height="20" border="0" alt=" Site map"></a></td>\n');
		
//英語のてきすとが来るまで仮でカミングスーンをアップ（テキストが来たら削除して、下のコメントアウト消してアップする）
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/comingsoon/comingsoon.html" onmouseover="swapImage(\'fm02\',\'\',\'/open/english/images/btn_prav_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/open/english/images/btn_prav_def.gif" width="180" height="20" border="0" alt="About the security of this site"></a></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/comingsoon/comingsoon.html" onmouseover="swapImage(\'fm03\',\'\',\'/open/english/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm03" src="/open/english/images/btn_recommend_def.gif" width="100" height="20" border="0" alt=" Terms of service"></a></td>\n');

//英語のテキストが来たら復活させる
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/privacy.html" onmouseover="swapImage(\'fm02\',\'\',\'/open/english/images/btn_prav_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/open/english/images/btn_prav_def.gif" width="180" height="20" border="0" alt="About the security of this site"></a></td>\n');
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/recommend.html" onmouseover="swapImage(\'fm03\',\'\',\'/open/english/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm03" src="/open/english/images/btn_recommend_def.gif" width="100" height="20" border="0" alt=" Terms of service"></a></td>\n');

		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm04" src="/open/english/images/space.gif" width="58" height="20" border="0" alt=""></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm05" src="/open/english/images/space.gif" width="1" height="20" border="0" alt=""></td>\n');
		document.write('<td width="349" bgcolor="#666666" align="right" valign="top"><img src="/images/copyright.gif" width="300" height="20" border="0" alt="Copyright MITSUBISHI ESTATE CO.,LTD. All rights reserved."></td>\n');
		document.write('<td width="1" bgcolor="#ffffff" background="/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="50" alt=""></td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		document.write('</td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		
	}if(mode=="limited"){
		document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr><td align="left" bgcolor="#000000">\n');
		document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr>\n');
//		document.write('<td width="749" align="right" valign="middle" class="foot-bar"><a href="/limited/topics.html" target="_self" class="foot-menu"><font color="#ffffff">トピックス</font></a> | <a href="/limited/facility/facility.html" target="_self" class="foot-menu"><font color="#ffffff">施設について</font></a> | <a href="/limited/profile/profile_rules.html" target="_self" class="foot-menu"><font color="#ffffff">メンバープロフィール</font></a> | <a href="/limited/forum/forum.html" target="_self" class="foot-menu"><font color="#ffffff">フォーラム・ワークショップ等のご案内</font></a> | <a href="/limited/app_form/app_form.html" target="_self" class="foot-menu"><font color="#ffffff">各種フォーム</font></a> | <a href="/cgi-bin/member/passwd/cng_passwd.cgi" target="_self" class="foot-menu"><font color="#ffffff">PASSWORD・アドレス変更</font></a> | <a href="/limited/faq.html" target="_self" class="foot-menu"><font color="#ffffff">メンバー用FAQ</font></a> | <a href="/cgi-bin/general/contact/limited_contact.cgi" target="_self" class="foot-menu"><font color="#ffffff">お問い合わせ</font></a><img src="/images/space.gif" width="10" height="10" alt=""></td>\n');

		document.write('<td width="749" align="right" valign="middle" class="foot-bar"><a href="/limited/topics.html" target="_self" class="foot-menu"><font color="#ffffff">トピックス</font></a> | <a href="/limited/facility/facility.html" target="_self" class="foot-menu"><font color="#ffffff">施設について</font></a> | <a href="/limited/profile/profile_rules.html" target="_self" class="foot-menu"><font color="#ffffff">メンバープロフィール</font></a> | <a href="/limited/bbs/bbs_rules.html" target="_self" class="foot-menu"><font color="#ffffff">メッセージボード</font></a> | <a href="/limited/forum/" target="_self" class="foot-menu"><font color="#ffffff">フォーラム・ワークショップ等のご案内</font></a><img src="/images/space.gif" width="10" height="10" alt=""><br> | <a href="/limited/archive/" target="_self" class="foot-menu"><font color="#ffffff">セミナーアーカイブ</font></a> | <a href="/limited/app_form/app_form.html" target="_self" class="foot-menu"><font color="#ffffff">各種サービス</font></a> | <a href="/cgi-bin/member/passwd/cng_passwd.cgi" target="_self" class="foot-menu"><font color="#ffffff">PASSWORD・アドレス変更</font></a> | <a href="/limited/faq.html" target="_self" class="foot-menu"><font color="#ffffff">メンバー用FAQ</font></a> | <a href="/cgi-bin/general/contact/limited_contact.cgi" target="_self" class="foot-menu"><font color="#ffffff">お問い合わせ</font></a><img src="/images/space.gif" width="10" height="10" alt=""></td>\n');

		document.write('<td width="1" bgcolor="#ffffff" background="/images/bg_border_1.gif"><img src="/images/space.gif" width="1" height="30" alt=""></td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		document.write('</td></tr>\n');
		document.write('</table>\n');
		document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr><td class="foot-table" align="left">\n');
		document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr>\n');

		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/limited/siteinfo/sitemap.html" onmouseover="swapImage(\'fm01\',\'\',\'/images/btn_sitemap_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm01" src="/images/btn_sitemap_def.gif" width="100" height="20" border="0" alt="サイトマップ"></a></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/limited/siteinfo/privacy.html" onmouseover="swapImage(\'fm02\',\'\',\'/images/btn_prav_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/images/btn_prav_def.gif" width="180" height="20" border="0" alt="当サイトのセキュリティーについて"></a></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/limited/siteinfo/recommend.html" onmouseover="swapImage(\'fm03\',\'\',\'/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm03" src="/images/btn_recommend_def.gif" width="100" height="20" border="0" alt="閲覧環境について"></a></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm04" src="/images/space.gif" width="100" height="20" border="0" alt=""></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm05" src="/images/space.gif" width="100" height="20" border="0" alt=""></td>\n');
		document.write('<td width="349" bgcolor="#666666" align="right" valign="top"><img src="/images/copyright.gif" width="300" height="20" border="0" alt="Copyright MITSUBISHI ESTATE CO.,LTD. All rights reserved."></td>\n');
		document.write('<td width="1" bgcolor="#ffffff" background="/images/bg_border_1.gif"><img src="/images/space.gif" width="1" height="50" alt=""></td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		document.write('</td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		
	}if(mode=="invisible"){
		document.write('<table width="100%" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr><td class="foot-table" align="left">\n');
		document.write('<table width="750" cellspacing="0" cellpadding="0" border="0">\n');
		document.write('<tr>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/sitemap.html" onmouseover="swapImage(\'fm01\',\'\',\'/open/english/images/btn_sitemap_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm01" src="/open/english/images/btn_sitemap_def.gif" width="100" height="20" border="0" alt="Site map"></a></td>\n');

//英語のてきすとが来るまで仮でカミングスーンをアップ（テキストが来たら削除して、下のコメントアウト消してアップする）
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/comingsoon/comingsoon.html" onmouseover="swapImage(\'fm02\',\'\',\'/open/english/images/btn_prav_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/open/english/images/btn_prav_def.gif" width="180" height="20" border="0" alt="About the security of this site"></a></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/comingsoon/comingsoon.html" onmouseover="swapImage(\'fm03\',\'\',\'/open/english/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm03" src="/open/english/images/btn_recommend_def.gif" width="100" height="20" border="0" alt="Terms of service"></a></td>\n');

//英語のテキストが来たら復活させる
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/privacy.html" onmouseover="swapImage(\'fm02\',\'\',\'/open/english/images/btn_prav_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm02" src="/open/english/images/btn_prav_def.gif" width="180" height="20" border="0" alt="About the security of this site"></a></td>\n');
//		document.write('<td width="100" bgcolor="#666666" valign="top"><a href="/open/english/siteinfo/recommend.html" onmouseover="swapImage(\'fm03\',\'\',\'/open/english/images/btn_recommend_ov.gif\',1)" onmouseout="swapImgRestore()"><img name="fm03" src="/open/english/images/btn_recommend_def.gif" width="100" height="20" border="0" alt="Terms of service"></a></td>\n');
		
		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm04" src="/open/english/images/space.gif" width="58" height="20" border="0" alt=""></td>\n');
		document.write('<td width="100" bgcolor="#666666" valign="top"><img name="fm05" src="/open/english/images/space.gif" width="1" height="20" border="0" alt=""></td>\n');
		document.write('<td width="349" bgcolor="#666666" align="right" valign="top"><img src="/open/english/images/copyright.gif" width="300" height="20" border="0" alt="Copyright MITSUBISHI ESTATE CO.,LTD. All rights reserved."></td>\n');
		document.write('<td width="1" bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="50" alt=""></td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		document.write('</td>\n');
		document.write('</tr>\n');
		document.write('</table>\n');
		}
	document.close();
}

// generateFlash +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function generateFlash(Obj) {
	document.open();
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id=' + Obj.id + ' width="' + Obj.width + '" height="' + Obj.height + '" name="' + Obj.id + '">\n');
	document.write('<param name="movie" value="' + Obj.path + Obj.data + Obj.opt + '">\n');
	document.write('<param name=' + Obj.id + ' value="false">\n');
	document.write('<param name="quality" value="' + Obj.quality + '">\n');
	document.write('<param name="bgcolor" value="' + Obj.bgcolor + '">\n');
	document.write('<param name="menu" value="false">\n');
	document.write('<embed src="' + Obj.path + Obj.data + Obj.opt + '" quality="' + Obj.quality + '" swLiveConnect="false" bgcolor="' + Obj.bgcolor + '" pluginspage="http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + Obj.width + '" height="' + Obj.height + '" menu="false">\n');
	document.write('</embed></object>\n');
	document.close();
}

// Window_Open +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	
function openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
function drawLoginPallet()
{
//翻訳サイトには会員ページを作らないためログイン部分はここから隠す2007/11/13
//		document.write('<!-- loginPallet | title -->');
//		document.write('<table width="150" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff">');
//		document.write('<tr><td colspan="2" bgcolor="#000000" background="/open/english/images/space.gif"><img src="/open/english/images/label_login.gif" width="150" height="20" alt="会員ログイン"></td></tr>');
//		document.write('</table>');

//		document.write('<!-- loginPallet | Form -->');
//		document.write('<table width="150" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff">');
//		document.write('<form action="'+httpsurl+'/cgi-bin/member/login/login.cgi" method="post" target="_blank">');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><img src="/open/english/images/label_id.gif" alt="log in ID" width="150" height="20"></td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif" align="right"><input type="text" name="membership_no" size="15" maxlength="50"><img src="/open/english/images/space.gif" width="20" height="10" alt=""></td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><img src="/open/english/images/label_pw.gif" alt="password" width="150" height="20"></td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif" align="right"><input type="password" name="passwd" size="15" maxlength="50"><img src="/open/english/images/space.gif" width="20" height="10" alt=""></td></tr>');
//		document.write('<tr><td align="right" bgcolor="#ffffff" background="/open/english/images/space.gif"><input type="hidden" name="mode" value="auth">');
//		document.write('<input type="image" border="0" name="submit" src="/open/english/images/btn_login.gif" VALUE="enter">');
//		document.write('</td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><img src="/open/english/images/space.gif" width="1" height="5" alt=""></td></tr>');
//		document.write('</form>');
//		document.write('</table>');
//
//		document.write('<!-- passwordRemind -->');
//		document.write('<table width="140" cellspacing="0" cellpadding="4" border="0" bgcolor="#ffffff">');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif" class="j10">Please click<br><a href="'+httpsurl+'/cgi-bin/member/passwd/qry_passwd.cgi" target="_self" class="option">here</a>to have your password reissued.</td></tr>');
//		document.write('</table>');
//翻訳サイトには会員ページを作らないためログイン部分はここまで隠す2007/11/13
		document.write('<br>');
		document.write('<br>');
		document.write('<table width="150" cellspacing="0" cellpadding="0" border="0">');
		document.write('<tr><td><a href="http://www.egg-japan.com/open/english/index_f.html"><img src="/open/english/images/logo_egg.gif" width="150" height="38" border=0 alt="EGG JAPAN"></a></td></tr>');
		document.write('<tr><td>&nbsp;</td></tr>');
		document.write('<tr><td><a href="http://www.egg-japan.com/office/open/english/index_f.html"><img src="/open/english/images/logo_inc.gif" width="150" height="29" border=0 alt="Incubation Office"></a></td></tr>');
		document.write('<tr><td>&nbsp;</td></tr>');
		document.write('<tr><td><a href="http://www.marunouchi-frontier.com/english/index.html"><img src="/open/english/images/logo_maru.gif" width="150" height="29" border=0 alt="MARUNOUCHI FRONTIER"></a></td></tr>');
		document.write('</table>');

}
function drawMenuButton()
{
		document.write('<!-- menuBtn -->');
		document.write('<table width="150" cellspacing="0" cellpadding="0" border="0">');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/theme/theme.html" onmouseover="swapImage(\'menu01\',\'\',\'/open/english/images/btn_mm01_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm01_def.gif" name="menu01" alt="About the club" width="150" height="20" border="0"></a></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/facility/facility.html" onmouseover="swapImage(\'menu02\',\'\',\'/open/english/images/btn_mm02_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm02_def.gif" name="menu02" alt="Facilities" width="150" height="20" border="0"></a></td></tr>');
		document.write('<!--<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/info/history.html" onmouseover="swapImage(\'menu03\',\'\',\'/images/btn_mm03_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm03_def.gif" name="menu03" alt="活動履歴" width="150" height="20" border="0"></a></td></tr>-->');
		
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		
//英語のてきすとが来るまで仮でカミングスーンをアップ（テキストが来たら削除して、下のコメントアウト消してアップする）
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/comingsoon/comingsoon.html" onmouseover="swapImage(\'menu04\',\'\',\'/open/english/images/btn_mm04_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm04_def.gif" name="menu04" alt="Advisory members" width="150" height="20" border="0"></a></td></tr>');
		
//英語のテキストが来たら復活させる
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/member/advisory.html" onmouseover="swapImage(\'menu04\',\'\',\'/open/english/images/btn_mm04_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm04_def.gif" name="menu04" alt="Advisory members" width="150" height="20" border="0"></a></td></tr>');
		
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/network/network.html" onmouseover="swapImage(\'menu05\',\'\',\'/open/english/images/btn_mm05_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm05_def.gif" name="menu05" alt="Members’ network" width="150" height="20" border="0"></a></td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
//		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/event/event01.html" onmouseover="swapImage(\'menu10\',\'\',\'/open/english/images/btn_mm10_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm10_def.gif" name="menu10" alt="Event information" width="150" height="20" border="0"></a></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/info/faq.html" onmouseover="swapImage(\'menu06\',\'\',\'/open/english/images/btn_mm06_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm06_def.gif" name="menu06" alt="FAQ" width="150" height="20" border="0"></a></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/contact/contact.html" onmouseover="swapImage(\'menu07\',\'\',\'/open/english/images/btn_mm07_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm07_def.gif" name="menu07" alt="Contact us" width="150" height="20" border="0"></a></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/info/link.html" onmouseover="swapImage(\'menu08\',\'\',\'/open/english/images/btn_mm08_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm08_def.gif" name="menu08" alt="Links" width="150" height="20" border="0"></a></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/bg_border_1.gif"><img src="/open/english/images/space.gif" width="1" height="1" alt=""></td></tr>');
		document.write('<tr><td bgcolor="#ffffff" background="/open/english/images/space.gif"><a href="/open/english/info/access.html" onmouseover="swapImage(\'menu09\',\'\',\'/open/english/images/btn_mm09_ov.gif\',1)" onmouseout="swapImgRestore()"><img src="/open/english/images/btn_mm09_def.gif" name="menu09" alt="Access" width="150" height="20" border="0"></a></td></tr>');
		document.write('</table>');
}
