@*   Xafari Framework version : 17.2.3011.1336   *@

@using Xafari.Mvc
@model Xafari.Mvc.Controls.StartupScriptsControl

@{
	if (Model != null && Model.StartupScripts.Count > 0)
	{
		<script type="text/javascript" id="@Html.DXScriptId(Model)">
			$(document).ready(function () {
				@foreach (var script in Model.StartupScripts)
			    {
				    @MvcHtmlString.Create(script.Value)
			    }
			})
		</script>
	}
}
