public static void InsertjQueryUI(Page thePage) { jqueryui jq = FindjQueryUI(thePage); if (jq == null) { jq = new jqueryui(); thePage.Header.Controls.AddAt(1, jq); } }