function Stranka2Kat(odcisla, docisla, typds)
{
var PorCis = 0;
var ParfemCislo = 0;
/* radky tabulky */
for (PorCis = odcisla; PorCis <= docisla; PorCis++)
 {
  /* zjisteni cisla parfemu pro poradove cislo v abecede */
  ParfemCislo = DleAbecedy(typds, PorCis);
  /* oriznuti prvni nuly zleva */
  if (ParfemCislo.substr(0,1) == "0") { ParfemCislo = ParfemCislo.substr(1,2); }
  /* ParfemCislo = eval(ParfemCislo); */
  ParfemCislo = parseInt(ParfemCislo, 10);
  Parfem2Kat(ParfemCislo, typds);
 }
}

function Stranka2KatMini(odcisla, docisla, typds)
{
var Cisla2 = "005,006,017,021,023,025,033,081,098,171,043,052,054,056,057,064,084,092,094,134";
    Cisla  = "005,006,017,021,023,025,033,081,098,266,043,052,054,056,057,064,094,134,221,223";
    PorCis = 0;
    ParfemCislo = 0;
/* radky tabulky */
for (PorCis = odcisla; PorCis <= docisla; PorCis++)
 {
  /* zjisteni cisla parfemu pro poradove cislo v abecede */
  ParfemCislo = Cisla.substr(4*PorCis-4, 3);
  /* oriznuti prvni nuly zleva */
  if (ParfemCislo.substr(0,1) == "0") { ParfemCislo = ParfemCislo.substr(1,2); }
  ParfemCislo = eval(ParfemCislo);
  Parfem2Kat(ParfemCislo, typds);
 }
}

function Parfem2Kat(artikl, typ)
{
var TypCislo = "cislo_mkat";
    PuvCislo = "cislo_puv";
    TypNadpis = "nadpis_dk";
	CisloParf = "00";
	Puvodni = 0;
    
  /* rozdeleni na damske/panske */
  if (typ == 2)
    { TypCislo = "cislo_mkat"; 
	  TypNadpis = "nadpis_pk"; }
  if (artikl < 10)
    { CisloParf = "0" + artikl } else { CisloParf = artikl }
  
  /*zacatek casti tabulky */
  document.writeln("<tr>");
  /*  cislo vlevo */
  document.writeln("<td align=\"center\" width=\"20\" rowspan=\"2\" height=\"59\">");
  document.writeln("<span class=\"" + TypCislo + "\">" + CisloParf + "</span>");
  /* osetreni precislovani u inspiraci */
  if (artikl == 171 | artikl == 94 | artikl == 92) 
   {
    switch (artikl)
	 {
	  case 92 : Puvodni = 51; break;
	  case 94 : Puvodni = 63; break;
	  case 171: Puvodni = 13;
	 }
	 document.writeln("<span class=\"" + PuvCislo + "\">(" + Puvodni + ")</span>");
   }
  document.writeln("</td>");
  /* obrazek */
  document.writeln("<td width=\"60\" rowspan=\"2\" align=\"left\" height=\"59\">");
  document.writeln("<img border=\"0\" src=\"katalog/" + CisloParf + ".jpg\" width=\"56\" height=\"83\"></td>"); 
  /* nadpis - nazev vcetne exkluzivni rady, pokud je */
  document.writeln("<td><span class=\"" + TypNadpis + "\">" + GetNazev(artikl,2)  + "</span>" + GetDalsiPopis(artikl) + GetPopisTypu(artikl) + "</td>");
  document.writeln("</tr>");
  /* popisek - zacatek radku tabulky */
  document.writeln("<tr>");
  document.writeln("<td height=\"50\" align=\"justify\" valign=\"top\" width=\"630\">");
  /* základní tóny */
  Zaklad(artikl);
  /* popisek */
  document.writeln("<div class=\"popisek\">");
  document.writeln("<p>" + GetPopis(artikl) + "</p>");
  document.writeln("</div>");
  /* dale k dispozici */
  DalsiSortiment(artikl, 0); 
  document.writeln("</td>");
  /* konec casti tabulky */
  document.writeln("</tr>");
  return;
} /*** function Parfem2Kat */

