//creates the silverlight control within the tag specified by controlHostId

function createSilverlight( controlHost )
{
	Silverlight.createObjectEx({
		source: "ClientBin/SloobApplication.xap",
		parentElement: controlHost,
		id: "silverlightControl",
		properties: {
			width: "500",
			height: "350",
			version: "3.0.40307.0",
			background: "white",
			isWindowless: "true",
			enableHtmlAccess: "true",
			autoUpgrade: "false"
		},
		events: {}
	});
}
