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"> i sammandrag</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>\
                            (Läs Vidare)\
                          </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">Uppgradera för att visa foton:</div></xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_photos" onmouseover="self.show_info=true;">\
                            <span class="fwb pr3">Foton:</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>\
                                  (Läs Vidare)\
                                </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">Verifierat foto</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">Uppgradera för att visa videor:</div>\
                        </xsl:when>\
                        <xsl:otherwise>\
                          <div class="clear ibox_videos">\
                            <span class="fwb pr3 pt3">\
                              Videor:</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>\
                                  (Läs Vidare)\
                                </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">Ålder/Kön:</div>\
                      <div class="left">\
                        <xsl:value-of select="data/features/age"/>\
                        <xsl:choose>\
                          <xsl:when test="data/gender = 1"><![CDATA[/Man]]></xsl:when>\
                          <xsl:when test="data/gender = 2"><![CDATA[/Kvinna]]></xsl:when>\
                          <xsl:when test="data/gender = 3"><![CDATA[/Couple]]></xsl:when>\
                          <xsl:when test="data/gender = 4"><![CDATA[/Grupp (män och/eller kvinnor)]]></xsl:when>\
                          <xsl:when test="data/gender = 5"><![CDATA[/Par (2 kvinnor)]]></xsl:when>\
                          <xsl:when test="data/gender = 6"><![CDATA[/Par (2 män)]]></xsl:when>\
                          <xsl:when test="data/gender = 7"><![CDATA[/TS/TV/TG]]></xsl:when>\
                          <xsl:otherwise><![CDATA[/Föredrar att inte säga]]></xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                                        <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Orientering:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/orientation = 1">Heterosexuell</xsl:when>\
                          <xsl:when test="data/orientation = 2">Bisexuell</xsl:when>\
                          <xsl:when test="data/orientation = 3">Bi-nyfiken</xsl:when>\
                          <xsl:when test="data/orientation = 4">Bög/Lesbisk</xsl:when>\
                          <xsl:when test="data/orientation = 17">Heterosexuell</xsl:when>\
                          <xsl:when test="data/orientation = 18">Bisexuell</xsl:when>\
                          <xsl:when test="data/orientation = 19">Bi-nyfiken</xsl:when>\
                          <xsl:when test="data/orientation = 20">Bög/Lesbisk</xsl:when>\
                          <xsl:otherwise>Föredrar att inte säga</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                                        <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Status:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/status = 1">Singel</xsl:when>\
                          <xsl:when test="data/status = 2">Gift</xsl:when>\
                          <xsl:when test="data/status = 3">Skild</xsl:when>\
                          <xsl:when test="data/status = 4">Separerad</xsl:when>\
                          <xsl:when test="data/status = 5">Bifogat</xsl:when>\
                          <xsl:when test="data/status = 6">Änka</xsl:when>\
                          <xsl:otherwise>Föredrar att inte säga</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Ögonfärg: </div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/eyecolor = 1">Svarta ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 2">Bruna ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 3">Blå ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 4">Hasselnöts-bruna ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 5">Gröna ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 6">Grå ögon</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 7">Andra ögon färger</xsl:when>\
                          <xsl:when test="data/features/eyecolor = 8">Inkonsekvent/Varierande ögon färg</xsl:when>\
                          <xsl:otherwise>Föredrar att inte säga</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info_alt clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Hårfärg:</div>\
                      <div class="left">\
                        <xsl:choose>\
                          <xsl:when test="data/features/haircolor = 1">Svart hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 2">Brunt hårBlont hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 3">Blont hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 4">Rött hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 5">Vitt Hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 6">Grått hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 7">Hår? Vilket hår?p</xsl:when>\
                          <xsl:when test="data/features/haircolor = 8">Platinablont hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 9">Gråsprängt hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 10">Silverfärgat hår</xsl:when>\
                          <xsl:when test="data/features/haircolor = 11">Annan hårfärg</xsl:when>\
                          <xsl:otherwise>Föredrar att inte säga</xsl:otherwise>\
                        </xsl:choose>\
                      </div>\
                    </div>\
                    <div class="i_box_user_info clear" onmouseover="self.show_info=true;">\
                      <div class="i_box_cat">Talar:</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">Bor i:</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> amerikanska mil ifrån dig</xsl:otherwise></xsl:choose>)</div>\
                    </div>\
                    <div class="fwb mt10 ml5 clear" onmouseover="self.show_info=true;">\
                      <div class="fwb">Söker:</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">Online Nu</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>\
                          Läsa Min Blogg\
                        </a>\
                        <br />\
                      </xsl:if>\
                      <xsl:if test="count(data/groups/group) &gt; 0">\
                        <div class="fwb mt10 clear">\
                          <div class="fwb">Mina grupper</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">Uppgradera Nu</div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- Se om du är hans idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 2">- Se om du är hennes idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 3">- Se om du är deras idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 4">- Se om du är deras idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 5">- Se om du är deras idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 6">- Se om du är deras idealiska matchning!</xsl:when>\
                                  <xsl:when test="data/gender = 7">- Se om du är deras idealiska matchning!</xsl:when>\
                                  <xsl:otherwise>- Se om du är deras idealiska matchning!</xsl:otherwise>\
                                </xsl:choose>\
                              </div>\
                              <div><xsl:if test="count(data/photos/photo) &gt; 0"> - Se medlemsfoton</xsl:if></div>\
                              <div>\
                                <xsl:if test="count(data/videos/video) &gt; 0">\
                                  - Se medlemmars videon\
                                </xsl:if>\
                              </div>\
                              <div>\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">- Läs hans profil.</xsl:when>\
                                  <xsl:when test="data/gender = 2">- Läs hennes profil.</xsl:when>\
                                  <xsl:when test="data/gender = 3">- Läs deras profil.</xsl:when>\
                                  <xsl:when test="data/gender = 4">- Läs deras profil.</xsl:when>\
                                  <xsl:when test="data/gender = 5">- Läs deras profil.</xsl:when>\
                                  <xsl:when test="data/gender = 6">- Läs deras profil.</xsl:when>\
                                  <xsl:when test="data/gender = 7">- Läs deras profil.</xsl:when>\
                                  <xsl:otherwise>- Läs deras profil.</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">Uppgradera för att kontakta\
                                <xsl:choose>\
                                  <xsl:when test="data/gender = 1">Han/Hans</xsl:when>\
                                  <xsl:when test="data/gender = 2">Hon/Hennes</xsl:when>\
                                  <xsl:when test="data/gender = 3">Them</xsl:when>\
                                  <xsl:when test="data/gender = 4">Them</xsl:when>\
                                  <xsl:when test="data/gender = 5">Them</xsl:when>\
                                  <xsl:when test="data/gender = 6">Them</xsl:when>\
                                  <xsl:when test="data/gender = 7">Them</xsl:when>\
                                  <xsl:otherwise>Them</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>\
                              E-post\
                            </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>\
                              Bjud in\
                            </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">Flörtade!</xsl:when>\
				      <xsl:otherwise>flörta</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="\'Kram\'"/>\
                                    <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="\'Kyss\'"/>\
                                    <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="\'Leende\'"/>\
                                    <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="\'Smiska\'"/>\
                                    <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="\'Våg\'"/>\
                                    <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="\'Blink\'"/>\
                                    <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">Hetlista</span>\
                                </a>\
                              </xsl:when>\
                              <xsl:otherwise><span class="i_box_sprite hotlist_int" style="font-size:11px;">Hetlistade</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">Laddar.....</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>')
