function callIframe(url, callback) {
	iframeCode =	'<iframe id="fbStream" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; width:383px; height:515px;"></iframe>';
	url = "http://www.facebook.com/connect/connect.php?id=138439432835564&connections=6&stream=1&css=http://www.uncoedc.com/style/facebook.css";
	$('#facebookPopUp').append(iframeCode);
	$('iframe#fbStream').attr('src', url);
	$('iframe#fbStream').load();
}

$(function(){
	$(".facebook").hover(function(){
		$(".footerPopUp").hide();
		$("#facebookPopUp").show().find(".close").click(function(){
			$("#facebookPopUp").hide();
		});
		//only load iFrame if it doesn't exist.
		if ($("iframe#fbStream").length == 0) {
			callIframe();
		}
	});
});
