function toogleItem(parElement) {
    var element = document.getElementById(parElement.id + "_children");
    var mother = document.getElementById(parElement.id);
    if (element) {
        if (element.style.display == "none") {
            element.style.display = "block";
            mother.className = "selected";
        } else {
            element.style.display = "none";
            mother.className = "";
        }
    } else {
        alert("Item does not have any children");
    }
    mother.blur();
}

function printPage() 
            {
                window.print();  
            }