function DleAbecedy(ds, poradi)
{
var Cisla = new Array(2)
    Vystup = "";
	
Cisla[1] = "257,239,287,023,293,233,308,262,254,285,018,034,021,238,274,267,142,252,309,173,"
         + "010,286,080,237,269,231,081,284,033,147,006,312,288,253,281,292,265,232,234,290,"
		 + "263,271,007,101,291,180,177,258,311,298,192,005,097,310,266,273,297,304,025,185,"
		 + "261,260,235,250,024,149,122,146,012,289,174,268,270,307,255,098,181,303,009,026,"
		 + "162,306,125,305,183,283,017,272,251,259,240,275,236,032,264,256,295,141,132,296,"
		 + "294";
Cisla[2] = "094,093,207,135,083,159,205,220,190,056,300,209,221,197,299,189,301,223,169,068,"
         + "195,120,134,066,064,060,140,208,198,152,206,052,219,226,054,043,158,210,110,188,"
		 + "225,160,057,222,133,199,224,155,156,302,151";
/* vyprani trojcisli podle pozadovaneho poradi */		 
Vystup = Cisla[ds].substr(4*poradi-4, 3);
return Vystup;
}

function DleAbc2Web(ds)
{
var Pom;
var	artikl = "";
var Pocet;

/* pocet damskych a panskych parfemu */	
if (ds == 1) { Pocet = 110; }	
 else { Pocet = 100; }

/* vypis seznamu parfemu podle abecedy */ 
for (Pom = 1; Pom <= Pocet; Pom++)
 {
  artikl = DleAbecedy(ds, Pom);
  /* oriznuti prvni nuly zleva */
  if (artikl.substr(0,1) == "0") { artikl = artikl.substr(1,2); }
  /* prevedeni na cislo */
  artikl = eval(artikl);
  /* otestovani jednotlivych kategorii parfemu */
  TestAVypisParfemu(artikl, ds);
 }
}

function Doplnek(artikl, typ, misto)
{
var Sirka1 = "10%";
    Sirka2 = "90%";
	Barva = "#FF0000";
	CisloParf = artikl;
	Nazev = "";
  
  /* pridani nuly pro 1-9 */
  if (artikl < 10)
    { CisloParf = "0" + artikl } else { CisloParf = artikl }
  /* jina barva pro damsky */
  if (typ == 2) { Barva = "#0000FF"; }
  if (typ == 3) { Barva = "purple"; }
  Nazev = GetNazev(artikl, misto);
  /* zacatek radku tabulky */
  document.writeln("<tr>");
  /* prvni sloupec - cislo */
  document.writeln("<td width=\"" + Sirka1 + "\">");
  document.writeln("<p style=\"text-align: center\"><span style=\"font-size: 8pt\"><b>" + CisloParf + "</b></span></p>");
  document.writeln("</td>");
  /* druhy sloupec - nazev */
  document.writeln("<td width=\"" + Sirka2 + "\">");
  document.writeln("<p style=\"text-align: left\"><font color=\"" + Barva + "\"><span style=\"font-size: 8pt\"><b>" + Nazev + "</b></span></font></p>");
  document.writeln("</td>");
  /* konec radku tabulky */
  document.writeln("</tr>");
return;
} /*** function Doplnek */

function TypDoplnku(ds)
{  
  /* test na damske */
  if ("11,12,13,14,15,16.17".indexOf(ds) > -1)
    { return 1; }
  /* test na panske */
  if ("21,22,23,24,25,26".indexOf(ds) > -1)
    { return 2; }  
  if ("31,32,33,34".indexOf(ds) > -1)
    { return 3; }
}

