<?php
 require "commonincludefiles.php";
 require "security.php"; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>LEAD MANAGEMENT SOFTWARE</title>
<script language="javascript" type="text/javascript">
	var JSDateFormat='<?php echo $JSDateFormat ; ?>';
</script>



<link rel="stylesheet" type="text/css" href="css/sms.css" />
<link rel="stylesheet" type="text/css" href="css/print.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" /> 

<script type="text/javascript" src="js/ext-base.js"></script> 
<script type="text/javascript" src="js/ext-all-debug.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/styleswitcher.js"></script>
 
<script language="javascript" type="text/javascript">
	Ext.BLANK_IMAGE_URL = "images/default/s.gif";
</script>

<!-- Theme CSS -->
<style type="text/css">
	body {
		font-family: 'Helvetica Neue',tahoma,helvetica,sans-serif;
		font-size: 12px;
	}
	
	h1 a:link, h1 a:visited {
		color: #046BCA;
	}
	
	h1 a:hover, h1 a:focus, h1 a:active {
		color: #1C417C;
	}
	
	div#theme {
		height: 60px;
		/*width: 940px;*/
		padding: 10px 0 0px 0;
		margin: 0 0px;
		float:left;
	}
	div#theme h1 {
		font-family: MyriadPro-Semibold, 'Myriad Pro Semibold', 'Myriad Pro', 'Trebuchet MS', Tahoma, arial, sans-serif;
		font-size: 250%;
	}
	.x-viewport body {
		overflow: auto;
	}
	form#styleswitcher {
		background-color: #f3f3f3;
		background-color: rgba(243,243,243,.333);
		border: 1px solid #ddd;
		border-color: rgba(221,221,221,.333);
		border-radius:         8px;
		-moz-border-radius:    8px;
		-ms-border-radius:     8px;
		-o-border-radius:      8px;
		-webkit-border-radius: 8px;
		
		float: left;
		padding: 8px 10px;
		
		width: auto;
	}
	form#styleswitcher select {
		font-size: 16px;
		line-height: 16px;
	}
	div#theme h1 span {
		color: inherit;
		font-family: 'Helvetica Neue',tahoma,helvetica,verdana, sans-serif;
		font-size: 12px;
		font-weight: normal;
		line-height: 16px;
		padding-left: 25px;
	}
</style>

<!--<script type="text/javascript" src="<?php echo $ModuleFolder ;?>menu/final-menu.js"></script>
-->
<?php if (isset($_SESSION["cUserMenuFile"]) && $_SESSION["cUserMenuFile"]!="") { ?>
	<script type="text/javascript" src="<?php echo $ModuleFolder ;?>menu/<?php echo $_SESSION["cUserMenuFile"] ;?>"></script>
<?php } ?>
<!--<script type="text/javascript" src="menu.js"></script>-->
<script type="text/javascript" src="jquery/ux/fileuploadfield/FileUploadField.js"></script>
<link rel="stylesheet" type="text/css" href="css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="jquery/ux/css/statusbar.css"/>
<link rel="stylesheet" type="text/css" href="jquery/ux/fileuploadfield/css/fileuploadfield.css"/>

<!-- Theme includes -->

<link rel="stylesheet" type="text/css" title="gray"      href="css/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" title="access"    href="css/xtheme-access.css" />
<link rel="stylesheet" type="text/css" title="yourtheme" href="css/yourtheme.css" />
<link rel="stylesheet" type="text/css" title="slate" href="css/xtheme-slate.css" />



</head>
<body>
<div id="wrapper">
<!--header start-->
<div id="header_subpage">	 
		<div id="headertext_subpage">
			<?php echo strtoupper($_SESSION["cCompany_name"]); ?>	
			<div id="header-right-text">Welcome <?php echo strtoupper($_SESSION["cUserName"]); ?></div>
		</div>
</div>
 <!--header end-->
<!--main start-->
<div id="content_subpage" align="center">
	<?php if (isset($_SESSION["cUserId"]) && $_SESSION["cUserId"]!="") { ?>
		<div id="main-menu"></div>
	<?php } ?>