//dr = "http://" + location.host + "/dev/ems_x/";
// dr = "http://" + location.host + "/x/";
dr = "http://" + location.host + "/";


function header(){

	document.write('<div id="wrap">\n');
	document.write('<div id="container">\n');
	document.write('<ul id="info">\n');
	document.write('\t<li><img src="'+dr+'images/null.gif" border="0"  width="391" height="19"></li>\n');
	document.write('\t<li><a href="http://emobile.jp/"><img src="'+dr+'images/em_top.gif" border="0" alt="イー・モバイル" width="112" height="19"></a></li>\n');
	document.write('\t<li><a href="https://store.emobile.jp/"><img src="'+dr+'images/store_top.gif" border="0" alt="オンラインストア ＴＯＰ" width="130" height="19"></a></li>\n');
	document.write('\t<li><a href="http://www.emobile.jp/corp.html"><img src="'+dr+'images/company_prof.gif" border="0" alt="企業情報" width="58" height="19"></a></li>\n');
	document.write('\t<li><a href="http://emobile.jp/support/contact/"><img src="'+dr+'images/contact.gif" border="0" alt="お問い合わせ" width="69" height="19"></a></li>\n');
	document.write('</ul><!-- id#info END-->\n');
	document.write('\n');
	document.write('<div id="header">\n');
	document.write('\t<div id="logo"><a href="'+dr+'"><img src="'+dr+'images/sq_headder_logo.jpg" border="0" width="245" height="97"></a></div><!-- id#logo END-->\n');
	document.write('\t<ul id="tmenu">\n');
	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/null.gif" border="0"  width="10" height="26"></li>\n');
	document.write('\t<li class="tmenu_item"><a href="'+dr+'"><img src="'+dr+'images/menubtn_home.gif" border="0" width="165" height="26" onmouseover="this.src=\''+dr+'images/menubtn_home_2.gif\'" onmouseout="this.src=\''+dr+'images/menubtn_home.gif\'" ></a></li>\n');
	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/null.gif" border="0"  width="5" height="26"></li>\n');
	document.write('\t<li class="tmenu_item"><a href="'+dr+'blog/"><img src="'+dr+'images/menubtn_blog.gif" border="0" width="165" height="26" onmouseover="this.src=\''+dr+'images/menubtn_blog_2.gif\'" onmouseout="this.src=\''+dr+'images/menubtn_blog.gif\'"></a></li>\n');
//	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/menubtn_blog_cs.gif" border="0" width="165" height="26"></li>\n');
	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/null.gif" border="0"  width="4" height="26"></li>\n');
	document.write('\t<li class="tmenu_item"><a href="'+dr+'feature/"><img src="'+dr+'images/menubtn_interview.gif" border="0" width="165" height="26" onmouseover="this.src=\''+dr+'images/menubtn_interview_2.gif\'" onmouseout="this.src=\''+dr+'images/menubtn_interview.gif\'"></a></li>\n');
	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/null.gif" border="0"  width="5" height="26"></li>\n');
	document.write('\t<li class="tmenu_item"><a href="'+dr+'info/"><img src="'+dr+'images/menubtn_news.gif" border="0" width="165" height="26" onmouseover="this.src=\''+dr+'images/menubtn_news_2.gif\'" onmouseout="this.src=\''+dr+'images/menubtn_news.gif\'"></a></li>\n');
	document.write('\t<li class="tmenu_item"><img src="'+dr+'images/null.gif" border="0"  width="29" height="26"></li>\n');
	document.write('\t<li class="tmenu_rss"><a href="'+dr+'rss/update.rdf"><img src="'+dr+'images/rss.gif" border="0" width="34" height="19"></a></li>\n');
	document.write('\t</ul><!-- id#tmenu END-->\n');
	document.write('<p id="headerText">著名人による活用法やユーザーの声まで、<br />イーモバイルのあらゆる情報をカバーする　<br />イーモバイルのファンが集まるファンサイトです。</p>');
	document.write('\n');
	document.write('</div><!-- id#header END-->\n');

}

function footer(){

	document.write('</div><!-- id#container END-->\n');
	document.write('<div id="footer">\n');
	document.write('<div id="copyright"><img src="'+dr+'images/copyright.gif" border="0" alt="" width="292" height="12"></div><!-- id#copywrite END-->\n');
	document.write('</div><!-- id#footer END-->\n');
	document.write('</div><!-- id#wrap END-->\n');

}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