function TestDoplnku(artikl, ds)
{
  var Out = false;
  var PomArtikl;
  var Ind;
  var Cisla = new Array(73); 
  
  /* vynulovani polozky */
  for (Ind = 0; Ind <= 73; Ind++)
   { Cisla[Ind] = ""; }  
  /* parfemy */
  Cisla[1]  = "005,006,007,009,010,012,017,018,021,023,024,025,026,032,033,034,080,081,097,098,"
            + "101,122,125,132,173,174,177,180,181,183,185,250,251,252,253,254,255,256,257,258,"
			+ "259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275";
  Cisla[2]  = "043,052,054,056,057,060,064,066,068,083,093,094,110,120,133,134,135,140,188,189,"
            + "190,205,206,207,208,209,210,219,220,221,222,223,224,225,226";  
  Cisla[5]  = "231,232,233,234,235,236,237,238,239,240";
  /* damske odvozeniny */    
  Cisla[11] = "018,023,033,081,097,098,101";
  Cisla[13] = "005,023,025,033,081,097,101,141,147,169,173";
  Cisla[14] = "005,006,010,012,018,021,023,025,032,033,034,081,097,098,101,141,142,147,169,173,283";
  Cisla[15] = "005,010,021,023,033,081,097,101,141,173";
  Cisla[16] = "033,081,098";
  Cisla[17] = "081,141,147";
  /* panske odvozeniny */
  Cisla[21] = "052,056,094,120,134,209";
  Cisla[22] = "052,056,094,110,134,169";
  Cisla[23] = "052,056,064,094,134,209";
  Cisla[24] = "052,056,064,094,110,134,209";
  Cisla[25] = "052";
  Cisla[26] = "052";
  /* ostatni od parfemu */
  Cisla[32] = "201,202";
  Cisla[33] = "088";
  Cisla[34] = "211,213,217,218";
  /* damske luxusni */
  Cisla[51] = "141,142,146,147,149,162,192,281,285,286,287,288,289,290,291,"
            + "292,293,298";
  Cisla[52]  = "283,284";
  Cisla[53]  = "294,295,296";
  Cisla[54]  = "297";
  Cisla[55]  = "303,304";			
  Cisla[56]  = "310,311,312";
  Cisla[57]  = "307";
  Cisla[58]  = "305,306,308,309";
  /* panske luxusni */
  Cisla[71]  = "151,152,155,156,158,159,160,169,195,197,199,301";			
  Cisla[72]  = "198,300";
  Cisla[73]  = "299,302";
  
  /** prevedeni na textovy tvar **/
  PomArtikl = artikl;
  if (artikl < 10) { PomArtikl = "0" + PomArtikl; }
  if (artikl < 100) { PomArtikl = "0" + PomArtikl; }	
  /** pokus o nalezeni v seznamu **/
  if (Cisla[ds].indexOf(PomArtikl) > -1)
    { Out = true; }	    
  return Out;	
} /* function TestDoplnku */

function PolozkyDoplnku(ds, soubor, xsize, ysize)
{
  var Artikl, Out;  
  
  /* nadpis u doplnkoveho sortimentu */
  document.writeln("<p style=\"text-align: center\"><span class=\"cislo_z\">" + PlnyNazevDoplnku(ds) + "</span></p>");
  /* tabulka - zacatek */
  document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\">");
  document.writeln("<tr>");
  document.writeln("<td width=\"40%\">");
  document.writeln("<img border=\"0\" src=\"" + soubor + "\" width=\"" + xsize + "\" height=\"" + ysize + "\" align=\"right\"></td>");
  document.writeln("<td width=\"60%\">");
  
  /* vnorena tabulka s jednotlivymi polozkami */
  document.writeln("<table border=\"0\" cellpadding=\"0\" style=\"border-collapse: collapse\" width=\"100%\">");
  for (Artikl = 1; Artikl <= 400; Artikl++)
    {
	if (TestDoplnku(Artikl, ds))	  
	  { Doplnek(Artikl, TypDoplnku(ds), 4); }
	}
  document.writeln("</table>");
  
  /* tabulka - konec */
  document.writeln("</td>");
  document.writeln("</tr>");
  document.writeln("</table>");
return;  /*** function PolozkyDoplnku */
}

function NadpisVCeniku(Cislo)
{
var Font, Out;

if (Cislo == 1 | Cislo == 5 | (Cislo > 10 && Cislo < 20) | (Cislo > 50 && Cislo < 70))
  { Font = "#FF0000"; } 
if (Cislo == 2 | (Cislo > 20 && Cislo < 30) | (Cislo > 70 && Cislo < 80))
  { Font = "#0000FF"; }   
if (Cislo > 30 && Cislo < 50)
  { Font = "purple"; }
  
Out = PlnyNazevDoplnku(Cislo);
document.writeln("<font color=\"" + Font + "\"><b>" + Out + "</b></font>");
}

function VypisPolozekDoplnku(doplnek)
{
var Out = "";
var Artikl;
    
for (Artikl=1; Artikl <= 400; Artikl++) 
  {
  if (TestDoplnku(Artikl, doplnek))
    {
	if (Out.length > 0)
	  { Out = Out + ", "; }
	Out = Out  + Artikl;
    }
  }	
return Out;  
}

