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"> a primera vista</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>\
                            (Ver más)\
                          </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">Asciende para ver fotos:</div></xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_photos" onmouseover="self.show_info=true;">\
                            <span class="fwb pr3">Fotos:</span>\
                            <xsl:value-of select="count(data/photos/photo)"/> Total\
                            <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>\
                                  (Ver más)\
                                </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; 20) "><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">Foto verificada</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">Asciende para ver videos:</div>\
                        </xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_videos">\
                            <span class="fwb pr3 pt3">\
                              Videos:</span><xsl:value-of select="count(data/videos/video)"/> Total<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>\
                                  (Ver más)\
                                </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; 20)"><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">Edad/Sexo:</div>\
                      <div class="left">\
                        <xsl:value-of select="data/features/age"/>\
                        <xsl:choose>\
                          <xsl:when test="data/gender = 1"><![CDATA[/Hombre]]></xsl:when>\
                          <xsl:when test="data/gender = 2"><![CDATA[/Mujer]]></xsl:when>\
                          <xsl:when test="data/gender = 3"><![CDATA[/Couple]]></xsl:when>\
                          <xsl:when test="data/gender = 4"><![CDATA[/  Grupo (hombres y/o mujeres)\
]]></xsl:when>\
                          <xsl:when test="data/gender = 5"><![CDATA[/Pareja (2 mujeres)\
]]></xsl:when>\
                          <xsl:when test="data/gender = 6"><![CDATA[/Pareja (2 hombres)]]></xsl:when>\
                          <xsl:when test="data/gender = 7"><![CDATA[/Travestis/Transexuales]]></xsl:when>\
                          <xsl:otherwise><![CDATA[/Prefiero no especificar]]></xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                                        <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Orientación:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/orientation = 1">Heterosexual</xsl:when>\
                          <xsl:when test="data/orientation = 2">Bisexual</xsl:when>\
                          <xsl:when test="data/orientation = 3">Bi-curioso</xsl:when>\
                          <xsl:when test="data/orientation = 4">Gay/Lesbianas</xsl:when>\
                          <xsl:when test="data/orientation = 17">Heterosexual</xsl:when>\
                          <xsl:when test="data/orientation = 18">Bisexual</xsl:when>\
                          <xsl:when test="data/orientation = 19">Bi-curioso</xsl:when>\
                          <xsl:when test="data/orientation = 20">Gay/Lesbianas</xsl:when>\
                          <xsl:otherwise>Prefiero no especificar</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                                        <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Estado:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/status = 1">Soltero(a)</xsl:when>\
                          <xsl:when test="data/status = 2">Casado(a)</xsl:when>\
                          <xsl:when test="data/status = 3">Divorciado(a)</xsl:when>\
                          <xsl:when test="data/status = 4">Separado</xsl:when>\
                          <xsl:when test="data/status = 5">Arrimado</xsl:when>\
                          <xsl:when test="data/status = 6">Viuda</xsl:when>\
                          <xsl:otherwise>Prefiero no especificar</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Color de Ojos: </div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/eyecolor = 1">Ojos negros</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 2">Ojos Marrones</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 3">Ojos azules</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 4">Ojos pardos</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 5">Ojos verdes</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 6">Ojos grises</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 7">Otro color de ojos</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 8">Inconsistente/Color de ojos variable</xsl:when>\
                          <xsl:otherwise>Prefiero no especificar</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Color de Pelo:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/haircolor = 1">de pelo negro</xsl:when>\
                          <xsl:when test="data/features/haircolor = 2">Pelo CastañoPelo Rubio</xsl:when>\
                          <xsl:when test="data/features/haircolor = 3">Pelo Rubio</xsl:when>\
                          <xsl:when test="data/features/haircolor = 4">Pelo Rojo</xsl:when>\
                          <xsl:when test="data/features/haircolor = 5">Pelo Blanco</xsl:when>\
                          <xsl:when test="data/features/haircolor = 6">Pelo Gris</xsl:when>\
                          <xsl:when test="data/features/haircolor = 7">¿Pelo? ¿Cuál pelo?p</xsl:when>\
                          <xsl:when test="data/features/haircolor = 8">Pelo Rubio Platino</xsl:when>\
                          <xsl:when test="data/features/haircolor = 9">Pelo Cano</xsl:when>\
                          <xsl:when test="data/features/haircolor = 10">Pelo Plateado</xsl:when>\
                          <xsl:when test="data/features/haircolor = 11">Otro Color de Pelo</xsl:when>\
                          <xsl:otherwise>Prefiero no especificar</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Habla:</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">Vives en:</div>\
                      <div class="left" style="width:150px;"><xsl:value-of select="data/location"/> (<xsl:value-of select="data/distance"/><xsl:choose><xsl:when test="data/unit = \'k\'"> kilometers from you</xsl:when><xsl:otherwise> millas de ti</xsl:otherwise></xsl:choose>)</div>\
                    </div>\
                    <div class="fwb mt10 ml5 clear" onmouseover="self.show_info=true;">\
                      <div class="fwb">Buscando:</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">En línea ahora</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>\
                          Leer Mi Blog\
                        </a>\
                        <br />\
                      </xsl:if>\
                      <xsl:if test="count(data/groups/group) &gt; 0">\
                        <div class="fwb mt10 clear">\
                          <div class="fwb">Mis Grupos</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">Asciende Ahora</div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 2">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 3">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 4">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 5">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 6">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:when test="data/gender = 7">- ¡Mira si eres su preferencia ideal!</xsl:when>\
                                  <xsl:otherwise>- ¡Mira si eres su preferencia ideal!</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                              <div><xsl:if test="count(data/photos/photo) &gt; 0"> - Ver fotos de usuarios</xsl:if></div>\
                              <div>\
                                <xsl:if test="count(data/videos/video) &gt; 0">\
                                  - Ver videos de usuarios\
                                </xsl:if>\
                              </div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 2">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 3">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 4">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 5">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 6">- Lee su perfil.</xsl:when>\
                                  <xsl:when test="data/gender = 7">- Lee su perfil.</xsl:when>\
                                  <xsl:otherwise>- Lee su perfil.</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">Asciende para contactar\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">Él</xsl:when>\
                                  <xsl:when test="data/gender = 2">Ella</xsl:when>\
                                  <xsl:when test="data/gender = 3">Ellos/Ellas</xsl:when>\
                                  <xsl:when test="data/gender = 4">Ellos/Ellas</xsl:when>\
                                  <xsl:when test="data/gender = 5">Ellos/Ellas</xsl:when>\
                                  <xsl:when test="data/gender = 6">Ellos/Ellas</xsl:when>\
                                  <xsl:when test="data/gender = 7">Ellos/Ellas</xsl:when>\
                                  <xsl:otherwise>Ellos/Ellas</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                            </a>\
                          </xsl:if>\
                        </div>\
                      </xsl:when>\
                      <xsl:otherwise>\
                        <div class="mt10" 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>\
                              Email\
                            </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>\
                              Invitar\
                            </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">Flirteado!</xsl:when>\
				      <xsl:otherwise>Flirtear</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="\'Abrazo\'"/>\
                                    <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="\'Beso\'"/>\
                                    <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="\'Sonrisa\'"/>\
                                    <xsl:with-param name="tag_name" select="\'smile\'"/>\
                                  </xsl:call-template>\
                                                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'5\'"/>\
                                    <xsl:with-param name="tag" select="\'Nalgada\'"/>\
                                    <xsl:with-param name="tag_name" select="\'spank\'"/>\
                                  </xsl:call-template>\
                                                                  <xsl:call-template name="flirtlink">\
                                    <xsl:with-param name="type" select="\'2\'"/>\
                                    <xsl:with-param name="tag" select="\'Saludo\'"/>\
                                    <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="\'Guiño\'"/>\
                                    <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">Lista caliente</span>\
                                </a>\
                              </xsl:when>\
                              <xsl:otherwise><span class="i_box_sprite hotlist_int" style="font-size:11px;">Agregado</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">Cargando.....</div>\
                    <div class="clear" style="padding:40px 0px;text-align:center;">\
                      <img src="http://graphics.pop6.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://graphics.pop6.com/images/ffadult/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>')
