          break;
                        default:
                          break;
                          }

                    for(var i = 0; i < preloadImages.length; i++){
                        var link = document.createElement('link');
                        link.rel = 'preload';
                        link.href = preloadImages[i];
                        link.as = "image";
                        document.head.appendChild(link);
                    }
        </script><script type="text/javascri