jQuery(document).ready(function(){
	//Modify the Subscription page
	//Top button
	var subscribe_div = $(".subscription .priceforms").children();
	subscribe_div.each(function(){
		var me = $(this).attr("type");		
		if(me == "image") {
			$(this).attr('src','/wp-content/themes/lizalaird/images/button-join.jpg');
		}
		$(this).css({
			'position':'relative',
			'top':'2px',
			'right':'32px'
		});
	});
	//Bottom button
	subscribe_div = $(".subscription .priceforms form").children();
	subscribe_div.each(function(){
		var me = $(this).attr("type");		
		if(me == "image") {
			$(this).attr('src','/wp-content/themes/lizalaird/images/button-join.jpg');
		}
		$(this).css({
			'position':'relative',
			'top':'2px'
		});
	});
	//Append html to div tag
	var my_html = "";
	my_html += '<div id="reg-check-field">';
	my_html += '<p style="font-size:16px;font-weight:bold">Save 15% with a yearly membership</p>';	
	my_html += '<input type="checkbox" checked="no" name="news-reg-check" id="news-reg-check" style="position:relative;top:0px;left:0px"/>';
	my_html += '<span>Recieve newsletter</span><br/>';		
	my_html += '<input type="checkbox" checked="yes" name="agree-reg-check" style="position:relative;top:0px;left:0px"/>';
	my_html += '<span>I have read and agree to terms and site use policy</span>';	
	my_html += '</div>';	
	//
	//var new_p = $("form.#reg-form").append(my_html);	
});

