//  Warning for Edit - please read before proceed
//  This script is used to generate menu on left pane of the web page
//  Modification to any of the content should be done with caution
//  Incorrect programming syntax may cause page error 
//  Instruction to modify links i.e SGX Link etc.
//	1.  Following sections are variables (start with var) to hold the link for ease of edit
//	2.  Change the content within the quotes (') only
//       3.  DO NOT change the variable name of other syntax (characters and symbols) 
//                 except contents within quotes.
//       3a. Make sure the quotes remain in the line
//	4.  Save the work (Preview is not available due to script programming)
//	5.  Test the modified work at http://www.roly.com

var SGX_Link = 'http://esite.sgx.com/live/st/STStock.asp?stk=R';
var HKEX_Link = 'http://www.hkex.com.hk/eng/invest/company/quote_page_e.asp?WidCoID=915&WidCoAbbName=&Month=1&langcode=e';
var SGX_Announcement_Link = 'http://info.sgx.com/webcorannc.nsf/new+announcement+by+company?OpenView&RestrictToCategory=R';
var Byford_Link = 'http://www.hkex.com.hk/invest/index.asp?id=company/quote_page_e.asp?WidCoID=8272&WidCoAbbName=&Month=1&langcode=e';


//write the menu layers
var theCurrSec = 0;

