											
											///////////////////////////////////////////////////////////////////////////////////////
											///////////////////////////////////////////////////////////////////////////////////////
											//////////
											//////////   文 件 名：HtmCtlScript.js
											//////////
											//////////   作    者：LSH
											//////////
											//////////   创建时间：2006 - 10 - 27
											//////////
											//////////   版    本：
											//////////
											//////////   文件说明：客户端页面控制
											//////////
											///////////////////////////////////////////////////////////////////////////////////////
											///////////////////////////////////////////////////////////////////////////////////////

var strSearchMsg_CN        = "Please input keywords！";
var strProductLeftMenuPCID = "";                        //产品部分加载时要高亮显示的项

//----------------------------------------------------------------------------------
//方 法 名：OnClickIsCheckInput()
//方法说明：检测文本框中是否输入数据
//----------------------------------------------------------------------------------
function OnClickIsCheckInput(strID)
{
	/*
		参  数：strID -- 要检测的文本框的ID
		返回值：
	*/

	var strTxtVal = "";
	
	strTxtVal = window.document.all(strID).value;
	
	if(strTxtVal == "")
	{
		return false;
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickClearVal()
//方法说明：清除文本框中的值
//----------------------------------------------------------------------------------
function OnClickClearVal(strTxtID)
{
	/*
		参  数：strTxtID -- 文本框的ID
		返回值：
	*/
	
	window.document.all(strTxtID).value = "";
}

//----------------------------------------------------------------------------------
//方 法 名：OnFocusOutChangeVal()
//方法说明：修改文本框中的值
//----------------------------------------------------------------------------------
function OnFocusOutChangeVal(strTxtID)
{
	/*
		参  数：strTxtID -- 文本框的ID
		返回值：
	*/
	
	if(window.document.all(strTxtID).value == "")
	{
		window.document.all(strTxtID).value = "站点搜索";
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnChangeGetOptItem()
//方法说明：获取下拉菜单中选定的值
//----------------------------------------------------------------------------------
function OnChangeGetOptItem(strID)
{
	/*
		参  数：strID -- 下拉菜单的ID
		返回值：
	*/
	
	var strOptItemVal = "";
	
	strOptItemVal = window.document.all(strID).options[window.document.all(strID,"0").selectedIndex].value;
	if(strOptItemVal != "")
	{
		window.location.href = strOptItemVal;
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickProductSerch()
//方法说明：获取下拉菜单中选定的值
//----------------------------------------------------------------------------------
function OnClickProductSerch(strFrmID,strTxtID)
{
	/*
		参  数：strFrmID -- 要提交的表单的ID
		      ：strTxtID -- 文本框的ID
		返回值：
	*/

	var strTxtValue = "";
	var strUrl      = "";

	//strTxtValue = window.document.all(strTxtID).value;
	strTxtValue = document.getElementById(strTxtID).value;
	
	if(strTxtValue != "")
	{
		//strUrl = "/main/Products/ShowProductContent.aspx?Type=search&TxtValue="+ strTxtValue +"";
		strUrl = "/CoshipEn/ProductCenter/ProductListItem.aspx?SearchTxt="+ strTxtValue +"&Type=1";
		//window.location.href = strUrl;
		//parent.ChangMainMenuImg()
		//parent.OnClickIMGFocusChange("imgMenu_1");
		//parent.window.document.all("frmContent").src = strUrl;
		//parent.document.getElementById("frmContent").src = strUrl;
		document.location.href=strUrl;
	}
	else
	{
		alert(strSearchMsg_CN);
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickIMGFocusChange()
//方法说明：修改图片没有当前的焦点（在Top.ascx文件中调用此方法），并且更改当前选中项的图片
//----------------------------------------------------------------------------------
function OnClickIMGFocusChange(strIMGID)
{
	/*
		参  数：strIMGID -- 当前选中的图片的ID
		返回值：
	*/

	var oImg      = "";
	var strTmp    = "";
	var strImgUrl = "";
	var strImgTmp = "";
	var strImgType = "";
	
	if(strIMGID != "")
	{
		oImg = window.document.all(strIMGID);             //获取当前选中的图片
		oImg.hideFocus = true;                                //隐藏当前图片的焦点
		
		for(i = 0; i < 5; i++)
		{
			strTmp = "imgMenu_" + i;

			if(strTmp == strIMGID)
			{
				//修改选中菜单的当前图片(显示为红色字体)
				strImgUrl = oImg.src;
				strImgUrl = strImgUrl.substr(0,strImgUrl.length - 4);
				strImgUrl += "_B.gif";
				oImg.src = strImgUrl;
			}
		}
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickOtherIMGFocusChange()
//方法说明：修改图片没有当前的焦点（在Top.ascx文件中调用此方法），并且更改当前选中项的图片。此方法在页面没有刷新时使用
//----------------------------------------------------------------------------------
function OnClickOtherIMGFocusChange(strIMGID)
{
	/*
		参  数：strIMGID -- 当前选中的图片的ID
		返回值：
	*/

	var oImg      = "";
	var strTmp    = "";
	var strImgUrl = "";
	var strImgTmp = "";
	var strImgType = "";

	if(strIMGID != "")
	{
		window.document.all(strIMGID).hideFocus = true;       //隐藏当前图片的焦点
		
		for(i = 0; i < 5; i++)
		{
			strTmp = "imgMenu_" + i;
			oImg = window.document.all(strTmp);             //获取当前选中的图片
			
			if(strTmp == strIMGID)
			{
				//修改选中菜单的当前图片(显示为红色字体)
				strImgUrl = oImg.src;
				strImgUrl = strImgUrl.substr(0,strImgUrl.length - 4);
				if(strImgUrl.substr(0,strImgUrl.length - 6) != "_B.gif")
				{
					strImgUrl += "_B.gif";
					oImg.src = strImgUrl;
				}
			}
			else
			{
				//修改当前没有选中的图片（显示为黑色字体）
				strImgUrl  = oImg.src;
				strImgType = strImgUrl.substr(strImgUrl.length - 6,strImgUrl.length);
				if(strImgType == "_B.gif")
				{
					strImgUrl = strImgUrl.substr(0,strImgUrl.length - 6) + ".gif";
					oImg.src  = strImgUrl;
				}
			}
		}
	}
}

//----------------------------------------------------------------------------------
//方 法 名：LeftMenuChangHeadBGColor()
//方法说明：窗体中左边栏目加载时如果有选中的项,修改此项的背景颜色
//----------------------------------------------------------------------------------
function LeftMenuChangHeadBGColor(strLMHeadItemNo)
{
	/*
		参  数：strLMHeadItemNo -- 当前选中项的号码
		返回值：
	*/
	
	window.document.all("tdLMHead_" + strLMHeadItemNo).bgColor = "#f6f6f6";
}

//----------------------------------------------------------------------------------
//方 法 名：SetLinkStyle()
//方法说明：设置选中的超链接的样式
//----------------------------------------------------------------------------------
function SetLinkStyle(strPCID)
{
	/*
		参  数：strPCID -- 当前超链接的ID，使用此ID修改字体及背景
		返回值：
	*/

	//window.document.all("tdPCID_" + strPCID,"0").bgColor = "#fafafa";
	window.document.all("tdPCID_" + strPCID).style.color      = "#e56c19";
	window.document.all("tdPCID_" + strPCID).style.fontWeight = "bold";
}

//----------------------------------------------------------------------------------
//方 法 名：LeftMenuLoad()
//方法说明：产品部分窗体中左边栏目加载
//----------------------------------------------------------------------------------
function LeftMenuLoad(strTdID,strPCID)
{
	/*
		参  数：strTdID -- 当前展开的Td的ID
			  ：strPCID -- 当前超链接的ID，使用此ID修改字体及背景
		返回值：
	*/

	var strTmp = "";
	
	strProductLeftMenuPCID = strPCID;
	
	window.document.all(strTdID).style.display = "";

	//strTmp = strTdID.substr(strTdID.length - 1,strTdID.length);
	//设置选中的二级菜单的字体颜色
	//window.document.all(strTdID,"0").style.color = "da4d00";
	//window.document.all(strTdID,"0").style.color = "red";
	//LeftMenuChangHeadBGColor(strTmp);
	
	if(window.document.all("tdPCID_" + strPCID) != null)
	{
		SetLinkStyle(strPCID);
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickControlLeftMenu()
//方法说明：控制页面中左边栏目的显示和隐藏效果，并且设置选中项的背景色
//----------------------------------------------------------------------------------
function OnClickControlLeftMenu(strTdID,strNum,strLMHeadID)
{
	/*
		参  数：strTdID -- 当前选中的ID
		      ：strNum  -- 当前选中为某个td的号码
		      ：strLMHeadID -- 每个菜单头的ID（例如：DVB系列产品,安防系列产品）,此ID控制每个选中菜单的背景颜色
		返回值：
	*/

	var intCount = strNum;
	
	for(var i = 0; i < intCount; i++)
	{
		if(("tdLeftMenu_" + i) != strTdID)
		{
			//window.document.all("tdLeftMenu_" + i,"0").style.display = "none";
			window.document.all("tdLeftMenu_" + i).style.display = "none";
		}
		//设置非选中项的每个背景为空
		/*
		if(("tdLMHead_" + i) != strLMHeadID)
		{
			window.document.all("tdLMHead_" + i,"0").bgColor = "#ffffff";
		}
		*/
	}
	
	//此处控制菜单可以全部隐藏
	if(window.document.all(strTdID).style.display == "")
	{
		window.document.all(strTdID).style.display = "none";
		//window.document.all(strLMHeadID,"0").bgColor   = "#ffffff";
	}
	else
	{
		window.document.all(strTdID).style.display = "";
		//window.document.all(strLMHeadID,"0").bgColor   = "#f6f6f6";
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnLoadChangeChooseItemColor()
//方法说明：控制招聘部分左边栏目中选中项的背景颜色
//----------------------------------------------------------------------------------
function OnLoadChangeChooseItemColor(strLMHeadID,strlinkJobID)
{
	/*
		参  数：strLMHeadID  -- 选中项的ID
		      ：strlinkJobID -- 超链接的ID
		返回值：
	*/

	window.document.all(strlinkJobID).style.color      = "#d94b02";
	window.document.all(strlinkJobID).style.fontWeight = "bold";	
	window.document.all(strLMHeadID).bgColor           = "#f6f6f6";
}

//----------------------------------------------------------------------------------
//方 法 名：OnKeyDownSumbit()
//方法说明：提交站点查询
//----------------------------------------------------------------------------------
function OnKeyDownSumbit()
{
	/*
		参  数：
		返回值：
	*/
	
	if(event.keyCode == "13")
	{
		OnClickSearchSite('txtSearch');
		return;
	}
}








//=================================================================================================================================================================
//-----------------------------------------------------------------
//树型菜单的全局变量
var g_strLevelID = "";
var g_strSpanID  = "";
//-----------------------------------------------------------------

//前台页面中多级别树型菜单控制
//----------------------------------------------------------------------------------
//方 法 名：OnClickMoreLeftMenu()
//方法说明：超过3级的菜单显示和隐藏控制（暂时没有使用）
//----------------------------------------------------------------------------------
function OnClickMoreLeftMenu(strTDID,strCount,strLevelCount,strCurMenu)
{
	/*
		参  数：strTDID  -- 当前选中的ID
		      ：strCount -- 此栏目下共有多少个子项
		      ：strLevelCount
		      ：strCurMenu
		返回值：
	*/

	for(var i = 0; i < strCount; i++)
	{
		var strTmp = "tabMoreLeftMenuID_" + strLevelCount + "_" + strCurMenu + "_" + i;
		alert(strTmp);
		window.document.all(strTmp,"0").style.display = "";
	}
	
	return;
	//此处控制菜单可以全部隐藏
	if(window.document.all(strTDID,"0").style.display == "")
	{
		window.document.all(strTDID,"0").style.display = "none";
	}
	else
	{
		window.document.all(strTDID,"0").style.display = "";
	}
}

//----------------------------------------------------------------------------------
//方 法 名：GetDataByXmlHttp()
//方法说明：超过3级的菜单显示从这里获取数据
//----------------------------------------------------------------------------------
//function GetDataByXmlHttp(strPCID,strSpanID,strCatalogID,strItemCount)
function GetDataByXmlHttp(strPCID,strSpanID,strCatalogID,strCurLevelID,strLevelIDs)
{
	/*
		参  数：strPCID       -- 当前级别的ID
		      ：strSpanID     -- 当前Span标签的ID，每个下级项的此标签下添加
		      ：strCatalogID  --
		      ：strItemCount  -- 当前菜单下有多少个子菜单（没有使用）
		      ：strCurLevelID -- 当前要选中的栏目级别的ID，如果为空表示不选中当前栏目级别
		      ：strLevelIDs   -- 当前要选中的栏目的所有的上级ID
		返回值：
	*/

	//如果已经获取数据，不在重复获取
	if(document.getElementById(strSpanID).childNodes.length == 1)
	{
		var oXmlHttp,strResponseText,DataToSend;
		
		oXmlHttp = new ActiveXObject("MSXML2.XMLHTTP"); 
		oXmlHttp.open("POST","/UserControl/Products/GetDataXmlhttp.aspx",false);
		DataToSend  = "PCID=" + escape(strPCID);
		DataToSend += "&CatalogID="+ escape(strCatalogID) +"";
		//如果栏目级别不为空，把这个ID发送到服务器，找到此ID所在的栏目
		if(strCurLevelID != "")
		{
			DataToSend += "&CurLevelID="+ escape(strCurLevelID) +"";
			DataToSend += "&LevelIDs="+ escape(strLevelIDs) +"";
		}

		oXmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		oXmlHttp.send(DataToSend);
		strResponseText = oXmlHttp.ResponseText.replace(/^(<!--)([^(-->)]*)|^(-->)|^\s+|\s+$/gim,"");
		delete oXmlHttp;

		if(strResponseText != "")
		{
			var strInfo = "";
			var strHtml = "";
			
			var strLevelTmp = "";
			var strLevelID  = "";
			var arrLevelID  = new Array();
			
			var oXmlDom     = new ActiveXObject("MSXML2.DomDocument"); 

			if (oXmlDom.loadXML(strResponseText))
			{
				var oRoot = oXmlDom.documentElement;
				strInfo   = oRoot.childNodes.item(oRoot.childNodes.length - 2).text;
				
				if(strCurLevelID != "")
				{
					//获取从服务器传递的当前选中ID的所有上级ID
					strLevelID = oRoot.childNodes.item(oRoot.childNodes.length - 1).text;
					if(strLevelID != null && strLevelID != "")
					{
						arrLevelID   = strLevelID.split(",");
						
						for(var j = 0; j < arrLevelID.length; j++)
						{
							if(arrLevelID[j] != strPCID)
							{
								strLevelTmp += arrLevelID[j] + ",";
							}
						}
						
						arrLevelID = null;
						
						strLevelTmp = strLevelTmp.substr(0,strLevelTmp.length - 1);
						arrLevelID = strLevelTmp.split(",");

						g_strLevelID = arrLevelID[arrLevelID.length - 1];
					}
				}
				else
				{
					g_strLevelID = "";
				}

				//当前目录存在下级菜单
				if(strInfo == "True")
				{
					window.document.all(strSpanID,"0").innerHTML += BuildBtnTab(oRoot,strSpanID,strCatalogID,strCurLevelID,strLevelIDs);
					//alert(window.document.all(strSpanID,"0").innerHTML);
					//自动选定一个栏目
					if(arrLevelID != null && arrLevelID.length > 0)
					{
						GetDataByXmlHttp(g_strLevelID,g_strSpanID,strCatalogID,strCurLevelID,strLevelTmp);
					}
				}
				//没有下级菜单
				else
				{
					window.document.all(strSpanID,"0").innerHTML += BuildLinkTab(oRoot,strSpanID,strCatalogID);
				}
			}
			
			delete oXmlDom;
		}
	}
	else
	{
		var oSpan = "";
		
		for(var i = 1; i < document.getElementById(strSpanID).childNodes.length; i++)
		{
			oSpan = document.getElementById(strSpanID).childNodes[i];
			
			//显示菜单
			if(oSpan.style.display == "none")
			{
				oSpan.style.display = "";
			}
			//隐藏菜单
			else
			{
				oSpan.style.display = "none";
			}
		}
	}
}

//----------------------------------------------------------------------------------
//方 法 名：BuildBtnTab()
//方法说明：生成每一项的表格，此表格中的每一项还有下一级菜单
//----------------------------------------------------------------------------------
function BuildBtnTab(oChild,strSpanID,strCatalogID,strCurLevelID,strLevelIDs)
{
	/*
		参  数：oChild       -- 从服务器返回的数据（XML）
		      ：strSpanID    -- 要在这个Span标签下添加子项
		      ：strCatalogID --
		      ：strCurLevelID--
		      ：strLevelIDs  -- 
		返回值：Html字符串
	*/
	
	var strHtmlStr = "";
	var strPCName  = "";
	var strPCID    = "";
	var strSpanJSID= "";                //生成下已经的Span标签ID
	
	for(var i = 0; i < oChild.childNodes.length - 2; i++) 
	{
		//alert(oChild.childNodes[i].childNodes[0].text);
		//alert(oChild.childNodes[i].childNodes[1].text);
		//oChild.childNodes[i].selectSingleNode("PICID").text;
		//alert(oChild.childNodes[i].selectSingleNode("PC_ID").text)
		//alert(oChild.childNodes[i].selectSingleNode("PC_NAME").text)
		
		strSpanJSID = "tdLeftMenuMore_"+ strSpanID +"_"+ i +"";
		
		strPCID   = oChild.childNodes[i].childNodes[0].text;
		strPCName = oChild.childNodes[i].childNodes[1].text;
		
		if(g_strLevelID != null && g_strLevelID != "" && strPCID == g_strLevelID)
		{
			g_strSpanID = strSpanJSID;
		}
		
		strHtmlStr += "<span id = '"+ strSpanJSID +"' style = 'width:100%'><table width = '100%' border = '1' cellpadding = '0' cellspacing = '0' bgcolor = '#d94b02'>";
		strHtmlStr += "<tr><td background = '/main/Images/Product/LM_Line.gif'></td></tr>"
		strHtmlStr += "<tr>";
		//strHtmlStr += "<td height = '20' onclick = javascipt:GetDataByXmlHttp('"+ strPCID +"','" + strSpanJSID + "','"+ strCatalogID +"','" + strCurLevelID + "','" + strLevelIDs + "') style = 'cursor:hand'>"+ GetSpaceCount(strSpanJSID) +" <img src='/Images/C_TitleArrow.gif'>&nbsp;"+ strPCName +"</td>";
		strHtmlStr += "<td height = '20' onclick = javascipt:GetDataByXmlHttp('"+ strPCID +"','" + strSpanJSID + "','"+ strCatalogID +"','" + strCurLevelID + "','" + strLevelIDs + "') style = 'cursor:hand'>"+ GetSpaceCount(strSpanJSID) +" <img src='/main/Images/Product/LM_Arrow_Ten.gif' align = 'absmiddle'>"+ strPCName +"</td>";
		strHtmlStr += "</tr>";
		strHtmlStr += "</table></span>";
	}

	return strHtmlStr;
}

//----------------------------------------------------------------------------------
//方 法 名：BuildLinkTab()
//方法说明：生成每一项的表格，此表格中的每一项没有下一级菜单
//----------------------------------------------------------------------------------
function BuildLinkTab(oChild,strSpanID,strCatalogID)
{
	/*
		参  数：oChild       -- 从服务器返回的数据（XML）
		      ：strSpanID    -- 要在这个Span标签下添加子项
		      ：strCatalogID --
		返回值：Html字符串
	*/
	
	var strHtmlStr = "";
	var strPCName  = "";
	var strPCID    = "";
	var strMenuURL = "";
	var strSpanJSID= "";

	for(var i = 0; i < oChild.childNodes.length - 2; i++) 
	{
		strSpanJSID = "tdLeftMenuMore_"+ strSpanID +"_"+ i +"";
		
		strPCID    = oChild.childNodes[i].childNodes[0].text;
		strPCName  = oChild.childNodes[i].childNodes[1].text;
		strMenuURL = oChild.childNodes[i].childNodes[2].text;
		
		strHtmlStr += "<table width = '100%' border = '0' cellpadding = '0' cellspacing = '0'>";
		strHtmlStr += "<tr><td width = '100%' background = '/main/Images/Product/LM_Line.gif'></td></tr>"
		strHtmlStr += "<tr>";
		//strHtmlStr += "<td height = '20'>"+ GetSpaceCount(strSpanJSID) +" <img src='/Images/C_TitleArrow.gif'>&nbsp;<a href = '" + strMenuURL + "?PCID="+ strPCID +"&CatalogID="+ strCatalogID +"'>"+ strPCName +"</a></td>";
		if(strProductLeftMenuPCID == strPCID)
		{
			//选中的项高亮显示
			strHtmlStr += "<td height = '20' style = 'padding-left:"+ GetSpaceCount(strSpanJSID) +"'><img src='/main/Images/Product/LM_Arrow_Ten.gif' align = 'absmiddle'> <a href = '" + strMenuURL + "?PCID="+ strPCID +"&CatalogID="+ strCatalogID +"' style = 'color:#d94b02'>"+ strPCName +"</a></td>";
		}
		else
		{
			strHtmlStr += "<td height = '20' style = 'padding-left:"+ GetSpaceCount(strSpanJSID) +"'><img src='/main/Images/Product/LM_Arrow_Ten.gif' align = 'absmiddle'> <a href = '" + strMenuURL + "?PCID="+ strPCID +"&CatalogID="+ strCatalogID +"'>"+ strPCName +"</a></td>";
		}
		strHtmlStr += "</tr>";
		strHtmlStr += "</table>";
	}
	
	return strHtmlStr;
}

//----------------------------------------------------------------------------------
//方 法 名：GetSpaceCount()
//方法说明：填充菜单项前面的空格，使菜单项有层次级别
//----------------------------------------------------------------------------------
function GetSpaceCount(strSpanID)
{
	/*
		参  数：strSpanID -- 此ID在此处标识当前菜单为那一级
		返回值：&nbsp;字符串
	*/
	
	var arrSpanID = strSpanID.split("_");                     //使用"_"切割当前Span标签的ID
	var intCount  = (arrSpanID.length - 10) / 2 + 1;          //计算当前菜单在第几级
	var strSpace  = "&nbsp;";
	
	/*
	for(var i = 0; i < intCount; i++)
	{
		strSpace += "&nbsp;&nbsp;"
	}
	*/

	strSpace = 12 * intCount + 10;
	
	return strSpace + "px";
}
//=================================================================================================================================================================

//----------------------------------------------------------------------------------
//方 法 名：OnChangeNewWin()
//方法说明：下拉菜单改变时打开一个新窗口
//----------------------------------------------------------------------------------
function OnChangeNewWin(strOptID)
{
	/*
		参  数：oOpt -- 要使用的下拉菜单
		返回值：
	*/
	
	var oOpt   = window.document.all(strOptID);
	var strTmp = oOpt.options[oOpt.selectedIndex].value;
	
	if(strTmp != "")
	{
		window.open(strTmp);
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickSearchSite()
//方法说明：站点搜索
//----------------------------------------------------------------------------------
function OnClickSearchSite(strTxtID)
{
	/*
		参  数：strTxtID -- 文本框的ID
		返回值：
	*/
	
	var strTxtVal = window.document.all(strTxtID).value;
	var strUrl    = "/CoshipEn/SiteSearchResult.aspx";
	window.document.all(strTxtID).value = "";
	
	if(strTxtVal != "")
	{
		//window.document.all(strTxtID,"0").value = "站点搜索";
		strUrl += "?Condition="+ strTxtVal +"";
		window.open(strUrl);
	}
	else
	{
		alert(strSearchMsg_CN);
	}
}

//----------------------------------------------------------------------------------
//方 法 名：OnClickQuestionSolution()
//方法说明：处理常见问题中表格显示或隐藏的功能
//----------------------------------------------------------------------------------
function OnClickQuestionSolution(strTrID)
{
	/*
		参  数：strTrID -- 显示或隐藏的TR元素的ID
		返回值：
	*/
	
	if(window.document.all("trQuestionList_" + strTrID).style.display == "")
	{
		window.document.all("trQuestionList_" + strTrID).style.display = "none";
		window.document.all("tdrepQuestionList_" + strTrID).style.fontWeight = "normal";
	}
	else
	{
		window.document.all("trQuestionList_" + strTrID).style.display = "";
		window.document.all("tdrepQuestionList_" + strTrID).style.fontWeight = "bold";
	}
}