function HideAndShow(HideId,ShowId) { 
        if (HideId) { 
                var hideBlock  = (document.getElementById) ? document.getElementById(HideId) : _eval("document.all[HideId]"); 
                hideBlock.style.display = "none"; 
        } 
        if (ShowId) { 
                var showBlock  = (document.getElementById) ? document.getElementById(ShowId) : _eval("document.all[ShowId]"); 
                showBlock.style.display = "block"; 
        } 
} 



/*
//------------------------------------------------------------------------------------ 
function HasIt(mainParam, keyWord, splitSign) { 
        var TempArray = mainParam.split(splitSign); 
        var TempArrayLength = TempArray.length; 
        for (has=0; has<TempArrayLength; has++) { 
                if (TempArray[has] == keyWord ){ 
                        return true; 
                } 
        } 
        return false; 
} 

//------------------------------------------------------------------------------------ 
function ReturnIndex(LocArray, keyWord) { 
var index = -1; 
        for (ind=0;  ind<LocArray.length; ind++) { 
                if (LocArray[ind] == keyWord ){ 
                        index = ind; 
                        break; 
                } 
        }                         
        return index; 
} 

//------------------------------------------------------------------------------------ 
function VisibleAndNotVisible(HideId,ShowId) { 
        if (HideId) { 
                var Visible         = (document.getElementById) ? document.getElementById(HideId) : _eval("document.all[HideId]"); 
                Visible.style.visibility = "hidden"; 
        } 
        if (ShowId) { 
                var NotVisible  = (document.getElementById) ? document.getElementById(ShowId) : _eval("document.all[ShowId]"); 
                NotVisible.style.visibility = "visible"; 
        } 
} 

//------------------------------------------------------------------------------------ 

//------------------------------------------------------------------------------------ 
function ConfirmAndSetLocation (Question,LocationString) { 
        if (confirm(Question)) { 
                 window.location = LocationString; 
        } 
} 

//------------------------------------------------------------------------------------ 
function StringHaveBlankSpaces(StrName) { 
        for (n=0; n<StrName.length; n++) { 
                //alert(StrName[n]) 
                if (StrName[n]==" ")         return true 
        } 
        return false 
} 
//------------------------------------------------------------------------------------ 

... 
var AllDivsArray = document.getElementsByTagName("div") 
        for(i=0; i<AllDivsArray.length; i++) { 
        
                if (AllDivsArray[i].className == "OneEntry") { 
                        AllDivsArray[i].id =  OneEntryList.length + "|OneEntry"; 
                        OneEntryList[OneEntryList.length] = AllDivsArray[i].id; 
                }         

        } 

//------------------------------------------------------------------------------------ 
// Recursive 
var ArrOfDuplicateInputsId = new Array(); 

function CreateArrayOfInputChildren(n) { 
//alert("Name =  "+n.name + " n.childNodes.length = " + n.childNodes.length)         


    if (n.nodeType == 3 ) {    // Reverse Text nodes 
                         // It is a leaf - do nothing 
    } 
    else if (n.nodeName == "INPUT" || n.nodeName == "input" || 
                        n.nodeName == "SELECT" || n.nodeName == "select" || 
                        n.nodeName == "TEXTAREA" || n.nodeName == "textarea" ) { 
                        n.id = ArrOfDuplicateInputsId.length + "|inputIdForDuplicate" 
                    ArrOfDuplicateInputsId[ArrOfDuplicateInputsId.length] = n.id 
    } 
    else {  // For non-Text nodes, recursively reverse the order of the children 
        var kids = n.childNodes; 
        var numkids = kids.length; 
        for(var ch = numkids-1; ch >= 0; ch--) {       // Loop through kids 
            CreateArrayOfInputChildren(kids[ch]);         
        } 
    } 

} 





//------------------------------------------------------------------------------------ 
//------------------------------------------------------------------------------------ 
//------------------------------------------------------------------------------------ 

function und(val) //For Mozilla 
{ 
        return typeof(val) == 'undefined'; 
} 





  
function rollon() { 
var TrLine = "table-body-line" 

        if (und(window.event) || und(window.event.srcElement)) //Check for error 
                return; 
                
        var        ActElement = window.event.srcElement; 
        while (true) { 
        
                if ( und(ActElement) || 
                        ActElement.nodeName == "BODY" || 
                        ActElement.nodeName == "body" || 
                        (ActElement.nodeName == "TR" && ActElement.className != TrLine)) //Check for error 
                        return;         //return if "body" is reached. 

                if (ActElement.nodeName == "TR" && ActElement.className == TrLine) { 
                        ActElement.id = "highlight"; // change backgroundColor 
                        return; 
                } 
                
                ActElement = ActElement.parentElement; 
        } 
} 


function rolloff() { 
var TrLine = "table-body-line" 
        if (und(window.event) || und(window.event.srcElement)) //Check for error 
                return; 
                
        var        ActElement = window.event.srcElement; 


        while (true) { 
        
                if ( und(ActElement) || ActElement.nodeName == "BODY" || 
                         (ActElement.nodeName == "TR" && ActElement.className != TrLine)) //Check for error 
                        return;                //return if "body" is reached. 

                if (ActElement.nodeName == "TR" && ActElement.id == "highlight") { 
                        ActElement.id = ""; // change backgroundColor 
                        return; 
                } 
                
                ActElement = ActElement.parentElement; 
        } 
}         



// assign rollon() to handle onMouseOver events 
document.onfiltered= rollon; 

// assign rolloff() to handle onMouseOut events 
document.onfiltered= rolloff; 




*/

