﻿/*
	本文件针对[产品]频道的[商用车]和[乘用车]的子菜单而作。－－－－英文版
*/


/*
	函数列表
*/

/*商用车子菜单出现*/ 
function showNewSubMenu()
{
	document.getElementById("newSubMenuBG").style.left = wideGet();
	document.getElementById("newSubMenuWord").style.left = wideGet();
	document.getElementById("newSubMenuBG").style.visibility = 'visible';
	document.getElementById("newSubMenuWord").style.visibility = 'visible';
}
/*商用车子菜单隐藏*/
function hideNewSubMenu()
{
	document.getElementById("newSubMenuBG").style.visibility = 'hidden';
	document.getElementById("newSubMenuWord").style.visibility = 'hidden';
}

/*乘用车子菜单出现*/
function showCarsSubMenu()
{
	document.getElementById("carsSubMenuBG").style.left = wideGet();
	document.getElementById("carsSubMenuWord").style.left = wideGet();
	document.getElementById("carsSubMenuBG").style.visibility = 'visible';
	document.getElementById("carsSubMenuWord").style.visibility = 'visible';
}
/*乘用车子菜单隐藏*/
function hideCarsSubMenu()
{
	document.getElementById("carsSubMenuBG").style.visibility = 'hidden';
	document.getElementById("carsSubMenuWord").style.visibility = 'hidden';
}

function wideGet()
{
if(document.body.clientWidth-778>0) 
return (document.body.clientWidth-778)/2+203;
else
return 203;
}

/*
	页面代码列表
*/


//[商用车]子菜单开始
document.write("<div style='LEFT: 317px;top:189px; POSITION: absolute;visibility:hidden' id='newSubMenuBG'>")
document.write("	<table border='0' cellpadding='0' cellspacing='0' ID='Table4' onMouseOver=showNewSubMenu(); onMouseOut=hideNewSubMenu();>")
document.write("		<tr>")
document.write("			<td width='1'></td>")
document.write("			<td>")
document.write("				<table cellpadding='0' cellspacing='0' ID='Table12' class='productSubMenu' width='180'>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("				</table>")
document.write("			</td>")
document.write("		</tr>")
document.write("	</table>")
document.write("</div>")
document.write("")
document.write("<div style='LEFT: 317px;top:191px; POSITION: absolute;visibility:hidden' id='newSubMenuWord'>")
document.write("	<table border='0' cellpadding='0' cellspacing='0' onMouseOver=showNewSubMenu(); onMouseOut=hideNewSubMenu();>")
document.write("		<tr>")
document.write("			<td width='1'></td>")
document.write("			<td>")
document.write("				<table cellpadding='0' cellspacing='0'>")
document.write("					<tr>")
document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=ZHC'>Product Line of Buses</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
document.write("					</tr>")
document.write("					<tr>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr>")
document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=ZHC'>Product Line of Trucks</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=YYC'>Semi-Trailer</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=QYC'>Non Whole-Vehicle for Buses</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
document.write("					<tr>")
document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=ZXC'>Non Whole-Vehicle for Trucks</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
document.write("					</tr>")
document.write("				</table>")
document.write("			</td>")
document.write("		</tr>")
document.write("	</table>")
document.write("</div>")
//[商用车]子菜单结束




//[乘用车]子菜单开始
document.write("<div style='LEFT: 317px;top:212px; POSITION: absolute;visibility:hidden' id='carsSubMenuBG'>")
document.write("	<table border='0' cellpadding='0' cellspacing='0' ID='Table4' onMouseOver=showCarsSubMenu(); onMouseOut=hideCarsSubMenu();>")
document.write("		<tr>")
document.write("			<td width='1'></td>")
document.write("			<td>")
document.write("				<table cellpadding='0' cellspacing='0' ID='Table12' class='productSubMenu' width='180'>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#c8c5e4'>")
document.write("						<td height='1'></td>")
document.write("					</tr>")
document.write("					<tr bgcolor='#D2CFEF'>")
document.write("						<td height='20' class='subMenuItem'></td>")
document.write("					</tr>")
document.write("				</table>")
document.write("			</td>")
document.write("		</tr>")
document.write("	</table>")
document.write("</div>")
document.write("")
document.write("<div style='LEFT: 317px;top:214px; POSITION: absolute;visibility:hidden' id='carsSubMenuWord'>")
document.write("	<table border='0' cellpadding='0' cellspacing='0' onMouseOver=showCarsSubMenu(); onMouseOut=hideCarsSubMenu();>")
document.write("		<tr>")
document.write("			<td width='1'></td>")
document.write("			<td>")
document.write("				<table cellpadding='0' cellspacing='0'>")
document.write("					<tr>")
document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=C02'>Basic Product Mix</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=C01'>Multi-Purpose Vehicle (MPV)</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList_en.aspx?infoclass=C03'>Sports Unit Vehicle (SUV)</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='1'></td>")
//document.write("					</tr>")
//document.write("					<tr>")
//document.write("						<td height='20'>&nbsp;&nbsp;<a href='CarsList.aspx?infoclass=C04'>Cross Type Passenger Vehicle</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>")
//document.write("					</tr>")
document.write("				</table>")
document.write("			</td>")
document.write("		</tr>")
document.write("	</table>")
document.write("</div>")
//[乘用车]子菜单结束

