<?php ob_start(); ?>
<?php
error_reporting();
session_start();

require_once("./include/fgcontactform.php");
require_once("./include/formvalidator.php");

$formproc = new FGContactForm();

//Initialize the contact form
// $formproc->AddRecipient('tmpcseo@gmail.com'); //<<---Put your email address here
// $formproc->SetFormRandomKey('CnRrspl1FyEylUj');
// echo "Hello";

// $validation_errors='';
if (isset($_POST['submitted'])) { // We need to validate only after the form is submitted

	//Setup Server side Validations
	//Please note that the element name is case sensitive 

	// $validator = new FormValidator();
	// echo "Hello";
	// $validator->addValidation("name","req","Please fill in Name");	
	// $validator->addValidation("email","email","The input for Email should be a valid email value");
	// $validator->addValidation("email","req","Please fill in Email");    
	// //Then validate the form
	// if($validator->ValidateForm())
	// {
	//If the validations succeeded, proceed with form processing
	if ($formproc->ProcessForm()) {
		$formproc->RedirectToURL("thank-you.php");
	}
	// }
	// else
	// {
	//     //Validations failed. Display Errors.
	//     $error_hash = $validator->GetErrors();
	//     foreach($error_hash as $inpname => $inp_err)
	//     {
	//        $validation_errors .= "<p>$inpname : $inp_err</p>\n";
	//     }        
	// }
}
//if
$disp_name  = isset($_POST['name']) ? $_POST['name'] : '';
$disp_email = isset($_POST['email']) ? $_POST['email'] : '';
$disp_address  = isset($_POST['address']) ? $_POST['address'] : '';
$disp_address2  = isset($_POST['address2']) ? $_POST['address2'] : '';
$disp_country  = isset($_POST['country']) ? $_POST['country'] : '';
$disp_company  = isset($_POST['company']) ? $_POST['company'] : '';
$disp_lname  = isset($_POST['lastname']) ? $_POST['lastname'] : '';
$disp_phone  = isset($_POST['phone']) ? $_POST['phone'] : '';
$disp_mobile  = isset($_POST['mobile']) ? $_POST['mobile'] : '';
$disp_state  = isset($_POST['state']) ? $_POST['state'] : '';
$disp_zip  = isset($_POST['zip']) ? $_POST['zip'] : '';
$disp_fax  = isset($_POST['fax']) ? $_POST['fax'] : '';
$disp_paper = isset($_POST['paper']) ? $_POST['paper'] : '';
$disp_plastic = isset($_POST['plastic']) ? $_POST['plastic'] : '';
$disp_quantity = isset($_POST['quantity']) ? $_POST['quantity'] : '';
$disp_stdsize = isset($_POST['stdsize']) ? $_POST['stdsize'] : '';
$disp_customsize = isset($_POST['custom&nbsp;size']) ? $_POST['custom&nbsp;size'] : '';
$disp_cardstodeck  = isset($_POST['cards&nbsp;to&nbsp;a&nbsp;deck']) ? $_POST['cards&nbsp;to&nbsp;a&nbsp;deck'] : '';
$disp_cardface = isset($_POST['card&nbsp;face']) ? $_POST['card&nbsp;face'] : '';
$disp_frontcolors = isset($_POST['front&nbsp;colors']) ? $_POST['front&nbsp;colors'] : '';
$disp_backcolors = isset($_POST['back&nbsp;colors']) ? $_POST['back&nbsp;colors'] : '';
$disp_specialcolor = isset($_POST['special&nbsp;color']) ? $_POST['special&nbsp;color'] : '';
$disp_coating = isset($_POST['coating']) ? $_POST['coating'] : '';
$disp_radio = isset($_POST['radio']) ? $_POST['radio'] : '';
$disp_city = isset($_POST['city']) ? $_POST['city'] : '';
$disp_corners = isset($_POST['corners']) ? $_POST['corners'] : '';
$disp_instructionsheetpaper = isset($_POST['instruction&nbsp;sheetpaper']) ? $_POST['instruction&nbsp;sheetpaper'] : '';
$disp_sheetprintingoptions = isset($_POST['sheet&nbsp;printing&nbsp;options']) ? $_POST['sheet&nbsp;printing&nbsp;options'] : '';
$disp_sheetcolors = isset($_POST['sheet&nbsp;colors']) ? $_POST['sheet&nbsp;colors'] : '';
$disp_packaging = isset($_POST['packaging']) ? $_POST['packaging'] : '';
$disp_leathercases = isset($_POST['leather&nbsp;cases']) ? $_POST['leather&nbsp;cases'] : '';
$disp_custompackaging = isset($_POST['custom&nbsp;packaging']) ? $_POST['custom&nbsp;packaging'] : '';
$disp_wrapping = isset($_POST['wrapping']) ? $_POST['wrapping'] : '';
$disp_displaypackoption = isset($_POST['display&nbsp;pack&nbsp;option']) ? $_POST['display&nbsp;pack&nbsp;option'] : '';
$disp_deliverymode = isset($_POST['deliverymode']) ? $_POST['deliverymode'] : '';
$disp_deliverytime = isset($_POST['deliverytime']) ? $_POST['deliverytime'] : '';
$disp_message = isset($_POST['message']) ? $_POST['message'] : '';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">

