<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Artful Phoenix</title>
	<atom:link href="http://artfulphoenix.com/feed" rel="self" type="application/rss+xml" />
	<link>http://artfulphoenix.com</link>
	<description></description>
	<lastBuildDate>Tue, 02 Oct 2012 18:41:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>eNews Sign-up!</title>
		<link>http://artfulphoenix.com/newsletter/enews-sign-up</link>
		<comments>http://artfulphoenix.com/newsletter/enews-sign-up#comments</comments>
		<pubDate>Tue, 02 Oct 2012 18:37:00 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[newsletter]]></category>

		<guid isPermaLink="false">http://artfulphoenix.com/?p=58</guid>
		<description><![CDATA[<p>Click the button below to be taken to our eNews registration page.</p><p>The post <a href="http://artfulphoenix.com/newsletter/enews-sign-up">eNews Sign-up!</a> appeared first on <a href="http://artfulphoenix.com">Artful Phoenix</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Click the button below to be taken to our eNews registration page.</p>
<p><strong><script type="text/javascript">
$ymce = jQuery.noConflict();
	jQuery(document).ready(function($ymce){
		function blankFieldCheck()
			{
			err	= 0;
			msg	= '';</p>
<p>if($ymce('#0-00cdcc6e01-email').val() == '')
	{
	msg += '* Email Address'+"\n";
	err++;
	}
			if(msg != '')
				{
				msg	= 'Oops.. Don\'t forget the fill-in the following fields:'+"\n\n"+msg;
				alert(msg);
				}
			return (err > 0 ? false : true);
			}
		$ymce('#yks-mailchimp-form_0-00cdcc6e01').submit(function(e){
			e.preventDefault();
			// Make sure the api key exists
			if(blankFieldCheck())
				{
				$ymce('#ykfmc-submit_0-00cdcc6e01').attr('disabled', 'disabled');
				$ymce('#yks-status-0-00cdcc6e01').slideUp('fast');
				$ymce.ajax({
					type:	'POST',
					url:	'http://artfulphoenix.com/wp-admin/admin-ajax.php',
					data: {
								action:				'yks_mailchimp_form',
								form_action:		'frontend_submit_form',
								form_data:			$ymce(this).serialize()
								},
					dataType: 'json',
					success: function(MAILCHIMP)
						{
						if(MAILCHIMP == '1')
							{
							$ymce('#yks-status-0-00cdcc6e01').html('
<div class="yks-success">
<p>Thank You for subscribing! Check your email for the confirmation message.</p>
</div>
<p>');
							$ymce('#yks-mailchimpFormContainerInner_0-00cdcc6e01').slideUp('fast', function(){
							$ymce('#yks-status-0-00cdcc6e01').slideDown('fast');
							});
							}
						else
							{
							$ymce('#ykfmc-submit_0-00cdcc6e01').removeAttr('disabled');
							$ymce('#yks-status-0-00cdcc6e01').html('
<div class="yks-error">
<p>Sorry the email address you entered was previously submitted.</p>
</div>
<p>');
							$ymce('#yks-status-0-00cdcc6e01').slideDown('fast');
							}
						}
				});
				}
			return false;
		});
		$ymce('.yks-field-type-date').datepicker({
			changeMonth:	true,
			changeYear:		true,
			yearRange:		((new Date).getFullYear()-100)+':'+((new Date).getFullYear()),
			dateFormat: 	'yy-mm-dd'
		});
		$ymce('#ui-datepicker-div').addClass('yks-mailchimpFormDatepickerContainer');
	});
</script></p>
<div class="yks-mailchimpFormContainer">
<div class="yks-status" id="yks-status-0-00cdcc6e01"></div>
<div class="yks-mailchimpFormContainerInner" id="yks-mailchimpFormContainerInner_0-00cdcc6e01">
<form method="post" name="yks-mailchimp-form" id="yks-mailchimp-form_0-00cdcc6e01" rel="0-00cdcc6e01">
			<input type="hidden" name="yks-mailchimp-list-ct" id="yks-mailchimp-list-ct_0-00cdcc6e01" value="0" /><br />
			<input type="hidden" name="yks-mailchimp-list-id" id="yks-mailchimp-list-id_0-00cdcc6e01" value="00cdcc6e01" /></p>
<table class="yks-mailchimpFormTable">
<tbody>
<tr class="yks-mailchimpFormTableRow">
<td class="prompt yks-mailchimpFormTableRowLabel"><label class="yks-mailchimpFormTdLabel" for="00cdcc6e01-EMAIL">Email Address</label></td>
<td class="yks-mailchimpFormTableRowField">
								<input type="text" name="00cdcc6e01-EMAIL" class="00cdcc6e01-EMAIL yks-require" id="0-00cdcc6e01-email" value="" />							</td>
</tr>
<tr class="yks-mailchimpFormTableRow">
<td class="prompt yks-mailchimpFormTableRowLabel"><label class="yks-mailchimpFormTdLabel" for="00cdcc6e01-FNAME">First Name</label></td>
<td class="yks-mailchimpFormTableRowField">
								<input type="text" name="00cdcc6e01-FNAME" class="00cdcc6e01-FNAME" id="0-00cdcc6e01-fname" value="" />							</td>
</tr>
<tr class="yks-mailchimpFormTableRow">
<td class="prompt yks-mailchimpFormTableRowLabel"><label class="yks-mailchimpFormTdLabel" for="00cdcc6e01-LNAME">Last Name</label></td>
<td class="yks-mailchimpFormTableRowField">
								<input type="text" name="00cdcc6e01-LNAME" class="00cdcc6e01-LNAME" id="0-00cdcc6e01-lname" value="" />							</td>
</tr>
<tr>
<td colspan="2" class="yks-mailchimpFormTableSubmit">
<p><input type="submit" class="ykfmc-submit" id="ykfmc-submit_0-00cdcc6e01" value="Submit" /></p>
</td>
</tr>
</tbody>
</table></form>
</p></div>
</div>
<p></strong></p>
<p>The post <a href="http://artfulphoenix.com/newsletter/enews-sign-up">eNews Sign-up!</a> appeared first on <a href="http://artfulphoenix.com">Artful Phoenix</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://artfulphoenix.com/newsletter/enews-sign-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
