(function(kv) {

        /** The following code may be altered **/

        // Define the data required to embed the content
        var embed = {

                id: "KnowledgeVisionEmbeddedContent325d345029c3402bb15187ab50cd800d",
                type: "presentation",
                useHTTPS: false,

                params: {
            			player: "http://static.knowledgevision.com/player/version/5/0/1/player.swf",
            			mobilePlayer: "http://present.knowledgevision.com/player/mobile/version/4/0/index.html",
                        config: "http://present.knowledgevision.com/account/orientcapital/presentation/0bb7384807c444c1bf51674db2554446/config/config.xml",
                        width: "962",
                        height: "660"
                },

                track: {
                        presentationId: "MTA3NjI4",
                        presentationVersion: "1.0",
                        duration: "4406",
                        slideCount: "35",
                        trackUrl:"http://track.presentation-cloud.net/",
                        licenseId:"276",
                        subAccountId:"-1"
                }

        };

        /** The following code should not be altered **/

        // Create the "embeds" array if it doesn't exist
        kv.embeds = kv.embeds || [];

        // Add the embed for this presentation to the array
        kv.embeds.push(embed);

        // Inserts a new script in the DOM above the first script found
        var insertScript = function(src, async) {

                var el = document.createElement("script");
                el.async = async;
                el.src = src;
                el.type = "text/javascript";

                var scripts = document.getElementsByTagName("script");

                if (async) {
                        scripts[0].parentNode.insertBefore(el, scripts[0]);
                }
                else {
                        document.write(unescape("%3Cscript src='" + src + "' type='text/javascript'%3E%3C/script%3E"));
                }

        };
        

        // Inject the Loader script, only if it has not been loaded already
        if (kv.loaded != true) {
                insertScript((embed.useHTTPS == true ? "https://s3.amazonaws.com/" : "http://") + "brambles-corp.azurewebsites.net:443/Content/js/vendor/orient/loader.js", true);
                kv.loaded = true;
        }

        if (kv.checkEmbeds != null) {
                kv.checkEmbeds();
        }

})(window.knowledgevisionLoader = window.knowledgevisionLoader || {});