function navi() {
document.write('<ul id="sddm">');
//document.write('<li><a href="news.html" onmouseover="mopen(1);" onmouseout="mclosetime();"><img src="img/navi/navi01.gif" alt="News" width="80" height="48"></a>');
//document.write('<div id="menu1" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('<a href="news.html">News</a>');
//document.write('<a href="eventinfo.html">Event Info</a>');
//document.write('<a href="eventsche.html">Event Schedule</a>');
//document.write('<a href="magazine.html">Monthly Magazine</a>');
//document.write('</div>');
//document.write('</li>');
document.write('<li><a href="about.html" onmouseover="mopen(2);" onmouseout="mclosetime();"><img src="img/navi/navi02.gif" alt="About Koganecho Bazaar" width="80" height="48"></a>');
document.write('<div id="menu2" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
document.write('<a href="about.html">About Koganecho Bazaar</a>');
document.write('<a href="outline.html">Outline of the opening</a>');
document.write('<a href="curatorialteam.html">Curatorial Team</a>');
document.write('<a href="links.html">Links</a>');
//document.write('<a href="pressrelease.html">Press Release</a>');
document.write('<a href="http://ameblo.jp/koganechobazaar/" target="_blank">Staff Blog (Japanese only)</a>');
document.write('</div>');
document.write('</li>');
document.write('<li><a href="access.html" onmouseover="mopen(3);" onmouseout="mclosetime();"><img src="img/navi/navi03.gif" alt="Access" width="80" height="48"></a>');
//document.write('<div id="menu3" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('</div>');
document.write('</li>');
document.write('<li><a href="exhibitor.html" onmouseover="mopen(4);" onmouseout="mclosetime();"><img src="img/navi/navi04.gif" alt="Artists and shops" width="80" height="48"></a>');
//document.write('<div id="menu4" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('</div>');
document.write('</li>');
document.write('<li><a href="join_us.html"><!-- onmouseover="mopen(5);" onmouseout="mclosetime();"--><img src="img/navi/navi05.gif" alt="Call for supporters/volunteers" width="80" height="48"></a>');
//document.write('<div id="menu5" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('</div>');
document.write('</li>');
document.write('<li><!--<a href="#" id="mmenu6" onmouseover="mopen(6);" onmouseout="mclosetime();"--><img src="img/navi/navi06.gif" alt="Guidemap" width="80" height="48"><!--/a-->');
//document.write('<div id="menu6" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('</div>');
document.write('</li>');
document.write('<li><a href="inquiry.html" onmouseover="mopen(7);" onmouseout="mclosetime();"><img src="img/navi/navi07.gif" alt="Inquiries" width="80" height="48"></a>');
//document.write('<div id="menu7" onmouseover="mcancelclosetime()" onmouseout="mclosetime();">');
//document.write('<a href="faq.html">FAQ</a>');
//document.write('<a href="enq.html">Questionnaire</a>');
document.write('</div>');
document.write('</li>');
document.write('</ul>');
}




//////Scroll Page Top//////
/* -------------------------
	Scroll top
------------------------- */
function slowdownScroll() {
		if(navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat") {
		sctop = document.body.parentNode.scrollTop;
	}

	else if(window.pageYOffset){
		sctop = window.pageYOffset;
		} else {
		sctop = document.body.scrollTop;
	}

	if(sctop){
		scup = Math.ceil(sctop*.2);
		scrollBy(0,-scup);
		if (sctop-scup) setTimeout("slowdownScroll()",15);
	}
}

//Roll Overs
function swImg(iName,str){
	document.images[iName].src = str;
	}

//link width alert
function MM_openBrWindow3(msg,gourl) { 
  ret="";
  ret=confirm(msg);
  if(ret){
	top.location.href  = gourl;
	}
}


function footer() {
	//document.write('<div class="footer_elm">');
	//document.write('<p class="pgtop"><a href="javascript:scrollTo(0,0)" onclick="slowdownScroll();return false;" onkeypress="slowdownScroll();return false;" title="&uarr; Scroll Page Top">&uarr;Scroll Page Top</a></p>');
	document.write('<div class="footnavi">');
	document.write('<ul>');
	document.write('<li><a href="sitemap.html">&raquo;Sitemap</a></li>');
	document.write('<li><a href="javascript:MM_openBrWindow3(\'The following pages are currently available in Japanese only. \r\nWe are sorry for the inconvenience. \r\nPlease click OK to continue.\',\'JPN/privacypolicy.html\')">&raquo;Privacy Policy</a></li>');
	document.write('<li><a href="javascript:MM_openBrWindow3(\'The following pages are currently available in Japanese only. \r\nWe are sorry for the inconvenience. \r\nPlease click OK to continue.\',\'JPN/policy.html\')">&raquo;About Site</a></li>');
	//document.write('<li><a href="JPN/press.html">&raquo;For the media</a></li>');
	document.write('</ul>');
	document.write('</div>');
	document.write('<div class="credit">Copyright &copy; 2008 Koganecho Bazaar Organizing Committee All Rights Reserved.</div>');
	//document.write('</div>');
}



function noneLAYER(layName){
  	if(document.layers)document.layers[layName].display='none'
 	if(document.all)document.all(layName).style.display='none'
	if(document.getElementById)document.getElementById(layName).style.display='none'
}
function blockLAYER(layName){
  	if(document.layers)document.layers[layName].display='block'
 	if(document.all)document.all(layName).style.display='block'
	if(document.getElementById)document.getElementById(layName).style.display='block'
}
