
<script type="text/javascript" src="../css/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />
<script language="javascript" type="text/javascript" >
<!--
function confirmRefresh() {
var okToRefresh = confirm("Do you really want to cancel this entry?");
var url='vehicleList.php'
if (okToRefresh)
	{
			window.location=url;
	}
}
// -->
</script>
<script language="JavaScript">
var needToConfirm = true;
  window.onbeforeunload = confirmExit;
   function confirmExit()
  {
    if (needToConfirm)
      return "You did not finish the wizard./nIf you leave now your data will not be saved.";
  }
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
</script>

<form id="feedbackform" method="get" action="vehicleWiz6.php" >
      <table width=595 border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
          <tr>
            <td width="525" ><table width="592" id="tableResume" >
              <tr>
    <td width="119" align="left" valign="top"><span class="wizard">Company name:</span></td>
    <td width="180" align="left" valign="top"><strong><span class="wizard">
      <label class="std"><?php echo $_SESSION['name'] ?></label>
    </span></strong></td>
    <td width="109" align="left" valign="top">&nbsp;</td>
    <td width="164" align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="left" valign="top"><span class="wizard">Postal Address:</span></td>
    <td align="left" valign="top"><strong><span class="wizard"><?php echo $_SESSION['AddressText1'] ."   ". $_SESSION['AddressText2'].",  ". $_SESSION['PlaceText'] ?></span></strong></td>
    <td align="left" valign="top"><span class="wizard">Physical Address:</span></td>
    <td align="left" valign="top"><strong><span class="wizard"><?php echo $_SESSION['AddressText3'] ."   ". $_SESSION['PlaceText2'].",  ". $_SESSION['CountryText'] ?></span></strong></td>
  </tr>
  <tr>
    <td align="left" valign="top">Contact:</td>
    <td align="left" valign="top"><?php echo $_SESSION['ContactText'] ?></td>
    <td align="left" valign="top">Cell:</td>
    <td align="left" valign="top"><?php echo $_SESSION['CellText'] ?></td>
  </tr>
  <tr>
    <td align="left" valign="top">Phone:</td>
    <td align="left" valign="top"><?php echo $_SESSION['PhoneText'] ?></td>
    <td align="left" valign="top">Fax:</td>
    <td align="left" valign="top"><?php echo $_SESSION['FaxText'] ?></td>
  </tr>
  <tr>
    <td align="left" valign="top">e-mail:</td>
    <td colspan="2" align="left" valign="top"><?php echo $_SESSION['emailText'] ?></td>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td align="left" valign="top">VAT number:</td>
    <td colspan="2" align="left" valign="top"><?php echo $_SESSION['VATText'] ?></td>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
     </table>
            <p class="wizard">
              <input name="s" type="hidden" id="s" value="5" />
              <input name="p" type="hidden" id="p" value="5" />
              <label class="std">If you want to make changes use the 'Prev' button to go back. <br />
                Click 'New' to make a new entry or to finish the wizard click 'Finish'.</label></p>
            </td>
            
          </tr>
          <tr>
            <td>
              <table width="590" height="50" align="center" id="tableButtonBar">
                <tr>
                  <td width="117"><input type="button" name="lastprev_button" class="imagebutton" value="Prev" onclick="needToConfirm = false;  MM_goToURL('parent','vehicleWizbase.php?s=6&p=4');return document.MM_returnValue" /></td>
                  <td width="115">&nbsp;</td>
                  <td width="99"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onclick="javascript:confirmRefresh(); needToConfirm = false;" value="Cancel" /></td>
                  <td width="125"><input type="submit" name="new_button" class="imagebutton" id="new_button" value="New" onclick="needToConfirm = false; " /></td>
                  <td width="110"><input  name="finish_button" type="submit" class="imagebutton" id="finish_button" value="Finish" onclick="needToConfirm = false; "  /></td>
                </tr>
              </table></td>
          </tr>
        </table>
  </table>
 
</form>

