function toogleService(serviceID,divToShow,parentDivRef,topMostContentDiv) {
                
                //var topNavRef = document.getElementById(parentDivRef.getAttribute('id'));
                var childOfUL = parentDivRef.childNodes;
                var i = 0;
                for (i = 0; i < childOfUL.length; i++) {
                    
                            if (childOfUL[i].nodeName == "UL") {
                                var liRef = childOfUL[i].childNodes;
                                
                                var j = 0;
                                for (j = 0; j < liRef.length; j++) {
                                    
                                    if (liRef[j].nodeName == "LI") {
                                        var anchorRef = liRef[j].childNodes;
                                        if (anchorRef[0].getAttribute('id') != serviceID) {
                                            anchorRef[0].removeAttribute("class");

                                        }
                                        else {

                                            anchorRef[0].setAttribute("class", "activeService");

                                        }
                                    }
                                    
                                }
                                
                            }
                        }

                        //var rightContentDivRef = document.getElementById(topMostContentDiv.getAttribute('id'));
                var childOfRightContentDiv = topMostContentDiv.childNodes;
                var k = 0;
                for (k = 0; k < childOfRightContentDiv.length; k++) {
                            if (childOfRightContentDiv[k].nodeName == "DIV" && childOfRightContentDiv[k].getAttribute('class') == "text") {
                                if (childOfRightContentDiv[k].getAttribute('id') == divToShow.getAttribute('id')) {
                                    childOfRightContentDiv[k].style.visibility = 'visible';
                                }
                                else {
                                    childOfRightContentDiv[k].style.visibility = 'hidden';
                                }
                            }
                        }
                
            }
