self.infoicon = string_to_xml('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\
  <xsl:output method="html"/>\
  <xsl:template match="/response">\
    <div id="memberinfo" onmouseout="hide_info();" onmouseover="self.show_info=true;return false;">\
      <xsl:attribute name="style">left:<xsl:value-of select="@x"/>px;top:<xsl:value-of select="@y"/>px;</xsl:attribute>\
      <xsl:call-template name="pointer"/>\
      <div class="iicon_wrapper" id="i_box" onmouseover="self.show_info=true;">\
        <div class="rc rc_basic">\
          <div class="iicon_header_bg">\
            <div class="iicon_width ofh">\
              <b class="rct"><b class="rc1"/><b class="rc2"/><b class="rc3"/><b class="rc4"/></b>\
              <div class="rcm ibox_top">\
                <h2 style="overflow:visible;">\
                  <div class="left"><xsl:value-of select="data/handle"/> <span class="fwn"> 档案简介</span></div>\
                  <div class="ibox_close" onclick="document.body.removeChild(document.getElementById(\'memberinfo\'));self.current=[];">\
                    <span class="iicon_close">x</span>\
                  </div>                  <div class="clear"/>\
                </h2>\
              </div>\
            </div>\
          </div>\
          <div class="clear"/>\
          <div class="iicon_body_bg"  style="position:relative;z-index:2;" onmouseover="self.show_info=true;">\
            <div class="iicon_width"  onmouseover="self.show_info=true;">\
              <div class="rcm ibox_bottom" onmouseover="self.show_info=true;">\
                <xsl:choose>\
                  <xsl:when test="//pwsid != \'\'">\
                    <div class="bold pb5 pl5 fs12px">\
                      <xsl:value-of select="data/title"/>\
                    </div>\
                    <div class="pl5 ofh">\
                      <xsl:choose>\
                        <xsl:when test="string-length(data/profile) &lt; 125">"<xsl:value-of select="data/profile"/>"</xsl:when>\
                        <xsl:otherwise>\
                          <xsl:value-of select="substring(data/profile,1,125)"/>...\
                          <a>\
                            <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="origin" select="view_more"/></xsl:call-template></xsl:attribute>\
                            (继续浏览其他成功故事)\
                          </a>\
                        </xsl:otherwise>\
                      </xsl:choose>\
                    </div>\
                    <div class="clear"/>\
                    <xsl:if test="count(data/photos/photo) &gt; 0">\
                      <xsl:choose>\
                        <xsl:when test="//@memberlevel &lt;= 100"><div class="clear ibox_photos fwb">升级来观看照片:</div></xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_photos" onmouseover="self.show_info=true;">\
                            <span class="fwb pr3">照片:</span>\
                            <xsl:value-of select="count(data/photos/photo)"/> 总计\
                            <xsl:if test="count(data/photos/photo) &gt; 3">\
                              <span class="pl10 ml5">\
                                <a>\
                                  <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="origin" select="view_more"/></xsl:call-template></xsl:attribute>\
                                  (继续浏览其他成功故事)\
                                </a>\
                              </span>\
                            </xsl:if>\
                          </div>\
                        </xsl:otherwise>\
                      </xsl:choose>\
                    </xsl:if>\
                    <div class="pl5" style="height:1%;">\
                      <xsl:for-each select="data/photos/photo[position() &lt; 4]">\
                        <div class="left ibox_mem_photos">\
                          <a>\
                            <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="origin" select="view_more"/></xsl:call-template></xsl:attribute>\
                            <xsl:choose>\
                              <xsl:when test="(//@filter = 1 and rating &gt; 20) or (//@filter = 2 and rating &gt; 10) "><div class="w85 h85 gender_{//data/gender}"/></xsl:when>\
                              <xsl:otherwise><img src="{url}"/></xsl:otherwise>\
                            </xsl:choose>\
                          </a>\
                        </div>\
                      </xsl:for-each>\
                      <div class="clear"/>\
                    </div>\
                    <xsl:if test="//verified_photo = 3"><div class="clear pl5 online_now">照片已验证过</div></xsl:if>\
                    <xsl:if test="count(data/videos/video) &gt; 0">\
                      <xsl:choose>\
                        <xsl:when test="@memberlevel = 100">\
                          <div class="clear ibox_videos fwb">升级来观看影片:</div>\
                        </xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_videos">\
                            <span class="fwb pr3 pt3">\
                              影片:</span><xsl:value-of select="count(data/videos/video)"/> 总计<span class="pl10 ml5">\
                              <xsl:if test="count(data/videos/video) &gt; 3">\
                                <a>\
                                  <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="origin" select="view_more"/></xsl:call-template></xsl:attribute>\
                                  (继续浏览其他成功故事)\
                                </a>\
                              </xsl:if>\
                            </span>\
                          </div>\
                        </xsl:otherwise>\
                      </xsl:choose>\
                    </xsl:if>\
                    <div class="pl5" style="height:1%;" onmouseover="self.show_info=true;">\
                      <xsl:for-each select="data/videos/video">\
                        <xsl:if test="position() &lt; 4">\
                          <div class="left ibox_mem_videos">\
                            <a>\
                              <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="origin" select="view_more"/></xsl:call-template></xsl:attribute>\
                              <xsl:choose>\
                                <xsl:when test="(//@filter = 1 and rating &gt; 20) or (//@filter = 2 and rating &gt; 10)"><div class="w85 h62 gender_{//data/gender}"/></xsl:when>\
                                <xsl:otherwise><img src="{movie_thumb}" onmouseover="this.src=\'{movie_thumb}\'.replace(/\.gif|\.jpg/,\'_a.gif\')" onmouseout="this.src=\'{movie_thumb}\'"/></xsl:otherwise>\
                              </xsl:choose>\
                            </a>\
                          </div>\
                        </xsl:if>\
                      </xsl:for-each>\
                    </div>\
                    <div class="clear"/>\
                    <div class="clear i_box_user_info_alt" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">年龄/性:</div>\
                      <div class="left">\
                        <xsl:value-of select="data/features/age"/>\
                        <xsl:choose>\
                          <xsl:when test="data/gender = 1"><![CDATA[/男性]]></xsl:when>\
                          <xsl:when test="data/gender = 2"><![CDATA[/女性]]></xsl:when>\
                          <xsl:when test="data/gender = 3"><![CDATA[/Couple]]></xsl:when>\
                          <xsl:when test="data/gender = 4"><![CDATA[/  团体 (男性及/或女性)\
]]></xsl:when>\
                          <xsl:when test="data/gender = 5"><![CDATA[/伴侣 (2 女性)]]></xsl:when>\
                          <xsl:when test="data/gender = 6"><![CDATA[/伴侣 (2 男性)]]></xsl:when>\
                          <xsl:when test="data/gender = 7"><![CDATA[/变性人/变装癖/易性癖]]></xsl:when>\
                          <xsl:otherwise><![CDATA[/不想说]]></xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                                        <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">状态:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/status = 1">单身</xsl:when>\
                          <xsl:when test="data/status = 2">已婚</xsl:when>\
                          <xsl:when test="data/status = 3">离婚</xsl:when>\
                          <xsl:when test="data/status = 4">分居</xsl:when>\
                          <xsl:when test="data/status = 5">非单身</xsl:when>\
                          <xsl:when test="data/status = 6">丧偶的</xsl:when>\
                          <xsl:otherwise>不想说</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">眼睛颜色: </div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/eyecolor = 1">黑色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 2">棕色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 3">蓝色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 4">淡褐色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 5">绿色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 6">灰色眼睛</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 7">其他眼睛颜色</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 8">不一致的/可变的眼睛颜色</xsl:when>\
                          <xsl:otherwise>不想说</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">发色:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/haircolor = 1">黑发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 2">棕色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 3">金色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 4">红色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 5">白色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 6">灰色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 7">毛发?  什么毛发?p</xsl:when>\
                          <xsl:when test="data/features/haircolor = 8">淡金黄色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 9">黑白相间的头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 10">银色头发</xsl:when>\
                          <xsl:when test="data/features/haircolor = 11">其它发色</xsl:when>\
                          <xsl:otherwise>不想说</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">说:</div>\
                      <div class="left" style="width:150px;"><xsl:value-of select="data/features/langspoken"/></div>\
                    </div>\
                    <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">住在:</div>\
                      <div class="left" style="width:150px;"><xsl:value-of select="data/location"/> (<xsl:value-of select="data/distance"/> 公里(与您之间的距离))</div>\
                    </div>\
                    <div class="fwb mt10 ml5 clear" onmouseover="self.show_info=true;">\
                      <div class="fwb">寻找:</div>\
                      <div class="fwn"><xsl:value-of select="data/features/lookingfor"/></div>\
                    </div>\
                    <xsl:if test="//online_now = 1">\
                      <div class="fwb mt10 ml5 clear">\
                        <div class="fwb">正在在线</div>\
                      </div>\
                    </xsl:if>\
                    <div class="clear"/>\
                    <xsl:variable name="quote">"</xsl:variable>\
                    <div class="left mt5 ml5" onmouseover="self.show_info=true;">\
                      <xsl:if test="data/blog/blog_id != \'\'">\
                        <a>\
                          <xsl:attribute name="href"><xsl:value-of select="substring-before(substring-after(//blog_id,$quote),$quote)"/></xsl:attribute>\
                          阅读我的部落格\
                        </a>\
                        <br />\
                      </xsl:if>\
                      <xsl:if test="count(data/groups/group) &gt; 0">\
                        <div class="fwb mt10 clear">\
                          <div class="fwb">我的团体</div>\
                        </div>\
                      </xsl:if>\
                      <xsl:for-each select="data/groups/group[position() &lt; 6]">\
                        <a>\
                          <xsl:attribute name="href"><xsl:value-of select="substring-before(substring-after(group_name,$quote),$quote)"/></xsl:attribute>\
                          <xsl:value-of select="substring-before(substring-after(group_name,\'&gt;\'),\'&lt;/a\')"/>\
                        </a>\
                        <br />\
                      </xsl:for-each>\
                      <xsl:if test="count(data/groups/group) &gt; 5">(+<xsl:value-of select="count(data/groups/group) - 5"/> more)</xsl:if>\
                      <div class="clear"/>\
                    </div>\
                    <div class="clear"/>\
                    <xsl:choose>\
                      <xsl:when test="//@memberlevel = 100">\
                        <div class="i_box_upgrade_now_wrapper" onmouseover="self.show_info=true;">\
                          <div class="rc rc_clear">\
                            <b class="rct"><b class="rc1"/><b class="rc2"/><b class="rc3"/><b class="rc4"/></b>\
                            <div class="rcm i_box_upgrade_now">\
                              <div class="i_box_upgrade_title">现在升级</div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- 看看您是否为他的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 2">- 看看您是否为她的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 3">- 看看您是否为他们的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 4">- 看看您是否为他们的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 5">- 看看您是否为他们的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 6">- 看看您是否为他们的理想对象！</xsl:when>\
                                  <xsl:when test="data/gender = 7">- 看看您是否为他们的理想对象！</xsl:when>\
                                  <xsl:otherwise>- 看看您是否为他们的理想对象！</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                              <div><xsl:if test="count(data/photos/photo) &gt; 0"> - 观看会员照片</xsl:if></div>\
                              <div>\
                                <xsl:if test="count(data/videos/video) &gt; 0">\
                                  - 浏览会员影音介绍\
                                </xsl:if>\
                              </div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- 阅读他的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 2">- 阅读她的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 3">- 阅读他们的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 4">- 阅读他们的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 5">- 阅读他们的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 6">- 阅读他们的档案.</xsl:when>\
                                  <xsl:when test="data/gender = 7">- 阅读他们的档案.</xsl:when>\
                                  <xsl:otherwise>- 阅读他们的档案.</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                            </div>\
                            <b class="rcb"><b class="rc4"/><b class="rc3"/><b class="rc2"/><b class="rc1"/></b>\
                          </div>\
                        </div>\
                        <div style="padding:0px 5px;z-index:3;">\
                          <xsl:if test="@memberlevel &lt;= 100">\
                            <a class="tdn">\
                              <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="to" select="\'upgrade\'"/></xsl:call-template></xsl:attribute>\
                              <div class="std_upgrade_btn">升级来联系\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">他</xsl:when>\
                                  <xsl:when test="data/gender = 2">她</xsl:when>\
                                  <xsl:when test="data/gender = 3">他们</xsl:when>\
                                  <xsl:when test="data/gender = 4">他们</xsl:when>\
                                  <xsl:when test="data/gender = 5">他们</xsl:when>\
                                  <xsl:when test="data/gender = 6">他们</xsl:when>\
                                  <xsl:when test="data/gender = 7">他们</xsl:when>\
                                  <xsl:otherwise>他们</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                            </a>\
                          </xsl:if>\
                        </div>\
                      </xsl:when>\
                      <xsl:otherwise>\
                        <div class="mt10 ml10" onmouseover="self.show_info=true;">\
                          <div class="activitybutton left mr5">\
                            <a class="i_box_sprite left email_int fs11px">\
                              <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="to" select="\'upgrade\'"/></xsl:call-template></xsl:attribute>\
                              电邮信箱\
                            </a>\
                          </div>\
                          <div class="activitybutton left mr5">\
                            <a class="i_box_sprite left invite_int fs11px">\
                              <xsl:attribute name="href"><xsl:call-template name="link"><xsl:with-param name="to" select="\'upgrade\'"/></xsl:call-template></xsl:attribute>\
                              邀请\
                            </a>\
                          </div>\
                          <div class="activitybutton left">\
                            <div class="iicon_dropdown" style="position:relative;">\
                              <div class="iicon_suspended" onmouseover="this.className = \'iicon_expanded\'" onmouseout="this.className = \'iicon_suspended\'">\
                               <div class="iicon_active i_box_sprite flirt_int">\
				  <a href="javascript://">\
				    <xsl:choose>\
				      <xsl:when test="//flirted = 1">已调情!</xsl:when>\
				      <xsl:otherwise>调情</xsl:otherwise>\
				    </xsl:choose>\
				  </a>\
				</div>\
				<div style="z-index:10 !important; padding:0px; position:relative;"  id="flirt_popup">\
                                  <a style="height:5px;overflow:hidden;display:block;"></a>\
                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'4\'"/>\
                                    <xsl:with-param name="tag" select="\'拥抱\'"/>\
                                    <xsl:with-param name="tag_name" select="\'hug\'"/>\
                                  </xsl:call-template>\
                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'1\'"/>\
                                    <xsl:with-param name="tag" select="\'亲吻\'"/>\
                                    <xsl:with-param name="tag_name" select="\'kiss\'"/>\
                                  </xsl:call-template>\
                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'3\'"/>\
                                    <xsl:with-param name="tag" select="\'微笑\'"/>\
                                    <xsl:with-param name="tag_name" select="\'smile\'"/>\
                                  </xsl:call-template>\
                                                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'2\'"/>\
                                    <xsl:with-param name="tag" select="\'挥手\'"/>\
                                    <xsl:with-param name="tag_name" select="\'wave\'"/>\
                                  </xsl:call-template>\
                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'0\'"/>\
                                    <xsl:with-param name="tag" select="\'秋波\'"/>\
                                    <xsl:with-param name="tag_name" select="\'wink\'"/>\
                                  </xsl:call-template>\
                                </div>\
                              </div>\
                            </div>\
                          </div>\
                          <div class="activitybutton left">\
                            <xsl:choose>\
                              <xsl:when test="data/is_hotlisted != 1">\
                                <a pwsid="{data/pwsid}" class="i_box_sprite left hotlist_int fs11px">\
                                  <xsl:attribute name="href">\
                                    <xsl:call-template name="link">\
                                      <xsl:with-param name="to" select="\'hotlist\'"/>\
                                    </xsl:call-template>\
                                  </xsl:attribute>\
                                  <xsl:if test="//@memberlevel &gt;= 100">\
                                    <xsl:attribute name="onclick"><![CDATA[ajax.send(this.href+\';ajax=1;use_ajax=1;\',function() {members[\']]><xsl:value-of select="data/pwsid"/><![CDATA[\'].getElementsByTagName(\'is_hotlisted\')[0].firstChild.nodeValue = 1; self.current = []; current[0] = \']]><xsl:value-of select="data/pwsid"/><![CDATA[\' ; delayed_render(\']]><xsl:value-of select="data/pwsid"/><![CDATA[\') });return false;]]></xsl:attribute>\
                                  </xsl:if>\
                                  <span class="hotlistlink">最爱清单</span>\
                                </a>\
                              </xsl:when>\
                              <xsl:otherwise><span class="i_box_sprite hotlist_int" style="font-size:11px;">已加至最爱清单中</span></xsl:otherwise>\
                            </xsl:choose>\
                          </div>\
                          <div class="clear" style="overflow:hidden;height:1px;"/>\
                        </div>\
                      </xsl:otherwise>\
                    </xsl:choose>\
                  </xsl:when>\
                  <xsl:otherwise>\
                    <div class="left fwb p5">载入中.....</div>\
                    <div class="clear" style="padding:40px 0px;text-align:center;">\
                      <img src="http://graphics2.chinesefriendfinders.com/images/getiton/common/anim_preloader2.gif" style="margin:auto;"/>\
                    </div>\
                  </xsl:otherwise>\
                </xsl:choose>\
      	      </div>\
      	    </div>\
      	  </div>\
      	  <div style="position:relative;z-index:1;overflow:hidden;" class="clear iicon_bottom_bg ofh"><div style="overflow:hidden;" class="iicon_width ofh"><b class="rcb"><b class="rc4"/><b class="rc3"/><b class="rc2"/><b class="rc1"/></b></div></div>\
        </div>\
      </div>\
    </div>\
  </xsl:template>\
  <xsl:template name="pointer"><div class="pointer_left"><img src="http://graphics2.chinesefriendfinders.com/images/ffz/spacer.gif" class="iicon_arrow" width="33px" height="42px" border="0" /></div></xsl:template>\
  <xsl:template name="link">\
    <xsl:param name="origin"/>\
    <xsl:param name="to"/>\
    <xsl:choose>\
      <xsl:when test="//@memberlevel &lt; 100 or //@memberlevel = \'\'"><xsl:value-of select="//@registerurl"/></xsl:when>\
      <xsl:when test="$to = \'hotlist\'"><xsl:value-of select="//@hotlisturl"/>;addid=<xsl:value-of select="//pwsid"/></xsl:when>\
      <xsl:when test="//@memberlevel &gt; 1"><xsl:value-of select="//@profileurl"/>;mid=<xsl:value-of select="//pwsid"/></xsl:when>\
      <xsl:otherwise><xsl:value-of select="//@registerurl"/>;mid=<xsl:value-of select="//pwsid"/></xsl:otherwise>\
    </xsl:choose>\
  </xsl:template>\
  <xsl:template name="flirtlink">\
    <xsl:param name="type"/>\
    <xsl:param name="tag"/>\
    <xsl:param name="tag_name"/>\
    <xsl:choose>\
      <xsl:when test="//@memberlevel &lt; 100 or //@memberlevel = \'\'">\
        <a href="{//@registerurl}" class="flirt i_box_{$tag_name}"><xsl:value-of select="$tag"/></a>\
      </xsl:when>\
      <xsl:otherwise>\
        <a href="javascript://" onclick="FlirtManager.doFlirt({$type},\'flirt\',\'{//data/pwsid}\',\'{//data/handle}\',\'{//data/level}\');hide_info();return false;" class="flirt i_box_{$tag_name}"><xsl:value-of select="$tag"/></a>\
      </xsl:otherwise>\
    </xsl:choose>\
  </xsl:template>\
</xsl:stylesheet>')
