﻿function WriteLeftNavItem(strHREF, strName, strText, bolHasChild, strOnMouseOver, strOnMouseOut){
	document.write(
'<table onMouseOver="this.className=\'LeftNavOnTable\';' + strOnMouseOver + '" onMouseOut="this.className=\'LeftNavOffTable\';' + strOnMouseOut + ';" class="LeftNavOffTable" width="180" cellpadding="0" cellspacing="0" border="0" name="' + strName + '" id="' + strName + '">' +
'<tr>' +
'	<td bgcolor="#3366CC" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'	<td width="4"><img src="' + gPath + '/Image/transparent.gif" height="21" width="4"></td>' +
'	<td style="cursor: pointer; cursor: hand;" nowrap><a href="' + strHREF + '" class="LeftNavAnchors"><div style="width:100%; cursor:hand;">' + strText + '</div></td>' +
'	<td width="7"><img src="' + gPath + '/Image/' + (bolHasChild?'arrow_transparent.gif':'transparent.gif') + '" height="21" width="7"></td>' +
'	<td bgcolor="#3366CC" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'</tr>' +
'</table>'
	);
}

function WriteLeftNavItemNoHREF(strName, strText, bolHasChild, strOnMouseOver, strOnMouseOut){
	document.write(
'<table onMouseOver="this.className=\'LeftNavOnTable\';' + strOnMouseOver + '" onMouseOut="this.className=\'LeftNavOffTable\';' + strOnMouseOut + ';" class="LeftNavOffTable" width="180" cellpadding="0" cellspacing="0" border="0" name="' + strName + '" id="' + strName + '">' +
'<tr>' +
'	<td bgcolor="#3366CC" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'	<td width="4"><img src="' + gPath + '/Image/transparent.gif" height="21" width="4"></td>' +
'	<td nowrap><a class="LeftNavAnchors"><div style="width:100%;">' + strText + '</div></td>' +
'	<td width="7"><img src="' + gPath + '/Image/' + (bolHasChild?'arrow_transparent.gif':'transparent.gif') + '" height="21" width="7"></td>' +
'	<td bgcolor="#3366CC" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'</tr>' +
'</table>'
	);
}

function WriteLeftNavGreenItem(strHREF, strName, strText, bolHasChild, strOnMouseOver, strOnMouseOut){
	document.write(
'<table onMouseOver="this.className=\'LeftNavOnTableGreen\';' + strOnMouseOver + ';" onMouseOut="this.className=\'LeftNavOffTableGreen\';' + strOnMouseOut + ';" class="LeftNavOffTableGreen" width="180" cellpadding="0" cellspacing="0" border="0" name="' + strName + '" id="' + strName + '">' +
'<tr>' +
'	<td bgcolor="#006633" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'	<td width="4"><img src="' + gPath + '/Image/transparent.gif" height="21" width="3"></td>' +
'	<td style="cursor: pointer; cursor: hand;" nowrap><a href="' + strHREF + '" class="LeftNavAnchorsGreen"><div style="width:100%; cursor:hand;">' + strText + '</div></a></td>' +
'	<td width="7"><img src="' + gPath + '/Image/' + (bolHasChild?'arrow_transparent_green.gif':'transparent.gif') + '" height="21" width="7"></td>' +
'	<td bgcolor="#006633" width="9"><img src="' + gPath + '/Image/transparent.gif" height="21" width="9"></td>' +
'</tr>' +
'</table>'
	);
}

function WriteWhiteSeperator(){
	document.write(
'<table width="180" cellpadding="0" cellspacing="0" border="0">' +
'<tr>' +
'	<td><img src="' + gPath + '/Image/white.gif" height="1" width="180"></td>' +
'</tr>' +
'</table>'
	);
}


WriteLeftNavItem(gPath + "ProductCatalog.asp","ProductCatalog","- Product Catalog -",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV99.asp","ChemkUV99","Chemk UV 99",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV99_2.asp","ChemkUV99-2","Chemk UV 99-2",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV123.asp","ChemkUV123","Chemk UV 123",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV213.asp","ChemkUV213","Chemk UV 213",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV384.asp","ChemkUV384","Chemk UV 384",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV384_2.asp","ChemkUV384-2","Chemk UV 384-2",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV400.asp","ChemkUV400","Chemk UV 400",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV405.asp","ChemkUV405","Chemk UV 405",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV571.asp","ChemkUV571","Chemk UV 571",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV1130.asp","ChemkUV1130","Chemk UV 1130",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "Product/ChemkUV1164.asp","ChemkUV1164","Chemk UV 1164",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");
WriteLeftNavItem(gPath + "ProductCatalog.asp","MoreProducts","More Products",false, "HM_f_PopUp('ondeo1',event)", "HM_f_PopDown('ondeo1')");

WriteWhiteSeperator();

WriteLeftNavGreenItem("/","about","About Us", false,"HM_f_PopUp('ondeo6',event)", "HM_f_PopDown('ondeo6')");
WriteLeftNavGreenItem(gPath + "News.asp","headlines","News", false,"HM_f_HideAll('');","HM_f_HideAll('');");
WriteLeftNavGreenItem("/","contact","Contact Us", false,"HM_f_HideAll('');","HM_f_HideAll('');");
WriteLeftNavGreenItem("mailto:jhGao@chemk.com","email","Email Us", false,"HM_f_HideAll('');","HM_f_HideAll('');");
WriteLeftNavGreenItem(gPath + "Overview.asp","Overview","Overview", false,"HM_f_HideAll('');","HM_f_HideAll('');");/*<a href="http://xmcyberpolice.cn/alert.asp" target=_blank><img src="http://xmcyberpolice.cn/image/gt.gif" width  ="30" border='0'></a>*/