<head>

<!--jscript-->
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
<script language="JavaScript" src="../jscript/go_to_url.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/capitalize_textbox.js"  type="text/javascript"></script>  
<script language="JavaScript" src="../jscript/upper_case.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/lower_case.js"  type="text/javascript"></script>
<script language="JavaScript" src="../jscript/numbers_only.js"  type="text/javascript"></script>  

</head>
<?php include('../include/wait.php') ?>
<body onLoad="MM_showHideLayers('wait','','hide')" onFocus="MM_showHideLayers('wait','','hide');"  onBlur="MM_showHideLayers('wait','','hide');">
<div class="page_middle_frame">
<form name= "form1" id="form1" method="get"  >
  <table width=595 border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
    <tr>
      <td width="525" ><div class="wizard_frame">
          <label class="label_std">Contact person 1:</label>
          &nbsp;
          <input class="text150" id="contact name2" name="ContactText1" value="<?php echo $_SESSION['ContactText1'] ?>" type="text" onBlur="capitalize(this)" onKeyUp="ToLower(this)" autofocus tabindex="1"/>
          <label class="star">*</label>
          <label class="label_std">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cell number:&nbsp;&nbsp;&nbsp;</label>
          <input class="text100" Name="CellText1" id="cell number" type="text" value="<?php echo $_SESSION['CellText1'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="2"/>
          <label class="star">*</label>
          <br />
          <br />
          <label class="label_std">e-mail:</label>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
          <input class="text200" id="e-mail2" name="emailText1" type="text" value="<?php echo $_SESSION['emailText1'] ?>" onKeyUp="ToLower(this)" tabindex="3"/>
        </div>
        <br />
        <br />
        <br />
        <br />
        <div class="wizard_frame">
          <label class="label_std">Contact person 2:</label>
          &nbsp;
          <input class="text150" id="contact name" name="ContactText2" value="<?php echo $_SESSION['ContactText2'] ?>" type="text" onBlur="capitalize(this)" onKeyUp="ToLower(this)" tabindex="4"/>
          <label class="label_std">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cell number:&nbsp;&nbsp;&nbsp;</label>
          <input class="text100" Name="CellText2" id="cell number" type="text" value="<?php echo $_SESSION['CellText2'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="5"/>
          <br />
          <br />
          <label class="label_std">e-mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</label>
          <input class="text200" id="e-mail" name="emailText2" type="text" value="<?php echo $_SESSION['emailText2'] ?>" onKeyUp="ToLower(this)" tabindex="6"/>
        </div>
        <br />
        <br />
        <br />
        <br />
        <div class="wizard_frame">
          <label class="label_std">Phone number:</label>
          <input class="text100" id="phone number" name="PhoneText" value="<?php echo $_SESSION['PhoneText'] ?>" type="text" onKeyPress="return numbersonly(this, event)" tabindex="7"/>
          <label class="star">*</label>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <label class="label_std">Fax number:</label>
          &nbsp;&nbsp;&nbsp;
          <input class="text100" id="fax number" name="FaxText" type="text" value="<?php echo $_SESSION['FaxText'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="8"/>
        </div>
        <br />
        <br />
        <br />
        <div class="wizard_frame">
          <label class="label_std">VAT number:</label>
          <input class="text150" id="VAT number" name="VATText" type="text" value="<?php echo $_SESSION['VATText'] ?>" onKeyUp="ToUpper(this)" tabindex="9"/>
          <label class="label_std"></label>
        </div>
        <br />
        <br />
        <div class="wizard_frame">
          <label class="label_std">Web site:&nbsp;&nbsp;</label>
          <input class="text300" id="webText" name="webText" type="text" value="<?php echo $_SESSION['WebText'] ?>" onKeyUp="ToLower(this)" tabindex="10"/>
          <label class="label_std"></label>
        </div></td>
    </tr>
    <tr>
      <td><table width="590" height="50" align="center" id="table_button_bar">
          <tr>
            <td width="117"><input type="button" name="lastprev_button" class="imagebutton" value="Prev" onClick="needToConfirm = false;MM_goToURL('parent','supplierWizbase.php?s=&amp;p=2');return document.MM_returnValue;MM_showHideLayers('wait','','show');return document.MM_returnValue" tabindex="12"/></td>
            <td width="115">&nbsp;</td>
            <td width="99"><input name="s" type="hidden" id="s" value="3" />
              <input name="p" type="hidden" id="p" value="3" /></td>
            <td width="125"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; cancel_confirmation(1, '../store/store_main.php?date=0&branch=&subCatSelect=Tiles');" value="Cancel" tabindex="13"/></td>
            <td width="110" align="left"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');" tabindex="11"/></td>
          </tr>
        </table></td>
    </tr>
  </table>
  </table>
</form>
</div>
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("ContactText1","req","Please enter a contact name.");
  frmvalidator.addValidation("CellText1","req","Please enter a cell number.");
  frmvalidator.addValidation("PhoneText","req","Please enter a phone number.");
</script> 
