-- Table structure for table `modx_cart_categories`
--

CREATE TABLE `modx_cart_categories` (
  `catID` int(4) NOT NULL AUTO_INCREMENT,
  `docID` int(6) NOT NULL DEFAULT '0',
  `cat_name` varchar(150) NOT NULL DEFAULT '',
  `cat_desc` varchar(200) NOT NULL DEFAULT '',
  `cat_image` varchar(200) NOT NULL DEFAULT '',
  `show_hide` char(1) NOT NULL DEFAULT '',
  PRIMARY KEY (`catID`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `modx_cart_categories`
--

INSERT INTO `modx_cart_categories` VALUES (1,25,'Skin Care','YES Skincare Products','','1'),(2,29,'Health & Beauty','Recommended Healthy & Beauty Products','','1');

--
-- Table structure for table `modx_cart_config`
--

CREATE TABLE `modx_cart_config` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `category` varchar(50) DEFAULT NULL,
  `optname` varchar(50) DEFAULT NULL,
  `subcategory` varchar(50) DEFAULT NULL,
  `optvalues` varchar(255) DEFAULT NULL,
  `renderas` enum('TEXTBOX','TEXTAREA','RADIOBUTTON','DROPDOWN','QUERYPICKER') DEFAULT 'TEXTBOX',
  `shortdesc` varchar(50) DEFAULT NULL,
  `longdesc` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_cart_config`
--


--
-- Table structure for table `modx_cart_config_values`
--

CREATE TABLE `modx_cart_config_values` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `optname` varchar(50) NOT NULL DEFAULT '',
  `optval` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_cart_config_values`
--


--
-- Table structure for table `modx_cart_items`
--

CREATE TABLE `modx_cart_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content_id` int(11) DEFAULT NULL,
  `catID` int(5) NOT NULL DEFAULT '0',
  `CID` int(5) NOT NULL DEFAULT '0',
  `RID` int(5) NOT NULL DEFAULT '0',
  `VID` int(5) NOT NULL DEFAULT '0',
  `sku` varchar(20) DEFAULT NULL,
  `manufacturer` varchar(100) NOT NULL DEFAULT '',
  `name` varchar(100) DEFAULT NULL,
  `sub_title` text NOT NULL,
  `fullname` varchar(150) DEFAULT NULL,
  `introtext` text NOT NULL,
  `notes` text NOT NULL,
  `description` text,
  `html_page_title` varchar(200) NOT NULL DEFAULT '',
  `meta_description` varchar(200) NOT NULL DEFAULT '',
  `meta_keywords` text NOT NULL,
  `main_header` varchar(200) NOT NULL DEFAULT '',
  `searchText` text NOT NULL,
  `decimals` int(11) DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `discount_amount` varchar(8) NOT NULL DEFAULT '',
  `taxableamt` float NOT NULL DEFAULT '0',
  `weight` float NOT NULL DEFAULT '0',
  `vintage` varchar(4) NOT NULL DEFAULT '',
  `inventory` int(6) NOT NULL DEFAULT '0',
  `size` varchar(20) NOT NULL DEFAULT '',
  `size_1` varchar(50) NOT NULL DEFAULT '',
  `size_2` varchar(50) NOT NULL DEFAULT '',
  `size_3` varchar(50) NOT NULL DEFAULT '',
  `size_4` varchar(50) NOT NULL DEFAULT '',
  `size_5` varchar(50) NOT NULL DEFAULT '',
  `size_6` varchar(50) NOT NULL DEFAULT '',
  `size_7` varchar(50) NOT NULL DEFAULT '',
  `price_1` varchar(20) NOT NULL DEFAULT '',
  `price_2` varchar(20) NOT NULL DEFAULT '',
  `price_3` varchar(20) NOT NULL DEFAULT '',
  `price_4` varchar(20) NOT NULL DEFAULT '',
  `price_5` varchar(20) NOT NULL DEFAULT '',
  `price_6` varchar(20) NOT NULL DEFAULT '',
  `price_7` varchar(20) NOT NULL DEFAULT '',
  `weight_1` varchar(15) NOT NULL DEFAULT '',
  `weight_2` varchar(15) NOT NULL DEFAULT '',
  `weight_3` varchar(15) NOT NULL DEFAULT '',
  `weight_4` varchar(15) NOT NULL DEFAULT '',
  `weight_5` varchar(15) NOT NULL DEFAULT '',
  `weight_6` varchar(15) NOT NULL DEFAULT '',
  `weight_7` varchar(15) NOT NULL DEFAULT '',
  `subregion` varchar(150) NOT NULL DEFAULT '',
  `subdesignation` varchar(150) NOT NULL DEFAULT '',
  `conditions` text NOT NULL,
  `cru` varchar(150) NOT NULL DEFAULT '',
  `oversized` float DEFAULT NULL,
  `hazmat` float DEFAULT NULL,
  `discountrates_id` int(11) NOT NULL DEFAULT '0',
  `img` varchar(200) DEFAULT NULL,
  `thumb` varchar(200) NOT NULL DEFAULT '',
  `alt_tag` varchar(150) NOT NULL DEFAULT '',
  `disabled` tinyint(1) DEFAULT NULL,
  `shoppingenabled` char(1) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT '1',
  `quoteenabled` char(1) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT '0',
  `featured` int(1) NOT NULL DEFAULT '0',
  `offer` char(1) NOT NULL DEFAULT '',
  `home_featured` int(1) NOT NULL DEFAULT '0',
  `non_perishable` char(1) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `content_id` (`content_id`),
  KEY `featured` (`featured`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_cart_items`
--

INSERT INTO `modx_cart_items` VALUES (1,28,1,0,0,0,'707629','','Y.E.S. Anti-Aging Serum','1 oz / 30 ml - a 60 day supply',NULL,'Treatment for immediate skin concerns from wrinkles, scars and dullness to age spots, acne and sensitivities. ','','<ul>\r\n<li>Reduces the appearance of fine lines & wrinkles</li>\r\n<li>Rejuvenates sun aged skin</li>\r\n<li>Stimulates cell renewal</li>\r\n<li>Boosts collagen</li>\r\n<li>Tones & Tightens</li>\r\n<li>Smoothes & Brightens</li>\r\n<li>Optimizes Hydration</li>\r\n<li>Antimicrobial & Antibacterial</li>\r\n</ul>\r\n\r\n<p>Serums have been recognized as the most efficient vehicles to deliver ingredients with therapeutic effects. Our CP24-Complex® has the most complete method to penetrate layers of the skin, with a targeted mission of increasing cellular proliferation by 250% within 24 hours. You will notice the deep tissue cellular changes as the tone and texture improves within a few weeks. This delivery system addresses your immediate skin concerns from wrinkles, scars and dullness to age spots, acne and sensitivities.</p>\r\n\r\n<p>This powerful anti-aging serum is gentle enough to use daily followed by the Y.E.S. Rejuvenating Moisture Cream.</p>','','','','','',NULL,60,'54.00',0,0.25,'',0,'1','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','assets/images/serum.jpg','anti-aging serum & toner',NULL,'1','0',1,'',0,''),(2,30,1,0,0,0,'707630','','Y.E.S. Rejuvenating Moisture Cream','2 oz / 60 ml - a 60 day supply',NULL,'Advanced age-defying treatment that instantly goes to work stimulating new cell production, bringing new younger cells to the surface.','','<ul>\r\n<li>Reduces the signs of aging</li>\r\n<li>Maximizes Hydration</li>\r\n<li>Tones & Tightens</li>\r\n<li>Instantly Softens</li>\r\n<li>Rejuvenates</li>\r\n<li>Brightens</li>\r\n</ul>\r\n\r\n<p>\r\nY.E.S. Skin Perfecting Moisturizer with CP24-Complex® is the most advanced age-defying treatment that instantly goes to work stimulating new cell production, bringing new younger cells to the surface. Our proprietary formulation rich in seabuckthorn (instrumental in promoting cell tissue regeneration), all-natural organic botanicals, pentapeptides, powerful anti-oxidant vitamins, collagen builders and minerals along with amino acids allows the skin to renew, repair and protect itself as nature intended, reversing the signs of aging.</p>\r\n<p>The rapid absorption makes it perfect for all skin types, never greasy; the cream/gel like consistency makes it extremely hydrating, leaving the surface velvety smooth. You will love the way it feels.\r\n</p>','','','','','',NULL,55,'49.50',0,0.25,'',0,'1','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','assets/images/cream.jpg','Moisturizing Facial Cream',NULL,'1','0',0,'',0,''),(3,31,2,0,0,0,'4343','','Y.E.S. Rejuvenating Eye Patches','',NULL,'Y.E.S. Eye Patches contain biologically active ingredients that alleviate puffiness, dark circles, fine lines and wrinkles in record time.','','<p style=\"font-size: 14px; line-height:18px; font-weight: bold\">\r\nFinally! An effective multi-action formula for smoother,\r\nfirmer and radiant skin around your eyes!</p>\r\n<ul>\r\n<li>Hydrates the skin over time due to a moisture retaining effect</li>\r\n<li>Calms skin irritation</li>\r\n<li>Leaves the skin perceptibly softer</li>\r\n<li>Sooth dermatological irritations and increase the elasticity and softness of the skin</li>\r\n<li>Also protects from environmental exposure to toxic pollutants</li>\r\n</ul>\r\n<p>\r\nY.E.S. Eye Patches contain biologically active ingredients that alleviate puffiness, dark circles, fine lines and wrinkles in record time. They are specifically designed to treat the under eye area, actually dissolving along with your wrinkles right before your eyes. The highly effective ingredients are derived from a bio-marine origin (Chitosan, a shellfish derivative) which is prized for its moisture retaining effects along with collagen and Vitamin C. \r\n</p>','','','','','',NULL,30,'27.00',0,0.05,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','Under Eye care',NULL,'1','0',0,'',0,''),(4,35,2,0,0,0,'707632','','Y.E.S. Anti-Aging Serum & Moisture Cream Combo','',NULL,'','','','','','','','',NULL,105,'94.50',0,0.45,'',0,'1','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(5,36,2,0,0,0,'707520','','VIP Bronzing Blush','',NULL,'','','','','','','','',NULL,20,'18.00',0,0.1,'',0,'1','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(6,37,2,0,0,0,'707521','','VIP Lipstick - Chilili','',NULL,'','','','','','','','',NULL,20,'18.00',0,0.1,'',0,'1','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(7,0,2,0,0,0,'#7070910 QA','','Qwick-Aid Bandage Sheets',' 7\" x 9\"',NULL,'','','','','','','','',NULL,43,'38.70',0,0.1,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(8,0,2,0,0,0,'7070909 QA','','Qwick-Aid Bandage Sheets - Box of 6','6 Sheets/box - 7\" x 9\"',NULL,'','','','','','','','',NULL,258,'232.20',0,0.5,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(9,0,2,0,0,0,'7070908 QA','','Qwick-Aid Bandage Sheets - Case (24 sheets)','4 Boxes/case (24 Sheets)',NULL,'','','','','','','','',NULL,1032,'928.80',0,2.5,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(10,0,2,0,0,0,'7070929 QA','','Qwick-Aid Bandage','Individual Bandage 2\" x 4\"',NULL,'','','','','','','','',NULL,19,'17.10',0,0.05,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(11,0,2,0,0,0,'707090 QA','','Qwick-Aid Bandage - Box of 12','Individual Bandage 2\" x 4\" ( Box of 12)',NULL,'','','','','','','','',NULL,228,'205.20',0,0.6,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(12,0,2,0,0,0,'7070931 QA','','Qwick-Aid Bandages - Case (72 bandages)','6 Boxes/case (72 Sheets)',NULL,'','','','','','','','',NULL,1368,'1231.20',0,3,'',0,'each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(13,0,1,0,0,0,'707632-40','','New Year Special - Serum & Cream Combo','We\'re sorry. This offer is no longer Available',NULL,'','','','','','','','',NULL,0,'0',0,0.5,'',0,'Each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'0','0',0,'',0,''),(14,0,2,0,0,0,'707629-M30','','Y.E.S. Anti-Aging Serum - 30% Discount!','',NULL,'','','','','','','','',NULL,42,'42.00',0,0.2,'',0,'1 oz / 30 ml','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(15,0,2,0,0,0,'707630-M30','','Y.E.S. Rejuvenating Moisture Cream - 30% Discount!','',NULL,'','','','','','','','',NULL,38.5,'38.5',0,0.2,'',0,'2oz / 30ml','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(16,0,2,0,0,0,'707632-M30','','Y.E.S. Serum & Cream Combo - 30% Discount!','',NULL,'','','','','','','','',NULL,73.5,'73.5',0,0.3,'',0,'1 each','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,''),(17,0,2,0,0,0,'4343-M30','','Y.E.S. Rejuvenating Eye Patches - 30% Discount!','',NULL,'','','','','','','','',NULL,21,'21.00',0,0.1,'',0,'2 per pack','','','','','','','','','','','','','','','','','','','','','','','','','',NULL,NULL,0,'','','',NULL,'1','0',0,'',0,'');

--
-- Table structure for table `modx_categories`
--

CREATE TABLE `modx_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category` varchar(45) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COMMENT='Categories to be used snippets,tv,chunks, etc';

--
-- Dumping data for table `modx_categories`
--

INSERT INTO `modx_categories` VALUES (1,'Demo Content'),(2,'Login'),(3,'Manager and Admin'),(4,'Search'),(5,'Navigation'),(6,'Content'),(7,'Forms'),(8,'Control Panel Items'),(9,'Cart'),(10,'Facebook items');

--
-- Table structure for table `modx_document_groups`
--

CREATE TABLE `modx_document_groups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `document_group` int(10) NOT NULL DEFAULT '0',
  `document` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `document` (`document`),
  KEY `document_group` (`document_group`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_document_groups`
--


--
-- Table structure for table `modx_documentgroup_names`
--

CREATE TABLE `modx_documentgroup_names` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `private_memgroup` tinyint(4) DEFAULT '0' COMMENT 'determine whether the document group is private to manager users',
  `private_webgroup` tinyint(4) DEFAULT '0' COMMENT 'determines whether the document is private to web users',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_documentgroup_names`
--


--
-- Table structure for table `modx_event_log`
--

CREATE TABLE `modx_event_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `eventid` int(11) DEFAULT '0',
  `createdon` int(11) NOT NULL DEFAULT '0',
  `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1- information, 2 - warning, 3- error',
  `user` int(11) NOT NULL DEFAULT '0' COMMENT 'link to user table',
  `usertype` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0 - manager, 1 - web',
  `source` varchar(50) NOT NULL DEFAULT '',
  `description` text,
  PRIMARY KEY (`id`),
  KEY `user` (`user`)
) ENGINE=MyISAM AUTO_INCREMENT=789 DEFAULT CHARSET=latin1 COMMENT='Stores event and error logs';

--
-- Dumping data for table `modx_event_log`
--

INSERT INTO `modx_event_log` VALUES (6,1,1321460826,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(7,1,1321461462,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(8,1,1321461725,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(9,1,1321461800,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(10,1,1321462006,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(11,1,1321462330,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(12,1,1321464570,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(13,1,1321464841,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(14,1,1321465003,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(15,1,1321465190,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(16,1,1321465190,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(17,1,1321465290,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(18,1,1321465346,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(19,1,1321466373,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>'),(20,1,1321466446,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>'),(21,1,1321565962,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(22,1,1321573153,3,0,0,'admin_orders - 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 /> <script type=\"text/javascript\">\n<!--\nfunction delete_this(a,b){\nanswer = confirm(\"Do you want to delete\\n\"+b)\nif (answer !=0)\n{\nlocation = \"[~10~]?del=\"+a;\n}\n}\n//-->\n</script>\n<fieldset>\n<legend>Shopping Cart Orders</legend>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n		<CAPTION>pending Orders \n		\n	<!--	<a class=\"publish\" href=\"assets/snippets/custom/export_orders.php\" target=_blank\">export orders</a> -->\n		\n		<div style=\"height:20px;float:right;margin-top:-25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n\nSearch: <input  id=\"searchText\" name=\"searchText\" type=\"text\" size=\"15\" value=\"\" />\n<input id=\"submit1\" type=\"submit\" tabindex=\"5\" value=\"Go\"/>\n</form>\n</div>\n	<div style=\"margin-top:25px\"> \n<form action=\"[~10~]?show=pending\" method=\"post\">\n<input type=\"hidden\" name=\"report_dates\" value=\"1\" >\n</div>\n</CAPTION>\n			<tr>\n		<th>Order Date</th>\n		<th>Name</th>\n		<th>Address</th>\n		<th>Transaction ID</th>\n		<th>Order Amount</th>\n		<th>Action</th>\n	</tr>\n	\n			\n			<tbody>\n\n\n\n			</tbody>\n		</table>\n		\n</fieldset>\n\n[+previous+] [+pages+]	[+next+]	\n\n	\n	'),(23,1,1321578977,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>'),(24,1,1321579078,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>'),(25,1,1321634349,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>'),(26,1,1321640122,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>'),(27,1,1321640139,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>'),(28,1,1321640163,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>'),(29,1,1321640202,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>'),(30,1,1321640259,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>'),(31,1,1321641221,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>'),(32,1,1321641234,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>'),(33,1,1321641303,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>'),(34,1,1321641334,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>'),(35,1,1321646423,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>'),(36,1,1321660458,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>'),(37,1,1321660543,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>'),(38,1,1321660758,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>'),(39,1,1321660809,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>'),(40,1,1321726543,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>'),(41,1,1321726683,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>'),