<%@ Page language="c#" Codebehind="ControlLoader.aspx.cs" AutoEventWireup="false" Inherits="Mediachase.UI.Web.Modules.ControlLoader" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>ControlLoader</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script src="../Scripts/browser.js"></script>
		<script src="../Scripts/buttons.js"></script>		
		<LINK href="../layouts/styles/windows.css" type="text/css" rel="stylesheet">
		<link href="../Themes/<%=Mediachase.UI.Web.Util.CommonHelper.GetTheme()%>/theme.css" rel="stylesheet">
		<link href="../Themes/<%=Mediachase.UI.Web.Util.CommonHelper.GetTheme()%>/color1.css" rel="stylesheet">
		<script><!--
		if ((browseris.mac) && !browseris.ie5up)
		{
			var macstyle = "../layouts/styles/mac.css";
			document.write("<link rel='stylesheet' Type='text/css' href='" + macstyle + "'>");
		}

		function fnStartInit()
		{
			if (document.readyState=="complete")
			{
				fnStartInitProcess();
			}
		}
		
		function fnStartInitProcess()
		{
			var obj = document.getElementById('<%=tbImg.ClientID%>');
			var obj1 = document.getElementById('<%=tbMain.ClientID%>');
			if (obj && obj.style && obj.style.display != "none")
			{
				obj.style.display="none";
				obj1.style.display="";
			}
		}
		//--></script>
  </head>
  <body id="pT_body" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0" class="topMenuFrameBody">
	
    <form id="frmMain" runat="server" >
		<table cellpadding="0" cellspacing="0" border="0" id="tbImg" runat="server" width="100%" height="100%">
			<tr><td align="center" valign="center" width="100%"><img src="../layouts/images/cl-loading.gif" border="0" height="27" width="94"></td></tr>
		</table>
			<table cellpadding="0" cellspacing="0" border="0" style="display:none;" id="tbMain" runat="server" width="100%">
			<tr><td width="100%"><asp:PlaceHolder ID="phItems" Runat="server" /></td></tr>
		</table>
		<table cellpadding="0" cellspacing="0" border="0" width="100%" onreadystatechange="javascript:alert('readyState: ' + this.readyState);">
			<tr><td><br></td></tr>
		</table>
    </form>
<script language="javascript">
fnStartInitProcess();
</script>	
  </body>
</html>
