function GetCategoryTitle(sCategory, sRelativePath, sUrl)
{
	var sText = sUrl ? "<a class=CurPos2 target=_blank href='" + sUrl + "'>" + sCategory + "</a>" : sCategory;
	var sTitleWidth = 18 * sCategory.length + 30;
	document.write("<table width='100%' height='27' cellpadding='0' cellspacing='0'>");
	document.write("	<tr>");
	document.write("		<td width=" + sTitleWidth + ">");
	document.write("			<table width=100% height=26 cellpadding=0 cellspacing=0 background='" + sRelativePath + "images/sub_category_bg.gif'>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/sub_category_left.gif'></td>");
	document.write("					<td align=left class=CurPos2>");
	document.write("						" + sText);
	document.write("					</td>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/sub_category_right.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("		<td width=5></td>");
	document.write("		<td width=1><img src='" + sRelativePath + "images/sub_title_left.gif'></td>");
	document.write("		<td class=TitleTBSub>&nbsp;</td>");
	document.write("		<td width='1' align=right><img src='" + sRelativePath + "images/sub_title_right.gif'></td>");
	document.write("	</tr>");
	document.write("	<tr height=3><td></td></tr>");
	document.write("</table>");
}

function GetCategoryTitle2(sCategory, sRelativePath, sUrl)
{
	var sText = sUrl ? "<a class=CurPos2 target=_blank href='" + sUrl + "'>" + sCategory + "</a>" : sCategory;
	if (!sHtml) sHtml = sCategory;
	var sTitleWidth = 18 * sCategory.length + 30;
	document.write("<table width='100%' height='27' cellpadding='0' cellspacing='0'>");
	document.write("	<tr>");
	document.write("		<td width=" + sTitleWidth + ">");
	document.write("			<table width=100% height=26 cellpadding=0 cellspacing=0 background='" + sRelativePath + "images/sub_category_bg2.gif'>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/sub_category_left2.gif'></td>");
	document.write("					<td align=left class=CurPos2 style='filter:glow(Color=#83650a,Strength=1)'>");
	document.write("						" + sText);
	document.write("					</td>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/sub_category_right2.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("		<td width=5></td>");
	document.write("		<td width=1><img src='" + sRelativePath + "images/sub_title_left.gif'></td>");
	document.write("		<td class=TitleTBSub>&nbsp;</td>");
	document.write("		<td width='1' align=right><img src='" + sRelativePath + "images/sub_title_right.gif'></td>");
	document.write("	</tr>");
	document.write("	<tr height=3><td></td></tr>");
	document.write("</table>");
}

function GetNavTitle(sCategory, sHtml)
{
	if (!sHtml) sHtml = sCategory;
	var sTitleWidth = 18 * sCategory.length + 30;
	document.write("			<table width=" + sTitleWidth + " height=26 cellpadding=0 cellspacing=0 background='../images/sub_category_bg.gif'>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='../images/sub_category_left.gif'></td>");
	document.write("					<td align=left class=CurPos2>");
	document.write("						" + sHtml);
	document.write("					</td>");
	document.write("					<td width=1><img src='../images/sub_category_right.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetNavTitle2(sCategory, sHtml)
{
	if (!sHtml) sHtml = sCategory;
	var sTitleWidth = 18 * sCategory.length + 30;
	document.write("			<table width=" + sTitleWidth + " height=26 cellpadding=0 cellspacing=0 background='../images/sub_category_bg2.gif'>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='../images/sub_category_left2.gif'></td>");
	document.write("					<td align=left class=CurPos2 style='filter:glow(Color=#83650a,Strength=1)'>");
	document.write("						" + sHtml);
	document.write("					</td>");
	document.write("					<td width=1><img src='../images/sub_category_right2.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetSideTitle(sCategory, sRelativePath, sUrl)
{
	document.write("			<table width=100% cellpadding=0 cellspacing=0 class=TitleTBSide>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/side_title_left.gif'></td>");
	document.write("					<td class=TitleTBSide style='padding-left:5px'>");
	document.write("						" + sCategory);
	document.write("					</td>");
	document.write("					<td align=right>");
	if (sUrl)
	{
		document.write("					<a target=_blank href='" + sUrl + "'><img border=0 src='" + sRelativePath + "images/side_title_more.gif'></a>");
	}
	document.write("					</td>");
	document.write("					<td width=1 align=right><img src='" + sRelativePath + "images/side_title_right.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetSideTitle2(sCategory, sRelativePath, sUrl)
{
	document.write("			<table width=100% cellpadding=0 cellspacing=0 class=TitleTBSide>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/side_title_left2.gif'></td>");
	document.write("					<td class=TitleTBSide2 style='padding-left:5px'>");
	document.write("						" + sCategory);
	document.write("					</td>");
	document.write("					<td align=right>");
	if (sUrl)
	{
		document.write("					<a target=_blank href='" + sUrl + "'><img border=0 src='" + sRelativePath + "images/side_title_more.gif'></a>");
	}
	document.write("					</td>");
	document.write("					<td width=1 align=right><img src='" + sRelativePath + "images/side_title_right2.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetMainTitle(sCategory, sRelativePath, sUrl)
{
	document.write("			<table width=100% cellpadding=0 cellspacing=0 class=TitleTBMain>");
	document.write("				<tr>");
	document.write("					<td width=1><img src='" + sRelativePath + "images/main_title_left.gif'></td>");
	document.write("					<td>" + sCategory + "</td>");
	document.write("					<td align=right><img src='" + sRelativePath + "images/main_title_bgright.gif'></td>");
	document.write("					<td width=1 align=right valign=bottom>");
	if (sUrl)
	{
		document.write("					<a target=_blank href='" + sUrl + "'><img border=0 src='" + sRelativePath + "images/main_title_more.gif'></a>");
	}
	document.write("					</td>");
	document.write("					<td width=1 align=right><img src='" + sRelativePath + "images/main_title_right.gif'></td>");
	document.write("				</tr>");
	document.write("				<tr height=11>");
	document.write("					<td colspan=5 background='" + sRelativePath + "images/main_title_bottombg.gif'></td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetPageCategoryTitle(sCategory)
{
	document.write("			<table width=100% height=25 cellpadding=0 cellspacing=0 background='../images/category_title_bg2.gif'>");
	document.write("				<tr>");
	document.write("					<td style='background:url(../images/category_title_bg.gif) no-repeat' class=Position2>&nbsp;&nbsp;&nbsp;&nbsp;" + sCategory + "</td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetNavigater(sCategory, sInner)
{
	document.write("			<table width='100%' height=50 cellpadding=0 cellspacing=0 border=8 bordercolor=#E2E4E2>");
	document.write("				<tr>");
	document.write("					<td>");
	document.write("						<table width='100%' height='100%' cellpadding=0 cellspacing=0 border=0>");
	document.write("							<tr>");
	document.write("								<td width=70 valign=top style='padding-top:5px;'>&nbsp;<img src='../images/category_title_icon.gif'></td>");
	document.write("								<td width=220 height=28 valign=top style='font-size:15px;font-weight:bold;color:#BD4508;padding-top:5px;'>");
	document.write("									&nbsp;" + sCategory);
	document.write("									<br>");
	document.write("									<table bgcolor=#BABABA height=1 width=200 cellpadding=0 cellspacing=0><tr><td></td></tr></table>");
	document.write("								</td>");
	document.write("								<td valign=bottom style='padding-top:5px;'>" + sInner + "</td>");
	document.write("							</tr>");
	document.write("						</table>");
	document.write("					</td>");
	document.write("				</tr>");
	document.write("			</table>");
}

function GetSectionTitle(sCategory)
{
	document.write("			<table width=100% height=25 cellpadding=0 cellspacing=0>");
	document.write("				<tr>");
	document.write("					<td width=30% class=SectionTitle>&nbsp;&nbsp;<img src='../images/li_05.gif'>&nbsp;&nbsp;" + sCategory + "</td>");
	document.write("					<td width=70% class=SectionTitle2></td>");
	document.write("				</tr>");
	document.write("			</table>");
}