﻿
function createInlineSilverlight_SelectWorksCategories()
{  

    Silverlight.createObjectEx({
        source: '#xamlContent',         // Source property value, referencing an ID in the HTML DOM.
        parentElement:document.getElementById("SelectWorksCategories_SilverlightControlHost"),    // DOM reference to hosting DIV tag.
        id:'SilverlightControl',                  // Unique plug-in ID value.
        properties:{                    // Plug-in properties.
            width:'640',                // Width of rectangular region of plug-in, in pixels.
            height:'100',                // Height of rectangular region of plug-in, in pixels.
            background:'White',       // Background color of plug-in.
            version:'1.0'},             // Plug-in version.
        events:{
            onLoad:null}});             // OnLoad property value -- event handler function name.

}

