<?php
ob_start();
session_start();
include_once("dbconnect.php");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to Ideal Fengling Group... I FEEL GOOD</title>
<link href="docstyle/css.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function changeclass(key){
key.className = "boxhover";
}
function changeagain(key){
key.className = "box";
}
</script>
<script type="text/javascript" src="checkoutval.js"></script>

<SCRIPT src="jquery-1.4.4.min.js" type="text/javascript"></SCRIPT>
<SCRIPT  src="jquery.orbit.min.js" type="text/javascript"></SCRIPT>
<SCRIPT type=text/javascript>
		$(window).load(function() {
			$('#featured').orbit({
				"animation" : "horizontal-push"
			});
		});
	</SCRIPT>
<link href="home.css" rel="stylesheet" type="text/css" />


<link rel="stylesheet" type="text/css" href="docstyle/ddsmoothmenu.css" />

<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>-->
<script type="text/javascript" src="ddsmoothmenu.js">

/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript" src="copyform.js"></script>


<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

ddsmoothmenu.init({
	mainmenuid: "smoothmenu2", //Menu DIV id
	orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
	//customtheme: ["#804000", "#482400"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>
<style type="text/css">
<!--
.style6 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top" id="table"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="228" align="left" valign="bottom"><?php include_once("header.php"); ?></td>
          </tr>
          <tr>
            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="9" align="left" valign="top" style="background:url(images/shodow_left.png) repeat-y top left;">&nbsp;</td>
                <td height="500" align="left" valign="top" id="cont"><table width="100%" border="0" cellspacing="0" cellpadding="0" summary="
">
                  <tr>
                    <td width="216" align="left" valign="top"><?php include_once("leftlink.php"); ?></td>
                    <td align="left" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          
                          <tr>
                            <td height="10"></td>
                            </tr>
                          <tr>
                            <td align="left" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td align="left" valign="top" id="wel_box"><h1><span class="head" style="background:url(images/box_bg.gif) repeat-x top left;">Shopping Information</span></h1>
                                 <form action="editreg.php" method="post" name="f1" onsubmit="return validatecheckout();" >
                                  <?php 
					$Queryre=mysql_query("select * from register where user_id=".$_SESSION['userid']); 

				  $res=mysql_fetch_array($Queryre);

				  ?>
                                  <table border="0" cellpadding="0" cellspacing="0" 
width="100%">
                                    <tbody>
                                      <tr>
                                        <td style="padding-bottom: 3px;" align="left" 
valign="bottom"><table border="0" cellpadding="0" 
cellspacing="0" width="100%">
                                          <tbody>
                                            <tr>
                                              <td></td>
                                            </tr>
                                            <tr>
                                              <td width="50%" height="31" align="center" 
valign="middle"><strong style="text-transform:uppercase;">Billing Details </strong></td>
                                              <td align="center" 
valign="middle" width="50%"><strong style="text-transform:uppercase;">Shipping Details </strong></td>
                                            </tr>
                                          </tbody>
                                        </table></td>
                                      </tr>
                                      <tr></tr>
                                      <tr>
                                        <td height="10px"></td>
                                      </tr>
                                      <tr>
                                        <td align="center" valign="middle"><table border="0" cellpadding="0" 
cellspacing="0" width="100%">
                                          <tbody>
                                            <tr>
                                              <td class="msgbg" colspan="3" 
align="center" valign="middle"><table border="0" 
cellpadding="0" cellspacing="0" width="100%">
                                                <tbody>
                                                  <tr>
                                                    <td align="left"
 valign="top" width="50%"><table 
border="0" cellpadding="0" cellspacing="0" width="100%">
                                                      <tbody>
                                                      </tbody>
                                                    </table></td>
                                                    <td align="left"
 valign="top" width="50%"><table 
width="100%">
                                                      <tbody>
                                                      </tbody>
                                                    </table></td>
                                                  </tr>
                                                </tbody>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td align="center" valign="top" 
width="49%"><table style="border: 1px 
solid #CCC;" border="0" cellpadding="0" cellspacing="0" 
width="100%">
                                                <tbody>
                                                  <tr>
                                                    <td 
style="padding: 5px;" class="msgbg" align="center" valign="top"><table width="100%" 
border="0" cellpadding="0" cellspacing="3" class="reference">
                                                      <tbody>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>First name: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Fname" id="Fname"  onkeyup="copyto2(this.id);" value="<?php echo $res['Fname'] ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Last name: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Lname" id="Lname" onkeyup="copyto2(this.id);" value="<?php echo  $res['Lname'] ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Email: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Email" id="Email"  value="<?php echo  $res['Email'] ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Phone #: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Phone" id="Phone"  maxlength="12" value="<?php  echo $res["billingphone"]; ?>"					

							onkeyup="return validatephone(this),copyto2(this.id);" 	/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px">Fax #:&nbsp; </td>
                                                          <td
 align="left" valign="middle"><input  onkeyup="copyto2(this.id);"  maxlength="10" style="border: 1px  

solid #CCC; width: 130px;" type="text" value="<?php echo  $res['billingfax'] ?>" id="Fax" name="Fax" /></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="60px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Address: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><textarea name="Address1" id="Address1" onkeyup="copyto2(this.id);"><?php  echo $res["billingaddress1"]; ?>
                                                          </textarea></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>City: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="City" id="City"  onkeyup="copyto2(this.id);" value="<?php  echo $res["billingcity"]; ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>State/Province: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><select name="State" id="State" onkeyup="copyto2(this.id);" >



                            <option value="">-- Please Choose</option>



                            <option value="AK" <?php if($res['billingstate']=='AK') echo "Selected"; ?>>AK Alaska</option>



                            <option value="AL" <?php if($res['billingstate']=='AL') echo "Selected"; ?>>AL Alabama</option>



                            <option value="AR" <?php if($res['billingstate']=='AR') echo "Selected"; ?>>AR Arkansas</option>



                            <option value="AZ" <?php if($res['billingstate']=='AZ') echo "Selected"; ?>>AZ Arizona</option>



                            <option value="CA" <?php if($res['billingstate']=='CA') echo "Selected"; ?>>CA California</option>



                            <option value="CO" <?php if($res['state']=='CO') echo "Selected"; ?>>CO Colorado</option>



                            <option value="CT" <?php if($res['billingstate']=='CT') echo "Selected"; ?>>CT Connecticut</option>



                            <option value="DC" <?php if($res['billingstate']=='DC') echo "Selected"; ?>>DC District of Columbia</option>



                            <option value="DE" <?php if($res['billingstate']=='DE') echo "Selected"; ?>>DE Delaware</option>



                            <option value="FL" <?php if($res['billingstate']=='FL') echo "Selected"; ?>>FL Florida</option>



                            <option value="GA" <?php if($res['billingstate']=='GA') echo "Selected"; ?>>GA Georgia</option>



                            <option value="HI" <?php if($res['billingstate']=='HI') echo "Selected"; ?>>HI Hawaii</option>



                            <option value="IA" <?php if($res['billingstate']=='IA') echo "Selected"; ?>>IA Iowa</option>



                            <option value="ID" <?php if($res['billingstate']=='ID') echo "Selected"; ?>>ID Idaho</option>



                            <option value="IL" <?php if($res['billingstate']=='IL') echo "Selected"; ?>>IL Illinois</option>



                            <option value="IN" <?php if($res['billingstate']=='IN') echo "Selected"; ?>>IN Indiana</option>



                            <option value="KS" <?php if($res['billingstate']=='KS') echo "Selected"; ?>>KS Kansas</option>



                            <option value="KY" <?php if($res['billingstate']=='KY') echo "Selected"; ?>>KY Kentucky</option>



                            <option value="LA" <?php if($res['billingstate']=='LA') echo "Selected"; ?>>LA Louisiana</option>



                            <option value="MA" <?php if($res['billingstate']=='MA') echo "Selected"; ?>>MA Massachusetts</option>



                            <option value="MD" <?php if($res['billingstate']=='MD') echo "Selected"; ?>>MD Maryland</option>



                            <option value="ME" <?php if($res['billingstate']=='ME') echo "Selected"; ?>>ME Maine</option>



                            <option value="MI" <?php if($res['billingstate']=='MI') echo "Selected"; ?>>MI Michigan</option>



                            <option value="MN" <?php if($res['billingstate']=='MN') echo "Selected"; ?>>MN Minnesota</option>



                            <option value="MO" <?php if($res['billingstate']=='MO') echo "Selected"; ?>>MO Missouri</option>



                            <option value="MS" <?php if($res['billingstate']=='MS') echo "Selected"; ?>>MS Mississippi</option>



                            <option value="MT" <?php if($res['billingstate']=='MT') echo "Selected"; ?>>MT Montana</option>



                            <option value="NC" <?php if($res['billingstate']=='NC') echo "Selected"; ?>>NC North Carolina</option>



                            <option value="ND" <?php if($res['billingstate']=='ND') echo "Selected"; ?>>ND North Dakota</option>



                            <option value="NE" <?php if($res['billingstate']=='NE') echo "Selected"; ?>>NE Nebraska</option>



                            <option value="NH" <?php if($res['billingstate']=='NH') echo "Selected"; ?>>NH New Hampshire</option>



                            <option value="NJ" <?php if($res['billingstate']=='NJ') echo "Selected"; ?>>NJ New Jersey</option>



                            <option value="NM" <?php if($res['billingstate']=='NM') echo "Selected"; ?>>NM New Mexico</option>



                            <option value="NV" <?php if($res['billingstate']=='NV') echo "Selected"; ?>>NV Nevada</option>



                            <option value="NY" <?php if($res['billingstate']=='NY') echo "Selected"; ?>>NY New York</option>



                            <option value="OH" <?php if($res['billingstate']=='OH') echo "Selected"; ?>>OH Ohio</option>



                            <option value="OK" <?php if($res['billingstate']=='OK') echo "Selected"; ?>>OK Oklahoma</option>



                            <option value="OR" <?php if($res['billingstate']=='OR') echo "Selected"; ?>>OR Oregon</option>



                            <option value="PA" <?php if($res['billingstate']=='PA') echo "Selected"; ?>>PA Pennsylvania</option>



                            <option value="RI" <?php if($res['billingstate']=='RI') echo "Selected"; ?>>RI Rhode Island</option>



                            <option value="SC" <?php if($res['billingstate']=='SC') echo "Selected"; ?>>SC South Carolina</option>



                            <option value="SD" <?php if($res['billingstate']=='SD') echo "Selected"; ?>>SD South Dakota</option>



                            <option value="TN" <?php if($res['billingstate']=='TN') echo "Selected"; ?>>TN Tennessee</option>



                            <option value="TX" <?php if($res['billingstate']=='TX') echo "Selected"; ?>>TX Texas</option>



                            <option value="UT" <?php if($res['billingstate']=='UT') echo "Selected"; ?>>UT Utah</option>



                            <option value="VA" <?php if($res['billingstate']=='VA') echo "Selected"; ?>>VA Virginia</option>



                            <option value="VT" <?php if($res['billingstate']=='VT') echo "Selected"; ?>>VT Vermont</option>



                            <option value="WA" <?php if($res['billingstate']=='WA') echo "Selected"; ?>>WA Washington</option>



                            <option value="WI" <?php if($res['billingstate']=='WI') echo "Selected"; ?>>WI Wisconsin</option>



                            <option value="WV" <?php if($res['billingstate']=='WV') echo "Selected"; ?>>WV West Virginia</option>



                            <option value="WY" <?php if($res['billingstate']=='WY') echo "Selected"; ?>>WY Wyoming</option>



                          </select></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Zip/Postal Code: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Zip"  id="Zip" onkeyup="copyto2(this.id);"  value="<?php  echo $res["billingzip"]; ?>"/>                                                            <span style="color: Red; display: none;"></span></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="43"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Country: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Country" id="Country" onkeyup="return validatechar(this),copyto2(this.id);" value="<?php  echo $res["billingcountry"]; ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 style="height: 50px; text-align:justify; line-height:18px;" colspan="2" align="left" valign="middle">We need your email 
                                                            address to send your order and shipping confirmations and we
                                                            
                                                            will also send exclusive news about special offers and products.</td>
                                                        </tr>
                                                      </tbody>
                                                    </table></td>
                                                  </tr>
                                                </tbody>
                                              </table></td>
                                              <td align="left" valign="top" 
width="2%">&nbsp;</td>
                                              <td style="padding-right: 5px;" 
align="center" valign="top" width="49%"><table style="border: 1px 
solid #CCC;" border="0" cellpadding="0" cellspacing="0" 
width="100%">
                                                <tbody>
                                                  <tr>
                                                    <td 
style="padding: 5px;" class="msgbg" align="center" valign="top"><table width="100%" 
border="0" cellpadding="0" cellspacing="3" class="reference">
                                                      <tbody>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>First name: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PFname" id="PFname" value="<?php echo  $res['Fname'];  ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Last name: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PLname" id="PLname" value="<?php echo   $res['Lname'];  ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Email: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="Email" id="PEmail"  value="<?php echo  $res['Email'] ?>"/>                                                            <span  
style="color: Red; display: none;"></span></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Phone #: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PPhone" id="PPhone" onkeyup="return validatephone(this);"maxlength="12" value="<?php  echo $res["shippingphone"]; ?>"/>                                                            <span style="color: Red; display: none;"></span></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px">Fax #:&nbsp; </td>
                                                          <td
 align="left" valign="middle"><input    maxlength="10" style="border: 1px  

solid #CCC; width: 130px;" type="text" value="<?php echo  $res['shippingfax'] ?>" name="PFax" id="PFax" /></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="60px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Address: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><textarea name="PAddress1" id="PAddress1"><?php  echo $res["shippingaddress1"]; ?>
                                                          </textarea></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>City: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PCity" id="PCity" value="<?php  echo $res["shippingcity"]; ?>"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>State/Province: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><select name="PState" id="PState" >



                            <option value="">-- Please Choose</option>



                            <option value="AK" <?php if($res['shippingstate']=='AK') echo "Selected"; ?>>AK Alaska</option>



                            <option value="AL" <?php if($res['shippingstate']=='AL') echo "Selected"; ?>>AL Alabama</option>



                            <option value="AR" <?php if($res['shippingstate']=='AR') echo "Selected"; ?>>AR Arkansas</option>



                            <option value="AZ" <?php if($res['shippingstate']=='AZ') echo "Selected"; ?>>AZ Arizona</option>



                            <option value="CA" <?php if($res['shippingstate']=='CA') echo "Selected"; ?>>CA California</option>



                            <option value="CO" <?php if($res['shippingstate']=='CO') echo "Selected"; ?>>CO Colorado</option>



                            <option value="CT" <?php if($res['shippingstate']=='CT') echo "Selected"; ?>>CT Connecticut</option>



                            <option value="DC" <?php if($res['shippingstate']=='DC') echo "Selected"; ?>>DC District of Columbia</option>



                            <option value="DE" <?php if($res['shippingstate']=='DE') echo "Selected"; ?>>DE Delaware</option>



                            <option value="FL" <?php if($res['shippingstate']=='FL') echo "Selected"; ?>>FL Florida</option>



                            <option value="GA" <?php if($res['shippingstate']=='GA') echo "Selected"; ?>>GA Georgia</option>



                            <option value="HI" <?php if($res['shippingstate']=='HI') echo "Selected"; ?>>HI Hawaii</option>



                            <option value="IA" <?php if($res['shippingstate']=='IA') echo "Selected"; ?>>IA Iowa</option>



                            <option value="ID" <?php if($res['shippingstate']=='ID') echo "Selected"; ?>>ID Idaho</option>



                            <option value="IL" <?php if($res['shippingstate']=='IL') echo "Selected"; ?>>IL Illinois</option>



                            <option value="IN" <?php if($res['shippingstate']=='IN') echo "Selected"; ?>>IN Indiana</option>



                            <option value="KS" <?php if($res['shippingstate']=='KS') echo "Selected"; ?>>KS Kansas</option>



                            <option value="KY" <?php if($res['shippingstate']=='KY') echo "Selected"; ?>>KY Kentucky</option>



                            <option value="LA" <?php if($res['shippingstate']=='LA') echo "Selected"; ?>>LA Louisiana</option>



                            <option value="MA" <?php if($res['shippingstate']=='MA') echo "Selected"; ?>>MA Massachusetts</option>



                            <option value="MD" <?php if($res['shippingstate']=='MD') echo "Selected"; ?>>MD Maryland</option>



                            <option value="ME" <?php if($res['shippingstate']=='ME') echo "Selected"; ?>>ME Maine</option>



                            <option value="MI" <?php if($res['shippingstate']=='MI') echo "Selected"; ?>>MI Michigan</option>



                            <option value="MN" <?php if($res['shippingstate']=='MN') echo "Selected"; ?>>MN Minnesota</option>



                            <option value="MO" <?php if($res['shippingstate']=='MO') echo "Selected"; ?>>MO Missouri</option>



                            <option value="MS" <?php if($res['shippingstate']=='MS') echo "Selected"; ?>>MS Mississippi</option>



                            <option value="MT" <?php if($res['shippingstate']=='MT') echo "Selected"; ?>>MT Montana</option>



                            <option value="NC" <?php if($res['shippingstate']=='NC') echo "Selected"; ?>>NC North Carolina</option>



                            <option value="ND" <?php if($res['shippingstate']=='ND') echo "Selected"; ?>>ND North Dakota</option>



                            <option value="NE" <?php if($res['shippingstate']=='NE') echo "Selected"; ?>>NE Nebraska</option>



                            <option value="NH" <?php if($res['shippingstate']=='NH') echo "Selected"; ?>>NH New Hampshire</option>



                            <option value="NJ" <?php if($res['shippingstate']=='NJ') echo "Selected"; ?>>NJ New Jersey</option>



                            <option value="NM" <?php if($res['shippingstate']=='NM') echo "Selected"; ?>>NM New Mexico</option>



                            <option value="NV" <?php if($res['shippingstate']=='NV') echo "Selected"; ?>>NV Nevada</option>



                            <option value="NY" <?php if($res['shippingstate']=='NY') echo "Selected"; ?>>NY New York</option>



                            <option value="OH" <?php if($res['shippingstate']=='OH') echo "Selected"; ?>>OH Ohio</option>



                            <option value="OK" <?php if($res['shippingstate']=='OK') echo "Selected"; ?>>OK Oklahoma</option>



                            <option value="OR" <?php if($res['shippingstate']=='OR') echo "Selected"; ?>>OR Oregon</option>



                            <option value="PA" <?php if($res['shippingstate']=='PA') echo "Selected"; ?>>PA Pennsylvania</option>



                            <option value="RI" <?php if($res['shippingstate']=='RI') echo "Selected"; ?>>RI Rhode Island</option>



                            <option value="SC" <?php if($res['shippingstate']=='SC') echo "Selected"; ?>>SC South Carolina</option>



                            <option value="SD" <?php if($res['shippingstate']=='SD') echo "Selected"; ?>>SD South Dakota</option>



                            <option value="TN" <?php if($res['shippingstate']=='TN') echo "Selected"; ?>>TN Tennessee</option>



                            <option value="TX" <?php if($res['shippingstate']=='TX') echo "Selected"; ?>>TX Texas</option>



                            <option value="UT" <?php if($res['shippingstate']=='UT') echo "Selected"; ?>>UT Utah</option>



                            <option value="VA" <?php if($res['shippingstate']=='VA') echo "Selected"; ?>>VA Virginia</option>



                            <option value="VT" <?php if($res['shippingstate']=='VT') echo "Selected"; ?>>VT Vermont</option>



                            <option value="WA" <?php if($res['shippingstate']=='WA') echo "Selected"; ?>>WA Washington</option>



                            <option value="WI" <?php if($res['shippingstate']=='WI') echo "Selected"; ?>>WI Wisconsin</option>



                            <option value="WV" <?php if($res['shippingstate']=='WV') echo "Selected"; ?>>WV West Virginia</option>



                            <option value="WY" <?php if($res['shippingstate']=='WY') echo "Selected"; ?>>WY Wyoming</option>



                          </select></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="25px"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Zip/Postal 
                                                            Code:  &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PZip" id="PZip" value="<?php  echo $res["shippingzip"]; ?>" />                                                            <span 
style="color: Red; display: none;"></span></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 align="right" valign="middle" height="43"><span style="color: Red; 
font-family: Verdana; font-size: 9pt; font-weight: bold;">*</span>Country: &nbsp; </td>
                                                          <td
 align="left" valign="middle"><input type="text" name="PCountry" id="PCountry" value="<?php  echo $res["shippingcountry"]; ?>" onkeyup="return validatechar(this);"/></td>
                                                        </tr>
                                                        <tr>
                                                          <td
 style="height: 50px;" colspan="2" align="left" valign="middle">We need your email 
                                                            address to send your order and shipping confirmations and we
                                                            
                                                            will also send exclusive news about special offers and products.</td>
                                                        </tr>
                                                      </tbody>
                                                    </table></td>
                                                  </tr>
                                                </tbody>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td align="center" 
valign="middle" height="40px"><span style="color: Black; 
font-family: Arial; font-size: 10pt; font-weight: normal;">
                                                <label>
                                                  <input type="checkbox" name="same" id="same" onclick="copyall()" />
                                                </label>
                                                Billing
                                                address is same as Shipping address
                                                </label>
                                              </span></td>
                                              <td colspan="2"></td>
                                            </tr>
                                            <tr>
                                              <td colspan="3" align="center" valign="middle"><input type="image" src="images/continue.gif" width="131" height="23" alt="" style="border:none;" /></td>
                                            </tr>
                                            <tr>
                                              <td class="indexdlistborder" 
colspan="3" height="23"></td>
                                            </tr>
                                          </tbody>
                                        </table></td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  
                                  </form>
                                  
                                  </td>
                              </tr>
                              </table></td>
                          </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                <td width="9" align="left" valign="top" style="background:url(images/shodow_right.png) repeat-y top left;">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="100" align="center" valign="top" style="background:url(images/bottom_bg.gif) repeat-x"><?php include_once("footer.php"); ?></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

<map name="Map" id="Map">
  <area shape="rect" coords="69,274,206,318" href="#" alt="" />
</map>

<map name="Map2" id="Map2">
  <area shape="rect" coords="87,255,204,295" href="#" alt="" />
</map>
</body>
</html>
