<!--jscript-->
<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');">
<form name= "form1" id="form1" method="get"  >
<div class="wizard_page_middle_frame">

  <div class="wizard_frame">
          <table width="640" border="0">
            <tr>
              <td width="137">Contact person 1:
          &nbsp;
              <label class="star">*</label></td>
              <td width="221"><input class="text150" id="contact name2" name="ContactText1" value="<?php echo $_SESSION['ContactText1'] ?>" type="text" onBlur="capitalize(this)" onKeyUp="ToLower(this)" autofocus tabindex="1"/></td>
              <td width="101">Cell number:</td>
              <td width="163"><input class="text100" name="CellText1" id="cell number2" type="text" value="<?php echo $_SESSION['CellText1'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="2"/></td>
            </tr>
            <tr>
              <td>e-mail:</td>
              <td><input class="text200" id="e-emailText1" name="emailText1" type="text" value="<?php echo $_SESSION['emailText1'] ?>" onKeyUp="ToLower(this)" tabindex="3"/></td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
          &nbsp;
          </div>
        
        <div class="wizard_frame">
          <table width="640" border="0">
            <tr>
              <td width="137">Contact person 2:
&nbsp;</td>
              <td width="221"><input class="text150" id="contact name" name="ContactText2" value="<?php echo $_SESSION['ContactText2'] ?>" type="text" onBlur="capitalize(this)" onKeyUp="ToLower(this)" tabindex="4"/></td>
              <td width="101">Cell number:</td>
              <td width="163"><input class="text100" name="CellText2" id="cell number" type="text" value="<?php echo $_SESSION['CellText2'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="5"/></td>
            </tr>
            <tr>
              <td>e-mail:</td>
              <td><input class="text200" id="e-mail" name="emailText2" type="text" value="<?php echo $_SESSION['emailText2'] ?>" onKeyUp="ToLower(this)" tabindex="6"/></td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
       </div>   
       <div class="wizard_frame">
          <table width="640" border="0">
            <tr>
              <td width="137">Phone number:
                <label class="star">*</label></td>
              <td width="221"><input class="text100" id="phone number" name="PhoneText" value="<?php echo $_SESSION['PhoneText'] ?>" type="text" onKeyPress="return numbersonly(this, event)" tabindex="7"/></td>
              <td width="101">Fax number:</td>
              <td width="163"><input class="text100" id="fax number" name="FaxText" type="text" value="<?php echo $_SESSION['FaxText'] ?>" onKeyPress="return numbersonly(this, event)" tabindex="8"/></td>
            </tr>
          </table>
 </div>         
        <div class="wizard_frame">
          <table width="640" border="0">
            <tr>
              <td width="137">VAT number:
                </td>
              <td width="493"><input class="text150" id="VAT number" name="VATText" type="text" value="<?php echo $_SESSION['VATText'] ?>" onKeyUp="ToUpper(this)" tabindex="9"/></td>
            </tr>
          </table>
        </div>
      
        <div class="wizard_frame">
          <table width="640" border="0">
            <tr>
              <td width="137">Web site:&nbsp;&nbsp;</td>
              <td width="493"><input class="text300" id="webText" name="webText" type="text" value="<?php echo $_SESSION['WebText'] ?>" onKeyUp="ToLower(this)" tabindex="10"/></td>
            </tr>
          </table>
          
        </div>
        <div class="wizard_frame">
        <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');" 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>
        </div>
  
</div>
</form>
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("ContactText1","req","- contact name.");
  frmvalidator.addValidation("PhoneText","req","- phone number.");
</script> 