<head>
	<!-- Google tag (gtag.js) -->

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title> Playing Cards Dealer Quote | custom playing cards quote </title>
	
	<meta name="description" content="Playing Cards Dealer Quote" />
	<link href="site.css" rel="stylesheet" type="text/css" media="screen" />
	<meta name="keywords" content="Playing Cards Dealer Quote" />
	
	<style type="text/css">
		/* body {
			margin-top: 0px;
			background-size: 511px 860px;
			margin-bottom: 0px;
			text-align: justify;
		} */

		/* .back {
			background-image: url(images/plate.jpg);
			background-repeat: repeat-y;
		} */

		body,
		td,
		th {
			/* font-family: Arial, Helvetica, sans-serif; */
			font-size: 15px;
			color: #000;
		}

		.fontcol {
			color: #FFF;
		}

		/* a { */
			/* text-decoration: none; */
			/* color: #8D38C9; */
			/* color: #fa9d36;
			font-weight: bold;
			font-size: 14px; */
		/* } */

		/* a:hover {
			text-decoration: underline;
		} */

		.formbutton {
			width: 169px;
			height: 54px;
			cursor: pointer;
			border: outset 1px #ccc;
			background: #999;
			color: #666;
			font-weight: bold;
			padding: 1px 2px;
			background: url(get_quote_button.png) repeat-x left top;
		}

		.grey_border {
			border: 1px solid #C0C0C0;
		}

		#csize {
			display: none;
		}

		#face {
			display: none;
		}
	</style>
	<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
	<script type="text/javascript">
		function chgSelect(which) {
			if (which == 'coatedpaper') {
				if (document.getElementById('paper').selectedIndex == 0) //Unlock plastic
					document.getElementById('plastic').disabled = false;
				else // lock plastic
					document.getElementById('plastic').disabled = true;
			} else {
				if (document.getElementById('plastic').selectedIndex == 0) //Unlock paper
					document.getElementById('paper').disabled = false;
				else // lock paper
					document.getElementById('paper').disabled = true;
			}
		}

		function isNumberKey(evt) {
			var charCode = (evt.which) ? evt.which : event.keyCode
			if (charCode > 31 && (charCode < 48 || charCode > 57))
				return false;
			return true;
		}

		function isNumberKey(evt) {
			var charCode = (evt.which) ? evt.which : event.keyCode
			if (charCode > 31 && (charCode < 48 || charCode > 57))
				return false;
			return true;
		}

		$(document).ready(function() {
			$('#deliverymode').change(function() {
				var option = $(this).find('option:selected').val();
				$('#deliverymode').val(option);
				var modeofdelivery = document.getElementById("deliverymode").value;
				var quantity = document.getElementById("quantity").value;
				if (modeofdelivery == 'By Air' && quantity <= '1000') {
					document.getElementById('deliverytime').value = '2 week';
				} else if (modeofdelivery == 'By Air' && quantity > '1000') {
					document.getElementById('deliverytime').value = '4 week';
				} else if (modeofdelivery == 'By Sea') {
					document.getElementById('deliverytime').value = '8 week';
				}
			});

			$('#stdsize').change(function() {
				var standardsize = document.getElementById("stdsize").value;
				if (standardsize == 'Custom Size') {
					$('#csize').show();
				} else {
					$('#csize').hide();
				}
			});

			$('#cardface').change(function() {
				var cardface1 = document.getElementById("cardface").value;
				if (cardface1 == 'Custom Index Faces') {
					$('#face').show();
				} else {
					$('#face').hide();
				}
			});

			$('#cwidth').focus(function() {
				if ($(this).val() == 'Width') {
					$(this).val('');
				}
			});

			$('#cwidth').blur(function() {
				if ($(this).val() == '') {
					$(this).val('Width');
				}
			});

			$('#cheight').focus(function() {
				if ($(this).val() == 'Height') {
					$(this).val('');
				}
			});

			$('#cheight').blur(function() {
				if ($(this).val() == '') {
					$(this).val('Height');
				}
			});
		});

		function AllowAlphabet() {
			if (document.contactus.name.value == "") {
				document.contactus.name.value = '';
				document.contactus.name.focus();
				return false;
			}
			if (!/^[a-zA-Z]*$/g.test(document.contactus.name.value)) {
				document.getElementById('contactus_name_errorloc').innerHTML = "Invalid Characters";
				document.contactus.name.value = '';
				document.contactus.name.focus();
				return false;
			} else {
				document.getElementById('contactus_name_errorloc').innerHTML = "";
			}
		}
	</script>
	</script>
	<script type='text/javascript' src='./include/gen_validatorv31.js'></script>
	<link rel="STYLESHEET" type="text/css" href="./include/contact.css" />
