Annotation of parser3/src/www/htdocs/templates/_document.xslt, revision 1.2

1.1       paf         1: <?xml version="1.0" encoding="windows-1251" ?>
                      2: 
                      3: <!DOCTYPE xsl:stylesheet SYSTEM "symbols.ent">
                      4: 
                      5: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                      6: 
                      7:     <xsl:output method="xml" omit-xml-declaration="no" indent="no" />
                      8:     <!--xsl:output method="xml" omit-xml-declaration="no" encoding="windows-1251" indent="no" /-->
                      9: 
                     10:     <xsl:template match="document">
1.2     ! paf        11:         <document><xsl:apply-templates select="block | map | h1 | h2 | h3 | form | img | table | roaming-city-operators | tariffs-short | tariffs-long | phone | form-sendsms | script"/></document>
1.1       paf        12:     </xsl:template>
                     13:     
                     14:     <xsl:template match="script">
                     15:         <script><xsl:comment>
                     16:             <xsl:value-of select="." />
                     17:         //</xsl:comment>
                     18:         </script>
                     19:     </xsl:template>
                     20:     
                     21:     <xsl:template match="block[attribute::type='comment']">
                     22:         <span style="font-size:smaller">
                     23:             <p style="margin-bottom:0"><b>Примечание</b></p>
                     24:             <xsl:apply-templates select="p | ul | ol"/>
                     25:         </span>
                     26:     </xsl:template>
                     27:     
                     28:     <xsl:template match="block[attribute::type='attention']">
                     29:         <span style="font-size:smaller">
                     30:             <p style="margin-bottom:0"><b>Внимание!</b></p>
                     31:             <xsl:apply-templates select="p | ul | ol "/>
                     32:         </span>
                     33:     </xsl:template>
                     34:     
                     35:     <xsl:template match="span[attribute::type='comment']">
                     36:         <span style="font-size:smaller">
                     37:             <b>Примечание:</b> <xsl:apply-templates select="text()"/>
                     38:         </span>
                     39:     </xsl:template>
                     40:     
                     41:     <xsl:template match="block[attribute::type='comment']/p | block[attribute::type='comment']/ul | block[attribute::type='comment']/ol | block[attribute::type='attention']/p | block[attribute::type='attention']/ul | block[attribute::type='attention']/ol">
                     42:         <xsl:element name="{name()}" namespace="">
                     43:             <xsl:if test="position()=1"><xsl:attribute name="style">margin-top:0</xsl:attribute></xsl:if>
                     44:             <xsl:apply-templates />
                     45:         </xsl:element>
                     46:         <xsl:apply-templates select="p | ul | ol "/>
                     47:     </xsl:template>
                     48:     
                     49:     <xsl:template match="block">
                     50:         <xsl:apply-templates select="p | img | ul | ol"/>
                     51:     </xsl:template>
                     52:     
                     53:     <xsl:template match="sup">
                     54:         <sup><nobr><font color="#ff0000" size="-1"><xsl:apply-templates/></font></nobr></sup>
                     55:     </xsl:template>
                     56: 
                     57:     
                     58:     <xsl:template match="a">
                     59:         <a>
                     60:             <xsl:if test="string-length(@href)!=0"><xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute></xsl:if>
                     61:             <xsl:if test="string-length(@name)!=0"><xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute></xsl:if>
                     62:             <xsl:if test="string-length(@class)!=0"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                     63:             <xsl:apply-templates/>
                     64:         </a>
                     65:     </xsl:template>
                     66:     
                     67:     <xsl:template match="img">
                     68:         <img>
                     69:             <xsl:attribute name="src"><xsl:value-of select="@src"/></xsl:attribute>
                     70:             <xsl:attribute name="alt"><xsl:value-of select="@alt"/></xsl:attribute>
                     71:             <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
                     72:             <xsl:if test="string-length(@width)!=0"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if>
                     73:             <xsl:if test="string-length(@height)!=0"><xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute></xsl:if>
                     74:             <xsl:if test="string-length(@align)!=0"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if>
                     75:             <xsl:if test="string-length(@border)!=0"><xsl:attribute name="border"><xsl:value-of select="@border"/></xsl:attribute></xsl:if>
                     76:             <xsl:if test="string-length(@usemap)!=0"><xsl:attribute name="usemap"><xsl:value-of select="@usemap"/></xsl:attribute></xsl:if>
                     77:             <xsl:if test="string-length(@vspace)!=0"><xsl:attribute name="vspace"><xsl:value-of select="@vspace"/></xsl:attribute></xsl:if>
                     78:             <xsl:if test="string-length(@hspace)!=0"><xsl:attribute name="hspace"><xsl:value-of select="@hspace"/></xsl:attribute></xsl:if>
                     79:         </img>
                     80:     </xsl:template>
                     81:     
                     82:     
                     83:     <xsl:template match="acrobat">
                     84:     <p>Для просмотра материалов Вам потребуется <a href="http://www.adobe.com/products/acrobat/readermain.html">Acrobat Reader</a></p>
                     85:     </xsl:template>
                     86:     
                     87:     
                     88:     <xsl:template match="font">
                     89:         <font size="{@size}" color="{@color}"><xsl:apply-templates/></font>
                     90:     </xsl:template>
                     91:     
                     92:     
                     93:     <xsl:template match="ol | ul">
                     94:         <xsl:element name="{name()}" namespace="">
                     95:             <xsl:if test="string-length(@class)!=0"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                     96:             <xsl:if test="@type"><xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute></xsl:if>
                     97:             <xsl:apply-templates select="li"/>
                     98:         </xsl:element>
                     99:     </xsl:template>
                    100:     
                    101:     
                    102:     <xsl:template match="hicolor">
                    103:         <font color="#ce0029"><b><xsl:apply-templates/></b></font>
                    104:     </xsl:template>
                    105:     
                    106:     
                    107:     <xsl:template match="br">
                    108:        <xsl:choose>
                    109:             <xsl:when test="@clear">
                    110:                 <br clear="{@clear}" />
                    111:             </xsl:when>
                    112:             <xsl:otherwise>
                    113:                 <br />
                    114:             </xsl:otherwise>
                    115:        </xsl:choose>
                    116:     </xsl:template>
                    117:     
                    118:     <xsl:template match="hr">
                    119:         <hr size="1" noshade="noshade"/>
                    120:     </xsl:template>
                    121:     
                    122:     
                    123:     <xsl:template match="li | nobr | center | strike | b | i | p | pre | h1 | h2 | h3">
                    124:         <xsl:element name="{name()}" namespace="">
                    125:             <xsl:if test="string-length(@class)!=0"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                    126:             <xsl:apply-templates select="p | nobr | center | strike | b | i | a | img | br | span | ul | ol | sup | input | textarea | select | text()" />
                    127:         </xsl:element>
                    128:     </xsl:template>
                    129: 
                    130:     
                    131:     <xsl:template match="map">
                    132:         <map name="{@name}">
                    133:             <xsl:for-each select="area"><area alt="{@alt}" href="{@href}" coords="{@coords}" shape="{@shape}" /></xsl:for-each>
                    134:         </map>
                    135:     </xsl:template>
                    136: 
                    137:     <!--===================================================-->
                    138:     <!--== ЭЛЕМЕНТЫ ФоРМЫ =================================-->
                    139:     <!--===================================================-->
                    140:     
                    141:     <xsl:template match="form">
                    142:         <form method="{@method}" action="{@action}" name="{@name}" onsubmit="{@onsubmit}">
                    143:             <xsl:apply-templates select="input | field | select | p | br | text()" />
                    144:         </form>
                    145:     </xsl:template>
                    146: 
                    147:     <xsl:template match="select">
                    148:         <select name="{@name}">
                    149:             <xsl:for-each select="option"><option value="{@value}">
                    150:                 <xsl:if test="@selected='true'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
                    151:                 <xsl:value-of select="."/></option>
                    152:             </xsl:for-each>
                    153:         </select>
                    154:     </xsl:template>
                    155: 
                    156:     <xsl:template match="input">
                    157:         <xsl:choose>
                    158:             <xsl:when test="@type='radio' or @type='checkbox'">
                    159:                 <xsl:if test="@type='radio'">
                    160:                     <input type="{@type}" name="{@name}" value="{@value}" onclick="{@onclick}" id="{@id}">
                    161:                         <xsl:if test="@checked"><xsl:attribute name="checked">true</xsl:attribute></xsl:if>
                    162:                         <label for="{@id}"><xsl:value-of select="." /></label>
                    163:                     </input><br />                    
                    164:                 </xsl:if>
                    165:                 <xsl:if test="@type='checkbox'">
                    166:                     <xsl:if test="@padding='left'">&nbsp;&nbsp;&nbsp;</xsl:if>
                    167:                     <input type="{@type}" name="{@name}" value="{@value}" onclick="{@onclick}" id="{@id}"><label for="{@id}"><xsl:value-of select="." /></label></input><br />
                    168:                 </xsl:if>
                    169:             </xsl:when>
                    170:             <xsl:otherwise>
                    171:                 <input type="{@type}" name="{@name}" value="{@value}" onclick="{@onclick}" class="{@class}" />
                    172:             </xsl:otherwise>
                    173:         </xsl:choose>
                    174:     </xsl:template>
                    175:     
                    176:     <xsl:template match="textarea">
                    177:         <textarea name="{@name}" onclick="{@onclick}" cols="{@cols}" rows="{@rows}" class="{@class}" >
                    178:         </textarea>
                    179:     </xsl:template>
                    180: 
                    181:     <xsl:template match="form/field">
                    182:         <p>
                    183:             <xsl:if test="string-length(@title)">
                    184:                 <font size="-1"><xsl:value-of select="@title" /></font>
                    185:                 <xsl:if test="string-length(@note)">
                    186:                     <font size="-1" color="red"> <xsl:value-of select="@note" /></font>
                    187:                 </xsl:if>
                    188:                 <br />
                    189:             </xsl:if>
                    190:             <xsl:apply-templates select="select | input | textarea | div" />
                    191:             
                    192:         </p>
                    193:     </xsl:template>
                    194: 
                    195:       <xsl:template match="field/div">
                    196:         <div style="{@style}">
                    197:             <xsl:apply-templates select="input" />
                    198:         </div>
                    199:     </xsl:template>
                    200: 
                    201: 
                    202: 
                    203:     <!--===================================================-->
                    204:     <!--== ТАБЛИЦЫ ========================================-->
                    205:     <!--===================================================-->
                    206: 
                    207:     <xsl:template match="table">
                    208:         <table border="0" cellpadding="2" cellspacing="1" width="100%">
                    209:             <xsl:if test="@align"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if>
                    210:             <xsl:if test="@cellspacing"><xsl:attribute name="cellspacing"><xsl:value-of select="@cellspacing"/></xsl:attribute></xsl:if>
                    211:             <xsl:if test="@cellpadding"><xsl:attribute name="cellpadding"><xsl:value-of select="@cellpadding"/></xsl:attribute></xsl:if>
                    212:             <xsl:if test="@width"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if>
                    213:             <xsl:if test="@height"><xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute></xsl:if>
                    214:             <xsl:if test="@background"><xsl:attribute name="background"><xsl:value-of select="@background"/></xsl:attribute></xsl:if>
                    215:             <xsl:if test="string-length(@class)!=0"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                    216:             <xsl:apply-templates select="tr"/>
                    217:         </table>
                    218:     </xsl:template>
                    219:     
                    220:     <xsl:template match="tr">
                    221:         <tr valign="top">
                    222:             <xsl:if test="@class"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                    223:             <xsl:choose>
                    224:                 <xsl:when test="not(position() mod 2)"><xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute></xsl:when>
                    225:                 <xsl:otherwise><xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute></xsl:otherwise>
                    226:             </xsl:choose>
                    227:             <xsl:if test="@background">
                    228:                 <xsl:choose>
                    229:                     <xsl:when test="@background='null'"><xsl:attribute name="background"></xsl:attribute></xsl:when>
                    230:                     <xsl:otherwise><xsl:attribute name="background"><xsl:value-of select="@background"/></xsl:attribute></xsl:otherwise>
                    231:                 </xsl:choose>
                    232:             </xsl:if>
                    233:             <xsl:if test="@bgcolor">
                    234:                 <xsl:choose>
                    235:                     <xsl:when test="@bgcolor='null'"><xsl:attribute name="bgcolor"></xsl:attribute></xsl:when>
                    236:                     <xsl:otherwise><xsl:attribute name="bgcolor"><xsl:value-of select="@bgcolor"/></xsl:attribute></xsl:otherwise>
                    237:                 </xsl:choose>
                    238:             </xsl:if>
                    239:             <xsl:if test="@valign"><xsl:attribute name="valign"><xsl:value-of select="@valign"/></xsl:attribute></xsl:if>
                    240:             <xsl:if test="@align"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if>
                    241:             <xsl:apply-templates select="td"/>
                    242:         </tr>
                    243:     </xsl:template>
                    244: 
                    245:     <xsl:template match="td">
                    246:         <td align="left">
                    247:             <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
                    248:             <xsl:if test="string-length(@style)!=0"><xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute></xsl:if>
                    249:             <xsl:if test="string-length(@class)!=0"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
                    250:             <xsl:if test="@background">
                    251:                 <xsl:choose>
                    252:                     <xsl:when test="@background='null'"><xsl:attribute name="background"></xsl:attribute></xsl:when>
                    253:                     <xsl:otherwise><xsl:attribute name="background"><xsl:value-of select="@background"/></xsl:attribute></xsl:otherwise>
                    254:                 </xsl:choose>
                    255:             </xsl:if>
                    256:             <xsl:if test="@bgcolor">
                    257:                 <xsl:choose>
                    258:                     <xsl:when test="@bgcolor='null'"><xsl:attribute name="bgcolor"></xsl:attribute></xsl:when>
                    259:                     <xsl:otherwise><xsl:attribute name="bgcolor"><xsl:value-of select="@bgcolor"/></xsl:attribute></xsl:otherwise>
                    260:                 </xsl:choose>
                    261:             </xsl:if>
                    262:             <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
                    263:             <xsl:if test="@valign"><xsl:attribute name="valign"><xsl:value-of select="@valign"/></xsl:attribute></xsl:if>
                    264:             <xsl:if test="@align"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if>
                    265:             <xsl:if test="@width"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if>
                    266:             <xsl:if test="@height"><xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute></xsl:if>
                    267:             <xsl:if test="@nowrap"><xsl:attribute name="nowrap"><xsl:value-of select="@nowrap"/></xsl:attribute></xsl:if>
                    268:             <xsl:choose>
                    269:                 <xsl:when test="@header='header'"><xsl:attribute name="bgcolor">#ffffff</xsl:attribute></xsl:when>
                    270:                 <xsl:otherwise></xsl:otherwise>
                    271:             </xsl:choose>
                    272:             <font size="2"><xsl:apply-templates/></font>
                    273:         </td>
                    274:     </xsl:template>
                    275: 
                    276: 
                    277:     <!--===================================================-->
                    278:     <!--== РОУМИНГ ========================================-->
                    279:     <!--===================================================-->
                    280: 
                    281:     <xsl:template match="operator_info">
                    282:         <tr>
                    283:              <td width="16"><font size="-1"><a href="/coverage/i_roaming/operator_file/{@filename}.{@type}"><img src="{@img}"  width="16" height="16" border="0"/></a></font></td>
                    284:              <td><font size="-1"><a href="/coverage/i_roaming/operator_file/{@filename}.{@type}"><xsl:value-of select="@name"/></a> (<xsl:value-of select="@size"/>)</font></td>
                    285:          </tr>
                    286:         <xsl:apply-templates/>    
                    287:     </xsl:template>
                    288: 
                    289:     <xsl:template match="block[attribute::type='notes']">
                    290:         <table border="0" cellpadding="0" cellspacing="0">
                    291:             <xsl:for-each select="item">
                    292:                 <tr valign="top">
                    293:                     <td width="10"><sup><nobr><font color="#ff0000" size="-1"><xsl:value-of select="sup"/></font></nobr></sup></td>
                    294:                     <td><font size="-1"><xsl:apply-templates select="p|ul"/></font></td>
                    295:                 </tr>
                    296:                 <tr>
                    297:                     <td colspan="2"><br/></td>
                    298:                 </tr>
                    299:             </xsl:for-each>
                    300:         </table>
                    301:     </xsl:template>
                    302: 
                    303:     <xsl:template match="roaming-city-operators">
                    304:             
                    305:             <table cellpadding="10" width="100%" border="0" background="">
                    306:                 <tr valign="top">
                    307:                     <td width="24%"><br /></td>
                    308:                     <td width="76%"><xsl:apply-templates select="h1"/></td>
                    309:                 </tr>
                    310:                 <tr valign="top">
                    311:                     <td width="24%"><br /></td>
                    312:                     <td width="76%"><br /><xsl:apply-templates select="form"/></td>
                    313:                 </tr>
                    314:                 <tr valign="top">
                    315:                     <td width="24%"><font color="#2f405a" size="-1"><xsl:apply-templates select="page-quote"/></font></td>
                    316:                     <td width="76%"><xsl:apply-templates select="block/p"/></td>
                    317:                 </tr>
                    318:             </table>
                    319:             <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                    320:              <br/>
                    321:              <table border="0" cellpadding="4" cellspacing="1" width="25%" background="">
                    322:                  <tr>
                    323:                      <td bgcolor="#ffb700" align="center" class="title">ОПЕРАТОРЫ</td>
                    324:                  </tr>
                    325:                  </table><br/>
                    326:                      <table width="100%" border="0" cellspacing="1" cellpadding="2" background="">
                    327:                      <tr valign="top">
                    328:                          <td width="25%"><font size="-1">Компания</font></td>
                    329:                          <td width="25%"><font size="-1">Контактная информация</font></td>
                    330:                          <td width="50%"><font size="-1">Зона обслуживания</font></td>
                    331:                      </tr>
                    332:                      <xsl:for-each select="operator">
                    333:                          <tr valign="top">
                    334:                              <xsl:choose>
                    335:                                  <xsl:when test="position() mod 2">
                    336:                                      <xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute>
                    337:                                  </xsl:when>
                    338:                                  <xsl:otherwise>
                    339:                                      <xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute>
                    340:                                  </xsl:otherwise>
                    341:                              </xsl:choose>
                    342:                              <td width="25%">
                    343:                                  <xsl:choose>
                    344:                                      <xsl:when test="name_coord_oper!=''"><font size="-1">
                    345:                                          Региональный оператор:</font><br/><b><xsl:value-of select="name"/></b><br/><br/><font size="-1">
                    346:                                          Координирующий оператор:<br/><b><xsl:value-of select="name_coord_oper"/></b><br/><br/></font>
                    347:                                      </xsl:when>
                    348:                                      <xsl:otherwise>
                    349:                                          <b><xsl:value-of select="name"/></b><br/><br/>
                    350:                                      </xsl:otherwise>
                    351:                                  </xsl:choose>
                    352:                                 <font size="-1">
                    353:                                 Диапазон:<br/><b>GSM-<xsl:value-of select="range"/></b><xsl:apply-templates select="range_footnote"/><br/><br/>
                    354:                                 Название сети:<br/><b><xsl:value-of select="netname"/></b><br/><br/>
                    355:                                  Мобильный код сети:<br/><b><xsl:value-of select="netcode"/></b>
                    356:                                  </font>
                    357:                              </td>
                    358:                              <td width="25%">
                    359:                                  <font size="-1">
                    360:                                  <xsl:if test="address!=''">
                    361:                                      <xsl:apply-templates select="address"/><br/><br/>
                    362:                                  </xsl:if>
                    363:                                  <xsl:if test="hours!=''">
                    364:                                      Время работы:<br/><xsl:value-of select="hours"/><br/><br/>
                    365:                                  </xsl:if>
                    366:                                  <xsl:if test="phones!=''">
                    367:                                      Телефоны:<br/><xsl:apply-templates select="phones"/><br/><br/>
                    368:                                  </xsl:if>
                    369:                                  <xsl:if test="telefax!=''">
                    370:                                      Телефакс:<br/><xsl:value-of select="telefax"/><br/><br/>
                    371:                                  </xsl:if>
                    372:                                  <xsl:if test="email!=''">
                    373:                                      <nobr>E-mail</nobr>:<br/><a href="mailto:{email}"><xsl:value-of select="email"/></a><br/><br/>
                    374:                                  </xsl:if>
                    375:                                  <xsl:if test="www!=''">
                    376:                                      Адрес в&#160;Интернете:<br/><a href="http://{www}{wwwslash}"><xsl:value-of select="www"/></a><br/>
                    377:                                  </xsl:if>
                    378:                                  <xsl:if test="operator_info[@name!='']">
                    379:                                      <table border="0" cellpadding="2" cellspacing="0">
                    380:                                      <tr>
                    381:                                      <td colspan="2"><font size="-1">Информация:</font></td>
                    382:                                      </tr>
                    383:                                      <xsl:apply-templates select="operator_info"/><br/>
                    384:                                      </table>
                    385:                                  </xsl:if>
                    386:                                  <br/>
                    387:                                 </font>
                    388:                              </td>
                    389:                              <td width="50%">
                    390:                                  <xsl:choose>
                    391:                                      <xsl:when test="azone='siktivkar'">
                    392:                                          <font size="-1"><a href="/coverage/komi/{azone}.html"><xsl:value-of select="zone"/></a></font>
                    393:                                      </xsl:when>
                    394:                                      <xsl:when test="(azone!='') and (azone!='siktivkar')">
                    395:                                          <font size="-1"><a href="/coverage/{azone}/"><xsl:value-of select="zone"/></a></font>
                    396:                                      </xsl:when>
                    397:                                      <xsl:otherwise>
                    398:                                          <font size="-1"><xsl:apply-templates select="zone"/></font>
                    399:                                      </xsl:otherwise>
                    400:                                  </xsl:choose><br/>
                    401:                              </td>
                    402:                          </tr>
                    403:                      </xsl:for-each>
                    404:                      </table><br/>
                    405:                      <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                    406:                      <br/><table border="0" cellpadding="4" cellspacing="1" width="25%" background="">
                    407:                      <tr>
                    408:                          <td bgcolor="#ffb700" align="center" class="title">ВХОДЯЩИЕ / ИСХОДЯЩИЕ ВЫЗОВЫ</td>
                    409:                      </tr>
                    410:                      </table><br/>
                    411:                      <xsl:choose>
                    412:                          <xsl:when test="operator/vt1/value!=''">
                    413:                              <table width="100%" border="0" cellspacing="1" cellpadding="2" background="">
                    414:                              <tr valign="top">
                    415:                                  <td width="25%"><font size="-1"><br/></font></td>
                    416:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt1/title"/></font></td>
                    417:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt2/title"/></font></td>
                    418:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt5/title"/></font></td>
                    419:                              </tr>
                    420:                              <xsl:for-each select="operator">
                    421:                                  <tr valign="top">
                    422:                                      <xsl:choose>
                    423:                                          <xsl:when test="position() mod 2">
                    424:                                              <xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute>
                    425:                                          </xsl:when>
                    426:                                          <xsl:otherwise>
                    427:                                              <xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute>
                    428:                                          </xsl:otherwise>
                    429:                                      </xsl:choose>
                    430:                                      <xsl:choose>
                    431:                                          <xsl:when test="vt2/value='oblast'">
                    432:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    433:                                              <td colspan="3"><font size="-1">Город относится к тарифной зоне &#171;<a href="/coverage/tariff_zone.html">Область</a>&#187;.<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    434:                                          </xsl:when>
                    435:                                          <xsl:when test="vt2/value='ln_roaming'">
                    436:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    437:                                              <td colspan="3"><font size="-1">Город относится к зоне внутрисетевого роуминга (<xsl:value-of select="name"/>).<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/inroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    438:                                          </xsl:when>
                    439:                                                                                  <xsl:when test="vt2/value='l_roaming'">
                    440:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    441:                                              <td colspan="3"><font size="-1">Город относится к зоне льготного национального роуминга. Тарифы смотрите в разделе &#171;<a href="/tariffs/nroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    442:                                          </xsl:when>
                    443:                                          <xsl:otherwise>
                    444:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    445:                                              <td><font size="-1"><xsl:value-of select="vt1/value"/> <xsl:apply-templates select="vt1/footnote"/></font></td>
                    446:                                              <td><font size="-1"><xsl:value-of select="vt2/value"/> <xsl:apply-templates select="vt2/footnote"/></font></td>
                    447:                                              <td><font size="-1"><xsl:value-of select="vt5/value"/> <xsl:apply-templates select="vt5/footnote"/></font></td>
                    448:                                          </xsl:otherwise>
                    449:                                      </xsl:choose>
                    450:                                  </tr>
                    451:                              </xsl:for-each>
                    452: 
                    453:                              <tr valign="top">
                    454:                                  <td width="25%"><font size="-1"><br/></font></td>
                    455:                                 <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/group1/title"/></font></td>
                    456:                                 <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/group2/title"/></font></td>
                    457:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/group3/title"/></font></td>
                    458:                              </tr>
                    459:                              <xsl:for-each select="operator">
                    460:                                  <tr valign="top">
                    461:                                      <xsl:choose>
                    462:                                          <xsl:when test="position() mod 2">
                    463:                                              <xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute>
                    464:                                          </xsl:when>
                    465:                                          <xsl:otherwise>
                    466:                                              <xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute>
                    467:                                          </xsl:otherwise>
                    468:                                      </xsl:choose>
                    469:                                      <xsl:choose>
                    470:                                          <xsl:when test="vt2/value='oblast'">
                    471:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    472:                                              <td colspan="3"><font size="-1">Город относится к тарифной зоне &#171;<a href="/coverage/tariff_zone.html">Область</a>&#187;.<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    473:                                          </xsl:when>
                    474:                                          <xsl:when test="vt2/value='ln_roaming'">
                    475:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    476:                                              <td colspan="3"><font size="-1">Город относится к зоне внутрисетевого роуминга (<xsl:value-of select="name"/>).<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/inroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    477:                                          </xsl:when>
                    478:                                         <xsl:when test="vt2/value='l_roaming'">
                    479:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    480:                                              <td colspan="3"><font size="-1">Город относится к зоне льготного национального роуминга. Тарифы смотрите в разделе &#171;<a href="/tariffs/nroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    481:                                          </xsl:when>
                    482:                                     <xsl:otherwise>
                    483:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    484:                                              <td><font size="-1"><xsl:value-of select="group1/value"/></font></td>
                    485:                                              <td><font size="-1"><xsl:value-of select="group2/value"/></font></td>
                    486:                                             <td><font size="-1"><xsl:value-of select="group3/value"/></font></td>
                    487:                                      </xsl:otherwise>
                    488:                                      </xsl:choose>
                    489:                                  </tr>
                    490:                              </xsl:for-each>
                    491: 
                    492:                              <tr valign="top">
                    493:                                  <td width="25%"><font size="-1"><br/></font></td>
                    494:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt6/title"/></font></td>
                    495:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt8/title"/></font></td>
                    496:                                  <td width="25%"><font size="-1"><xsl:apply-templates select="operator[position()=1]/vt7/title"/></font></td>
                    497:                              </tr>
                    498:                              <xsl:for-each select="operator">
                    499:                                  <tr valign="top">
                    500:                                      <xsl:choose>
                    501:                                          <xsl:when test="position() mod 2">
                    502:                                              <xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute>
                    503:                                          </xsl:when>
                    504:                                          <xsl:otherwise>
                    505:                                              <xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute>
                    506:                                          </xsl:otherwise>
                    507:                                      </xsl:choose>
                    508:                                      <xsl:choose>
                    509:                                          <xsl:when test="vt2/value='oblast'">
                    510:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    511:                                              <td colspan="3"><font size="-1">Город относится к тарифной зоне &#171;<a href="/coverage/tariff_zone.html">Область</a>&#187;.<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    512:                                          </xsl:when>
                    513:                                          <xsl:when test="vt2/value='ln_roaming'">
                    514:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    515:                                              <td colspan="3"><font size="-1">Город относится к зоне внутрисетевого роуминга (<xsl:value-of select="name"/>).<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/inroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    516:                                          </xsl:when>
                    517:                                                                                 <xsl:when test="vt2/value='l_roaming'">
                    518:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    519:                                              <td colspan="3"><font size="-1">Город относится к зоне льготного национального роуминга. Тарифы смотрите в разделе &#171;<a href="/tariffs/nroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    520:                                          </xsl:when>
                    521:                                                                                 <xsl:otherwise>
                    522:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    523:                                              <td><font size="-1"><xsl:value-of select="vt6/value"/> <xsl:apply-templates select="vt6/footnote"/></font></td>
                    524:                                              <td><font size="-1"><xsl:value-of select="vt8/value"/> <xsl:apply-templates select="vt8/footnote"/></font></td>
                    525:                                              <td><font size="-1"><xsl:value-of select="vt7/value"/> <xsl:apply-templates select="vt7/footnote"/></font></td>
                    526:                                          </xsl:otherwise>
                    527:                                      </xsl:choose>
                    528:                                  </tr>
                    529:                              </xsl:for-each>
                    530:                              </table><br/>
                    531:                          </xsl:when>
                    532:                          <xsl:otherwise>
                    533:                              <table width="100%" border="0" cellspacing="1" cellpadding="2" background="">
                    534:                              <xsl:for-each select="operator">
                    535:                                  <tr valign="top">
                    536:                                      <xsl:choose>
                    537:                                          <xsl:when test="position() mod 2">
                    538:                                              <xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute>
                    539:                                          </xsl:when>
                    540:                                          <xsl:otherwise>
                    541:                                              <xsl:attribute name="bgcolor">#cfd7e5</xsl:attribute>
                    542:                                          </xsl:otherwise>
                    543:                                      </xsl:choose>
                    544:                                      <xsl:choose>
                    545:                                          <xsl:when test="vt2/value='oblast'">
                    546:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    547:                                              <td colspan="3"><font size="-1">Город относится к тарифной зоне &#171;<a href="/coverage/tariff_zone.html">Область</a>&#187;.<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    548:                                          </xsl:when>
                    549:                                          <xsl:when test="vt2/value='ln_roaming'">
                    550:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    551:                                              <td colspan="3"><font size="-1">Город относится к зоне внутрисетевого роуминга (<xsl:value-of select="name"/>).<br/>Тарифы смотрите в разделе &#171;<a href="/tariffs/inroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    552:                                          </xsl:when>
                    553:                                          <xsl:when test="vt2/value='l_roaming'">
                    554:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    555:                                              <td colspan="3"><font size="-1">Город относится к зоне льготного национального роуминга. Тарифы смотрите в разделе &#171;<a href="/tariffs/nroaming.html">Тарифы</a>&#187; соответственно Вашему тарифному плану.</font></td>
                    556:                                          </xsl:when>
                    557:                                          <xsl:otherwise>
                    558:                                              <td><font size="-1"><b><xsl:value-of select="name"/></b></font></td>
                    559:                                              <td colspan="3"><font size="-1">Тарифы отсутствуют в базе данных.</font></td>
                    560:                                          </xsl:otherwise>
                    561:                                      </xsl:choose>
                    562:                                  </tr>
                    563:                              </xsl:for-each>
                    564:                              </table><br/>
                    565:                          </xsl:otherwise>
                    566:                      </xsl:choose>
                    567:             
                    568:                     <table cellpadding="10" width="100%" border="0" background="">
                    569:                     <tr valign="top">
                    570:                         <td width="24%"><br /></td>
                    571:                         <td width="76%"><xsl:apply-templates select="block[attribute::type='notes']"/></td>
                    572:                     </tr>
                    573:                     </table>
                    574:         
                    575:     </xsl:template>
                    576: 
                    577:     <!--===================================================-->
                    578:     <!--== ТАРИФЫ =========================================-->
                    579:     <!--===================================================-->
                    580: 
                    581:     <xsl:template match="tariffs-short">
                    582:         
                    583:                 <tr valign="top" bgcolor="#ffffff">
                    584:                 
                    585:                     <td width="20%" colspan="2" class="small" rowspan="3">
                    586:                         <xsl:apply-templates select="phoneNavigationColumn" />
                    587:                     </td>
                    588:                 
                    589:                     <td width="20%" colspan="2" class="td-border">
                    590:                         <table border="0" cellspacing="0" cellpadding="0" width="100%" background="/off-line/tariffs/tariff.html/{@id}_line.gif" style="background-repeat: repeat-x">
                    591:                         <tr>
                    592:                             <td><img src="/off-line/tariffs/tariff.html/{@id}_background1.gif" width="{@width1}" height="{@height1}"/></td>
                    593:                             <td align="right"><img src="/off-line/tariffs/tariff.html/{@id}_background2.gif" width="{@width2}" height="{@height2}"/></td>
                    594:                         </tr>
                    595:                         </table>
                    596:                         <table border="0" cellspacing="0" cellpadding="0" width="100%">
                    597:                         <tr>
                    598:                             <td valign="middle" align="right" colspan="2">
                    599:                             <table border="0" cellspacing="0" cellpadding="5" background=""><tr><td align="right">
                    600:                                 <font size="-1">тариф</font><br/>
                    601:                                 <b><font size="+1"><xsl:value-of select="@name"/></font></b><br /><br />
                    602:                                 <xsl:choose>
                    603:                                     <xsl:when test="@archive">
                    604:                                         <a href="./tariff_complete.html?id={@id}&amp;archive=true"><font size="-1">подробнее</font></a><br />
                    605:                                     </xsl:when>
                    606:                                     <xsl:otherwise>
                    607:                                         <a href="./tariff_complete.html?id={@id}"><font size="-1">подробнее</font></a><br />
                    608:                                     </xsl:otherwise>
                    609:                                 </xsl:choose>    
                    610:                                 <xsl:if test="@pdfversion">
                    611:                                     <br />
                    612:                                     <img src="/i/icons/pdf.gif" width="16" height="16" border="0" align="absmiddle"/><font size="-1">&nbsp;&nbsp;</font><a href="{@pdfversion}"><font size="-1">PDF версия<br /><xsl:value-of select="@pdfversion-size"/>Кб</font><br /></a>
                    613:                                     <p><font size="-1">Для просмотра<br />материалов<br />Вам потребуется<br/><a href="http://www.adobe.com/products/acrobat/readermain.html">Acrobat Reader</a></font></p>
                    614:                                 </xsl:if>    
                    615:                             </td></tr></table>
                    616:                             </td>
                    617:                         </tr>
                    618:                         </table><br/>
                    619:                     </td>
                    620:                     
                    621:                     <td width="20%" colspan="2" class="td-border">
                    622:                         <div class="main"><ul class="m0"><xsl:apply-templates select="tariff-data[@name='description']"/></ul></div>
                    623:                     </td>
                    624:                     
                    625:                     <td width="50%" colspan="4"  class="td-border">
                    626:                         <br />
                    627:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    628:                          <tr>
                    629:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ПЕРВОНАЧАЛЬНЫЕ ПЛАТЕЖИ</td>
                    630:                              <td class="x-small"><br /></td>
                    631:                          </tr>
                    632:                          <tr bgcolor="#e1e7f1">
                    633:                              <td align="right" width="50%"><font size="-1">Плата за подключение с оборудованием, приобретенным у МТС<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m1']"/></nobr></font></sup></font></td>
                    634:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v1']"/></font></td>
                    635:                          </tr>
                    636:                          <tr bgcolor="#cfd7e5">
                    637:                              <td align="right" width="50%"><font size="-1">Плата за подключение с собственным оборудованием в офисах продаж МТС / у дилеров&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m2']"/></nobr></font></sup></font></td>
                    638:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v2']"/></font></td>
                    639:                          </tr>
                    640:                          <tr bgcolor="#e1e7f1">
                    641:                              <td align="right" width="50%"><font size="-1">Минимальный первоначальный авансовый платеж&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m3']"/></nobr></font></sup></font></td>
                    642:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v3']"/></font></td>
                    643:                          </tr>
                    644:                          </table>
                    645:                          <br />
                    646:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    647:                          <tr>
                    648:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ЕЖЕМЕСЯЧНЫЕ ПЛАТЕЖИ</td>
                    649:                              <td align="center" width="50%" class="x-small"><br/></td>
                    650:                          </tr>
                    651:                          <tr bgcolor="#e1e7f1">
                    652:                              <td align="right" width="50%"><font size="-1">Абонентская плата&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m4']"/></nobr></font></sup></font></td>
                    653:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v4']"/></font></td>
                    654:                          </tr>
                    655:                          <tr bgcolor="#cfd7e5">
                    656:                              <td align="right" width="50%"><font size="-1">Обязательная минимальная плата за трафик&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m4p1']"/></nobr></font></sup></font></td>
                    657:                              <td align="center" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='v4p1']"/></font></td>
                    658:                          </tr>
                    659:                          </table>
                    660:                          <br />
                    661:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    662:                          <tr>
                    663:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">SMS</td>
                    664:                              <td align="center" width="50%" class="x-small"><br/></td>
                    665:                          </tr>
                    666:                          <tr bgcolor="#cfd7e5">
                    667:                              <td align="right" width="50%"><font size="-1">Исходящие (за одно сообщение)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m30']"/></nobr></font></sup></font></td>
                    668:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v30_1']"/></font></td>
                    669:                          </tr>
                    670:                          <tr bgcolor="#e1e7f1">
                    671:                              <td align="right" width="50%"><font size="-1">Входяшие (за одно сообщение)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m31']"/></nobr></font></sup></font></td>
                    672:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v31_1']"/></font></td>
                    673:                          </tr>
                    674:                          </table>
                    675:                          <br/>
                    676:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    677:                          <tr>
                    678:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ГОЛОСОВАЯ ПОЧТА</td>
                    679:                              <td align="center" width="50%" class="x-small"><br/></td>
                    680:                          </tr>
                    681:                          <tr bgcolor="#cfd7e5">
                    682:                              <td align="right" width="50%"><font size="-1">Прослушивание сообщений в почтовом ящике &nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m29']"/></nobr></font></sup></font></td>
                    683:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v29_1']"/></font></td>
                    684:                          </tr>
                    685:                          <tr bgcolor="#e1e7f1">
                    686:                              <td align="right" width="50%"><font size="-1">Запись сообщения в почтовый ящик&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m29']"/></nobr></font></sup></font></td>
                    687:                              <td align="center" width="50%"><font size="-1">&nbsp;</font></td>
                    688:                          </tr>
                    689:                          <tr bgcolor="#cfd7e5">
                    690:                              <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_1']"/></font></td>
                    691:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_1']"/></font></td>
                    692:                          </tr>
                    693:                          <xsl:if test="not(time-cols-flag='1')">
                    694:                              <tr bgcolor="#e1e7f1">
                    695:                                  <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_2']"/></font></td>
                    696:                                  <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_2']"/></font></td>
                    697:                              </tr>
                    698:                          </xsl:if>
                    699:                          <xsl:if test="not(time-cols-flag='2')">
                    700:                              <tr bgcolor="#cfd7e5">
                    701:                                  <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_3']"/></font></td>
                    702:                                  <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_3']"/></font></td>
                    703:                              </tr>
                    704:                          </xsl:if>
                    705:                          </table><br/>
                    706:                     </td>
                    707:                  </tr>
                    708:                  <tr bgcolor="#ffffff">
                    709:                      <td colspan="8" valign="top" class="td-border">
                    710:                          <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td bgcolor="#000000" nowrap="true"><spacer type="block" width="1" height="1"/></td></tr></table>
                    711:                          <br/>
                    712:                          <table border="0" cellpadding="4" cellspacing="1" width="25%" background="">
                    713:                          <tr><td bgcolor="#ffb700" align="center" width="50%" class="title">ПЛАТА ЗА ЭФИРНОЕ ВРЕМЯ В МИНУТУ</td></tr>
                    714:                          </table>
                    715:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    716:                          <tr valign="middle">
                    717:                              <td><br/></td>
                    718:                              <xsl:choose>
                    719:                                  <xsl:when test="not(time-cols-flag='2')"><td bgcolor="#e1e7f1" colspan="3" align="center"><font size="-1">Время звонка</font></td></xsl:when>
                    720:                                  <xsl:when test="not(time-cols-flag='1')"><td bgcolor="#e1e7f1" colspan="2" align="center"><font size="-1">Время звонка</font></td></xsl:when>
                    721:                                  <xsl:otherwise><td bgcolor="#e1e7f1"  align="center"><font size="-1">Время звонка</font></td></xsl:otherwise>
                    722:                              </xsl:choose>
                    723:                          </tr>
                    724:                          <tr bgcolor="#cfd7e5">
                    725:                              <td width="25%"><font size="-1"><b>Тарифная зона &#171;Столица&#187;<sup><nobr><font size="-1" color="#ff0000">4</font></nobr></sup> / &#171;Область&#187;  <sup><nobr><font size="-1" color="#ff0000">5</font></nobr></sup></b></font></td>
                    726:                              <td width="12%"  align="center" bgcolor="#cfd7e5"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_1']"/></font></td>
                    727:                              <xsl:if test="not(time-cols-flag='1')"><td width="12%"  align="center" bgcolor="#cfd7e5"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_2']"/></font></td></xsl:if>
                    728:                              <xsl:if test="not(time-cols-flag='2')"><td width="12%" align="center" bgcolor="#cfd7e5"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_3']"/></font></td></xsl:if>
                    729:                          </tr>
                    730:                          <tr bgcolor="#e1e7f1" valign="middle">
                    731:                              <td><font size="-1">Исходящий вызов на мобильные телефоны <b>абонентов МТС</b> следующих регионов: Москва и Московская обл., Тульская, Калужская, Псковская, Рязанская, Владимирская, Смоленская, Тверская, Костромская, Ярославская, Нижегородская, Кировская обл., Респ. Коми.&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m21']"/></nobr></font></sup></font></td>
                    732:                              <td  width="13%" align="center"><font size="-1">
                    733:                                 <xsl:value-of select="tariff-data[@name='v21_1']"/> / <xsl:value-of select="tariff-data[@name='v41_1']"/>
                    734:                             </font></td>
                    735:                              <xsl:if test="not(time-cols-flag='1')"><td  width="13%" align="center"><font size="-1">
                    736:                                  <xsl:value-of select="tariff-data[@name='v21_2']"/> / <xsl:value-of select="tariff-data[@name='v41_2']"/>
                    737:                              </font></td></xsl:if>
                    738:                              <xsl:if test="not(time-cols-flag='2')"><td  width="13%" align="center"><font size="-1">
                    739:                                  <xsl:value-of select="tariff-data[@name='v21_3']"/> / <xsl:value-of select="tariff-data[@name='v41_3']"/>
                    740:                              </font></td></xsl:if>
                    741:                          </tr>
                    742:                          <tr bgcolor="#cfd7e5" valign="middle">
                    743:                              <td><font size="-1">Исходящий вызов на телефоны МГТС, телефоны прочих операторов фиксированной и сотовой связи  г. Москвы и мобильные телефоны <b>абонентов следующих региональных сотовых операторов:</b> РеКом (Орловская, Брянская, Курская, Воронежская, Липецкая, Белгородская области),  ЦСУ 900 (республика Удмуртия)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m20']"/></nobr></font></sup>
                    744:                             <p>Входящие звонки, за исключением входящих звонков от абонентов МТС, находящихся в тарифных зонах  Столица  и  Область.</p></font></td>
                    745:                              <td width="13%" align="center"><font size="-1">
                    746:                                 <xsl:value-of select="tariff-data[@name='v20_1']"/> / <xsl:value-of select="tariff-data[@name='v23_1']"/>
                    747:                             </font></td>
                    748:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                    749:                                  <xsl:value-of select="tariff-data[@name='v20_2']"/> / <xsl:value-of select="tariff-data[@name='v23_2']"/>
                    750:                              </font></td></xsl:if>
                    751:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                    752:                                     <xsl:value-of select="tariff-data[@name='v20_3']"/> / <xsl:value-of select="tariff-data[@name='v23_3']"/>
                    753:                             </font></td></xsl:if>
                    754:                          </tr>
                    755:                          <tr bgcolor="#e1e7f1" valign="middle">
                    756:                              <td><font size="-1">Исходящий вызов на телефоны сети общего пользования Московской области&#160;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m22']"/></nobr></font></sup></font></td>
                    757:                              <td width="13%" align="center"><font size="-1">
                    758:                                 <xsl:value-of select="tariff-data[@name='v22_1']"/> / <xsl:value-of select="tariff-data[@name='v24_1']"/>
                    759:                             </font></td>
                    760:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                    761:                                  <xsl:value-of select="tariff-data[@name='v22_2']"/> / <xsl:value-of select="tariff-data[@name='v24_2']"/>
                    762:                              </font></td></xsl:if>
                    763:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                    764:                                     <xsl:value-of select="tariff-data[@name='v22_3']"/> / <xsl:value-of select="tariff-data[@name='v24_3']"/>
                    765:                             </font></td></xsl:if>
                    766:                          </tr>
                    767:                          <tr bgcolor="#cfd7e5" valign="middle">
                    768:                              <td><font size="-1">Входящий вызов от&#160;<b>абонентов МТС</b> следующих регионов: Москва и&#160;Московская обл., Тульская, Калужская, Псковская, Рязанская, Владимирская, Смоленская, Тверская, Костромская, Ярославская, Нижегородская, Кировская обл., Респ. Коми., находящихся в&#160;тарифных зонах &#171;Столица&#187; и&#160;&#171;Область&#187;&#160;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m25']"/></nobr></font></sup></font></td>
                    769:                              <td  width="13%" align="center"><font size="-1">
                    770:                                 <xsl:value-of select="tariff-data[@name='v25_1']"/>
                    771:                             </font></td>
                    772:                              <xsl:if test="not(time-cols-flag='1')"><td  width="13%" align="center"><font size="-1">
                    773:                                 <xsl:value-of select="tariff-data[@name='v25_2']"/>
                    774:                             </font></td></xsl:if>
                    775:                              <xsl:if test="not(time-cols-flag='2')"><td  width="13%" align="center"><font size="-1">
                    776:                                     <xsl:value-of select="tariff-data[@name='v25_3']"/>
                    777:                             </font></td></xsl:if>
                    778:                          </tr>
                    779:                          </table>
                    780:                      </td>
                    781:                  </tr>
                    782:                  <tr bgcolor="#eeeeee">
                    783:                      <td colspan="8" align="center" valign="middle" class="td-border">
                    784:                          <table cellspacing="8"><tr><td background=""><font size="-1"><b><a href="./tariff_complete.html?id={@id}#comment">Расшифровка сносок, используемых в таблицах</a></b></font></td></tr></table>
                    785:                         <table cellspacing="8"><tr><td background=""><font size="-1"><b><a href="/coverage/tariff_zone.html">Тарифные зоны и внутрисетевой роуминг...</a></b></font></td></tr></table>
                    786:                      </td>
                    787:                  </tr>
                    788:         
                    789: 
                    790:     </xsl:template>
                    791: 
                    792:     <xsl:template match="tariffs-long">
                    793:             <tr valign="top" bgcolor="ffffff">
                    794: 
                    795:                 <td width="20%" colspan="2" class="small" rowspan="5">
                    796:                     <xsl:apply-templates select="phoneNavigationColumn" />
                    797:                 </td>
                    798:                     
                    799:                 <td colspan="4" width="40%" class="td-border">
                    800:                     <br/>
                    801:                         <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    802:                          <tr>
                    803:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ПЕРВОНАЧАЛЬНЫЕ ПЛАТЕЖИ</td>
                    804:                              <td align="center" width="50%" class="x-small"><br/></td>
                    805:                          </tr>
                    806:                          <tr bgcolor="#e1e7f1">
                    807:                              <td align="right" width="50%"><font size="-1">Плата за подключение с оборудованием, приобретенным у МТС &nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m1']"/></nobr></font></sup></font></td>
                    808:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v1']"/></font></td>
                    809:                          </tr>
                    810:                          <tr bgcolor="#cfd7e5">
                    811:                              <td align="right" width="50%"><font size="-1">Плата за&#160;подключение с&#160;собственным оборудованием в&#160;офисах продаж МТС / у&#160;дилеров&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m2']"/></nobr></font></sup></font></td>
                    812:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v2']"/></font></td>
                    813:                          </tr>
                    814:                          <tr bgcolor="#e1e7f1">
                    815:                              <td align="right" width="50%"><font size="-1">Минимальный первоначальный авансовый платеж&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m3']"/></nobr></font></sup></font></td>
                    816:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v3']"/></font></td>
                    817:                          </tr>
                    818:                          </table><br/>
                    819:                          
                    820:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    821:                          <tr>
                    822:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ПЕРЕАДРЕСОВАННЫЕ ВЫЗОВЫ</td>
                    823:                              <td align="center" width="50%" class="x-small"><br/></td>
                    824:                          </tr>
                    825:                          <tr bgcolor="#cfd7e5">
                    826:                              <td width="50%" align="right"><font size="-1">Вызовы, переадресованные на междугородный/ международный номер&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m28']"/></nobr></font></sup></font></td>
                    827:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v28_1']"/></font></td>
                    828:                          </tr>
                    829:                          <tr bgcolor="#e1e7f1">
                    830:                              <td align="right" width="50%"><font size="-1">Переадресованные вызовы на телефоны МГТС, др. операторов фиксированной связи г.Москвы, абонентов МТС&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m27']"/></nobr></font></sup></font></td>
                    831:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v27_1']"/></font></td>
                    832:                          </tr>
                    833:                          </table><br/>
                    834:                          
                    835:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    836:                          <tr>
                    837:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">SMS</td>
                    838:                              <td align="center" width="50%" class="x-small"><br/></td>
                    839:                          </tr>
                    840:                          <tr bgcolor="#cfd7e5">
                    841:                              <td width="50%" align="right"><font size="-1">Исходящие (за одно сообщение)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m30']"/></nobr></font></sup></font></td>
                    842:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v30_1']"/></font></td>
                    843:                          </tr>
                    844:                          <tr bgcolor="#e1e7f1">
                    845:                              <td align="right" width="50%"><font size="-1">Входяшие (за одно сообщение)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m31']"/></nobr></font></sup></font></td>
                    846:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v31_1']"/></font></td>
                    847:                          </tr>
                    848:                          </table><br/>
                    849:                          
                    850:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    851:                          <tr>
                    852:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ГОЛОСОВАЯ ПОЧТА</td>
                    853:                              <td align="center" width="50%" class="x-small"><br/></td>
                    854:                          </tr>
                    855:                          <tr bgcolor="#cfd7e5">
                    856:                              <td align="right" width="50%"><font size="-1">Прослушивание сообщений в почтовом ящике &nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m29']"/></nobr></font></sup></font></td>
                    857:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v29_1']"/></font></td>
                    858:                          </tr>
                    859:                          <tr bgcolor="#e1e7f1">
                    860:                              <td align="right" width="50%"><font size="-1">Запись сообщения в почтовый ящик&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m29']"/></nobr></font></sup></font></td>
                    861:                              <td align="center" width="50%"><font size="-1">&nbsp;</font></td>
                    862:                          </tr>
                    863:                          <tr bgcolor="#cfd7e5">
                    864:                              <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_1']"/></font></td>
                    865:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_1']"/></font></td>
                    866:                          </tr>
                    867:                          <xsl:if test="not(time-cols-flag='1')">
                    868:                              <tr bgcolor="#e1e7f1">
                    869:                                  <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_2']"/></font></td>
                    870:                                  <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_2']"/></font></td>
                    871:                              </tr>
                    872:                          </xsl:if>
                    873:                          <xsl:if test="not(time-cols-flag='2')">
                    874:                              <tr bgcolor="#cfd7e5">
                    875:                                  <td align="right" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_3']"/></font></td>
                    876:                                  <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v26_3']"/></font></td>
                    877:                              </tr>
                    878:                          </xsl:if>
                    879:                          </table><br/>
                    880:                         </td>
                    881:                 <td bgcolor="ffffff" colspan="4" width="40%" class="td-border">
                    882:                         <br/>
                    883:                         
                    884:                         <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    885:                          <tr>
                    886:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">РАЗОВЫЕ ПЛАТЕЖИ</td>
                    887:                              <td align="center" width="50%" class="x-small"><br/></td>
                    888:                          </tr>
                    889:                          <tr bgcolor="#e1e7f1">
                    890:                              <td align="right" width="50%"><font size="-1">Добавление/ отмена услуг&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m17']"/></nobr></font></sup></font></td>
                    891:                              <td align="center" width="50%"><font size="-1"><a href="http://www.mts.ru/tariffs/sup.html">См. тарифы аб.службы</a><!--h:value-of select="tariff-data[@name='v17']"/--></font></td>
                    892:                          </tr>
                    893:                          <tr bgcolor="#cfd7e5">
                    894:                              <td align="right" width="50%"><font size="-1">Включение голосовой почты&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m16']"/></nobr></font></sup></font></td>
                    895:                              <td align="center" width="50%"><font size="-1"><a href="http://www.mts.ru/tariffs/sup.html">См. тарифы аб.службы</a><!--h:value-of select="tariff-data[@name='v16']"/--></font></td>
                    896:                          </tr>
                    897:                          </table><br/>
                    898:                         
                    899:                         <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    900:                         <tr>
                    901:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ЕЖЕМЕСЯЧНЫЕ ПЛАТЕЖИ</td>
                    902:                              <td align="center" width="50%" class="x-small"><br/></td>
                    903:                          </tr>
                    904:                          <tr bgcolor="#e1e7f1">
                    905:                              <td align="right" width="50%"><font size="-1">Абонентская плата&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m4']"/></nobr></font></sup></font></td>
                    906:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v4']"/></font></td>
                    907:                          </tr>
                    908:                         <tr bgcolor="#cfd7e5">
                    909:                              <td align="right" width="50%"><font size="-1">Обязательная минимальная плата за трафик&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m4p1']"/></nobr></font></sup></font></td>
                    910:                              <td align="center" width="50%"><font size="-1"><xsl:apply-templates select="tariff-data[@name='v4p1']"/></font></td>
                    911:                          </tr>
                    912:                          <tr  bgcolor="#e1e7f1">
                    913:                              <td align="right" width="50%"><font size="-1">Национальный и международный роуминг &nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m6']"/></nobr></font></sup></font></td>
                    914:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v6']"/></font></td>
                    915:                          </tr>
                    916:                          <tr bgcolor="#cfd7e5">
                    917:                              <td align="right" width="50%"><font size="-1">Международный доступ&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m5']"/></nobr></font></sup></font></td>
                    918:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v5']"/></font></td>
                    919:                          </tr>
                    920:                          <tr  bgcolor="#e1e7f1">
                    921:                              <td align="right" width="50%"><font size="-1">Детализированный счет&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m7']"/></nobr></font></sup></font></td>
                    922:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v7']"/></font></td>
                    923:                          </tr>
                    924:                          <tr bgcolor="#cfd7e5">
                    925:                              <td align="right" width="50%"><font size="-1">Доставка счета&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m8']"/></nobr></font></sup></font></td>
                    926:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v8']"/></font></td>
                    927:                          </tr>
                    928:                                                         <tr bgcolor="#e1e7f1">
                    929:                              <td align="right" width="50%"><font size="-1">Доставка счета по электронной почте&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m9']"/></nobr></font></sup></font></td>
                    930:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v9']"/></font></td>
                    931:                          </tr>
                    932:                          <tr bgcolor="#cfd7e5">
                    933:                              <td align="right" width="50%"><font size="-1">Определитель номера&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m13']"/></nobr></font></sup></font></td>
                    934:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v13']"/></font></td>
                    935:                          </tr>
                    936:                          <tr bgcolor="#e1e7f1">
                    937:                              <td align="right" width="50%"><font size="-1">Антиопределитель номера&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m14']"/></nobr></font></sup></font></td>
                    938:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v14']"/></font></td>
                    939:                          </tr>
                    940:                          <tr bgcolor="#cfd7e5">
                    941:                              <td align="right" width="50%"><font size="-1">Режим ожидания вызова&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m11']"/></nobr></font></sup></font></td>
                    942:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v11']"/></font></td>
                    943:                          </tr>
                    944:                          <tr bgcolor="#e1e7f1">
                    945:                              <td align="right" width="50%"><font size="-1">Конференц-связь/Перевод вызова&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='conference_call_m']"/></nobr></font></sup></font></td>
                    946:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='conference_call']"/></font></td>
                    947:                          </tr>
                    948:                          <tr bgcolor="#cfd7e5">
                    949:                              <td align="right" width="50%"><font size="-1">Запрет вызова&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m12']"/></nobr></font></sup></font></td>
                    950:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v12']"/></font></td>
                    951:                          </tr>
                    952:                          <tr bgcolor="#e1e7f1">
                    953:                              <td align="right" width="50%"><font size="-1">Переадресация вызова&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m10']"/></nobr></font></sup></font></td>
                    954:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v10']"/></font></td>
                    955:                          </tr>
                    956:                          <tr bgcolor="#cfd7e5">
                    957:                              <td align="right" width="50%"><font size="-1">Голосовая почта (I/II класс) + переадресация&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m15']"/></nobr></font></sup></font></td>
                    958:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v15']"/></font></td>
                    959:                          </tr>
                    960:                          <tr bgcolor="#cfd7e5">
                    961:                              <td align="right" width="50%"><font size="-1">Добровольная блокировка (каждый месяц)&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m18']"/></nobr></font></sup></font></td>
                    962:                              <td align="center" width="50%"><font size="-1"><xsl:value-of select="tariff-data[@name='v18']"/></font></td>
                    963:                          </tr>
                    964:                          </table><br/>
                    965:                     </td>
                    966:                  </tr>
                    967:                  <tr bgcolor="#ffffff" valign="top">
                    968:                      <td colspan="8" width="80%" class="td-border">
                    969:                          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                    970:                          <br/>
                    971:                          <table border="0" cellpadding="4" cellspacing="1" width="25%" background="">
                    972:                          <tr>
                    973:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ПЛАТА ЗА ЭФИРНОЕ ВРЕМЯ В МИНУТУ</td>
                    974:                          </tr>
                    975:                          </table>
                    976:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                    977:                          <tr valign="middle">
                    978:                              <td><br/></td>
                    979:                              <xsl:choose>
                    980:                                  <xsl:when test="not(time-cols-flag='2')"><td bgcolor="#e1e7f1" colspan="3" align="center"><font size="-1">Время звонка</font></td></xsl:when>
                    981:                                  <xsl:when test="not(time-cols-flag='1')"><td bgcolor="#e1e7f1" colspan="2" align="center"><font size="-1">Время звонка</font></td></xsl:when>
                    982:                                  <xsl:otherwise><td bgcolor="#e1e7f1"  align="center"><font size="-1">Время звонка</font></td></xsl:otherwise>
                    983:                              </xsl:choose>
                    984:                          </tr>
                    985:                          <tr bgcolor="#e1e7f1">
                    986:                              <td width="25%" bgcolor="#ffffff"><br/></td>
                    987:                              <td width="12%"  align="center"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_1']"/></font></td>
                    988:                              <xsl:if test="not(time-cols-flag='1')"><td width="12%"  align="center"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_2']"/></font></td></xsl:if>
                    989:                              <xsl:if test="not(time-cols-flag='2')"><td width="12%" align="center"><font size="-1"><xsl:apply-templates select="tariff-data[@name='t19p9_3']"/></font></td></xsl:if>
                    990:                          </tr>
                    991:                          <tr bgcolor="#ffffff">
                    992:                              <td width="25%"><font size="-1"><b>Тарифная зона &#171;Столица&#187;<sup><nobr><font size="-1" color="#ff0000">4</font></nobr></sup></b></font></td>
                    993:                              <xsl:choose>
                    994:                                  <xsl:when test="not(time-cols-flag='1')"><td width="12%" colspan="3" align="center" ><br/></td></xsl:when>
                    995:                                  <xsl:otherwise><td width="12%" align="center" ><br/></td></xsl:otherwise>
                    996:                              </xsl:choose>
                    997:                              
                    998:                          </tr>
                    999:                          <tr bgcolor="#e1e7f1" valign="middle">
                   1000:                              <td><font size="-1">Исходящий вызов на мобильные телефоны <b>абонентов МТС</b> следующих регионов: Москва и Московская обл., Тульская, Калужская, Псковская, Рязанская, Владимирская, Смоленская, Тверская, Костромская, Ярославская, Нижегородская, Кировская обл., Респ. Коми.&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m21']"/></nobr></font></sup></font></td>
                   1001:                              <td  width="13%" align="center"><font size="-1">
                   1002:                                 <xsl:value-of select="tariff-data[@name='v21_1']"/>
                   1003:                             </font></td>
                   1004:                              <xsl:if test="not(time-cols-flag='1')"><td  width="13%" align="center"><font size="-1">
                   1005:                                  <xsl:value-of select="tariff-data[@name='v21_2']"/>
                   1006:                              </font></td></xsl:if>
                   1007:                              <xsl:if test="not(time-cols-flag='2')"><td  width="13%" align="center"><font size="-1">
                   1008:                                  <xsl:value-of select="tariff-data[@name='v21_3']"/>
                   1009:                              </font></td></xsl:if>
                   1010:                          </tr>
                   1011:                          <tr bgcolor="#cfd7e5" valign="middle">
                   1012:                              <td><font size="-1">Исходящий вызов на телефоны МГТС, телефоны прочих операторов фиксированной и сотовой связи  г. Москвы и мобильные телефоны <b>абонентов следующих региональных сотовых операторов:</b> РеКом (Орловская, Брянская, Курская, Воронежская, Липецкая, Белгородская области),  ЦСУ 900 (республика Удмуртия).&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m20']"/></nobr></font></sup>
                   1013:                             <p>Входящие звонки, за исключением входящих звонков от абонентов МТС, находящихся в тарифных зонах  Столица  и  Область.</p></font></td>
                   1014:                              <td width="13%" align="center"><font size="-1">
                   1015:                                 <xsl:value-of select="tariff-data[@name='v20_1']"/>
                   1016:                             </font></td>
                   1017:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                   1018:                                  <xsl:value-of select="tariff-data[@name='v20_2']"/>
                   1019:                              </font></td></xsl:if>
                   1020:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                   1021:                                     <xsl:value-of select="tariff-data[@name='v20_3']"/>
                   1022:                             </font></td></xsl:if>
                   1023:                          </tr>
                   1024:                          <tr bgcolor="#e1e7f1" valign="middle">
                   1025:                              <td><font size="-1">Исходящий вызов на телефоны сети общего пользования Московской области&#160;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m22']"/></nobr></font></sup></font></td>
                   1026:                              <td width="13%" align="center"><font size="-1">
                   1027:                                 <xsl:value-of select="tariff-data[@name='v22_1']"/>
                   1028:                             </font></td>
                   1029:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                   1030:                                  <xsl:value-of select="tariff-data[@name='v22_2']"/>
                   1031:                              </font></td></xsl:if>
                   1032:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                   1033:                                     <xsl:value-of select="tariff-data[@name='v22_3']"/>
                   1034:                             </font></td></xsl:if>
                   1035:                          </tr>
                   1036:                          
                   1037:                          <tr bgcolor="#ffffff">
                   1038:                              <td width="12%"  colspan="4"  align="center"><br/></td>
                   1039:                          </tr>
                   1040:                          <tr bgcolor="#ffffff">
                   1041:                              <td width="25%"><font size="-1"><b>Тарифная зона &#171;Область&#187;&#160; <sup><nobr><font size="-1" color="#ff0000">5</font></nobr></sup></b></font></td>
                   1042:                              <xsl:choose>
                   1043:                                  <xsl:when test="not(time-cols-flag='1')"><td width="12%" colspan="3" align="center" ><br/></td></xsl:when>
                   1044:                                  <xsl:otherwise><td width="12%" align="center" ><br/></td></xsl:otherwise>
                   1045:                              </xsl:choose>
                   1046:                          </tr>
                   1047:                          <tr bgcolor="#e1e7f1" valign="middle">
                   1048:                              <td><font size="-1">Исходящий вызов на мобильные телефоны <b>абонентов МТС</b> следующих регионов: Москва и  Московская обл., Тульская, Калужская, Псковская, Рязанская, Владимирская, Смоленская, Тверская, Костромская, Ярославская, Нижегородская, Кировская обл.,  Респ. Коми.&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m21']"/></nobr></font></sup></font></td>
                   1049:                              <td  width="13%" align="center"><font size="-1">
                   1050:                                 <xsl:value-of select="tariff-data[@name='v41_1']"/>
                   1051:                             </font></td>
                   1052:                              <xsl:if test="not(time-cols-flag='1')"><td  width="13%" align="center"><font size="-1">
                   1053:                                  <xsl:value-of select="tariff-data[@name='v41_2']"/>
                   1054:                              </font></td></xsl:if>
                   1055:                              <xsl:if test="not(time-cols-flag='2')"><td  width="13%" align="center"><font size="-1">
                   1056:                                  <xsl:value-of select="tariff-data[@name='v41_3']"/>
                   1057:                              </font></td></xsl:if>
                   1058:                          </tr>
                   1059:                          <tr bgcolor="#cfd7e5" valign="middle">
                   1060:                              <td><font size="-1">Исходящий вызов на телефоны МГТС, телефоны прочих операторов фиксированной и сотовой связи  г. Москвы и мобильные телефоны <b>абонентов следующих региональных сотовых операторов:</b> РеКом (Орловская, Брянская, Курская, Воронежская, Липецкая, Белгородская области),  ЦСУ 900 (республика Удмуртия).&nbsp;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m20']"/></nobr></font></sup>
                   1061:                             <p>Входящие звонки, за исключением входящих звонков от абонентов МТС, находящихся в тарифных зонах  Столица  и  Область.</p></font></td>
                   1062:                              <td width="13%" align="center"><font size="-1">
                   1063:                                 <xsl:value-of select="tariff-data[@name='v23_1']"/>
                   1064:                             </font></td>
                   1065:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                   1066:                                  <xsl:value-of select="tariff-data[@name='v23_2']"/>
                   1067:                              </font></td></xsl:if>
                   1068:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                   1069:                                     <xsl:value-of select="tariff-data[@name='v23_3']"/>
                   1070:                             </font></td></xsl:if>
                   1071:                          </tr>
                   1072:                          <tr bgcolor="#e1e7f1" valign="middle">
                   1073:                              <td ><font size="-1">Исходящий вызов на телефоны сети общего пользования Московской области&#160;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m22']"/></nobr></font></sup></font></td>
                   1074:                              <td width="13%" align="center"><font size="-1">
                   1075:                                 <xsl:value-of select="tariff-data[@name='v24_1']"/>
                   1076:                             </font></td>
                   1077:                              <xsl:if test="not(time-cols-flag='1')"><td width="13%" align="center"><font size="-1">
                   1078:                                  <xsl:value-of select="tariff-data[@name='v24_2']"/>
                   1079:                              </font></td></xsl:if>
                   1080:                              <xsl:if test="not(time-cols-flag='2')"><td width="13%" align="center"><font size="-1">
                   1081:                                     <xsl:value-of select="tariff-data[@name='v24_3']"/>
                   1082:                             </font></td></xsl:if>
                   1083:                          </tr>
                   1084:                          <tr bgcolor="#ffffff">
                   1085:                              <xsl:choose>
                   1086:                                  <xsl:when test="not(time-cols-flag='1')"><td width="12%"  colspan="4" align="center" ><br/></td></xsl:when>
                   1087:                                  <xsl:otherwise><td width="12%"  colspan="2" align="center" ><br/></td></xsl:otherwise>
                   1088:                              </xsl:choose>
                   1089:                          </tr>
                   1090:                          <tr bgcolor="#cfd7e5" valign="middle">
                   1091:                              <td><font size="-1">Входящий вызов от&#160;<b>абонентов МТС</b> следующих регионов: Москва и&#160;Московская обл., Тульская, Калужская, Псковская, Рязанская, Владимирская, Смоленская, Тверская, Костромская, Ярославская, Нижегородская, Кировская  обл., Респ. Коми., находящихся в&#160;тарифных зонах &#171;Столица&#187; и&#160;&#171;Область&#187;&#160;<sup><font color="#ff0000"><nobr><xsl:value-of select="tariff-data[@name='m25']"/></nobr></font></sup></font></td>
                   1092:                              <td  width="13%" align="center"><font size="-1">
                   1093:                                 <xsl:value-of select="tariff-data[@name='v25_1']"/>
                   1094:                             </font></td>
                   1095:                              <xsl:if test="not(time-cols-flag='1')"><td  width="13%" align="center"><font size="-1">
                   1096:                                 <xsl:value-of select="tariff-data[@name='v25_2']"/>
                   1097:                             </font></td></xsl:if>
                   1098:                              <xsl:if test="not(time-cols-flag='2')"><td  width="13%" align="center"><font size="-1">
                   1099:                                     <xsl:value-of select="tariff-data[@name='v25_3']"/>
                   1100:                             </font></td></xsl:if>
                   1101:                          </tr>
                   1102:                          </table><br/>
                   1103:                      </td>
                   1104:                 </tr>
                   1105:                 <tr bgcolor="#ffffff">
                   1106:                      <td colspan="8" width="80%" class="td-border">
                   1107:                          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                   1108:                          <br/>
                   1109:                          <table border="0" cellpadding="4" cellspacing="1" width="25%" background="">
                   1110:                          <tr>
                   1111:                              <td bgcolor="#ffb700" align="center" width="50%" class="title">ТАРИФЫ НА МЕЖДУГОРОДНЫЕ И МЕЖДУНАРОДНЫЕ РАЗГОВОРЫ</td>
                   1112:                          </tr>
                   1113:                          </table>
                   1114:                          <table border="0" cellpadding="2" cellspacing="1" width="100%" background="">
                   1115:                          <tr bgcolor="#cfd7e5">
                   1116:                              <td colspan="9" align="center">
                   1117:                                 <font size="-1">
                   1118:                                     <xsl:apply-templates select="tariff-data[@name='t31p9_1']"/> <xsl:if test="not(timeint-cols-flag='1')">/ <xsl:apply-templates select="tariff-data[@name='t31p9_2']"/></xsl:if>
                   1119:                                 </font>
                   1120:                              </td>
                   1121:                          </tr>
                   1122:                          <tr>
                   1123:                              <td width="12%"><font size="-1">Зона льготной междугородной тарификации&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m32']"/></font></nobr></sup></font></td>
                   1124:                              <td width="11%"><font size="-1">Европейская часть России&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m33']"/></font></nobr></sup></font></td>
                   1125:                              <td width="11%"><font size="-1">Азиатская часть России&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m34']"/></font></nobr></sup></font></td>
                   1126:                              <td width="11%"><font size="-1">Страны СНГ&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m40']"/></font></nobr></sup></font></td>
                   1127:                              <td width="11%"><font size="-1">Европейские страны&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m35']"/></font></nobr></sup></font></td>
                   1128:                              <td width="11%"><font size="-1">Северная Америка&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m36']"/></font></nobr></sup></font></td>
                   1129:                              <td width="11%"><font size="-1">Африка&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m37']"/></font></nobr></sup></font></td>
                   1130:                              <td width="11%"><font size="-1">Остальные страны&nbsp;<sup><nobr><font color="#ff0000"><xsl:value-of select="tariff-data[@name='m38']"/></font></nobr></sup></font></td>
                   1131:                          </tr>
                   1132:                          <tr bgcolor="#e1e7f1">
                   1133:                              <td><font size="-1">
                   1134:                                  <xsl:value-of select="tariff-data[@name='v32_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v32_2']"/></xsl:if>
                   1135:                              </font></td>                                                    
                   1136:                              <td><font size="-1">                                                    
                   1137:                                  <xsl:value-of select="tariff-data[@name='v33_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v33_2']"/></xsl:if>
                   1138:                              </font></td>                                                    
                   1139:                              <td><font size="-1">                                                    
                   1140:                                  <xsl:value-of select="tariff-data[@name='v34_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v34_2']"/></xsl:if>
                   1141:                              </font></td>                                                    
                   1142:                              <td><font size="-1">                                                    
                   1143:                                  <xsl:value-of select="tariff-data[@name='v40_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v40_2']"/></xsl:if>
                   1144:                              </font></td>                                                    
                   1145:                              <td><font size="-1">                                                    
                   1146:                                  <xsl:value-of select="tariff-data[@name='v35_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v35_2']"/></xsl:if>
                   1147:                              </font></td>                                                    
                   1148:                              <td><font size="-1">                                                    
                   1149:                                  <xsl:value-of select="tariff-data[@name='v36_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v36_2']"/></xsl:if>
                   1150:                              </font></td>                                                    
                   1151:                              <td><font size="-1">                                                    
                   1152:                                  <xsl:value-of select="tariff-data[@name='v37_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v37_2']"/></xsl:if>
                   1153:                              </font></td>                                                    
                   1154:                              <td><font size="-1">                                                    
                   1155:                                  <xsl:value-of select="tariff-data[@name='v38_1']"/><xsl:if test="not(timeint-cols-flag='1')"> / <xsl:value-of select="tariff-data[@name='v38_2']"/></xsl:if>
                   1156:                              </font></td>                                                    
                   1157:                          </tr>
                   1158:                          </table><br/>
                   1159:                          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                   1160:                      </td>
                   1161:                 </tr>
                   1162:                 <tr bgcolor="#ffffff">
                   1163:                      <td colspan="8" width="80%" class="td-border">
                   1164:                          <a name="comment"/>
                   1165:                          <table cellspacing="8" background="">
                   1166:                             <tr><td><font size="-1"><xsl:apply-templates select="tariff-comments"/></font></td></tr>
                   1167:                         </table>
                   1168:                      </td>
                   1169:                  </tr>
                   1170:                  <tr bgcolor="#eeeeee">
                   1171:                      <td colspan="8" align="center" valign="middle" class="td-border">
                   1172:                          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                   1173:                         <table cellspacing="8" background=""><tr><td><font size="-1"><b><a href="/coverage/tariff_zone.html">Тарифные зоны и внутрисетевой роуминг...</a></b></font></td>
                   1174:                         </tr>
                   1175:                         </table>
                   1176:                      </td>
                   1177:                  </tr>
                   1178: 
                   1179:     </xsl:template>
                   1180: 
                   1181:     <!--===================================================-->
                   1182:     <!--== ТЕЛЕФОНЫ =======================================-->
                   1183:     <!--===================================================-->
                   1184: 
                   1185:     <xsl:template match="phone">
                   1186:         <tr bgcolor="#ffffff" valign="top">
                   1187:         
                   1188:             <td width="20%" colspan="2" class="small">
                   1189:                 <xsl:if test="count(phone-property)!=0 or count(phone-accessory)!=0"><xsl:attribute name="rowspan">2</xsl:attribute></xsl:if>
                   1190:                 <xsl:if test="count(phone-property)!=0 and count(phone-accessory)!=0"><xsl:attribute name="rowspan">3</xsl:attribute></xsl:if>
                   1191:                 <xsl:apply-templates select="phoneNavigationColumn" />
                   1192:             </td>
                   1193:             <td width="20%" colspan="2" class="td-border">
                   1194:                         <table border="0" cellpadding="5" cellspacing="0" width="100%">
                   1195:                         <tr align="center">
                   1196:                             <td background="">
                   1197:                                 <br/><a href="http://{@firm-url}" target="_blank"><img src="/i/firms/{@firm-id}.gif" border="0"/></a><br/><br/>
                   1198:                                 <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td bgcolor="#000000"><img src="/i/d-t.gif" width="1" height="1"/></td></tr></table>
                   1199:                             </td>
                   1200:                         </tr>
                   1201:                         <tr align="center">
                   1202:                             <td><font size="4"><b><xsl:value-of select="@firm"/>&nbsp;<xsl:value-of select="@model"/></b></font></td>
                   1203:                         </tr>
                   1204:                         <xsl:if test = "not(@image='')">
                   1205:                             <tr align="center">
                   1206:                                 <td><img src="/i/phones/{@image}" width="{@image_w}" height="{@image_h}"/></td>
                   1207:                             </tr>
                   1208:                         </xsl:if>
                   1209:                         <xsl:if test = "@attr_new or @attr_leader or @attr_mts or @attr_special">
                   1210:                             <tr>
                   1211:                                 <td><br/>
                   1212:                                     <div class="main">
                   1213:                                         <font size="-1">
                   1214:                                             <ul class="m0">
                   1215:                                                 <xsl:if test="@attr_new"><li>Новинка</li></xsl:if>
                   1216:                                                 <xsl:if test="@attr_leader"><li>Лидер продаж</li></xsl:if>
                   1217:                                                 <xsl:if test="@attr_mts"><li>Только с SIM картой MTS</li></xsl:if>
                   1218:                                                 <xsl:if test="@attr_special"><li>Специальное предложение</li></xsl:if>
                   1219:                                             </ul>
                   1220:                                         </font>
                   1221:                                     </div>
                   1222:                                 </td>
                   1223:                             </tr>
                   1224:                         </xsl:if>
                   1225:                         <xsl:if test="@docfile">
                   1226:                             <tr>
                   1227:                                 <td>
                   1228:                                     <div class="main">
                   1229:                                         <table border="0" cellpadding="5" cellspacing="0">
                   1230:                                         <tr valign="top">
                   1231:                                             <td><a href="{@docfile}"><img src="/i/icons/pdf.gif" width="16" height="16" border="0"/></a></td>
                   1232:                                             <td><a href="{@docfile}"><font size="-1">Инструкция по эксплуатации (PDF)</font></a></td>
                   1233:                                         </tr>
                   1234:                                         <tr>
                   1235:                                             <td><br /></td>
                   1236:                                             <td><font size="-1"><p>Для просмотра материалов Вам потребуется <a href="http://www.adobe.com/products/acrobat/readermain.html"><nobr>Acrobat Reader</nobr></a></p></font></td></tr>
                   1237:                                         </table>
                   1238:                                     </div>
                   1239:                                 </td>
                   1240:                             </tr>
                   1241:                         </xsl:if>
                   1242:                         </table>
                   1243:                     </td>
                   1244:                     <td width="20%" colspan="2" class="td-border">
                   1245:                         <div class="main">
                   1246:                             <xsl:if test="not(@price1='0.00')">
                   1247:                                 <p><font size="4" color="red"><xsl:value-of select="@price1"/> у.е.</font><br/>
                   1248:                                 (розничная цена при подключении в офисах МТС)</p>
                   1249:                             </xsl:if>
                   1250:                             <xsl:if test="not((@price2='0.00') or (@price2=''))">
                   1251:                                 <p><font size="4" color="red"><xsl:value-of select="@price2"/> у.е.</font><br/>
                   1252:                                 (розничная цена при подключении в офисах дилеров)</p>
                   1253:                             </xsl:if>
                   1254:                             <xsl:if test="not(@price3='0.00')">
                   1255:                                 <p><font size="4" color="red"><xsl:value-of select="@price3"/> у.е.</font><br/>
                   1256:                                 (розничная цена без подключения)</p>
                   1257:                             </xsl:if>
                   1258:                         </div>
                   1259:                     </td>
                   1260:                     <td width="20%" colspan="2" class="td-border">
                   1261:                         <div class="main">
                   1262:                             <ul class="m0">
                   1263:                                 <xsl:for-each select="phone-description"><li><font color="#000000"><xsl:apply-templates/></font></li></xsl:for-each>
                   1264:                             </ul>
                   1265:                         </div>
                   1266:                     </td>
                   1267:                     <td width="20%" colspan="2" class="td-border">
                   1268:                         <div class="main">
                   1269:                             <xsl:if test="not(@network='')"><b>Стандарт:</b>&nbsp; <xsl:value-of select="@network"/><br/><br/></xsl:if>
                   1270:                             <xsl:if test="not(@size='')"><b>Размеры (В/Ш/Г):</b>&nbsp; <xsl:value-of select="@size"/> мм.<br/><br/></xsl:if>
                   1271:                             <xsl:if test="not(@weight='')"><b>Вес:</b>&nbsp; <xsl:value-of select="@weight"/> гр.<br/><br/></xsl:if>
                   1272:                             <xsl:if test="phone-battery">
                   1273:                                 <b>Аккумулятор:</b>
                   1274:                                 <ul class="m0"><xsl:for-each select="phone-battery"><li><font color="#000000"><xsl:value-of select="."/></font></li></xsl:for-each></ul>
                   1275:                             </xsl:if>
                   1276:                         </div>
                   1277:                       </td>
                   1278:                  </tr>
                   1279: 
                   1280:                  <xsl:if test="count(phone-property)!=0">
                   1281:                  <tr valign="top">
                   1282:                      <td width="80%" colspan="8" class="td-border" bgcolor="#ffffff">
                   1283:                          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                   1284:                          <br/>
                   1285:                          <table border="0" cellpadding="4" cellspacing="1" width="25%">
                   1286:                         <tr>
                   1287:                             <td bgcolor="#ffb700" align="center" class="title">ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ</td>
                   1288:                         </tr>
                   1289:                         </table><br/>
                   1290:                          <table border="0" cellpadding="4" cellspacing="0" width="100%">
                   1291:                              <xsl:apply-templates select="phone-property"/>
                   1292:                          </table>
                   1293:                      </td>
                   1294:                  </tr>
                   1295:                  </xsl:if>
                   1296: 
                   1297:                  <xsl:if test="count(phone-accessory)!=0">
                   1298:                      <tr valign="top">
                   1299:                          <td width="80%" colspan="8" class="td-border" bgcolor="#ffffff">
                   1300:                              <table cellpadding="0" cellspacing="0" border="0" width="100%" height="1" bgcolor="#000000"><tr><td><spacer type="block" width="1" height="1" /></td></tr></table>
                   1301:                              <br/>
                   1302:                              <table border="0" cellpadding="4" cellspacing="1" width="25%">
                   1303:                             <tr>
                   1304:                                 <td bgcolor="#ffb700" align="center" class="title">АКСЕССУАРЫ</td>
                   1305:                             </tr>
                   1306:                             </table>
                   1307:                             <table border="0" cellpadding="4" cellspacing="0" width="100%">
                   1308:                                 <tr bgcolor="#ffffff">
                   1309:                                     <td align="right" width="74%" class="td-border"><font size="-1">Наименование акссесуара</font></td>
                   1310:                                     <td width="1%" background=""><br /></td>
                   1311:                                     <td width="25%" background=""><font size="-1">Цена при покупке с&nbsp;телефоном&nbsp;/&nbsp;без телефона</font></td>
                   1312:                                 </tr>
                   1313:                                 <xsl:apply-templates select="phone-accessory"/>
                   1314:                             </table>
                   1315:                          </td>
                   1316:                      </tr>
                   1317:                  </xsl:if>
                   1318:     </xsl:template>
                   1319: 
                   1320:     <xsl:template match="phone-accessory">
                   1321:         <xsl:if test="not(@price='')">
                   1322:             <tr bgcolor="#ffffff">
                   1323:                 <xsl:if test = "position() mod 2 = 1"><xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute></xsl:if>
                   1324:                 <td align="right" width="74%" class="td-border"><font size="-1"><xsl:value-of select="."/></font></td>
                   1325:                 <td width="1%" background=""><br /></td>
                   1326:                 <td width="25%" background="">
                   1327:                     <nobr>
                   1328:                         <font size="-1">
                   1329:                             <xsl:if test="string-length(@price!=0)">
                   1330:                                 <xsl:value-of select="@price"/>&nbsp;/&nbsp;
                   1331:                                 <xsl:choose>
                   1332:                                     <xsl:when test="string-length(@price1)!=0">/ <xsl:value-of select="@price1"/></xsl:when>
                   1333:                                     <xsl:otherwise><xsl:value-of select="@price"/></xsl:otherwise>
                   1334:                                 </xsl:choose>
                   1335:                                 у.е.
                   1336:                             </xsl:if>
                   1337:                         </font>
                   1338:                     </nobr>
                   1339:                 </td>
                   1340:             </tr>
                   1341:         </xsl:if>
                   1342:     </xsl:template>
                   1343: 
                   1344:     <xsl:template match="phone-property">
                   1345:         <tr>
                   1346:             <xsl:if test="position() mod 2 = 1"><xsl:attribute name="bgcolor">#e1e7f1</xsl:attribute></xsl:if>
                   1347:             <td align="right" width="74%" class="td-border"><font size="-1"><xsl:apply-templates select="./property"/></font></td>
                   1348:             <td width="1%" background=""><br /></td>
                   1349:             <td width="25%" background=""><font size="-1"><xsl:apply-templates select="./value"/></font></td>
                   1350:         </tr>
                   1351:     </xsl:template>
                   1352: 
                   1353:     <!--===================================================-->
                   1354:     <!--== ОТПРАВКА SMS ===================================-->
                   1355:     <!--===================================================-->
                   1356:     
                   1357:     <xsl:template match="form-sendsms">
                   1358:         <form action="./sent.html" name="send" method="get" onsubmit="return test(this)">
                   1359:             <input size="" value="1" name="Posted" type="hidden" />
                   1360:             <p>Мобильный номер должен быть семизначным с префиксом 7095, 7902 или 7910. Например, 7095xxxxxxx.</p>
                   1361:             <p>Мобильный телефон:<br /><input size="30" value="" name="To" type="text" /></p>
                   1362:             <p>
                   1363:                 Сообщение: <sup><nobr><font size="-1" color="#ff0000">*</font></nobr></sup><br />
                   1364:                 <textarea rows="5" cols="40" name="Msg" onfocus="ChooseLen()" onchange="ChooseLen()" onkeyup="ChooseLen()" onkeydown="ChooseLen()" onkeypress="ChooseLen()"></textarea><br/>
                   1365:                 <font size="-1">Вы набрали сообщение длиной <input size="4" value="0" name="count" type="text" onfocus="window.document.send.Msg.focus();" /> символов</font>
                   1366:             </p>
                   1367:             <p>
                   1368:                 Крайний срок отправки (время суток и дата):<br/>
                   1369:                 <select onChange="" name="SMSHour"><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option selected="true" value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option></select>
                   1370:                 <select onChange="" name="SMSMinute"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option  selected="true" value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option><option value="32">32</option><option value="33">33</option><option value="34">34</option><option value="35">35</option><option value="36">36</option><option value="37">37</option><option value="38">38</option><option value="39">39</option><option value="40">40</option><option value="41">41</option><option value="42">42</option><option value="43">43</option><option value="44">44</option><option value="45">45</option><option value="46">46</option><option value="47">47</option><option value="48">48</option><option value="49">49</option><option value="50">50</option><option value="51">51</option><option value="52">52</option><option value="53">53</option><option value="54">54</option><option value="55">55</option><option value="56">56</option><option value="57">57</option><option value="58">58</option><option value="59">59</option></select>
                   1371:                 <br/>
                   1372:                 <select onChange="" name="SMSDay"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option  selected="true" value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select>
                   1373:                 <select onChange="" name="SMSMonth"><option value="0">января</option><option value="1">февраля</option><option value="2">марта</option><option value="3">апреля</option><option value="4">мая</option><option value="5">июня</option><option value="6">июля</option><option value="7">августа</option><option value="8">сентября</option><option value="9">октября</option><option  selected="true" value="10">ноября</option><option value="11">декабря</option></select>
                   1374:                 <select onChange="" name="SMSYear"><option value="2000">2000</option><option  selected="true" value="2001">2001</option></select>
                   1375:             </p>
                   1376:             <input value="Отправить" name="" type="submit" />
                   1377: 
                   1378:             <p><font color="" size="-1"><sup><nobr><font color="#ff0000">*</font></nobr></sup> Посылаемое сообщение должно быть не больше 5 строк (или 160 символов). В противном случае адресат получит два сообщения: одно &mdash; обрезанное до максимально возможного, и второе сообщение - с координатами отправителя.</font></p>
                   1379:         </form>
                   1380: 
                   1381:         <script language="javascript"><xsl:comment><![CDATA[
                   1382: 
                   1383:             if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 3))
                   1384:             {
                   1385:             mes = "Внимание! Посчитать количество введенных символов Вы сможете только после того, как поле ввода сообщени/я станет не активным - т.е. Вы перейдете к другому полю ввода или просто кликните в пустом пространстве страницы."
                   1386:             alert(mes);
                   1387:             }
                   1388:             var
                   1389:             codeNumber = new Array(""); codeDigits = new Array(""); function validate(form) {
                   1390:             var overRun=form.Msg.value.length-160;
                   1391:             var ok=overRun<=0;
                   1392:             if (!ok) {alert('Максимальная длина сообщения - 160 символов. Вы превысили лимит на '+overRun+' символов'); return false;}
                   1393:             else{return true;}
                   1394:             }
                   1395:             function ChooseLen() {
                   1396:             M = window.document.send.Msg.value.length;
                   1397:             window.document.send.count.value = M;
                   1398:             }
                   1399:             function test(form){
                   1400:             var phone=document.send.To.value;
                   1401:             var exclude = /(7902|7095|7910)([0-9]{7,7})/
                   1402:             if (phone.search(exclude) == -1){
                   1403:             alert('Вы ввели некорректный номер')
                   1404:             return false;}
                   1405:             return validate(form)
                   1406:             }
                   1407:         ]]>
                   1408:         //</xsl:comment></script>
                   1409: 
                   1410:     </xsl:template>
                   1411: 
                   1412: </xsl:stylesheet>

E-mail: