<mef:set title="{member.DisplayName}" capsules="recent_members" disable_linkbar="true" />

<mef:tabs array="{tabs}" />

<div style="margin: 1em;">
<mef:if expr="city">
        <script type="text/javascript">
        <![CDATA[
		var map = null;
        	function makeMap()
		{
			if (map) return;
                        if (GBrowserIsCompatible()) {
                               	map = new GMap2(document.getElementById("map"));
				map.addControl(new GSmallZoomControl());

                                var point = new GLatLng(document.getElementById("lat").innerHTML, document.getElementById("long").innerHTML);
                                map.setCenter(point, 3);
                                map.addOverlay(new GMarker(point));
                      }
                };

		document.observe("dom:loaded", makeMap);
        ]]>
    </script>
    <script mef:if="XML_CONTENT" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAApTLZXJlQB1waRm7pIvCJfxR7lq_dDlJ16QNxWHbfo-9oSoa_oRTF8BcKx9Y_U8obhGJNe_y_XPVxkQ&async=2&callback=makeMap" type="text/javascript"></script>
    <script mef:if="!XML_CONTENT" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAApTLZXJlQB1waRm7pIvCJfxR7lq_dDlJ16QNxWHbfo-9oSoa_oRTF8BcKx9Y_U8obhGJNe_y_XPVxkQ" type="text/javascript"></script>


        <div id="map" style="height: 200px; width: 200px; border: solid #ccc 1px; float: right; margin: 0 0 1em 1em; overflow: hidden;"></div>
        <span id="lat" class="json">{city.latitude}</span><span id="long" class="json">{city.longitude}</span>
</mef:if>


<img src="{member.Picture}" alt="{member.DisplayName}" width="80" height="80" border="{member.PictureBorder}" hspace="10" vspace="3" align="left" />

Member since: {member.DateRegistered|localtime}<br /><br />
	
<mef:if expr="member.country">From: <mef:if expr="member.City">{member.City}, </mef:if>{member.country}<br /><br /></mef:if>

<mef:if expr="(member.PMOptions = 'REGISTERED' && user_id) || member.PMOptions = 'ANY'">	
<mef:if expr="user_id">Contact: <a href="/pm/compose/{member.pkMember}">Private Message</a><br /><br /></mef:if>
</mef:if>
	 
<mef:if expr="member.ForumPostCount > 0 && member.WebSite">Website: <a href="{member.WebSite}" ref="nofollow">{member.WebSite}</a><br /><br /></mef:if>
<mef:if expr="member.AutoBiography">“{member.AutoBiography|br}”<br /><br /></mef:if>


</div>