/*
   Co the ho tro nhieu XSL voi cac danh sach khac nhau. Chu y gia tri NamePos va NameAbstract truyen vao
   la tuy vao dat trong XSL
    
    Truyen vao:
    ArtDivId = ma Id dang 'pos + Vi tri ban ghi hien tai'
    Total = Tong so ban ghi lay ra
    Current = Vi tri ban ghi hien tai
*/

function ArticleDivOn(intActiveId, strActiveId, strNameFull, strAbstractId)
{
    var intCount, strActiveName;
    /*alert(strNameFull);
    alert(document.getElementsByTagName("mark")[1].id);*/
   /*
    var objClose = document.getElementsByName("mark");
    var intLength = objClose.length;
    for (intCount = 1; intCount<=intLength; intCount++)
    {
        objClose[intCount].style.display = "none";
        alert(objClose[intCount].id);
    }*/
    strActiveName= strActiveId + intActiveId;
	document.getElementById(strActiveName).style.display = "";
	strActiveName = strAbstractId + intActiveId;
	document.getElementById(strActiveName).style.display = "none";
}

function ArticleDivOff(intActiveId, strActiveId, strAbstractId)
{
    var strActiveName;
    strActiveName= strActiveId + intActiveId;
	document.getElementById(strActiveName).style.display = "none";
		strActiveName = strAbstractId + intActiveId;
	document.getElementById(strActiveName).style.display = "";
}
