$( function() {

	$("input.moreinfo").click(function () {

		$(this).siblings("ul").toggle()
	});

	$("input.radio").click(function () {

		$(this).siblings("div").toggle()
	});

	/*$("#formback").fadeTo("fast", 0.6);
	$("#mailing_email").click(function () { if($(this).val() == 'Your email address'){ $(this).val(''); } });


	$("a.map").click(function () {
		$('#developments li').removeClass("on");
		var id = $(this).attr("id");
		//alert('#development_'+id.substr(4));
		$('#development_'+id.substr(4)).addClass("on");
	});

	$("ul.fplan_thumbs li a").click(function () {
		var id = $(this).attr("rel");
		$('ul.fplan li').hide();
		$('ul.fplan_thumbs li').removeClass("highlight");
		$('ul.fplan li#'+id).fadeIn("slow");
		$(this).parent().addClass("highlight");

	});*/

	//$("#residential_options li input").click(function () { if($(this).val() == 'Yes'){ $("#residential_developments").show(); }else{$("#residential_developments").hide();} });

	//$(".easternrange").click(function () { window.open($(this).attr("href"),"EasternrangeLimitedDetails","width=450,height=190"); return false; });

	$('a[class=fancybox_youtube]').fancybox({
		'frameWidth'	: 640,
		'frameHeight'	: 385,
		'overlayShow'	: true,
		'overlayOpacity': 0.7
	});
	
	$('a[class=fancy_form]').fancybox({
		'width'			: 400,
		'height'		: 400,
		'padding'		: 5,
        'autoScale'     : false,
		'titleShow'		: false,
		'overlayShow'	: true,
		'overlayOpacity': 0.7,
		'type'			: 'iframe'
	});

	$('a[class*=fancybox]').fancybox();
	
	
});