function callmenu(theSec, SecNum){

theCurrSec = SecNum;

document.write('<!-- About Us -->\n');
document.write('<div id="secLayerDiv1">\n');
document.write('	<table width=150 cellpadding=0 cellspacing=1 border=0><tr><td>\n');
document.write('	<table width=100% cellpadding=0 cellspacing=0 border=0>\n');
document.write('	<tr>\n');

if (theSec == "aboutus"){
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(1,0);" onMouseOver="javascript:showSect(1,0);"><img src="../common/pics/menu01.gif" border=0 name=section1></a></td>\n');
}else{
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(1,0);" onMouseOver="javascript:showSect(1,0);"><img src="../common/pics/menu01_off.gif" border=0 name=section1></a></td>\n');
}

document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	</td></tr></table>\n');
document.write('	<table cellpadding=0 cellspacing=0 border=0 width=190 align=center>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_1_1></td>\n');
document.write('		<td width=163><a href="../aboutus/index.html" onMouseOut="javascript:hideSect(1,1);" onMouseOver="javascript:showSect(1,1);" class="menulink"><font class=section1>About Roly</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_1_2></td>\n');
document.write('		<td width=163><a href="../aboutus/strength.html" onMouseOut="javascript:hideSect(1,2);" onMouseOver="javascript:showSect(1,2);" class="menulink"><font class=section1>Our Strengths</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_1_4></td>\n');
document.write('		<td width=163><a href="../aboutus/milestone.html" onMouseOut="javascript:hideSect(1,4);" onMouseOver="javascript:showSect(1,4);" class="menulink"><font class=section1>Milestones</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<!--<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_1_5></td>\n');
document.write('		<td width=163><a href="javascript:;" onMouseOut="javascript:hideSect(1,5);" onMouseOver="javascript:showSect(1,5);" class="menulink"><font class=section1>Recruitment</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_1_6></td>\n');
document.write('		<td width=163><a href="javascript:;" onMouseOut="javascript:hideSect(1,6);" onMouseOver="javascript:showSect(1,6);" class="menulink"><font class=section1>News Clipping</font></a></td>\n');
document.write('	</tr>-->\n');
document.write('	</table>\n');
document.write('</div>\n');
document.write('\n');
document.write('<!-- Major Business Operation -->\n');
document.write('<div id="secLayerDiv2">\n');
document.write('	<table width=150 cellpadding=0 cellspacing=1 border=0><tr><td>\n');
document.write('	<table width=150 cellpadding=0 cellspacing=0 border=0>\n');
document.write('	<tr>\n');
document.write('		<td><img src="../common/pics/spacer.gif" width=1 height=10></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');

if (theSec == "majorbizoper"){
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(2,0);" onMouseOver="javascript:showSect(2,0);"><img src="../common/pics/menu02.gif" border=0 name=section2></a></td>\n');
}else{
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(2,0);" onMouseOver="javascript:showSect(2,0);"><img src="../common/pics/menu02_off.gif" border=0 name=section2></a></td>\n');
}

document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	</td></tr></table>\n');
document.write('	<table cellpadding=0 cellspacing=0 border=0 width=190 align=center>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_2_1></td>\n');
document.write('		<td width=163><a href="../majorbizoper/index.html" onMouseOut="javascript:hideSect(2,1);" onMouseOver="javascript:showSect(2,1);" class="menulink"><font class=section2>Linmark</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_2_2></td>\n');
document.write('		<td width=163><a href="../majorbizoper/vigor.html" onMouseOut="javascript:hideSect(2,2);" onMouseOver="javascript:showSect(2,2);" class="menulink"><font class=section2>Vigor</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_2_3></td>\n');
document.write('		<td width=163><a href="../majorbizoper/rolychina.html" onMouseOut="javascript:hideSect(2,3);" onMouseOver="javascript:showSect(2,3);" class="menulink"><font class=section2>Roly China</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_2_4></td>\n');
//document.write('		<td width=163><a href="../majorbizoper/byford.html" onMouseOut="javascript:hideSect(2,4);" onMouseOver="javascript:showSect(2,4);" class="menulink"><font class=section2>Byford</font></a></td>\n');
//document.write('	</tr>\n');
document.write('	</table>\n');
document.write('</div>\n');
document.write('\n');
document.write('\n');
document.write('<!-- Investor Relations -->\n');
document.write('<div id="secLayerDiv3">\n');
document.write('	<table width=150 cellpadding=0 cellspacing=1 border=0><tr><td>\n');
document.write('	<table width=100% cellpadding=0 cellspacing=0 border=0>\n');
document.write('	<tr>\n');
document.write('		<td><img src="../common/pics/spacer.gif" width=1 height=10></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');

if (theSec == "invest"){
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(3,0);" onMouseOver="javascript:showSect(3,0);"><img src="../common/pics/menu03.gif" border=0 name=section3></a></td>\n');
}else{
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(3,0);" onMouseOver="javascript:showSect(3,0);"><img src="../common/pics/menu03_off.gif" border=0 name=section3></a></td>\n');
}

document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	<table cellpadding=0 cellspacing=0 border=0 width=190 align=center>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_3_1></td>\n');
document.write('		<td width=163><a href="../invest/index.html" onMouseOut="javascript:hideSect(3,1);" onMouseOver="javascript:showSect(3,1);" class="menulink"><font class=section3>Corporate Data</font></a></td>\n');
//document.write('	</tr>\n');
//document.write('	<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_3_2></td>\n');
//document.write('		<td width=163><a href="' + SGX_Announcement_Link + '" target="roly" onMouseOut="javascript:hideSect(3,2);" onMouseOver="javascript:showSect(3,2);" class="menulink"><font class=section3>Announcements <br> & News Releases</font></a></td>\n');
//document.write('	</tr>\n');
//document.write('	<!--<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_3_3></td>\n');
//document.write('		<td width=163><a href="../invest/annualrept.html" onMouseOut="javascript:hideSect(3,3);" onMouseOver="javascript:showSect(3,3);" class="menulink"><font class=section3>Annual Report</font></a></td>\n');
//document.write('	</tr>\n');
//document.write('	<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_3_4></td>\n');
//document.write('		<td width=163><a href="../invest/circular.html" onMouseOut="javascript:hideSect(3,4);" onMouseOver="javascript:showSect(3,4);" class="menulink"><font class=section3>Circular</font></a></td>\n');
//document.write('	</tr>-->\n');
//document.write('	<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_3_5></td>\n');
//document.write('		<td width=163><a href="../invest/analyst.html" onMouseOut="javascript:hideSect(3,5);" onMouseOver="javascript:showSect(3,5);" class="menulink"><font class=section3>Analyst Coverage</font></a></td>\n');
//document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td colspan=2><img src="../common/pics/spacer.gif" width=1 height=20></td>\n');
document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	</td></tr></table>\n');
document.write('	<table cellpadding=0 cellspacing=0 border=0 width=150 align=center>\n');
document.write('	</table>\n');
document.write('</div>\n');
document.write('\n');
document.write('\n');
//document.write('\n');
document.write('<!-- Stock Quote -->\n');
document.write('<div id="secLayerDiv4">\n');
document.write('	<table width=150 cellpadding=0 cellspacing=1 border=0><tr><td>\n');
document.write('	<table width=100% cellpadding=0 cellspacing=0 border=0>\n');
document.write('	<tr>\n');
document.write('		<td><img src="../common/pics/spacer.gif" width=1 height=10></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');

if (theSec == "stock"){
document.write('		<td width=100%><A href="javascript:;"  onMouseOut="MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);"><img src="../common/pics/menu04.gif" border=0 name=section4></a></td>\n');
}else{
document.write('		<td width=100%><A href="javascript:;"  onMouseOut="MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);"><img src="../common/pics/menu04_off.gif" border=0 name=section4></a></td>\n');
}

document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	</td></tr></table>\n');

document.write('	<table cellpadding=0 cellspacing=0 border=0 width=190 align=center>\n');

document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_4_1></td>\n');
document.write('	</tr>\n');

document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_4_2></td>\n');
// Following for the link to SGX.  Link to be specified in href="....."
//document.write('		<td width=163><a href="'+SGX_Link+'" target=sgx onMouseOut="MM_swapImage(\'arrow_4_2\',\'\',\'../common/pics/spacer.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'arrow_4_2\',\'\',\'../common/pics/arrow4.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);" class="menulink"><font class=section4>Roly (SGX)</font></a></td>\n');
//document.write('	</tr>\n');

document.write('	<!--tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_4_3></td>\n');
// Following for the link to Bank Of NY.  Link to be specified in href="....."
var BankOfNY_Link = 'http://www.bankofny.com/adr/adir.htm#R';
document.write('		<td width=163><a href="'+BankOfNY_Link+'" target=adr onMouseOut="MM_swapImage(\'arrow_4_3\',\'\',\'../common/pics/spacer.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'arrow_4_3\',\'\',\'../common/pics/arrow4.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);" class="menulink"><font class=section4>Roly (ADR)</font></a></td>\n');
document.write('	</tr-->\n');

document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_4_4></td>\n');
// Following for the link to HKEX.  Link to be specified in href="....."
document.write('		<td width=163><a href="'+HKEX_Link+'" target=olinmark onMouseOut="MM_swapImage(\'arrow_4_4\',\'\',\'../common/pics/spacer.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'arrow_4_4\',\'\',\'../common/pics/arrow4.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);" class="menulink"><font class=section4>Linmark (SEHK MB)</font></a></td>\n');

//document.write('	</tr>\n');
//document.write('	<tr>\n');
//document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_4_3></td>\n');
//document.write('		<td width=163><a href="'+Byford_Link+'" target=adr onMouseOut="MM_swapImage(\'arrow_4_3\',\'\',\'../common/pics/spacer.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04_off.gif\',1);" onMouseOver="MM_swapImage(\'arrow_4_3\',\'\',\'../common/pics/arrow4.gif\',1);MM_swapImage(\'section4\',\'\',\'../common/pics/menu04.gif\',1);" class="menulink"><font class=section4>Byford (SEHK GEM)</font></a></td>\n');
//document.write('	</tr>\n');


document.write('	</table>\n');
document.write('</div>\n');
document.write('\n');
document.write('<!-- Contactus -->\n');
document.write('<div id="secLayerDiv5">\n');
document.write('	<table width=150 cellpadding=0 cellspacing=1 border=0><tr><td>\n');
document.write('	<table width=100% cellpadding=0 cellspacing=0 border=0>\n');
document.write('	<tr>\n');
document.write('		<td><img src="../common/pics/spacer.gif" width=1 height=10></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');

if (theSec == "contactus"){
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(5,0);" onMouseOver="javascript:showSect(5,0);"><img src="../common/pics/menu05.gif" border=0 name=section5></a></td>\n');
}else{
document.write('		<td width=100%><A href="javascript:;" onMouseOut="javascript:hideSect(5,0);" onMouseOver="javascript:showSect(5,0);"><img src="../common/pics/menu05_off.gif" border=0 name=section5></a></td>\n');
}

document.write('	</tr>\n');
document.write('	</table>\n');
document.write('	</td></tr></table>\n');
document.write('	<table cellpadding=0 cellspacing=0 border=0 width=190 align=center>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_5_1></td>\n');
document.write('		<td width=163><a href="../contactus/index.html" onMouseOut="javascript:hideSect(5,1);" onMouseOver="javascript:showSect(5,1);" class="menulink"><font class=section5>Address Book</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_5_2></td>\n');
document.write('		<td width=163><a href="../contactus/feedback.html" onMouseOut="javascript:hideSect(5,2);" onMouseOver="javascript:showSect(5,2);" class="menulink"><font class=section5>Enquiry</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td width=27 align=center><img src="../common/pics/spacer.gif" name=arrow_5_3></td>\n');
document.write('		<td width=163><a href="../contactus/recruit.html" onMouseOut="javascript:hideSect(5,3);" onMouseOver="javascript:showSect(5,3);" class="menulink"><font class=section5>Recruitment</font></a></td>\n');
document.write('	</tr>\n');
document.write('	<tr>\n');
document.write('		<td colspan=2><img src="../common/pics/spacer.gif" width=1 height=20></td>\n');
document.write('	</tr>\n');
document.write('	</table>\n');
document.write('</div>\n');
document.write('\n');
document.write('<!-- Empty Layer -->\n');
document.write('<div id="secLayerDiv6">\n');
document.write('</div>\n');

if (theSec != "home"){
document.write('<div id="sitemapDiv"><a href="javascript:sitemap();"><img src="pics/sitemap.gif" border=0></a><br></div>\n');
}

}