function VypisKoduVCeniku(doplnek)
{
var Out = VypisPolozekDoplnku(doplnek);
document.writeln("<p>" + Out + "</p>");
}

function GetTypVune(artikl)
{
  var Out = "0";
  var Typ, PomArtikl;
  var Cisla = new Array(65);
  /* skupina 1 -  kvetinove vune */
  Cisla[1]  = "010,017,125,180,181,025,281,240,264,265,266,267,271,272,291,292,303,304,305";
  Cisla[2]  = "132,147,097,122,183,146,238,235,232,239,288,256,261,268,270,269,274,275,297,298,306,307,308,310";
  Cisla[3]  = "007,141,174,231";
  Cisla[4]  = "081,262,295,312";
  Cisla[5]  = "021,294";
  Cisla[6]  = "234,236,283";
  Cisla[7]  = "";
  Cisla[8]  = "";
  Cisla[9]  = "";
  Cisla[10] = "";
  /* skupina 2 - citrusove vune */  
  Cisla[11] = "033,057";
  Cisla[12] = "023,134,260,296,226";
  Cisla[13] = "006,093";
  Cisla[14] = "";
  Cisla[15] = "";
  Cisla[16] = "";
  Cisla[17] = "";
  Cisla[18] = "";
  Cisla[19] = "";
  Cisla[20] = "";
  /* skupina 3 - orientalni vune */
  Cisla[21] = "009,101,052,250,257,263,285,309,223,302";
  Cisla[22] = "012,098,237,284,286";
  Cisla[23] = "026,142,162,293";
  Cisla[24] = "024,173,177,259,199,219,221,224,299";
  Cisla[25] = "032,064,066,258";
  Cisla[26] = "";
  Cisla[27] = "";
  Cisla[28] = "";
  Cisla[29] = "";
  Cisla[30] = "";
  /* skupina 4 - drevinove vune */
  Cisla[31] = "185,255,273,287,289,290";
  Cisla[32] = "133,159,188,195,251,254,206,208,209,301";
  Cisla[33] = "155,160,190,253,198,207,220";
  Cisla[34] = "060,151,152";
  Cisla[35] = "";
  Cisla[36] = ""; 
  Cisla[37] = "";
  Cisla[38] = "";
  Cisla[39] = "";
  Cisla[40] = "";
  /* skupina 5 - cyprisove vune */
  Cisla[41] = "005,034,080,149,192,120,169,233,205,210";
  Cisla[42] = "018,056,252";
  Cisla[43] = "083,094,110";
  Cisla[44] = "";
  Cisla[45] = "";
  Cisla[46] = "";
  Cisla[47] = "";
  Cisla[48] = "";
  Cisla[49] = "";
  Cisla[50] = "";
  /* skupina 6 - kapradove vune */
  Cisla[51] = "043,135,158,197";
  Cisla[52] = "054,068,140,156,189,222,225,300";
  Cisla[53] = "311";
  Cisla[54] = "";
  Cisla[55] = "";
  Cisla[56] = ""; 
  Cisla[57] = "";
  Cisla[58] = "";
  Cisla[59] = "";
  Cisla[60] = "";  
  /* skupina 7 - ostatni vune */
  Cisla[61] = "201,202";
  Cisla[62] = "211,213,217,218";
  
  /** prevedeni na textovy tvar **/
  PomArtikl = artikl;
  if (artikl < 10) { PomArtikl = "0" + PomArtikl; }
  if (artikl < 100) { PomArtikl = "0" + PomArtikl; }    
  
  /** pruchod jednotlivymi poli a hledani vyskytu artiklu **/
  for (Typ=1; Typ <= 62; Typ++) 
    {	
	if (Cisla[Typ].indexOf(PomArtikl) > -1)
	  {	  
	  Out = Typ;
	  break;
      }	  
	}	
return Out;  
} /*** function GetTypVune */

