function createObject(srcLocation, dstControl, ctlWidth, ctlHeight, initParms, altHtml) {
	
	Silverlight.createObject(
        srcLocation,                        // source XAML
        dstControl,                         // parent HTML element
        "sl",               // id for the control
    // properties:
        {width: ctlWidth, height: ctlHeight, version: '2.0', alt: altHtml},
    // events:
        {onError:null,onLoad:null},
		initParms,
		""
        );
        
}


