        startList = function() {
            if (document.all && document.getElementById) {
                navRoot = document.getElementById("nav");
                for (i = 0; i < navRoot.childNodes.length; i++) {
                    node = navRoot.childNodes[i];
                    if (node.nodeName == "LI") {
                        node.onmouseover = function() {
                            this.className += " over";
                        }
                        node.onmouseout = function() {
                            this.className = this.className.replace(" over", "");
                        }
                    }
                }
            }
        }
        window.onload = startList;

var subpage
        $(document).ready(function() {
            $('.imageSmall, #ContentFrontPageImage').cycle({
                fx: 'fade'
            });
            if ($("#ContenSubPageContentMenu ul").size() == 0) {
                $("#ContenSubPageContentMenu").hide();
                $("#ContenSubPageContentContent").width(852);
            }

            subpage = $("#ContenSubPageContent");
            setItems();
$(window).resize(function() {
setItems();
});
        });
        
        function setItems(){

if (subpage.size() > 0) {
                subpage.height($(document).height() -370);
            }else{
	$("#Address").css({top: 560,bottom: 0});

}
}