function GetNazev(artikl, misto)
{
var out;
var LevaZav;
var PravaZav;
var Delka;

switch(artikl) {
case  5: out = "Rush (Gucci)"; break;
case  6: out = "Green Tea (Elizabeth Arden)"; break;
case  7: out = "Acqua di Gio (Giorgio Armani)"; break;
case  9: out = "NaoMagic (Naomi Campbell)"; break;
case 10: out = "J'Adore (Christian Dior)"; break;
case 12: out = "Hypnose (Lancome)"; break;
case 17: out = "Paris Hilton (Paris Hilton)"; break;
case 18: out = "Coco Mademoiselle (Chanel)"; break;
case 21: out = "No.5 (Chanel)"; break;
case 23: out = "Amor Amor (Cacharel)"; break;
case 24: out = "Jungle Elephant (Kenzo)"; break;
case 25: out = "Hugo Woman (Hugo Boss)"; break;
case 26: out = "Naomi (Naomi Campbell)"; break;
case 32: out = "Angel (Thierry Mugler)"; break;
case 33: out = "Light Blue (Dolce & Gabbana)"; break;
case 34: out = "Chance (Chanel)"; break;
case 40: out = "Délices (Cartier)"; break;
case 43: out = "Hugo Energise (Hugo Boss)"; break;
case 46: out = "Absolutely Givenchy (Givenchy)"; break;
case 48: out = "1881 Lumieres d'Ete (Cerruti)"; break;
case 52: out = "Boss (Hugo Boss)"; break;
case 53: out = "Silk Touch (MaxMara)"; break;
case 54: out = "Hugo (Hugo Boss)"; break;
case 56: out = "Fahrenheit (Christian Dior)"; break;
case 57: out = "Lacoste (Lacoste)"; break;
case 58: out = "Eclat d'Arpege (Lanvin)"; break;
case 59: out = "Spring in Paris (Celine Dion)"; break;
case 60: out = "Emporio City Glam (Giorgio Armani)"; break;
case 64: out = "Black Code (Giorgio Armani)"; break;
case 66: out = "Attitude (Giorgio Armani)"; break;
case 68: out = "Men (Dolce & Gabbana)"; break;
case 70: out = "Hugo Boss - Baldessarini Ambre"; break;
case 76: out = "White He (Giorgio Armani)"; break;
case 78: out = "Zegna Intenso (Zegna)"; break;
case 80: out = "Miss Dior Chérie (Christian Dior)"; break;
case 81: out = "Be Delicious (DKNY)"; break;
case 83: out = "Pour Homme Soir (Bvlgari)"; break;
case 88: out = "Strawberry Fruit"; break;
case 90: out = "Trendy Boy"; break;
case 91: out = "Pursuit (Dunhill)"; break;
case 93: out = "Chrome (Azzaro)"; break;
case 94: out = "Adidas Black (Adidas)"; break;
case 97: out = "Rush 2 (Gucci)"; break;
case 98: out = "Mexx Women (Mexx)"; break;
case 101: out = "Code (Giorgio Armani)"; break;
case 110: out = "La Male (Jean Paul Gaultier)"; break;
case 120: out = "Silvermoon (FM)"; break;
case 121: out = "Curious (Britney Spears)"; break;
case 122: out = "Inspiration (Lacoste)"; break;
case 124: out = "Insolence (Guerlain)"; break;
case 125: out = "Nina (Nina Ricci)"; break;
case 126: out = "Remix for Her (Giorgio Armani)"; break;
case 128: out = "Noa Perle (Cacharel)"; break;
case 129: out = "Into The Blue (Escada)"; break;
case 130: out = "Always for Her (Aramis)"; break;
case 131: out = "Happy (Clinique)"; break;
case 132: out = "Crystal Noir (Versace)"; break;
case 133: out = "Friend Men (Moschino)"; break;
case 134: out = "Acqua di Gio (Giorgio Armani)"; break;
case 135: out = "Aqva pour Homme (Bvlgari)"; break;
case 138: out = "Soul Man (Hugo Boss)"; break;
case 139: out = "True Star Men (Tommy Hilfiger)"; break;
case 140: out = "Remix for Him (Giorgio Armani)"; break;
case 141: out = "Bright Crystal (Versace)"; break;
case 142: out = "Dior Addict (Christian Dior)"; break;
case 145: out = "Dalimix (Salvador Dali)"; break;
case 146: out = "Lacoste Pour Femme (Lacoste)"; break;
case 147: out = "The One (Dolce & Gabbana)"; break;
case 148: out = "Miracle Forever (Lancome)"; break;
case 149: out = "Kenzo Amour (Kenzo)"; break;
case 150: out = "Eden (Cacharel)"; break;
case 151: out = "L'Homme (Yves Saint Laurent)"; break;
case 152: out = "Gucci pour Homme (Gucci)"; break;
case 153: out = "Tumulte pour Homme (Christian Lacroix)"; break;
case 155: out = "Prada pour Homme (Prada)"; break;
case 156: out = "Polo Black (Ralph Lauren)"; break;
case 157: out = "Due Uomo (Laura Biagiotti)"; break;
case 158: out = "Selection (Hugo Boss)"; break;
case 159: out = "Amor pour Homme (Cacharel)"; break;
case 160: out = "Essential (Lacoste)"; break;
case 162: out = "For Her (Narciso Rodriguez)"; break;
case 163: out = "Young Sexy Lovely (Yves Saint Laurent)"; break;
case 164: out = "Colours of Love (Guerlain)"; break;
case 165: out = "Lolita Lempicka (Lolita Lempicka)"; break;
case 166: out = "Magnetism for Men (Escada)"; break;
case 168: out = "Very Irresistible Attitude (Givenchy)"; break;
case 169: out = "Light Blue Pour Homme (Dolce & Gabbana)"; break;
case 170: out = "Be Delicious (DKNY)"; break;
case 173: out = "Hypnotic Poison (Christian Dior)"; break;
case 174: out = "Miracle (Lancome)"; break;
case 175: out = "5th Avenue (Elizabeth Arden)"; break;
case 176: out = "Touch of Pink (Lacoste)"; break;
case 177: out = "Mania (Giorgio Armani)"; break;
case 178: out = "Truth (Calvin Klein)"; break;
case 179: out = "L'Instant Magic (Guerlain)"; break;
case 180: out = "Emporio Armani Diamonds (Giorgio Armani)"; break;
case 181: out = "I love love (Moschino)"; break;
case 182: out = "Too Feminine (Aigner Parfums)"; break;
case 183: out = "Black XS for Her (Paco Rabanne)"; break;
case 184: out = "Innocent Illusion (Thierry Mugler)"; break;
case 185: out = "Hugo XX Woman (Hugo Boss)"; break;
case 186: out = "Fuel for Life Femme (Diesel)"; break;
case 188: out = "Tokyo by Kenzo (Kenzo)"; break;
case 189: out = "Fuel for Life Homme (Diesel)"; break;
case 190: out = "Cerruti pour Homme (Cerruti)"; break;
case 192: out = "Gucci By Gucci (Gucci)"; break;
case 195: out = "The One for men (Dolce & Gabbana)"; break;
case 197: out = "Adventure (Davidoff)"; break;
case 198: out = "Gucci by Gucci Pour Homme (Gucci)"; break;
case 199: out = "1 Milion (Paco Rabanne)"; break;
case 205: out = "Calvin Klein Man (Calvin Klein)"; break;
case 206: out = "Guerlain Homme (Guerlain)"; break;
case 207: out = "Twin for Men (Azzaro)"; break;
case 208: out = "Play (Givenchy)"; break;
case 209: out = "Signature for Him (David Beckham)"; break;
case 210: out = "Hugo XY Man (Hugo Boss)"; break;
case 219: out = "Boss in Motion White Edition (Hugo Boss)"; break;
case 220: out = "CK Free (Calvin Klein)"; break;
case 221: out = "Signature Story (David Beckham)"; break;
case 222: out = "L'Homme Sport (Lanvin)"; break;
case 223: out = "La Lune 18 (Dolce & Gabbana)"; break;
case 224: out = "Black XS (Paco Rabanne)"; break;
case 225: out = "Challenge (Lacoste)"; break;
case 226: out = "Boss Pure (Hugo Boss)"; break;
case 231: out = "Cool Water Wave (Davidoff)"; break;
case 232: out = "Pleasures (Estée Lauder)"; break;
case 233: out = "Liberté (Cacharel)"; break;
case 234: out = "Pure White Linen (Estée Lauder)"; break;
case 235: out = "Stylessence (Jil Sander)"; break;
case 236: out = "Rykiel Woman Hot! (Sonia Rykiel)"; break;
case 237: out = "Christina Aguilera (Christina Aguilera)"; break;
case 238: out = "Chloe Eau de Parfum (Chloe)"; break;
case 239: out = "The Beat (Burberry)"; break;
case 240: out = "Ralph Wild (Ralph Lauren)"; break;
case 250: out = "Thrill for Her (Joop!)"; break;
case 251: out = "Love (Ralph Lauren)"; break;
case 252: out = "Escale a'Portofino (Christian Dior)"; break;
case 253: out = "Magnetism (Escada)"; break;
case 254: out = "One Summer (Calvin Klein)"; break;
case 255: out = "Le Parfum (MaxMara)"; break;
case 256: out = "Vera Wang (Vera Wang)"; break;
case 257: out = "Burberry London (Burberry)"; break;
case 258: out = "Onde Mystere (Giorgio Armani)"; break;
case 259: out = "Notorious (Ralph Lauren)"; break;
case 260: out = "Style Soft (Jil Sander)"; break;
case 261: out = "L'Eau D'Issey (Issey Miyake)"; break;
case 262: out = "Eternity (Calvin Klein)"; break;
case 263: out = "Gabriela Sabatini (Gabriela Sabatini)"; break;
case 264: out = "Dreaming (Tommy Hilfiger)"; break;
case 265: out = "Signature by Escada (Escada)"; break;
case 266: out = "Jardins de Batagelle (Guerlain)"; break;
case 267: out = "Ed Hardy Love & Luck (Christian Audigier)"; break;
case 268: out = "Fleur Defendue (Lolita Lempicka)"; break;
case 269: out = "Clean Original (Clean)"; break;
case 270: out = "Si Lolita (Lolita Lempicka)"; break;
case 271: out = "Ocean Sun (Gabriella Sabatini)"; break;
case 272: out = "Flowing Woman (Puma)"; break;
case 273: out = "L'Instant (Guerlain)"; break;
case 274: out = "Cascade (Chopard)"; break;
case 275: out = "Unforgivable (Sean John)"; break;
case 281: out = "Moon Sparkle (Escada)"; break;
case 283: out = "Can Can (Paris Hilton)"; break;
case 284: out = "Delicious Night (DKNY)"; break;
case 285: out = "Secret Obsession (Calvin Klein)"; break;
case 286: out = "Midnight Poison (Christian Dior)"; break;
case 287: out = "Jasmin Noir (Bvlgari)"; break;
case 288: out = "Incredible Me (Escada)"; break;
case 289: out = "Magnifique (Lancome)"; break;
case 290: out = "Sensuous (Estée Lauder)"; break;
case 291: out = "Diamonds Intense (Giorgio Armani)"; break;
case 292: out = "Ocean Lounge (Escada)"; break;
case 293: out = "Amor Amor Tentation (Cacharel)"; break;
case 294: out = "Elle (Yves Saint Laurent)"; break;
case 295: out = "Signature Woman (V. Beckham)"; break;
case 296: out = "Versense (Versace)"; break;
case 297: out = "Boss Orange Woman (Hugo Boss)"; break;
case 298: out = "Flora (Gucci)"; break;
case 299: out = "Hot Water Men (Davidoff)"; break;
case 300: out = "Homme Sport (Christian Dior)"; break;
case 301: out = "Only The Brave (Diesel)"; break;
case 302: out = "Ambre Sultan (Serge Lutens)"; break; 
case 303: out = "Cat Deluxe at Night (Naomi Campbell)"; break;
case 304: out = "Boss Woman (Hugo Boss)"; break;
case 305: out = "Ricci Ricci (Nina Ricci)"; break;
case 306: out = "Love Fills L´Air Du Temps (Nina Ricci)"; break;
case 307: out = "Lola (Marc Jacobs)"; break;
case 308: out = "Scarlett (Cacharel)"; break;
case 309: out = "Escale a Pondichery (Christian Dior)"; break;
case 310: out = "Idylle (Guerlain)"; break;
case 311: out = "Amarige Mariage (Givenchy)"; break;
case 312: out = "Desire Me (Escada)"; break;
default: out = GetLocalNazev(artikl); break;
}
  
  LevaZav = out.indexOf("(");
  PravaZav = out.indexOf(")"); 
  Delka = out.length;  
  switch(misto) {
    case 1:
    { /* katalog na webu */
	 if (LevaZav > 0)
	   {
	    out = out.substring(LevaZav+1, PravaZav) + " - " + out.substring(0, LevaZav);
		break;
	   }
	}
	case 2:
	{ /* katalog tištìný */
	 if (LevaZav > 0)
	   {
	    out = "<i>" + out.substring(LevaZav+1, PravaZav) + "</i> - " + out.substring(0, LevaZav);
		break;
	   }
	}
  }
  return out;
}  /*** function GetNazev */
