<?php

     session_start();
	 $_SESSION['quote_no'] ="";
	 $_SESSION['company_name'] ="";
	 $_SESSION['name'] ="";
	 $_SESSION['id'] = "";
     $_SESSION['type'] ="";
     $_SESSION['contact'] = "";
	 $_SESSION['cell'] = "";
	 $_SESSION['bag_box'] = "";
	 $_SESSION['box_number'] = "";
	 $_SESSION['post_place'] = "";
	 $_SESSION['phone'] = "";
	 $_SESSION['fax'] = "";
	 $_SESSION['email'] = "";
	 $_SESSION['reference'] = "";
	 
	 
	 $_SESSION['project'] = "";
	 $_SESSION['VAT']='';
	 
	 $_SESSION['option_checkbox1'] = 0;
	 $_SESSION['option_checkbox2'] = 0;
	 $_SESSION['option_checkbox3'] = 0;
	 $_SESSION['option_checkbox4'] = 0;
	 $_SESSION['option_checkbox5'] = 0;
	 $_SESSION['option_checkbox6'] = 0;
	 $_SESSION['option_checkbox7'] = 0;
	 $_SESSION['option_checkbox8'] = 0;
	 $_SESSION['option_checkbox9'] = 0;
	 $_SESSION['option_checkbox10'] = 0;
		 
	 $_SESSION['round_bar'] = '';
	 $_SESSION['flat_bar'] = '';
	 $_SESSION['square_tube'] = '';
	 $_SESSION['heavy_duty'] = '';
	 $_SESSION['earth_loops'] = 0;
	 $_SESSION['outrigger'] = 0;
	 $_SESSION['wash_line'] = 0;
	 $_SESSION['strobe'] = 0;
	 $_SESSION['anti_lift_bar'] = 0;
	 $_SESSION['ace_100'] = 0;
	 
	 $_SESSION['re_text'] = '';
	 
	 $_SESSION['option1_text']='';
	 $_SESSION['option2_text']='';
	 $_SESSION['option3_text']='';
	 $_SESSION['option4_text']='';
	 $_SESSION['option5_text']='';
	 
	 
	 $_SESSION['line_num2'] = 0;
	 $_SESSION['option2_text']='.';
	 $line_num=10;
	 $i=0;
	 while ($i<$line_num) {
		 $_SESSION['line_checkbox2'.$i] = 0;
		 $_SESSION['item_text2'.$i] = '';
		 $_SESSION['amount_text2'.$i] = '';
		 $i++;
	 }
	 
	 
	  	 
	 
	 $_SESSION['line_num3'] = 0;
	 $_SESSION['option3_text']='.';
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox3'.$i] = 0;
		 $_SESSION['item_text3'.$i] = '';
		 $_SESSION['amount_text3'.$i] = '';
		 $i++;
	 }
	 $_SESSION['item_text30'] = 'Total Price Supply & Install';
	 
	 $_SESSION['line_num4'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox4'.$i] = 0;
		 $_SESSION['item_text4'.$i] = '.';
		 $_SESSION['amount_text4'.$i] = '.';
		 $i++;
	 }
		 
	 $_SESSION['line_num5'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox5'.$i] = 0;
		 $_SESSION['item_text5'.$i] = '.';
		 $_SESSION['amount_text5'.$i] = '.';
		 $i++;
	 }
	 $_SESSION['item_text50'] = 'Total Price Supply & Install';
	 
	 $_SESSION['line_num_M4'] = 0;
	 $_SESSION['option3_text']='.';
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_M4'.$i] = 0;
		 $_SESSION['item_text_M4'.$i] = '.';
		 $_SESSION['amount_text_M4'.$i] = '.';
		 $i++;
	 }
	 
	 
	 $_SESSION['line_num_M5'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_M5'.$i] = 0;
		 $_SESSION['item_text_M5'.$i] = '.';
		 $_SESSION['amount_text_M5'.$i] = '.';
		 $i++;
	 }
	 $_SESSION['item_text_M50'] = 'Total Price Supply & Install';
	 
	 
	 
	 
	 $_SESSION['line_num_K4'] = 0;
	  $_SESSION['option4_text']='.';
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_K4'.$i] = 0;
		 $_SESSION['item_text_K4'.$i] = '.';
		 $_SESSION['amount_text_K4'.$i] = '.';
		 $i++;
	 }
	 
	 
	 $_SESSION['line_num_K5'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_K5'.$i] = 0;
		 $_SESSION['item_text_K5'.$i] = '.';
		 $_SESSION['amount_text_K5'.$i] = '.';
		 $i++;
	 }
	 $_SESSION['item_text_K50'] = 'Total Price Supply & Install';
	 
	 
	 $_SESSION['line_num_L4'] = 0;
	  $_SESSION['option5_text']='.';
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_L4'.$i] = 0;
		 $_SESSION['item_text_L4'.$i] = '.';
		 $_SESSION['amount_text_L4'.$i] = '.';
		 $i++;
	 }
	 
	 
	 $_SESSION['line_num_L5'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox_L5'.$i] = 0;
		 $_SESSION['item_text_L5'.$i] = '.';
		 $_SESSION['amount_text_L5'.$i] = '.';
		 $i++;
	 }
	 $_SESSION['item_text_L50'] = 'Total Price Supply & Install';
	 
	 
	 $_SESSION['line_num6'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox6'.$i] = 0;
		 $_SESSION['item_text6'.$i] = '';
		 $_SESSION['amount_text6'.$i] = '';
		 $i++;
	 }
	 
	 $_SESSION['line_num7'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox7'.$i] = 0;
		 $_SESSION['item_text7'.$i] = '';
		 $_SESSION['amount_text7'.$i] = '';
		 $i++;
	 }
	 
	 
	 
	 $i=0;
	  while ($i<6) {
		 $_SESSION['line_checkbox8'.$i] = 1;
		 $i++;
	 }
	 $_SESSION['option8_text'] = '2.4 Diamond mesh security fence';
	 $_SESSION['item_text80'] = 'Corner, Gate & Straining poles will be 3m x 101mm x o/h  (1)';
	 $_SESSION['item_text81'] = 'Stays will be 3m x 50mm (2)';
	 $_SESSION['item_text82'] = 'Intermediates to be 3m x 50mm x o/h  (3)';
	 $_SESSION['item_text83'] = 'Above will be embedded in 15 MPA concrete';
	 $_SESSION['item_text84'] = 'Diamond mesh will be 2.4 x 50mm x 2.5 (6) attached to straining wires (4)';
	 $_SESSION['item_text85'] = '3 strands of barbed wire will be attached to the overhang (7)';
	
	 $_SESSION['line_num9'] = 0;
	 $line_num=10;
	 $i=0;
	  while ($i<$line_num) {
		 $_SESSION['line_checkbox9'.$i] = 0;
		 $_SESSION['item_text9'.$i] = '';
		 $_SESSION['amount_text9'.$i] = '';
		 $i++;
	 }
	 $_SESSION['item_text90'] = 'Total Price Supply & Install';
	 
	 
	$_SESSION['total_amount'] = 0;
	$_SESSION['total_amount2'] = 0; 
	 
	$_SESSION['seller'] = "";
	$_SESSION['picture']=''; 
	 
	 $_SESSION['quotation_date'] = date('Y-m-d');
	 $_SESSION['terms'] = '';
	 $_SESSION['valid_days'] = '';
	 $_SESSION['delivery_days'] = '';
	 $_SESSION['priority'] = '';
	 
	 
	$i=0;
	while ($i<9) {
			$_SESSION['palisade_text'.$i]=0;
			$i++;
		}
	$i=0;
	while ($i<3) {
			$_SESSION['gate_text'.$i]=0;
			$i++;
		}
		
	$_SESSION['fence_height'] = ""; 
	 	 
	 $_SESSION['notes'] ="";	 
	   
	 $_SESSION['p'] = 1;
	 $_SESSION['error']=0;
	 

	
     
?>
<script language="javascript" type="text/javascript">
        <!--
		  window.location="quoteWizbase.php?error=0&p=1&s=0";
        -->
       </script>