<!--
var timeout         = 500;
var closetimer		= 0;
var ddmenuitem      = 0;

// open hidden layer
function mopen(id)
{	// cancel close timer
	mcancelclosetime();

	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';

	// get new layer and show it
	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.visibility = 'visible';

}// close showed layer
function mclose()
{
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}// go close timer
function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

// cancel close timer
function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}
// close layer when click-out
document.onclick = mclose; 

function display_menu_en() {
	document.write('<ul id="sddm">\n');
	
document.write(' <li><a href="news.html" onmouseout="mclosetime()">News</a> </li>\n');
	document.write(' <li><a href="intro.html" onmouseover="mopen(\'m2\')" onmouseout="mclosetime()">About HKRSA</a>\n');
	
document.write('   <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> \n');
	document.write('   	   <a href="intro.html">Backgroud</a> \n');
	document.write('       <a href="structure.html">Structure</a>\n'); 
	document.write('       <a href="committee.html">Committee</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="tips_benefits.html" onmouseover="mopen(\'m3\')" onmouseout="mclosetime()">Tips/Skills</a>\n');
	document.write('   <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> \n');
	
document.write('   	<a href="tips_benefits.html">Benefits</a>\n'); 
	document.write('       <a href="tips_tricks.html">Acrobatic Rope Skipping</a>\n');
	document.write('       <a href="tips_five_steps.html">Five Steps in Rope Skipping</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="elite_comp.html" onmouseover="mopen(\'m4\')" onmouseout="mclosetime()">Local Competitions</a>\n');
	document.write('   <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="elite_comp.html">Rope Skipping Elite Championships</a>\n');
	document.write('       <a href="prim_comp.html">Primary and Secondary Schools Rope Skipping Competition</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="reps.html" onmouseout="mclosetime()">International Competitions</a>\n');
	document.write(' </li>\n');	
	document.write(' <li><a href="skill_courses.html" onmouseover="mopen(\'m5\')" onmouseout="mclosetime()">Courses</a>\n');
	
document.write('   <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="skill_courses.html">Rope Skipping Skill Training Course</a>\n');
	document.write('       <a href="judge_courses.html">Rope Skipping Judging Course</a>\n');
	document.write('       <a href="coach_courses.html">Rope Skipping Coaching Course</a>\n');
	document.write('       <a href="coach_list.html">Rope Skipping Coach List</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="sales.html" onmouseout="mclosetime()">Sales</a>\n');
	document.write(' </li>\n');

document.write(' <li><a href="membership.html" onmouseover="mopen(\'m8\')" onmouseout="mclosetime()">Members</a>\n');
	document.write('   <div id="m8" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="membership.html">About Membership</a>\n');
	document.write('   	<a href="members_0809.html">08-09 Members</a>\n');
	document.write('   	<a href="members_0910.html">09-10 Members</a>\n');
	document.write('   	<a href="members_1011.html">10-11 Members</a>\n');
	document.write('   	<a href="members_1112.html">11-12 Members</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');

document.write(' <li><a href="publication.html" onmouseout="mclosetime()">Publication</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="http://picasaweb.google.com/HKRopeSkippingAssociation" onmouseout="mclosetime()">Photo Album</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="underconst.html" onmouseout="mclosetime()">Links</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="contact.html" onmouseover="mopen(\'m14\')" onmouseout="mclosetime()">Contact Us</a>\n');
	document.write('   <div id="m14" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
document.write('   	<a href="contact.html">Office Hours</a>\n');
	document.write('       <a href="mailto:hkrsa@yahoo.com.hk">Email</a>\n');
	document.write('   	</div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="../zh/news.html" onmouseout="mclosetime()"><img src="../../images/tochi_v2.gif" border="0"></a>\n');
	document.write(' </li>\n');	
	document.write('</ul>\n');
	
document.write('<div style="clear:both"></div>\n');
}

function display_menu_zh() {
	
document.write('<ul id="sddm">\n');

	
document.write(' <li><a href="news.html" onmouseout="mclosetime()">最新消息</a> </li>\n');
	
document.write(' <li><a href="intro.html" onmouseover="mopen(\'m2\')" onmouseout="mclosetime()">本會介紹</a>\n');
	document.write('   <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> \n');
	document.write('   	<a href="intro.html">背景</a> \n');
	document.write('       <a href="structure.html">本會架構</a>\n'); 
	document.write('       <a href="committee.html">委員會</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="tips_benefits.html" onmouseover="mopen(\'m3\')" onmouseout="mclosetime()">跳繩介紹</a>\n');
	document.write('   <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> \n');
	document.write('   	<a href="tips_benefits.html">跳繩好處</a>\n'); 
	document.write('       <a href="tips_tricks.html">跳繩花式</a>\n');
	document.write('       <a href="tips_five_steps.html">跳繩五步曲</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="elite_comp.html" onmouseover="mopen(\'m4\')" onmouseout="mclosetime()">本地比賽</a>\n');
	document.write('   <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="elite_comp.html">全港跳繩精英賽</a>\n');
	document.write('       <a href="prim_comp.html">全港中小學跳繩比賽</a>\n');
	document.write('       <a href="age_comp.html">全港跳繩分齡賽</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
	
document.write(' <li><a href="reps.html" onmouseout="mclosetime()">國際比賽</a>\n');
	document.write(' </li>\n');	

document.write(' <li><a href="skill_courses.html" onmouseover="mopen(\'m5\')" onmouseout="mclosetime()">課程</a>\n');
	document.write('   <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="skill_courses.html">跳繩技術班</a>\n');
	document.write('       <a href="judge_courses.html">跳繩裁判班</a>\n');
	document.write('       <a href="coach_courses.html">跳繩教練班</a>\n');
	document.write('       <a href="coach_list.html">跳繩教練名單</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');

document.write(' <li><a href="sales.html" onmouseout="mclosetime()">銷售</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="membership.html" onmouseover="mopen(\'m9\')" onmouseout="mclosetime()">會員</a>\n');
	document.write('   <div id="m9" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="membership.html">會員制度</a>\n');
	document.write('   	<a href="members_0809.html">08-09會員名單</a>\n');
	document.write('   	<a href="members_0910.html">09-10會員名單</a>\n');
	document.write('   	<a href="members_1011.html">10-11會員名單</a>\n');
	document.write('   	<a href="members_1112.html">11-12會員名單</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
document.write(' <li><a href="publication.html" onmouseout="mclosetime()">出版</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="http://picasaweb.google.com/HKRopeSkippingAssociation" onmouseout="mclosetime()">照片簿</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="underconst.html" onmouseout="mclosetime()">相關連結</a>\n');
	document.write(' </li>\n');
document.write(' <li><a href="contact.html" onmouseover="mopen(\'m15\')" onmouseout="mclosetime()">聯絡我們</a>\n');
	document.write('   <div id="m15" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">\n');
	document.write('   	<a href="contact.html">辦公時間</a>\n');
	document.write('       <a href="mailto:hkrsa@yahoo.com.hk">電郵</a>\n');
	document.write('   </div>\n');
	document.write(' </li>\n');
document.write(' <li><a href="../en/news.html" onmouseout="mclosetime()"><img src="../../images/toeng_v2.gif" border="0"></a>\n');
	document.write(' </li>\n');	
	document.write('</ul>\n');
	document.write('<div style="clear:both"></div>\n');
}


// -->

