<!--
groupid = new Array();
groupid[0]= "about"
groupid[1] = "invest";
groupid[2] = "product";
groupid[3] = "employee";
groupid[4] = "contactus";

var timer;
isIE = navigator.appName.indexOf("Internet Explorer") != -1 && parseInt(navigator.appVersion) >= 4;
isNS4 = navigator.appName.indexOf("Netscape") != -1 && parseInt(navigator.appVersion) <= 4;
isNS6 = navigator.appName.indexOf("Netscape") != -1 && parseInt(navigator.appVersion) > 4;
var submenulayer;

function init() {

	if (isIE)
	{
		submenulayer = document.all.Layer1;
	}
	else if (isNS4)
	{
		submenulayer = document.layers["Layer1"];
	}
	else if(isNS6)
	{
		submenulayer = document.getElementById("Layer1");
	}

}


function layercontent(text, href) {
	this.text = escape(text);
	this.href = href;
}

function layeroption(left, top, zIndex, color, menuArray) {

	this.left = left;
	this.top = top;
	this.zIndex = zIndex;
	this.color = color;
	this.menuArray = menuArray;

}

function menucontent(img, href, showLayer) {

	this.img = img;
	this.href = href;
	this.showLayer = showLayer;

}

function turnOffAllItems() {
	for (i=0;i<menuitem.length;i++) {
		if (groupid != null && groupid[i] == grpid) {
			MM_swapImage('' + menuitem[i].img + '','','images/' +menuitem[i].img+ 'b.gif',1);
		} else {
			MM_swapImage('' + menuitem[i].img + '','','images/' +menuitem[i].img+ 'a.gif',1);
		}
	}
}

function resetAllLayers() {
	turnOffAllItems();
	hideLayer();

}

function resetTimer() {

	clearTimeout(timer)

}

function fireTimer() {

	timer = setTimeout('resetAllLayers()', 500);

}

function showLayer(para) {

	writeLayerAndcontent(para);

	if (isIE)
	{
		submenulayer.style.top = sitemap[para].top;
		submenulayer.style.left = sitemap[para].left;
		submenulayer.style.visibility = "visible";
	}
	else if (isNS4)
	{
		submenulayer.top = sitemap[para].top;
		submenulayer.left = sitemap[para].left;
		submenulayer.visibility = "show";
	}
	else if (isNS6)
	{
		submenulayer.style.top = sitemap[para].top;
		submenulayer.style.left = sitemap[para].left;
		submenulayer.style.visibility = "visible";
	}
}

function hideLayer() {

	if (isIE)
	{
		submenulayer = document.all.Layer1;
		submenulayer.style.visibility = "hidden";
	}
	else if (isNS4)
	{
		submenulayer.visibility = "hide";
	}
	else if (isNS6)
	{
		submenulayer.style.visibility = "hidden";
	}

}

