(42,1,1321727032,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"content_new\">\n<img src=\"assets/images/cart/sub-billing-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n<div id=\"spcheckout\">\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Contact Information</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Email:* </td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'email_error\' >Enter Email</div>\n				<div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n				\n				<input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></td>\n			</tr>\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Phone Number:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n				<input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"clear\"></div>\n	<fieldset>\n		<h4>Billing Address</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\">\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address\" id=\"address\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n\n			<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>\n			\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_error\' >Select State</div>\n				<select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n                  <option value=\"\">- State -</option>       <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select>\n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\">\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Shipping Address <span class=\"med\"><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</span></h4>\n		\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\">\n</td>\n\n				\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n\n<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_s_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>	\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_s_error\' >Select State</div>\n				\n<!--				 <input type=\"text\"  id=\"state_s\" name=\"state_s\" readonly  value=\"				\">\n		-->			\n					\n				 <select id=\"state_s\" name=\"state_s\"  class=\"state\">\n                  <option value=\"\">- State -</option>     <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> \n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\">\n				</td>\n			</tr>\n			\n\n\n</select>\n\n		</table>\n	</fieldset>\n	\n	\n\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Credit card details</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Card Type:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n                        <select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select>\n					<img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/>\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Credit Card Number:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n                    	<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n                    	<input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n					<!-- <span>Example: 1234 1234 1234 1234</span>	-->			\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Verification Code:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n					<input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" />\n					<img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" />		\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Expiration Date:*</td>\n				<td align=\"left\">\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select>\n	\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<table width=\"550\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">&nbsp;</td>\n				<td align=\"left\">\n				&nbsp;<br/>\n					 <span class=\"med\">* - Indicates required fields</span><br/>\n					 <span class=\"error\" id=\"checkerror_error\">Please check for errors above in red</span>\n				</td>\n			</tr>\n			<tr class=\"submitBtns\">\n				<td class=\"label\">&nbsp;</td>\n				<td align=\"left\">\n					<input type=\"hidden\" name=\"attempts\" value=\"\" />\n                        <input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" />\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	</form>\n	</div>\n	</div>\n	\n	<div id=\"sidecart\">\n[[categories]]\n<br clear=\"all\">\n<br clear=\"all\">\n	<img src=\"assets/images/cart/sub-policy-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n		<h2 style=\"font-size: 15px; margin-bottom: 12px; color: #6C5735\">Guaranteed fresh to your doorstep!</h2>\n		\n		<p><strong>We use UPS overnight shipping to ensure that your order arrives fresh and ready to enjoy.</strong></p>\n		\n		<p><strong>Please note:</strong><br />\n		\n		Shipping price includes an additional 9 pounds of packing material: a box lined with Styrofoam, plus reusable gel ice packs to keep it cold.</p>\n		\n		<p><strong>Delivery information:</strong><br />\n		\n		Orders placed before 11:30 a.m. PST Monday through Thursday will be shipped that day to arrive the following business day, usually arriving before noon. Based on location, shipments can show up as late as 7:00 p.m. SPFM is not responsible for unexpected weather and other possible shipping delays.\n		</p>\n		<p>At this time we do not offer shipments arriving or shipping on Saturday.\n		<br /><br />\n		There is no shipping available on Sunday.\n		<br /><br />\n		All Prices Subject to Change. Availability based on Market Conditions.</p>\n</div>'),(43,1,1321727625,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"content_new\">\n<img src=\"assets/images/cart/sub-billing-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n<div id=\"spcheckout\">\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Contact Information</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Email:* </td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'email_error\' >Enter Email</div>\n				<div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n				\n				<input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></td>\n			</tr>\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Phone Number:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n				<input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"clear\"></div>\n	<fieldset>\n		<h4>Billing Address</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\">\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address\" id=\"address\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n\n			<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>\n			\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_error\' >Select State</div>\n				<select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n                  <option value=\"\">- State -</option>       <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select>\n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\">\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Shipping Address <span class=\"med\"><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</span></h4>\n		\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\">\n</td>\n\n				\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n\n<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_s_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>	\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_s_error\' >Select State</div>\n				\n<!--				 <input type=\"text\"  id=\"state_s\" name=\"state_s\" readonly  value=\"				\">\n		-->			\n					\n				 <select id=\"state_s\" name=\"state_s\"  class=\"state\">\n                  <option value=\"\">- State -</option>     <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> \n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\">\n				</td>\n			</tr>\n			\n\n\n</select>\n\n		</table>\n	</fieldset>\n	\n	\n\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Credit card details</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Card Type:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n                        <select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select>\n					<img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/>\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Credit Card Number:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n                    	<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n                    	<input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n					<!-- <span>Example: 1234 1234 1234 1234</span>	-->			\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Verification Code:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n					<input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" />\n					<img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" />		\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Expiration Date:*</td>\n				<td align=\"left\">\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select>\n	\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<table width=\"550\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">&nbsp;</td>\n				<td align=\"left\">\n				&nbsp;<br/>\n					 <span class=\"med\">* - Indicates required fields</span><br/>\n					 <span class=\"error\" id=\"checkerror_error\">Please check for errors above in red</span>\n				</td>\n			</tr>\n			<tr class=\"submitBtns\">\n				<td class=\"label\">&nbsp;</td>\n				<td align=\"left\">\n					<input type=\"hidden\" name=\"attempts\" value=\"\" />\n                        <input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" />\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	</form>\n	</div>\n	</div>\n	\n	<div id=\"sidecart\">\n[[categories]]\n<br clear=\"all\">\n<br clear=\"all\">\n	<img src=\"assets/images/cart/sub-policy-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n		<h2 style=\"font-size: 15px; margin-bottom: 12px; color: #6C5735\">Guaranteed fresh to your doorstep!</h2>\n		\n		<p><strong>We use UPS overnight shipping to ensure that your order arrives fresh and ready to enjoy.</strong></p>\n		\n		<p><strong>Please note:</strong><br />\n		\n		Shipping price includes an additional 9 pounds of packing material: a box lined with Styrofoam, plus reusable gel ice packs to keep it cold.</p>\n		\n		<p><strong>Delivery information:</strong><br />\n		\n		Orders placed before 11:30 a.m. PST Monday through Thursday will be shipped that day to arrive the following business day, usually arriving before noon. Based on location, shipments can show up as late as 7:00 p.m. SPFM is not responsible for unexpected weather and other possible shipping delays.\n		</p>\n		<p>At this time we do not offer shipments arriving or shipping on Saturday.\n		<br /><br />\n		There is no shipping available on Sunday.\n		<br /><br />\n		All Prices Subject to Change. Availability based on Market Conditions.</p>\n</div>'),(44,1,1321732865,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"content_new\">\n<img src=\"assets/images/cart/sub-billing-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n<div id=\"spcheckout\">\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Contact Information</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Email:* </td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'email_error\' >Enter Email</div>\n				<div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n				\n				<input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></td>\n			</tr>\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">Your Phone Number:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n				<input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"clear\"></div>\n	<fieldset>\n		<h4>Billing Address</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\">\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address\" id=\"address\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n\n			<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>\n			\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_error\' >Select State</div>\n				<select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n                  <option value=\"\">- State -</option>       <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select>\n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\">\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Shipping Address <span class=\"med\"><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</span></h4>\n		\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">First Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n  \n                    <input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\">\n</td>\n\n				\n</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">Last Name:*</td>\n				\n				<td align=\"left\">\n                    <div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n                   \n\n                    <input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"					\"></td>\n\n				\n</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Address:*</td>\n				<td align=\"left\">\n                    <div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n  \n                    <input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n\n<tr>\n				<td class=\"label\" align=\"right\">Address 2</td>\n				<td align=\"left\">\n                 \n  \n                    <input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"					\">\n</td>\n  \n				\n			</td>\n			</tr>\n			\n						<tr>\n				<td class=\"label\" align=\"right\">City:*</td>\n				<td align=\"left\">\n              \n                    <div class=\"error\" id=\'city_s_error\' >Enter City</div>\n\n 	                   <input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></td>\n  \n				\n			</td>\n			</tr>	\n			<tr>\n				<td class=\"label\" align=\"right\">State:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'state_s_error\' >Select State</div>\n				\n<!--				 <input type=\"text\"  id=\"state_s\" name=\"state_s\" readonly  value=\"				\">\n		-->			\n					\n				 <select id=\"state_s\" name=\"state_s\"  class=\"state\">\n                  <option value=\"\">- State -</option>     <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> \n                    \n				</td>\n			</tr>\n			\n			\n			<tr>\n				<td class=\"label\" align=\"right\">Zip:*</td>\n				<td align=\"left\"><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n					<input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\">\n				</td>\n			</tr>\n			\n\n\n</select>\n\n		</table>\n	</fieldset>\n	\n	\n\n	<div class=\"divider\"></div>\n	<fieldset>\n		<h4>Credit card details</h4>\n		<table align=\"center\" width=\"550\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Card Type:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n                        <select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select>\n					<img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/>\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Credit Card Number:*</td>\n				<td align=\"left\">\n					<div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n                    	<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n                    	<input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n					<!-- <span>Example: 1234 1234 1234 1234</span>	-->			\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\" valign=\"top\" style=\"padding-top: 5px\">Credit Verification Code:*</td>\n				<td align=\"left\">\n				<div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n					<input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" />\n					<img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" />		\n				</td>\n			</tr>\n			<tr>\n				<td class=\"label\" align=\"right\">Expiration Date:*</td>\n				<td align=\"left\">\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select>\n	\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	<div class=\"divider\"></div>\n	<fieldset>\n		<table width=\"550\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\" id=\"spcheckout\">\n			<tr>\n				<td class=\"label\" width=\"150\" align=\"right\">&nbsp;</td>\n				<td align=\"left\">\n				&nbsp;<br/>\n					 <span class=\"med\">* - Indicates required fields</span><br/>\n					 <span class=\"error\" id=\"checkerror_error\">Please check for errors above in red</span>\n				</td>\n			</tr>\n			<tr class=\"submitBtns\">\n				<td class=\"label\">&nbsp;</td>\n				<td align=\"left\">\n					<input type=\"hidden\" name=\"attempts\" value=\"\" />\n                        <input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" />\n				</td>\n			</tr>\n		</table>\n	</fieldset>\n	\n	</form>\n	</div>\n	</div>\n	\n	<div id=\"sidecart\">\n[[categories]]\n<br clear=\"all\">\n<br clear=\"all\">\n	<img src=\"assets/images/cart/sub-policy-shipping.png\" alt=\"Policy\" style=\"margin=bottom: 10px\">\n		<h2 style=\"font-size: 15px; margin-bottom: 12px; color: #6C5735\">Guaranteed fresh to your doorstep!</h2>\n		\n		<p><strong>We use UPS overnight shipping to ensure that your order arrives fresh and ready to enjoy.</strong></p>\n		\n		<p><strong>Please note:</strong><br />\n		\n		Shipping price includes an additional 9 pounds of packing material: a box lined with Styrofoam, plus reusable gel ice packs to keep it cold.</p>\n		\n		<p><strong>Delivery information:</strong><br />\n		\n		Orders placed before 11:30 a.m. PST Monday through Thursday will be shipped that day to arrive the following business day, usually arriving before noon. Based on location, shipments can show up as late as 7:00 p.m. SPFM is not responsible for unexpected weather and other possible shipping delays.\n		</p>\n		<p>At this time we do not offer shipments arriving or shipping on Saturday.\n		<br /><br />\n		There is no shipping available on Sunday.\n		<br /><br />\n		All Prices Subject to Change. Availability based on Market Conditions.</p>\n</div>'),(45,0,1321828716,3,0,0,'Parser','\n              <html><head><title>MODx Content Manager  &raquo; </title>\n              <style>TD, BODY { font-size: 11px; font-family:verdana; }</style>\n              <script type=\'text/javascript\'>\n              function copyToClip()\n              {\n                holdtext.innerText = sqlHolder.innerText;\n                Copied = holdtext.createTextRange();\n                Copied.execCommand(\'Copy\');\n              }\n            </script>\n              </head><body>\n              <h3 style=\'color:red\'>&laquo; MODx Parse Error &raquo;</h3>\n                    <table border=\'0\' cellpadding=\'1\' cellspacing=\'0\'>\n                    <tr><td colspan=\'3\'>MODx encountered the following error while attempting to parse the requested resource:</td></tr>\n                    <tr><td colspan=\'3\'><b style=\'color:red;\'>&laquo; PHP Parse Error &raquo;</b></td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>PHP error debug</b></td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error: </td><td colspan=\'2\'>Division by zero</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error type/ Nr.: </td><td colspan=\'2\'>Warning - 2</b></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;File: </td><td colspan=\'2\'>/home/yesskinc/public_html/anew/assets/snippets/custom/product_buttons.inc.php</td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Line: </td><td colspan=\'2\'>60</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Line 60 source: </td><td colspan=\'2\'>&lt;/table&gt;\';\n</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>Parser timing</b></td></tr><tr><td>&nbsp;&nbsp;MySQL: </td><td><i>0.0043 s</i></td><td>(<i>6 Requests</i>)</td></tr><tr><td>&nbsp;&nbsp;PHP: </td><td><i>0.0340 s</i></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Total: </td><td><i>0.0384 s</i></td><td>&nbsp;</td></tr></table></body></html>'),(46,1,1321901921,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li class=\"cc\"><label>Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n        <p>* - Indicates required fields</p>\n\n     <div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n\n    <ul>\n    <li><input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(47,1,1321901993,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li class=\"cc\"><label>Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n        <p>* - Indicates required fields</p>\n\n     \n\n    <ul>\n    <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(48,1,1321902154,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label>Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n        <p>* - Indicates required fields</p>\n\n     \n\n    <ul>\n    <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(49,1,1321902271,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label>Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(50,1,1321902357,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li class=\"cc\"><label>Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(51,1,1321902513,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(52,1,1321902593,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(53,1,1321902672,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(54,1,1321902704,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" />\n\n     <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(55,1,1321902751,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><label>&nbsp;</label><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <input type=\"hidden\" name=\"attempts\" value=\"\" /></li>\n\n     <li><label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(56,1,1321902840,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <label>&nbsp;</label><input type=\"hidden\" name=\"attempts\" value=\"\" /></li>\n\n     <li><label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(57,1,1321902898,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n    <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n    <label>&nbsp;</label><input type=\"hidden\" name=\"attempts\" value=\"\" /></li>\n\n     <input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" />\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(58,1,1321902976,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(59,1,1321903012,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label>&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(60,1,1321903039,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"clear\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(61,1,1321903066,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Submit and Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(62,1,1321903120,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(63,1,1321903208,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(64,1,1321903277,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(65,1,1321903303,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(66,1,1321903334,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(67,1,1321903358,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(68,1,1321903400,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),(69,1,1321903429,3,0,0,'cart_payment - Snippet','<b>date() [<a href=\'function.date\'>function.date</a>]: It is not safe to rely on the system\'s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected \'America/New_York\' for \'EST/-5.0/no DST\' instead</b><br /><br /> <div id=\"main-content\" class=\"mc-left\">\n\n<script language=\"javascript\" type=\"text/javascript\">\n\n\nfunction  up_ship_state(){\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n}\n\nfunction  up_ship_form(){\n\n\ndocument.getElementById(\'firstname_s\').value = document.getElementById(\'firstname\').value;\ndocument.getElementById(\'lastname_s\').value = document.getElementById(\'lastname\').value;\ndocument.getElementById(\'address_s\').value = document.getElementById(\'address\').value;\ndocument.getElementById(\'address_s_2\').value = document.getElementById(\'address_2\').value;\ndocument.getElementById(\'city_s\').value = document.getElementById(\'city\').value;\ndocument.getElementById(\'zip_s\').value = document.getElementById(\'zip\').value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].value = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\ndocument.getElementById(\'state_s\').options[document.getElementById(\'state_s\').selectedIndex].text = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].text;\ndocument.getElementById(\'state_s\').value  = document.getElementById(\'state\').options[document.getElementById(\'state\').selectedIndex].value;\n\n\n}\n\nfunction validate_form(form){\n\nvar missing_field = 0;\n\nvar all_fields = new Array(\"checkerror\",\"email\",\"emailinvalid\",\"firstname\",\"lastname\",\"address\",\"city\",\"state\",\"zip\",\"firstname_s\",\"lastname_s\",\"address_s\",\"city_s\",\"state_s\",\"zip_s\",\"ccNum\",\"ccvv\",\"cc_type\",\"ccNumInvalid\");	\n\n\n	for (var i=0;i<all_fields.length;i++){		\n	document.getElementById(all_fields[i]+\'_error\').style.display = \'none\';\n	\n	}	\n\nif(!document.getElementById(\'email\').value ){\ndocument.getElementById(\'email_error\').style.display = \'block\';\nmissing_field = 1;\n}\nelse\n{\nvar reg = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;\n\n   var address = document.getElementById(\'email\').value;\n   if(reg.test(address) == false) {\n	document.getElementById(\'emailinvalid_error\').style.display = \'block\';\n	}\n}\n\nif(!document.getElementById(\'cc_type\').value){\n	document.getElementById(\'cc_type_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'phone\').value){\n	document.getElementById(\'phone_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname\').value){\n	document.getElementById(\'firstname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname\').value){\n	document.getElementById(\'lastname_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address\').value){\n	document.getElementById(\'address_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city\').value){\n	document.getElementById(\'city_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state\').value){\n	document.getElementById(\'state_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip\').value){\n	document.getElementById(\'zip_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'firstname_s\').value){\n	document.getElementById(\'firstname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'lastname_s\').value){\n	document.getElementById(\'lastname_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'address_s\').value){\n	document.getElementById(\'address_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'city_s\').value){\n	document.getElementById(\'city_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'state_s\').value){\n	document.getElementById(\'state_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'zip_s\').value){\n	document.getElementById(\'zip_s_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\n\nif(!document.getElementById(\'ccNum\').value){\n	document.getElementById(\'ccNum_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(!document.getElementById(\'ccvv\').value){\n	document.getElementById(\'ccvv_error\').style.display = \'block\';\nmissing_field = 1;\n}\n\nif(missing_field == \"1\"){\n	document.getElementById(\'checkerror_error\').style.display = \'block\';\n\nreturn false;\n}\n\n}\n</script>\n\n<form method=\"post\" name=\"websignupfrm\" action=\"[~37~]\"  onSubmit=\"return validate_form(this);\">\n		\n	<div id=\"yconfirm\">\n		<h4>Contact Information</h4>\n            <ul>\n				<li><div class=\"error\" id=\'email_error\' >Enter Email</div>\n                    <div class=\"error\" id=\'emailinvalid_error\' >Invalid Email</div>\n                <label>Your Email:* </label> <input type=\"text\" id=\"email\" name=\"email\" value=\"\"/></li>\n                \n                <li><div class=\"error\" id=\'phone_error\' >Enter Phone</div>\n                <label>Your Phone Number:*</label><input type=\"text\" name=\"phone\" id=\"phone\"  value=\"\" /></li>\n            </ul>\n	</div>\n	\n	<div class=\"separator-line\"></div>\n	\n	 \n    <div id=\"yconfirm\">\n		<h4>Billing Address</h4>\n            \n            <ul>\n              <li><div class=\"error\" id=\'firstname_error\' >Enter First Name</div>\n                <label>First Name:*</label><input type=\"text\"  id=\"firstname\" name=\"firstname\"  value=\"\"></li>\n              \n              <li><div class=\"error\" id=\'lastname_error\' >Enter Last Name</div>\n				<label>Last Name:*</label> <input type=\"text\"  id=\"lastname\" name=\"lastname\"  value=\"\"></li>\n\n				<li><div class=\"error\" id=\'address_error\' >Enter Address</div>\n				<label>Address:*</label><input type=\"text\"  name=\"address\" id=\"address\"  value=\"\"></li>\n					\n				<li><label>Address 2</label><input type=\"text\"  name=\"address_2\" id=\"address_2\"  value=\"\"></li>\n					\n				<li><div class=\"error\" id=\'city_error\' >Enter City</div>\n				<label>City:*</label><input type=\"text\"  name=\"city\" id=\"city\"  value=\"\"></li>\n				\n				<li><div class=\"error\" id=\'state_error\' >Select State</div>\n				<label>State:*</label><select id=\"state\" name=\"state\" onChange=\'up_ship_state()\' class=\"state\">\n\n                  <option value=\"\">- State -</option> 					    <option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>                 \n                        \n                      \n                    </select></li>\n                    \n                    \n				\n				\n				<li><div class=\"error\" id=\'zip_error\' >Enter Zip</div>\n				<label>Zip:*</label><input class=\"zipcode\" type=\"text\" name=\"zip\" id=\"zip\"  value=\"\"></li>\n            \n            </ul>\n        </div>\n\n		<div class=\"separator-line\"></div>\n\n		\n		<div id=\"yconfirm\">\n		  <h4 style=\"margin-bottom: 0px\">Shipping Address</h4>\n		  <p><input type=\"checkbox\" name=\"\" id=\"checkbox\" value=\"1\" onClick=\'up_ship_form()\'> (same as billing)</p>\n		  \n		  <ul>\n\n			<li><div class=\"error\" id=\'firstname_s_error\' >Enter First Name</div>\n			<label>First Name:*</label><input type=\"text\"  id=\"firstname_s\" name=\"firstname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'lastname_s_error\' >Enter Last Name</div>\n			<label>Last Name:*</label><input type=\"text\"  id=\"lastname_s\" name=\"lastname_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'address_s_error\' >Enter Address</div>\n			<label>Address:*</label><input type=\"text\"  name=\"address_s\" id=\"address_s\"  value=\"\"></li>\n			\n			<li><label>Address 2</label><input type=\"text\"  name=\"address_s_2\" id=\"address_s_2\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'city_s_error\' >Enter City</div>\n			<label>City:*</label><input type=\"text\"  name=\"city_s\" id=\"city_s\"  value=\"\"></li>\n			\n			<li><div class=\"error\" id=\'state_s_error\' >Select State</div>\n			<label>State:*</label><select id=\"state_s\" name=\"state_s\"  class=\"state\">\n\n                 <option value=\"\">- State -</option>						<option value=\"AL\">AL</option>\n                        <option value=\"AK\">AK</option>\n                        <option value=\"AZ\">AZ</option>\n                        <option value=\"AR\">AR</option>\n                        <option value=\"CA\">CA</option>\n                        <option value=\"CO\">CO</option>\n                        <option value=\"CT\">CT</option>\n                        <option value=\"DC\">DC</option>\n                        \n                        <option value=\"DE\">DE</option>\n                        <option value=\"FL\">FL</option>\n                        <option value=\"GA\">GA</option>\n                        <option value=\"HI\">HI</option>\n                        <option value=\"ID\">ID</option>\n                        <option value=\"IL\">IL</option>\n                        <option value=\"IN\">IN</option>\n                        <option value=\"IA\">IA</option>\n                        <option value=\"KS\">KS</option>\n                        \n                        <option value=\"KY\">KY</option>\n                        <option value=\"LA\">LA</option>\n                        <option value=\"ME\">ME</option>\n                        <option value=\"MD\">MD</option>\n                        <option value=\"MA\">MA</option>\n                        <option value=\"MI\">MI</option>\n                        <option value=\"MN\">MN</option>\n                        <option value=\"MS\">MS</option>\n                        <option value=\"MO\">MO</option>\n                        \n                        <option value=\"MT\">MT</option>\n                        <option value=\"NE\">NE</option>\n                        <option value=\"NV\">NV</option>\n                        <option value=\"NH\">NH</option>\n                        <option value=\"NJ\">NJ</option>\n                        <option value=\"NM\">NM</option>\n                        <option value=\"NY\">NY</option>\n                        <option value=\"NC\">NC</option>\n                        <option value=\"ND\">ND</option>\n                        \n                        <option value=\"OH\">OH</option>\n                        <option value=\"OK\">OK</option>\n                        <option value=\"OR\">OR</option>\n                        <option value=\"PA\">PA</option>\n                        <option value=\"RI\">RI</option>\n                        <option value=\"SC\">SC</option>\n                        <option value=\"SD\">SD</option>\n                        <option value=\"TN\">TN</option>\n                        <option value=\"TX\">TX</option>\n                        \n                        <option value=\"UT\">UT</option>\n                        <option value=\"VT\">VT</option>\n                        <option value=\"VA\">VA</option>\n                        <option value=\"WA\">WA</option>\n                        <option value=\"WV\">WV</option>\n                        <option value=\"WI\">WI</option>\n                        <option value=\"WY\">WY</option>\n                    </select> </li>\n                    \n\n	        <li><div class=\"error\" id=\'zip_s_error\' >Enter Zip</div>\n            <label>Zip:*</label><input class=\"zipcode\" type=\"text\"  name=\"zip_s\" id=\"zip_s\"  value=\"\"></li>\n            \n        </ul>\n      </div>\n\n\n	<div class=\"separator-line\"></div>\n                    \n		<div id=\"yconfirm\">\n         <h4>Credit card details</h4>\n            <ul>\n            \n            <li><div class=\"error\" id=\'cc_type_error\' >Select Credit Card Type</div>\n              <label class=\"cc\">Credit Card Type:*</label><select id=\"cc_type\" name=\"cc_type\" class=\"card\">\n\n						<option value=\"\" >- Select Credit Card Type -</option>\n                        <option value=\"Visa\">Visa</option>\n						<option value=\"Mastercard\">Mastercard</option>\n						<option value=\"Discover\">Discover</option>    \n						<option value=\"American Express\">American Express</option>   \n                    </select><br />\n              <img src=\"assets/templates/ecommerce/images/icon-creditcards_127x23.gif\" alt=\"Mastercard, Visa, Discover, Amex\" style=\"padding-top: 3px\"/></li>\n              \n            <li><div class=\"error\" id=\'ccNumInvalid_error\' >Invalid Card Number</div>\n				<div class=\"error\" id=\'ccNum_error\' >Enter Card Number</div>\n				<label class=\"cc\">Credit Card Number:*</label><input type=\"text\" id=\"ccNum\" name=\"ccNum\" value=\"\" />\n				<!-- <span>Example: 1234 1234 1234 1234</span>	--></li>\n              \n			<li><div class=\"error\" id=\'ccvv_error\' >Enter CVV2 Number</div>\n                <label class=\"cc\">Credit Verification Code:*</label><input class=\"cvv\" type=\"text\" id=\"ccvv\" name=\"ccvv\" value=\"\" maxlength=\"4\" /><br />\n                <label class=\"cc\">&nbsp;</label><img src=\"assets/templates/ecommerce/images/icon-cvc_37x23.gif\" width=\"37\" height=\"23\" alt=\"CVC example\" style=\"padding-top: 3px\" /></li>\n				\n				\n			<li><label class=\"cc\">Expiration Date:*</label>\n					<select id=\"card_expire_month\" name=\"card_expire_month\" class=\"date\">\n\n						  <option value=\"01\">Jan</option>\n						  <option value=\"02\">Feb</option>\n	\n						  <option value=\"03\">Mar</option>\n						  <option value=\"04\">Apr</option>\n						  <option value=\"05\">May</option>\n						  <option value=\"06\">Jun</option>\n						  <option value=\"07\">Jul</option>\n						  <option value=\"08\">Aug</option>\n	\n						  <option value=\"09\">Sep</option>\n						  <option value=\"10\">Oct</option>\n						  <option value=\"11\">Nov</option>\n						  <option value=\"12\">Dec</option>\n\n                        \n                     </select>\n\n                    <select id=\"card_expire_year\" name=\"card_expire_year\" class=\"date\">\n              \n                     <option value=\"11\" >2011</option><option value=\"12\" >2012</option><option value=\"13\" >2013</option><option value=\"14\" >2014</option><option value=\"15\" >2015</option><option value=\"16\" >2016</option><option value=\"17\" >2017</option><option value=\"18\" >2018</option><option value=\"19\" >2019</option>                        \n                    </select></li>\n	\n			</ul>\n        </div>\n	\n	\n	\n	<div class=\"separator-line\"></div>\n\n	<div id=\"yconfirm\">\n\n    <ul>\n        <input type=\"hidden\" name=\"attempts\" value=\"\" />\n        \n        <li><div class=\"error\" id=\"checkerror_error\">Please check for errors above in red</div>\n        <label class=\"cc\">&nbsp;</label><input type=\"submit\" name=\"payment\" id=\"process_button\" value=\"Go to Verify Order\" /></li>\n     </ul>\n\n  </div>\n\n\n	</form>\n	</div>\n	\n'),