</head>

<body>
	<?php include('navbar.php')  ?>
	
	<form id='contactus' action='<?php echo $_SERVER['PHP_SELF']; ?>' method='post' accept-charset='UTF-8' class="get_a_quote">

		<input type='hidden' name='submitted' id='submitted' value='1' />
		<input type='hidden' name='<?php echo $formproc->GetFormIDInputName(); ?>' value='<?php echo $formproc->GetFormIDInputValue(); ?>' />
		<input type='text' class='spmhidip' name='<?php echo $formproc->GetSpamTrapInputName(); ?>' />
		<div>
			<span class='error' style="font-size: 12px;"><?php echo $formproc->GetErrorMessage(); ?></span>
			<span class='error' style="font-size: 12px;"><?php echo $validation_errors; ?></span>
		</div>

		<div >
			<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="color:#fff;">
				<tr>
					
					<td align="center" style="padding-top:50px; padding-right:150px; font-size:20px;color:#fff">
						<h2>Promotional Playing Cards Quote Form</h2>
					</td>
				</tr>

				<tr>
					<td colspan="2"> &nbsp;</td>
				</tr>

				<tr>
					<td style="background-color:#333A40;color:#FAA116; font-size:16px; padding-left:10px;padding-top:10px;padding-bottom:10px;" colspan="2"><strong> Quote Form</strong></td>
				</tr>

				<tr>
					<td colspan="2">
						<table width="100%" cellpadding="0" cellspacing="0" style="border:2px solid #828282;background-color:#1e1547;color:#fff;font-family:verdana;">

							<tr>
								<td colspan="2"> &nbsp;</td>
							</tr>


							<tr>
								<td width="25%" style="border:0px solid red;color:#fff;padding-left:15px;">
									<label for='email'>Plastic Coated Paper </label><br />
								</td>
								<td width="25%" style="border:0px solid yellow;color:#fff;">
									<select name='paper' id='paper' value='' onchange="chgSelect('coatedpaper');">
										<option selected value="0">Select Paper</option>
										<option>280 GSM White Centered stock</option>
										<option>310 GSM White Centered stock</option>
										<option>350 GSM White Centered stock For Flash Cards</option>
										<option>400 GSM White Centered stock For Flash Cards</option>
										<option>300 GSM Blank Centered stock</option>
										<option>315 GSM White Centered stock</option>
									</select>
								</td>
								<td width="20%" style="border:0px solid red;color:#fff;padding-left:24px;">
									<label for='email'>100% Pure Plastic </label><br />
								</td>

								<td width="25%" style="border:0px solid green;color:#fff;">
									<select name="plastic" id='plastic' value='' onchange="chgSelect('plasticpaper');" style="width:246px;">
										<option selected value="0">Select Plastic</option>
										<option>250 -270 Microns Plastic stock</option>
										<option>290 -310 Microns Plastic stock</option>
									</select>
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;color:#fff;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;<label for='email'>Quantity (Number of decks)</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type="text" name="quantity" id="quantity" value='<?php echo htmlentities($disp_quantity) ?>' style="width:290px;" /><br />
									<span id='contactus_quantity_errorloc' class='error' style="font-size: 12px;"></span>
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='email'>Number of cards per deck </label><br />
								</td>
								<td style="border:0px solid green;">
									<input type="text" name="cards&nbsp;to&nbsp;a&nbsp;deck" id="cardstodeck" value='<?php echo htmlentities($disp_cardstodeck) ?>' style="width:246px;" /><br />
								</td>
							</tr>


							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>'

							<tr>
								<td style="border:0px solid red;padding-left:5px;color:#fff;">
									<span style="color:#FF0000;">*</span> <label for='email'>Size of The Card </label><br />
								</td>
								<td style="border:0px solid yellow;">
									<select name="stdsize" id="stdsize" value='' style="width:290px;">
										<option value="Custom Poker Size">Custom Poker Size</option>
										<option value="Custom Bridge Size">Custom Bridge Size</option>
										<option value="Round Cards"> Round Cards </option>
										<option value="Custom Miniature Size">Custom Miniature Size </option>
										<option value="Custom Size">Custom Size</option>
									</select><br />

								</td>

								<td class="csize" style="border:0px solid green;padding-left:30px;color:#fff;">
									<label for='email'>&nbsp;</label><br />
								</td>
								<td id="csize" style="border:0px solid green;">
									<input type="text" name="cwidth" id="cwidth" value="Width" size="16" class="txtbox" />
									<input type="text" name="cheight" id="cheight" value="Height" size="16" class="txtbox" />
								</td>
							</tr>




							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;">
									<label for='email'>Faces/ Front of the Cards</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<select name="cardface" id="cardface" value='' style="width:290px;">
										<option value="Regular Index Faces">Regular Index Faces</option>
										<option value="Jumbo Index Faces">Jumbo Index Faces</option>
										<option value="Custom Index Faces">Custom Faces</option>
									</select><br />
								</td>
								<td id="face" style="border:0px solid green;padding-left:25px;color:#fff;" colspan="2" valign="top">
									<br> <input type="checkbox" name="chk" id="chk" value="Request for FTP Details" />
									Request for FTP Details to upload more files: <br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;">
									<label for='email'>Coating Finish </label><br />
								</td>
								<td style="border:0px solid yellow;">
									<select name="coating" id="coating" value='' style="width:290px;">
										<option>High Gloss Aqua</option>
										<option>High Gloss UV</option>
										<option>Matt Aqua</option>
										<option>Matt UV</option>
										<option>Matt Solvent</option>
										<option>High Gloss Solvent</option>
										<option>Mid Gloss Aqua</option>
										<option>Fragrant Coating</option>
										<option>No Coating</option>
									</select><br />
								</td>
								<td style="border:0px solid green;padding-left:30px;color:#fff;">
									<label for='email'>Corners</label>
								</td>
								<td style="border:0px solid green;">
									<select name="corners" id='corners' value='' style="width:246px;">
										<option>Rounded Corners</option>
										<option>Square Corners</option>
									</select><br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;">
									<label for='email'>Packaging </label><br />
								</td>
								<td style="border:0px solid yellow;">
									<select name="packaging" id='packaging' value='' style="width:290px;">
										<option>Transparent PVC Packaging</option>
										<option>Twin Transparent PVC Packaging</option>
										<option>Single Tuck Captive Carton with display window </option>
										<option>Single Tuck Captive Carton (Printed)</option>
										<option>Twin Tuck Carton (white back)</option>
										<option>Three set Tuck Carton (white back)</option>
										<option>Locking PVC Single Transparent Pack</option>
										<option>Blister Pack</option>
										<option>Twin pack with printed tuck inside</option>
										<option>Twin pack with cello</option>
										<option>Artificial Leather For Single Deck</option>
										<option>Artificial Leather For Twin Deck</option>
										<option>Pure Leather For Single Deck</option>
										<option>Pure Leather For Twin Deck</option>
										<option>Wooden Box For Single Deck</option>
										<option>Wooden Box For Twin Deck</option>
									</select><br />
								</td>
								<td style="border:0px solid green;padding-left:30px;color:#fff;">
									<label for='email'>Wrapping </label>
								</td>
								<td style="border:0px solid green;">
									<select name="wrapping" id='wrapping' value='' style="width:246px;">
										<option>No Wrapping</option>
										<option>Shrink Wrapping</option>
										<option>Cello Wrapping</option>
										<option>Cello Wrapping With Tear Off Tab</option>
									</select><br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;" valign="top">
									<label for='email'>Display Pack Option </label>
								</td>
								<td style="border:0px solid yellow;color:#fff;font-size:14px; font-family:verdana;">
									<select name="displaypackoption" id='displaypackoption' value='' style="width:290px;">
										<option>Display Pack Not Required</option>
										<option>Corrugated Display Pack With Printing</option>
										<option>Non-Corrugated Display Pack With Printing</option>
									</select><br />

								</td>
								<td style="border:0px solid green;padding-left:30px;color:#fff;" valign="top">
									<label for='email'>Feel of The Cards </label><br />
								</td>
								<td style="border:0px solid green;color:#fff;" valign="top">
									<input type="radio" value="NonEmbossed" name="radio" value='' />
									Non Embossed/Smooth Finished<br />
									<input type="radio" value="Embossed" name="radio" value='' />
									Embossed/Linen Finished/Textured<br />
									Cards
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>


							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;" valign="top">
									<label for='email'>Mode of Delivery</label><br />
								</td>
								<td style="border:0px solid yellow;color:#fff;">
									<select name="deliverymode" id='deliverymode' value='' style="width:290px;">
										<option>Select Mode of Delivery</option>
										<option>By Air</option>
										<option>By Sea</option>
									</select><br />

								</td>
								<td style="border:0px solid green;padding-left:30px;color:#fff;" valign="top">
									<label for='email'>Delivery Time </label>
								</td>
								<td style="border:0px solid green;" valign="top">
									<input type="text" name="deliverytime" id="deliverytime" style="width:246px;" readonly value=''>
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:15px;color:#fff;" valign="top">
									<label for='email'>Comments</label><br />
								</td>
								<td style="border:0px solid green;color:#fff;" colspan="3">
									<textarea name="comments" id="comments"></textarea>
									</br>
									*( Any Further Specification Please Mention )
								</td>
							</tr>



							<tr>
								<td class="detail" colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td colspan="4" style="background-color:#333A40;color:#FAA116; font-size:16px; padding-left:10px;padding-top:10px;padding-bottom:10px;">
									Personal Details
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;<label for='name'>First Name</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='name' id='name' value='<?php echo htmlentities($disp_name) ?>' maxlength="50" style="width:290px;" /><br />
									<span id='contactus_name_errorloc' class='error' style="font-size: 12px;"></span>
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='name'>Last Name: </label><br />
								</td>
								<td style="border:0px solid green;">
									<input type='text' name='lastname' id='lname' value='<?php echo htmlentities($disp_lname) ?>' maxlength="50" style="width:246px;" /><br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;&nbsp;<label for='email'>Email Id</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='email' id='email' value='<?php echo htmlentities($disp_email) ?>' maxlength="50" style="width:290px;" /><br />
									<span id='contactus_email_errorloc' class='error' style="font-size: 14px;color:#D32626;background-color: #fff;
						font-weight: 800;"></span>
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='email'>Company Name </label>
								</td>
								<td style="border:0px solid green;">
									<input type='text' name='company' id='company' value='<?php echo htmlentities($disp_company) ?>' maxlength="50" style="width:246px;" /><br />
								</td>
							</tr>


							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;&nbsp;<label for='name'>Address</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='address' id='address' value='<?php echo htmlentities($disp_address) ?>' maxlength="50" style="width:290px;" /><br />
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='country'>City </label>
								</td>
								<td style="border:0px solid green;">
									<input type='text' name='city' id='city' value='<?php echo htmlentities($disp_city) ?>' maxlength="50" style="width:246px;" /><br />
								</td>
							</tr>


							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<label for='email'>&nbsp;&nbsp;</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='address2' id='address2' value='<?php echo htmlentities($disp_address2) ?>' style="width:290px;" /><br />
									<span id='erfn' style="color:#FF0000;font-family:verdana;font-size:14px;"></span>
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<span style="color:#FF0000;">*</span> &nbsp;<label for='name'>State </label>
								</td>
								<td style="border:0px solid green;">
									<input type='text' name='state' id='state' value='<?php echo htmlentities($disp_state) ?>' maxlength="50" style="width:246px;" /><br />
								</td>
							</tr>


							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;&nbsp;<label for='email'>Zipcode</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='zip' id='zip' value='<?php echo htmlentities($disp_zip) ?>' maxlength="50" style="width:290px;" /><br />
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='email'>Country</label><br />
								</td>
								<td style="border:0px solid green;">
									<select name="country" id="country" value='<?php echo htmlentities($disp_country) ?>' style="width:246px;">
										<option>Select Country</option>
										<option>Albania</option>
										<option>American Samoa</option>
										<option>Andorra</option>
										<option>Angola</option>
										<option>Anguilla</option>
										<option>Antigua</option>
										<option>Argentina</option>
										<option>Armenia</option>
										<option>Aruba</option>
										<option>Australia</option>
										<option>Bahamas</option>
										<option>Bahrain</option>
										<option>Bangladesh</option>
										<option>Barbados</option>
										<option>Belarus</option>
										<option>Belgium</option>
										<option>Belize</option>
										<option>Benin</option>
										<option>Bermuda</option>
										<option>Bhutan</option>
										<option>Bolivia</option>
										<option>Botswana</option>
										<option>Brazil</option>
										<option>Brunei</option>
										<option>Bulgaria</option>
										<option>Burkina Faso</option>
										<option>Burundi</option>
										<option>Cambodia</option>
										<option>Cameroun</option>
										<option>Canada</option>
										<option>Cape Verde</option>
										<option>Cayman Islands</option>
										<option>Central African Republic</option>
										<option>Chad</option>
										<option>Chile</option>
										<option>China</option>
										<option>Columbia</option>
										<option>Congo</option>
										<option>Cook Islands</option>
										<option>Costa Rica</option>
										<option>Croatia</option>
										<option>Cyprus</option>
										<option>Czech Republic</option>
										<option>Democratic Rep of Congo</option>
										<option>Denmark</option>
										<option>Djibouti</option>
										<option>Dominica</option>
										<option>Dominican Republic</option>
										<option>Ecuador</option>
										<option>Egypt</option>
										<option>El Salvador</option>
										<option>Equatorial Guinea</option>
										<option>Eritrea</option>
										<option>Estonia</option>
										<option>Ethiopia</option>
										<option>Faroer Islands</option>
										<option>Fiji</option>
										<option>Finland</option>
										<option>France</option>
										<option>French Guiana</option>
										<option>French Polinesia</option>
										<option>Gabon</option>
										<option>Gambia</option>
										<option>Georgia</option>
										<option>Germany</option>
										<option>Ghana</option>
										<option>Gibraltar</option>
										<option>Great-Britain</option>
										<option>Greece</option>
										<option>Greenland</option>
										<option>Grenada</option>
										<option>Guadeloupe</option>
										<option>Guam</option>
										<option>Guatemala</option>
										<option>Guinea</option>
										<option>Guinea-Bissau</option>
										<option>Guyana</option>
										<option>Haiti</option>
										<option>Honduras</option>
										<option>Hong Kong</option>
										<option>Hungary</option>
										<option>Iceland</option>
										<option>Indonesia</option>
										<option>Ireland</option>
										<option>Israel</option>
										<option>Italy</option>
										<option>Ivory Coast</option>
										<option>Jamaica</option>
										<option>Japan</option>
										<option>Jordan</option>
										<option>Kazakhstan</option>
										<option>Kenya</option>
										<option>Korea, South</option>
										<option>Kuwait</option>
										<option>Kyrgyzstan</option>
										<option>Laos People Dem Rep</option>
										<option>Latvia</option>
										<option>Lebanon</option>
										<option>Lesotho</option>
										<option>Liberia</option>
										<option>Liechtenstein</option>
										<option>Lithuania</option>
										<option>Luxembourg</option>
										<option>Macao</option>
										<option>Macedonia</option>
										<option>Madagascar</option>
										<option>Malawi</option>
										<option>Malaysia</option>
										<option>Maldives</option>
										<option>Mali</option>
										<option>Malta</option>
										<option>Marshall Islands</option>
										<option>Martinique</option>
										<option>Mauritania</option>
										<option>Mauritius</option>
										<option>Mexico</option>
										<option>Micronesia</option>
										<option>Moldovia</option>
										<option>Monaco</option>
										<option>Mongolia</option>
										<option>Montserrat</option>
										<option>Morocco</option>
										<option>Mozambique</option>
										<option>Myanmar</option>
										<option>Namibia</option>
										<option>Nepal</option>
										<option>Netherlands</option>
										<option>Netherlands Antilles</option>
										<option>New Caledonia</option>
										<option>New Zealand</option>
										<option>Nicaragua</option>
										<option>Niger</option>
										<option>Nigeria</option>
										<option>Norway</option>
										<option>Oman</option>
										<option>Pakistan</option>
										<option>Palau</option>
										<option>Palestine</option>
										<option>Panama</option>
										<option>Papua New Guinea</option>
										<option>Paraguay</option>
										<option>Peru</option>
										<option>Philippines</option>
										<option>Poland</option>
										<option>Portugal</option>
										<option>Puerto Rico</option>
										<option>Qatar</option>
										<option>Reunion Island</option>
										<option>Romania</option>
										<option>Russia</option>
										<option>Rwanda</option>
										<option>Saipan</option>
										<option>Saudia Arabia</option>
										<option>Senegal</option>
										<option>Seychelles</option>
										<option>Sierra Leone</option>
										<option>Singapore</option>
										<option>Slovak Republic</option>
										<option>Slovenia</option>
										<option>South Africa</option>
										<option>Spain</option>
										<option>Sri Lanka</option>
										<option>St Kitts and Nevis</option>
										<option>St Lucia</option>
										<option>St Vincent</option>
										<option>Sudan</option>
										<option>Suriname</option>
										<option>Swaziland</option>
										<option>Sweden</option>
										<option>Switzerland</option>
										<option>Syria</option>
										<option>Taiwan</option>
										<option>Tanzania</option>
										<option>Thailand</option>
										<option>Togo</option>
										<option>Trinidad and Tobago</option>
										<option>Tunisia</option>
										<option>Turkey</option>
										<option>Turkmenistan</option>
										<option>Turks and Caicos Islands</option>
										<option>Uganda</option>
										<option>Ukraine</option>
										<option>United Arab Emirates</option>
										<option>United Kingdom</option>
										<option>United States of America</option>
										<option>Uruguay</option>
										<option>Uzbekistan</option>
										<option>Vanuatu</option>
										<option>Vatican City</option>
										<option>Venezuela</option>
										<option>Vietnam</option>
										<option>Virgin Island (GB)</option>
										<option>Virgin Islands (USA)</option>
										<option>Wallis & Futuna</option>
										<option>Yemen Arab Republic</option>
										<option>Yuguslavia</option>
										<option>Zambia</option>
										<option>Zimbabwe</option>
										<option>India</option>
									</select><br />
									<span id='contactus_country_errorloc' class='error' style="font-size: 12px;"></span>
								</td>
							</tr>


							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:10px;color:#fff; font-family:verdana;" valign="top">
									<span style="color:#FF0000;">*</span>&nbsp;&nbsp;<label for='email'>Telephone No</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<input type='text' name='phone' id='phone' value='<?php echo htmlentities($disp_phone) ?>' maxlength="11" style="width:290px;" /><br />
									<span id='contactus_phone_errorloc' class='error' style="font-size: 12px;"></span>
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='email'>Mobile No</label><br />
								</td>
								<td style="border:0px solid green;">
									<input type='text' name='mobile' id='mobile' value='<?php echo htmlentities($disp_mobile) ?>' maxlength="11" style="width:246px;" /><br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td style="border:0px solid red;padding-left:30px;color:#fff; font-family:verdana;" valign="top">
									<label for='email'>Captcha</label><br />
								</td>
								<td style="border:0px solid yellow;">
									<b><?php echo '<img src="captcha.php" alt="captcha">'; ?>
										<input name="captcha_entered" type="text" id="captcha_entered" size="25" maxlength="2"></b>
									<input type="hidden" name="captcha_total" id="captcha_total" value="<?php echo $_SESSION['rand_code']; ?>">
								</td>
								<td style="border:0px solid red;padding-left:30px;color:#fff;">
									<label for='email'>Fax No</label><br />
								</td>
								<td style="border:0px solid green;">

									<input type='text' name='fax' id='fax' value='<?php echo htmlentities($disp_fax) ?>' maxlength="50" style="width:246px;" /><br />
								</td>
							</tr>

							<tr>
								<td colspan="4"> &nbsp;</td>
							</tr>

							<tr>
								<td class="sub" align="center" colspan="4">
									<input type='submit' name='Submit' value='Submit' />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<div>&nbsp;</div>
	</form>
	<script type='text/javascript'>
		// <![CDATA[

		var frmvalidator = new Validator("contactus");
		frmvalidator.EnableOnPageErrorDisplay();
		frmvalidator.EnableMsgsTogether();
		frmvalidator.addValidation("name", "req", "Please provide your name");
		frmvalidator.addValidation("country", "req", "Please provide your country");
		frmvalidator.addValidation("phone", "req", "Please provide your phone number");
		frmvalidator.addValidation("email", "req", "Please provide your email address");
		frmvalidator.addValidation("quantity", "req", "Please provide quantity of decks");
		frmvalidator.addValidation("email", "email", "Please provide a valid email address");

		frmvalidator.addValidation("message", "maxlen=2048", "The message is too long!(more than 2KB!)");
		// ]]>
	</script>
	<?php include('footer.php')  ?>
</body>

</html>
<?php ob_flush(); ?>