$(document).ready(function() {

	$(document).pngFix(); 
	$('.quicklink_box').fitted();
  	$("#accordion").accordion({ autoHeight: false, active: false });

	// $("#heard_before").addClass("hide");
	$("#heard_before").hide();
	
	$("input:radio[@name=heard_before]").click(function() {
    	if ( $(this).val() == 'Yes' )
        	$("#heard_before").show("fast");
    		else
        	$("#heard_before").hide("fast"); 
	});

	/* ==========================================================
	
	POPUP WINDOW JAVASCRIPT
	
	========================================================== */
	
	// This launches all rel links in a new window
   	$('a[rel="popup"]').click(function(){
        window.open(this.href,'mywindow','height=700,width=600,scrollTo,resizable=yes,scrollbars=yes,status=yes,location=0','false');
	return false;
    	});

});