<script language="javascript1.1" type="text/javascript">
// Finction to show license key entry textbox...
function enterNewKey(){
	document.getElementById('adminpass').style.display = '';
	document.getElementById('licensekey').style.display = '';
	document.getElementById('subm').style.display = '';
}
 --> 
</script>
<script language="javascript1.1" type="text/javascript">
function emptyCheck()
{
	if(document.frmLicense.txtAdminPass.value == ""){
		alert('Please enter administrator password');
		document.frmLicense.txtAdminPass.focus();
		return false;	
	}else if(document.frmLicense.txtLicenseKey.value == ""){
		alert('Please enter valid license key');
		document.frmLicense.txtLicenseKey.focus();
		return false;	
	}	
}
</script>
<div align="center" id="items_display_area">		
<form name=frmLicense method=post action=" " onSubmit="return emptyCheck();">
<table width="100%"  border="0" cellspacing="0" cellpadding="10">
                      <tr>
                        <td><div align="left" class="float_clear1"></div>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td align="center"><h1>Invalid Licence </h1></td>
                            </tr>
                          </table>
                          <p>&nbsp;</p>
                          <table width="100%" height="66"  border="0" cellpadding="5" cellspacing="2">
                            <tr>
                              <td align="center" class="news_date"><p>Invalid License (<?php echo $cnfg["vLicenceKey"];?>).<br> Please contact support@iscripts.com</p></td>
                            </tr>
                          </table>
                          <table width="100%"  border="0" cellspacing="2" cellpadding="5">
                            <tr align="center">
                              <td height="61" colspan="2"><p><strong>Click <a href="javascript: enterNewKey();">here</a> to enter new key</strong><br /> 
                                </p>
                              </td>
                            </tr>
                            <tr id="adminpass" style="display:none;" >
                              <td width="45%" align="right">Admin password </td>
                              <td width="55%"><input name="txtAdminPass"  id="txtAdminPass" type="text" class="box2_admin"></td>
                            </tr>
                            <tr id="licensekey" style="display:none;">
                              <td align="right">Enter new license key </td>
                              <td><input name="txtLicenseKey"  id="txtLicenseKey" type="text" class="box2_admin" value="<?php echo htmlentities($cnfg["vLicenceKey"]);?>"></td>
                            </tr>
                            <tr id="subm" style="display:none;">
                              <td align="right">&nbsp;</td>
                              <td><input type="submit" value="Submit" class="buttn_admin"></td>
                            </tr>
                            <tr>
                              <td align="right">&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                          </table>
                          <p>&nbsp;</p>
                          <p>&nbsp;</p>
                        </div></td>
                      </tr>
                    </table>
</form>  </div>
				  <!--items display area end -->
				</div>
				
				<div align="left" class="float_clear"><?php echo $html->image('/img/clear.gif');?></div>