function navigationAndMenu() {
	var d = document.location.href.substring(document.location.href.lastIndexOf("/")+1, document.location.href.length);
	filelist = new Array();
	document.writeln ('<span id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; visibility: visible; left: 0; top: 0"></span>');
	document.writeln ('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.writeln ('<tr>')
	document.writeln ('<td><img src="images/side01.gif" width="173" height="20"></td>');
	document.writeln ('</tr>');

	for (i=0;i<menuitem.length;i++)
	{
//		alert(groupid[1]);
		if (groupid != null && groupid[i] == grpid) {
			highlight = "b";
		} else {
			highlight = "a";
		}

		if (menuitem[i].showLayer)
		{
			document.writeln ('<tr>');
			document.writeln ('<td><a href="' +menuitem[i].href+ '" onMouseOver="hideLayer();resetTimer();turnOffAllItems();showLayer('+i+');MM_swapImage(\''+menuitem[i].img+'\',\'\',\'images/' +menuitem[i].img+ 'b.gif\',1)" onMouseOut="fireTimer()"><img src="images/' +menuitem[i].img + highlight+'.gif" name="'+menuitem[i].img+'" width="145" height="25" border="0"></a></td>');
			document.writeln ('</tr>');
		}
		else
		{
			document.writeln ('<tr>');
			document.writeln ('<td><a href="' +menuitem[i].href+ '" onMouseOver="hideLayer();resetTimer();turnOffAllItems();MM_swapImage(\''+menuitem[i].img+'\',\'\',\'images/' +menuitem[i].img+ 'b.gif\',1)" onMouseOut="fireTimer()"><img src="images/' +menuitem[i].img+ highlight+'.gif" name="'+menuitem[i].img+'" width="145" height="25" border="0"></a></td>');
			document.writeln ('</tr>');
		}
	}
	document.writeln ('</table>');

}

function navigationAndMenu1() {
	var d = document.location.href.substring(document.location.href.lastIndexOf("/")+1, document.location.href.length);
	filelist = new Array();
	document.writeln ('<span id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; visibility: visible; left: 0; top: 0"></span>');
	document.writeln ('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.writeln ('<tr>')
	document.writeln ('<td><img src="images/side01w.gif" width="173" height="20"></td>');
	document.writeln ('</tr>');

	for (i=0;i<menuitem.length;i++)
	{
//		alert(groupid[1]);
		if (groupid != null && groupid[i] == grpid) {
			highlight = "b";
		} else {
			highlight = "a";
		}

		if (menuitem[i].showLayer)
		{
			document.writeln ('<tr>');
			document.writeln ('<td><a href="' +menuitem[i].href+ '" onMouseOver="hideLayer();resetTimer();turnOffAllItems();showLayer('+i+');MM_swapImage(\''+menuitem[i].img+'\',\'\',\'images/' +menuitem[i].img+ 'b.gif\',1)" onMouseOut="fireTimer()"><img src="images/' +menuitem[i].img + highlight+'.gif" name="'+menuitem[i].img+'" width="145" height="25" border="0"></a></td>');
			document.writeln ('</tr>');
		}
		else
		{
			document.writeln ('<tr>');
			document.writeln ('<td><a href="' +menuitem[i].href+ '" onMouseOver="hideLayer();resetTimer();turnOffAllItems();MM_swapImage(\''+menuitem[i].img+'\',\'\',\'images/' +menuitem[i].img+ 'b.gif\',1)" onMouseOut="fireTimer()"><img src="images/' +menuitem[i].img+ highlight+'.gif" name="'+menuitem[i].img+'" width="145" height="25" border="0"></a></td>');
			document.writeln ('</tr>');
		}
	}
	document.writeln ('</table>');

}

function writeLayerAndcontent(para) {

	var allcontentimg = "";
	allcontentimg += '<table width="150" border="0" cellspacing="0" cellpadding="0">';
	allcontentimg += '<tr>';
	allcontentimg += '<td bgcolor="#FFFFFF" valign="top" width="145">';
	allcontentimg += '<table width="100%" border="0" cellspacing="1" cellpadding="5">';

	for (i=0;i<sitemap[para].menuArray.length;i++)
	{
		allcontentimg += '<tr>';
		allcontentimg += '<td bgcolor="' + sitemap[para].color + '" class="dropitem">';
		allcontentimg += '<a href="' +sitemap[para].menuArray[i].href+ '" onMouseOver="resetTimer()" onMouseOut="fireTimer();" class="dropitem"><font color="#000000" size=2>' +unescape(sitemap[para].menuArray[i].text)+ '</font></a>';
		allcontentimg += '</td></tr>';
	}

	allcontentimg += '</table>';
	allcontentimg += '</td>';
	allcontentimg += '<td rowspan="2" width="5"  background="images/shadowSide.gif">&nbsp;</td>';
	allcontentimg += '</tr>';
	allcontentimg += '<tr>';
	allcontentimg += '<td background="images/shadowBottom.gif"><img src="images/shim.gif" width="1" height="5"></td>';
	allcontentimg += '</tr>';
	allcontentimg += '</table>';

	if (isIE)
	{
		submenulayer.innerHTML = allcontentimg;
	}
	else if (isNS4)
	{
		submenulayer.document.open();
		submenulayer.document.write (allcontentimg);
		submenulayer.document.close();
	}
	else if (isNS6)
	{
		submenulayer.innerHTML = allcontentimg;
	}

}

//-->