
var vOC;
var	vOC1;
var	vOC2;
var	vOC3;
var	vOC4;
var	vOC10;
var	vOC11;
var	vOC12;
var	vOC13;
var	vOC19;
var	vOC20;
var	vOC21;
var	vOC22;
function tbao(r)
{
 //alert(r.cells[0].innerHTML);
 //  location.href = "tc\\Default.aspx?stockcode=" + r.cells[0].innerHTML;

  //window.open("http://www.tcsc.vn/TCSC/Corporation/CompanyRecord.aspx?f=6141&CCode=" + r.cells[0].innerHTML);
  //window.open("http://www.bmsc.com.vn/Corporation/CorporationDetail.aspx?f=95&CCode=" + r.cells[0].innerHTML);
}
function shl(id)
{
	var tab = document.getElementById(id);
	if(!tab) return false;
	for (i = 2; i < tab.rows.length; i++)
	{
		tab.rows[i].onmouseover=function(){mv(this)}
		tab.rows[i].onmouseout=function(){mo(this)}
	}
	return true;
}

function mv(r)
{	
	vOC=r.style.cssText;
	r.style.cssText="background-color:#808685; height:21px;";
	vOC1 = r.cells[1].style.cssText;
	vOC2 = r.cells[2].style.cssText;
	vOC3 = r.cells[3].style.cssText;
	vOC4 = r.cells[4].style.cssText;
	vOC10 = r.cells[10].style.cssText;
	vOC11 = r.cells[11].style.cssText;
	vOC12 = r.cells[12].style.cssText;
	vOC12 = r.cells[13].style.cssText;
	vOC19 = r.cells[19].style.cssText;
	vOC20 = r.cells[20].style.cssText;
	vOC21 = r.cells[21].style.cssText;
	vOC21 = r.cells[22].style.cssText;
	r.cells[1].style.cssText = "background-color:#808685; height:21px;" + vOC1;				
	r.cells[2].style.cssText = "background-color:#808685; height:21px;" + vOC2;
	r.cells[3].style.cssText = "background-color:#808685; height:21px;" + vOC3;								
	r.cells[4].style.cssText = "background-color:#808685; height:21px;" + vOC4;								
	r.cells[10].style.cssText = "background-color:#808685; height:21px;" + vOC10;
	r.cells[11].style.cssText = "background-color:#808685; height:21px;" + vOC11;
	r.cells[12].style.cssText = "background-color:#808685; height:21px;" + vOC12;
	r.cells[13].style.cssText = "background-color:#808685; height:21px;" + vOC13;
	r.cells[19].style.cssText = "background-color:#808685; height:21px;" + vOC19;
	r.cells[20].style.cssText = "background-color:#808685; height:21px;" + vOC20;
	r.cells[21].style.cssText = "background-color:#808685; height:21px;" + vOC21;
	r.cells[22].style.cssText = "background-color:#808685; height:21px;" + vOC22;
}
function mo(r)
{
	r.style.cssText=vOC;
	r.cells[1].style.cssText = vOC1;
	r.cells[2].style.cssText = vOC2;
	r.cells[3].style.cssText = vOC3;
	r.cells[4].style.cssText = vOC4;
	r.cells[10].style.cssText = vOC10;
	r.cells[11].style.cssText = vOC11;
	r.cells[12].style.cssText = vOC12;
	r.cells[13].style.cssText = vOC13;
	r.cells[19].style.cssText = vOC19;
	r.cells[20].style.cssText = vOC20;
	r.cells[21].style.cssText = vOC21;
	r.cells[22].style.cssText = vOC22;
}