function expandLink1(){
	sendClickEvent("FindPA_Search_PAProfile_AboutMe-Expand");
		$(".profileBoxTitle1").removeClass("off");
		$(".profileBoxTitle1").addClass("on");
		$(".profileBox1").removeClass("collapsed");
		$(".profileBox1").addClass("expanded");
		$(".profileBoxContent1").show();
		$(".text1").html("click here to collapse");
		$(".image1").attr("src", "/fap/img/icon-collapse-bg_blue.gif");
		$(".image1").attr("alt", "-");
		return false;
		}
function collapseLink1(){
		$(".profileBoxTitle1").removeClass("on");
		$(".profileBoxTitle1").addClass("off");
		$(".profileBox1").removeClass("expanded");
		$(".profileBox1").addClass("collapsed");
		$(".profileBoxContent1").hide();
		$(".text1").html("click here to expand");
		$(".image1").attr("src", "/fap/img/icon-expand-bg_blue.gif");
		$(".image1").attr("alt", "+");
		return false;
		}

function expandLink2(){
	sendClickEvent("FindPA_Search_PAProfile_Services-Expand");
		$(".profileBoxTitle2").removeClass("off");
		$(".profileBoxTitle2").addClass("on");
		$(".profileBox2").removeClass("collapsed");
		$(".profileBox2").addClass("expanded");
		$(".profileBoxContent2").show();
		$(".text2").html("click here to collapse");
		$(".image2").attr("src", "/fap/img/icon-collapse-bg_blue.gif");
		$(".image2").attr("alt", "-");
		return false;
		}
function collapseLink2(){
		$(".profileBoxTitle2").removeClass("on");
		$(".profileBoxTitle2").addClass("off");
		$(".profileBox2").removeClass("expanded");
		$(".profileBox2").addClass("collapsed");
		$(".profileBoxContent2").hide();
		$(".text2").html("click here to expand");
		$(".image2").attr("src", "/fap/img/icon-expand-bg_blue.gif");
		$(".image2").attr("alt", "+");
		return false;
		}
function expandLink3(){
	sendClickEvent("FindPA_Search_PAProfile_MyClients-Expand");
		$(".profileBoxTitle3").removeClass("off");
		$(".profileBoxTitle3").addClass("on");
		$(".profileBox3").removeClass("collapsed");
		$(".profileBox3").addClass("expanded");
		$(".profileBoxContent3").show();
		$(".text3").html("click here to collapse");
		$(".image3").attr("src", "/fap/img/icon-collapse-bg_blue.gif");
		$(".image3").attr("alt", "-");
		return false;
		}
function collapseLink3(){
		$(".profileBoxTitle3").removeClass("on");
		$(".profileBoxTitle3").addClass("off");
		$(".profileBox3").removeClass("expanded");
		$(".profileBox3").addClass("collapsed");
		$(".profileBoxContent3").hide();
		$(".text3").html("click here to expand");
		$(".image3").attr("src", "/fap/img/icon-expand-bg_blue.gif");
		$(".image3").attr("alt", "+");
		return false;
		}

$(document).ready(function() {
	$(".profileBoxContent2").hide();
	$(".profileBoxContent3").hide();

	$(".link1").click(function(){
		if ($(".text1").html() == "click here to collapse") {
			collapseLink1();
		} else {
			expandLink1();
		}
		return false;
	});

	$(".link2").click(function(){
		if ($(".text2").html() == "click here to collapse") {
			collapseLink2();
		} else {
			expandLink2();
		}
		return false;
	});

	$(".link3").click(function(){
		if ($(".text3").html() == "click here to collapse") {
			collapseLink3();
		} else {
			expandLink3();
		}
		return false;
	});
	

});