
       var colors = [];
        colors[0] = "rgb(196,215,205)";
        colors[1] = "rgb(241,240,192)";
        colors[2] = "rgb(238,215,228)";
        colors[3] = "rgb(199,203,224)";
        colors[4] = "rgb(215,197,153)";
        colors[5] = "rgb(207,188,191)";
        
       var color_index = 0;
 
        
        function onloadProcess() {
            setInterval('colorChanger()',8000);
            var thisurl = window.location.toString();
            //alert(thisurl);
            //cgiPath = "/cgi-bin/metta4all.cgi";
            if (window.location.host == "192.168.1.17") {
                v_sidebarPath = "/metta4all" + v_sidebarPath;
                v_footerLinks = "/metta4all" + v_footerLinks;
                v_leadForm = "/metta4all" + v_leadForm;
            };
            dhtmlxAjax.get(v_sidebarPath,respSidebarLoad);
            dhtmlxAjax.get(v_footerLinks,respFooterLinksLoad);
            dhtmlxAjax.get(v_leadForm,respLeadFormLoad);
       };
        
        
       function respSidebarLoad(loader) {
            //alert(loader.xmlDoc.responseText);
            el = document.getElementById("relatedContent");
            el.innerHTML = loader.xmlDoc.responseText;
                                         
       };
       
       function respFooterLinksLoad(loader) {
            el = document.getElementById("block-menu-menu-footer-links");
            el.innerHTML = loader.xmlDoc.responseText;
       
       };

       function respLeadFormLoad(loader) {
            el = document.getElementById("headerLeadForm");
            el.innerHTML = loader.xmlDoc.responseText;
       };
        
       function colorChanger() {
            et = document.getElementById("headerLeadForm");
            xt = document.getElementById("headerImage");
            et.style.backgroundColor = colors[color_index] ;
            
            //alert(color_index);
            //xt.innerHTML = "<b>" + colors[color_index] + "</b>";
            
            color_index += 1;
            if (color_index > 5) { color_index = 0 };
            
       };