﻿
        Silverlight.inject(
            {
                source: "ClientBin/KSimonsV6.SilverlightApp.xap",
                parentElement: "silverlightControlHost",
                properties:
                {
                    id: "silverlightControl",
                    width: "100%",
                    height: "100%",
                    background: "white",
                    version: "3.0.40624.0",
                    splashscreensource: "SplashScreen.xaml",
		            onSourceDownloadProgressChanged: "onSourceDownloadProgressChanged"
                },
                // Contextual UI configuration
                installerUiConfig:
                {
                    // The title of the application
                    title: "Kai Simons IT-Berater",

                    // The path of the image to display 
                    // for optimal results use an image that is 165x124 pixels in size
                    picture: "Assets/Install/wide/me.jpg",

                    // Leave the entire 'description' section commented out to get the default.
                    // descriptions;. The default text is specified in js/AgInstall.js.
                    //
                    // Note: If the custom text is shorter than the default text, some of the images
                    // in the UI will be out of place,. To address this, add an appropriate number of
                    // paragraphs or breaks before or after the custom text. See 'install: wide' below
                    // for an example.
                    //
                    // Also, if you comment out just a single form factor, remember to remove the comma from the end of the line as it will break the experience on IE6 and IE7
                    //

                    description:
                    {
                        install:
                        {
                            wide: "<p>Ich biete Ihnen viele Dienstleistungen im Microsoft .NET Bereich an.</p><p>Diese Internetseite verwendet die Microsoft Silverlight Technologie, die auf Ihrem PC noch nicht installiert ist. Starten Sie die Silverlight Installation jetzt und Sie erfahren</p><ul><li>wie ich Ihnen in Projekten dienlich sein kann</li><li>welche Leistungen ich in Bezug auf Softwarearchitektur und Softwareentwicklung anbiete</li><li>was meine Kunden über mich sagen</li></ul><p>Klicken Sie unten, um Ihren Webbrowser um Microsoft Silverlight zu erweitern und die Webseite zu betreten.</p>"
                            //narrow: "<p>Add custom description and 'installation required' text here.</p>",
                            //small: "<p>Add custom description and 'installation required' text here.</p>"
                        },
                        upgrade:
                        {
                            wide: "<p>Ich biete Ihnen viele Dienstleistungen im Microsoft .NET Bereich an.</p><p>Diese Internetseite verwendet die Microsoft Silverlight Technologie, die auf Ihrem PC noch nicht in der notwendigen Version installiert ist. Starten Sie die Silverlight Installation jetzt und Sie erfahren</p><ul><li>wie ich Ihnen in Projekten dienlich sein kann</li><li>welche Leistungen ich in Bezug auf Softwarearchitektur und Softwareentwicklung anbiete</li><li>was meine Kunden über mich sagen</li></ul><p>Klicken Sie unten, um Ihren Webbrowser um Microsoft Silverlight zu erweitern und die Webseite zu betreten.</p>"
                            //narrow: "<p>Add custom description and 'upgrade required' text here.",
                            //small: "<p>Add custom description and 'upgrade required' text here.</p>"
                        },
                        // To use the default text for a section, comment out the lines with custom text
                        installing:
                        {
                            wide: "<p>Gleich ist es soweit. Bitte installieren Sie die Microsoft Silverlight Erweiterung und warten Sie, bis die Installation abgeschlossen ist. </p>"
                            //narrow: "<p>Add custom 'Silverlight is installing/upgrading' text here.</p>",
                            //small: "<p>Add custom 'Silverlight is installing/upgrading' text here.</p>"
                        },
                        restart:
                        {
                            wide: "<p>Die Installation ist fast fertig. Bitte starten Sie Ihren Webbrowser neu, um meine Internetseite betreten zu können.</p>"
                            //narrow: "<p>Add custom 'Please restart browser' text here.",
                            //small: "<p>Add custom 'Please restart browser' text here."
                        },

                        notSupported:
                        {
                            wide: "<p>Dieser Internetbrowser kann diese Internetseite nicht anzeigen. Bitte verwenden Sie z.B. Internet Explorer oder Firefox.</p>"
                            //narrow: "<p>Add custom 'browser not compatible' text here.</p>",
                            //small: "<p>Add custom 'browser not compatible' text here.</p>"
                        }
                    },
                    // Sspecify the custom text of the install button/link here.
                    // In the large and narrow forms, an arrow graphic element is included.
                    // In the small, text-only form, you can specify a > with &gt;
                    // For example:, "Update and Go! &gt;"
                    buttonLabel: "Jetzt starten!"
                }
            });
