/*
function children_types (elem)
{
  var ret= new Array();
  for (var i=0; i<elem.childNodes.length; i++)
    ret.push(elem.childNodes[i].nodeName);
  return ret;
}
*/

function cs (c,s)
{
  c.style.visibility= s==0 ? 'hidden' : 'visible';
  c.style.display= s==0 ? 'none' : 'block';
}

function find_child_by_type (elem, type, idx)
{
  var i=0, j;
  for (j=0; (j<=idx) && (i<elem.childNodes.length); j++,i++)
  {
    for (; (i<elem.childNodes.length) && (elem.childNodes[i].nodeName != type); i++);
    if (j==idx) break; // j
  }
  return i<elem.childNodes.length ? elem.childNodes[i] : null;
}

function m1s0 (menu_img, op)
// op: 0=hide, -1=invert
{
  var menu_div= menu_img.parentNode.parentNode;
  var submenu_div= find_child_by_type(menu_div,'DIV',0);
  var ov= submenu_div.className == 'sms';
  var nv= op==0 ? false : !ov ;
  if (nv)
  {
    submenu_div.className= 'sms';
    menu_img.src= "files/img/menu_up.gif";
  }
  else
  {
    submenu_div.className= 'smh';
    menu_img.src= "files/img/menu_dn.gif";
  }
  return nv;
}

var prev_opened_menu_img= null;
function m1s (menu_img)
{
  if ( (prev_opened_menu_img != null) && (prev_opened_menu_img != menu_img) )
  {
    m1s0(prev_opened_menu_img,0);
    prev_opened_menu_img= null;
  }

  if ( m1s0(menu_img,-1) )
    prev_opened_menu_img= menu_img;
  else
    prev_opened_menu_img= null;
}

function doc_write__headers (d)
{
  d.title= unescape("Premio România: Anvelope şi Servicii"); // sh = &#351;

  d.writeln('<div id="header">');
/*
  d.writeln('<div id="flash_header">');
  d.writeln('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="1010" height="90" id="head_winter" align="center">');
  d.writeln('<param name="allowScriptAccess" value="sameDomain" />');
  d.writeln('<param name="movie" value="files/img/header_premio_snow.swf" />');
  d.writeln('<param name="quality" value="high" />');
  d.writeln('<param name="wmode" value="transparent" />');
  d.writeln('<param name="bgcolor" value="#ffffff" />');
  d.writeln('<embed src="files/img/header_premio_snow.swf" quality="high" wmode="transparent" bgcolor="#00ff00" width="1010" height="90" name="head_winter" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  d.writeln('</object>');
  d.writeln('</div>');
*/

  d.writeln('<div id="logo"><a href=""><img src="files/img/premio_logo_ro.gif" width="315" height="40" border="0" alt="Premio România: Anvelope şi Servicii" title="Premio România: Anvelope şi Servicii" /></a></div>');

/*
  d.writeln('<div id="header_nav">');
  d.write('<span class="header_nav_0">');
  d.write('<a href="home/unternehmen.html" class="header_nav_0">Unternehmen</a>');
  d.write('&#124;');
  d.write('<a href="home/sitemap.html" class="header_nav_0">Sitemap</a>');
  d.write('&#124;');
  d.write('<a href="home/impressum.html" class="header_nav_0">Impressum</a>');
  d.writeln('</span>');
  d.writeln('</div>');
*/
  d.writeln('</div>');

}
function doc_write__footers (d)
{
  d.writeln('<div id="footer">');
  d.writeln('</div>');
  d.writeln('<div id="end">');
  d.writeln('<p style="float: right; padding-right: 30px; margin: 0px;">Copyright &copy; Goodyear Dunlop Tires Romania srl</p>');
  d.writeln('</div>');
}

function doc_write__left (d)
{
  d.writeln('<div id="left">');
  doc_write__menu_ro1(d);
  doc_write__menu_aux(d);
  d.writeln('</div>');
}
function doc_write__right (d, on_promo_page)
{
  var show_info= false;
  var show_promo= true;
  var show_magazin= true;
  var show_partener= false;
  var show_abonare= true;

  d.writeln('<div id="right">');

  if (show_abonare)
  {
    d.writeln('<div id="content_right">');
    d.writeln('<h5>Premio Info</h5>');
    d.writeln('<p class="j" style="margin: 0px 0px 5px 5px;">Veţi fi notificaţi prin email</p>');
    d.writeln('<a href="email_abonare.html"><img src="./files/img/abonare.png" width="81" height="22" alt="abonare newsletter" style="border: 0px; float: right;" /></a>');
    d.writeln('<br/><br/>');
    d.writeln('</div>');
  }
  if (show_info)
  {
    d.writeln('<div id="content_right">');
    d.writeln('<h5>Premio Info</h5>');
    d.writeln('<a target=_blank href="files/auxr/PREMIO_EARLYBIRD_FLYER_2010 RO_A5_R.pdf"><img src="./files/auxr/flyer02_2.jpg" width="180"  /></a>');
    d.writeln('</div>');
  }
  if (show_promo)
  {
    d.writeln('<div id="content_right">');
    d.writeln('<h5>Promoţie iarnă</h5>');
    if (on_promo_page)
      d.writeln('<a target=_blank href="./files/docs/promo2011w/Winter_Premio_Poster.pdf">');
    else
      d.writeln('<a href="promo2011w.php">');
    d.writeln('<img src="./files/docs/promo2011w/Winter_Premio_Poster.jpg" width="180" />');
    d.writeln('</a>');
    d.writeln('</div>');
  }
  if (show_magazin)
  {
    d.writeln('<div id="content_right">');
    d.writeln('<h5>Premio Magazin</h5>');
    d.writeln('<a href="revista_premio.html"><img src="./files/docs/pmagazine/cover_15.jpg" width="179" height="253" /></a>');
    d.writeln('</div>');
  }
  if (show_partener)
  {
    d.writeln('<div id="content_right">');
    d.writeln('<h5>Partener Premio</h5>');
    d.writeln('<a href="contact_partener.html"><img src="./files/auxr/partener.jpg" width="180" alt="Deveni&#355;i partener Premio" style="border: 0px;" /></a>');
    d.writeln('</div>');
  }

  d.writeln('</div>');
}

var flash_img_str_r= "<img src=\"files/img/flashx.gif\" style=\"float:right; margin: -2px 20px 0px 0px;\" />";
var flash_img_str_l= "<img src=\"files/img/flashx.gif\" style=\"float:left; margin: -2px 5px 0px 0px;\" />";

var menu_items= [
["Prima pagin&#259;",							"index.html",
	null
],
[flash_img_str_l+"Promoţie iarnă",							"promo2011w.php",
	null
],
/*
["Promoţie vară",							"promo2011s.html",
	null
],*/
/*
["Oferte de top e",								"empty.html",
	[
		["promoţia curentă e",			"empty.html"]
	]
],*/
["Anvelope",								"anvelope.html",
	null
],
["Jante",								"jante.html",
	null
],
["Servicii",								"servicii_auto.html",
	[
		["auto",							"servicii_auto.html"],
		["inspec&#355;ie",					"servicii_inspect.html"],
		["verificare",						"servicii_verif.html"],
		["depozitare",						"servicii_depozit.html"]/*,
		["mediu",							"servicii_environ.html"]*/
	]
],
["Re&#355;eaua Premio",							"retea_premio.html",
	null
],
[flash_img_str_l+"Club Premio",						"club_premio.html",
	null
],
["Informa&#355;ii utile",						/*"informatii_utile.html"*/"informatii_stiri.html",
	[
//		["ABC",							"informatii_abc_a.html"],
		["&#350;tiri",					"informatii_stiri.html"],
		["Istoric &#351;tiri",					"informatii_stiri_istoric.html"],
		["Revista Premio",					"revista_premio.html"],
		["Nout&#259;&#355;i - abonare",				"email_abonare.html"]
	]
],
["Al&#355;i furnizori Premio",							"alti_furnizori_tt.html",
	[
		["Total Trading",							"alti_furnizori_tt.html"],
		["IKEDA",							"alti_furnizori_ik.html"]
	]
],
["Contact",									/*"contact_desprenoi.html"*/"contact_partener.html",
null
/*
	[
		["despre noi",						"contact_desprenoi.html"],
		["deveni&#355;i partener",				"contact_partener.html"]
	]
*/
],
["Premio Interna&#355;ional",						"http://www.premio.eu",
	null
]
]; // menu_items

function get_curr_page (d)
{
  var ret= d.location.pathname;
  var idx_last_bsl= ret.lastIndexOf("\\");
  var idx_last_sl= ret.lastIndexOf("/");
  var idx_last= Math.max(idx_last_bsl,idx_last_sl);
  ret= ret.substring(idx_last+1);

//alert(ret);
  return ret;
}
function get_menu_idxs (page)
{
  if (page=='') page= 'index.html';
  if (page=='empty.html') return [-1,-1];
  if (page.indexOf('informatii_abc_')==0) page= 'informatii_abc_a.html';

  var i, j, mi;
  for (i=0; i<menu_items.length; i++)
  {
    mi= menu_items[i];
    if (mi[2]!=null)
      for (j=mi[2].length-1; (j>=0) && (mi[2][j][1]!=page); j--);
    else
      j= -1;
    if (j!=-1) break; // i
    if (mi[1]==page) break; // i
  } // for i
  return [i,j];
}
function doc_write__menu_ro1 (d)
{
  d.writeln('<div id="menu">');

  var cp= get_curr_page(d);
  var midxs= get_menu_idxs(cp);
//alert(midxs);

  var i, j, mi, mj, has_sub;
  for (i=0; i<menu_items.length; i++)
  {
    mi= menu_items[i];
    has_sub= (mi[2]!=null) && (mi[2].length!=0);
    if (!has_sub)
    {
      d.writeln('<div>');
      if (i==midxs[0])
        d.writeln('<p class="menu1s">'+mi[0]+'</p>');
      else
      {
        d.writeln('<a class="menu1" href="'+mi[1]+'"'+
          (mi[1]=='http://www.premio.eu' ? ' target=_blank':'')+
          '>'+mi[0]+'</a>');
      }
      d.writeln('</div>');
    }
    else // has_sub
    {
      d.writeln('<div>');

      if (i==midxs[0])
        if (midxs[1]==-1)
        {
          d.write('<p class="menu1s">');
          d.write('<img id="start_opened_menu_img" onclick="m1s(this);return false" src="files/img/menu_up.gif" />');
          d.write(mi[0]);
          d.writeln('</p>');

          prev_opened_menu_img= d.getElementById("start_opened_menu_img");
        }
        else
          if (mi[1] != mi[2][midxs[1]][1])
          {
            d.write('<a class="menu1s" href="'+mi[1]+'">');
            d.write(mi[0]);
            d.writeln('</a>');
          }
          else
          {
            d.write('<p class="menu1s">');
            d.write(mi[0]);
            d.writeln('</p>');
          }
      else
      {
        d.write('<a class="menu1" href="'+mi[1]+'">');
        d.write('<img onclick="m1s(this);return false" src="files/img/menu_dn.gif" />');
        d.write(mi[0]);
        d.writeln('</a>');
      }

      if (i==midxs[0])
        d.writeln('<div class="sms">');
      else
        d.writeln('<div class="smh">');

      for (j=0; j<mi[2].length; j++)
      {
        mj= mi[2][j];
        if ( (i==midxs[0]) && (j==midxs[1]) )
          d.writeln('<p class="menu2">'+mj[0]+'</p>');
        else
          d.writeln('<a class="menu2" href="'+mj[1]+'">'+mj[0]+'</a>');
      }
      d.writeln('</div>');
      d.writeln('</div>');
    } // has_sub
  } // for i

  d.writeln('</div>');
}


var news=
[
	[	"16.04.2009",
		"Lansare Deva - Premio Autogrup Anvelope",
		"Goodyear Dunlop Tires România împreună cu <b>Autogroup Design</b> lansează primul magazin-service Premio în Deva, judeţul Hunedoara.",
		"files/docs/Comunicat Presa_Lansare Premio Autogroup_16.04.2009.doc"
	],
	[	"06.05.2009",
		"Lansare Bucureşti - Premio Primat Silver",
		"Goodyear Dunlop Tires România şi Primat Gold au inaugurat astăzi primul magazin-service Premio în Bucureşti. <b>Premio Primat Silver</b> este astfel al doilea magazin-service din România, ce a îmbrăţişat conceptul Premio de la Goodyear.",
		"files/docs/Comunicat Presa_Lansare Premio Primat Silver_06.05.2009.doc"
	],
	[	"19.08.2009",
		"Lansare Râmnicu-Vâlcea - Premio Gomm",
		"Goodyear Dunlop Tires România împreună cu partenerul său <b>Gomm SRL</b> lansează primul magazin-service Premio din zona Olteniei.",
		"files/docs/Comunicat Presa_Lansare Premio Gomm_19.08.2009.doc"
	],
	[	"30.09.2009",
		"Lansare Timişoara - Premio Dumivest",
		"Goodyear Dunlop Tires România împreună cu partenerul său <b>Dumivest</b> lansează primul magazin-service Premio greenfield din România, la Timişoara.",
		"files/docs/Comunicat Presa_Lansare Premio Dumivest_30.09.2009.doc"
	],
	[	"08.12.2009",
		"Lansare Ploieşti - Premio Speed",
		"Goodyear Dunlop Tires România împreună cu partenerul său <b>Speed SRL</b> au inaugurat primul magazin-service Premio din lanţul de franciză recent introdus pe piaţa românească al service-ului de anvelope de pe Valea Prahovei.",
		"files/docs/Comunicat Presa_Lansare Premio Speed_08.12.2009.doc"
	],
	[	"22.01.2010",
		"Lansare Galaţi - Premio Service",
		"Goodyear Dunlop Tires România împreună cu partenerul său <b>Nalba Galaţi</b> inaugurează Premio Service, primul magazin-service Premio din zona de Est a ţării în lanţul de franciză de la Goodyear recent introdus pe piaţa românească a service-ului de anvelope.",
		"files/docs/Comunicat Presa_Lansare Premio Service_22.01.2010.doc"
	],
	[	"14.05.2010",
		"Lansare Bucureşti - Premio HIL-SERV",
		"Goodyear Dunlop Tires România şi <b>HIL-SERV</b> introduc pe piaţă un nou magazin-service din lanţul de franciză Premio Service roţi cu 101% satisfacţie garantată.",
		"files/docs/Comunicat Presa_Lansare Premio Hil-Serv_14.05.2010.doc"
	],
	[	"17.06.2010",
		"Lansare Bucureşti-Voluntari - Premio Barami",
		"Goodyear Dunlop Tires România şi <b>Barami Trading SRL</b> introduc pe piaţă un nou magazin-service din lanţul de franciză Premio Service roţi cu 101% satisfacţie garantată.",
		"files/docs/Comunicat Presa_Lansare Premio Barami_17.06.2010.doc"
	],
	[	"29.07.2010",
		"Lansare Botoşani - Premio REC",
		"Goodyear Dunlop Tires România şi <b>REC Botoşani</b> introduc pe piaţă un nou magazin-service din lanţul de franciză Premio.",
		"files/docs/CP_Lansare_Premio_REC_Botosani_29.07.2010.doc"
	],
	[	"20.10.2010",
		"Lansare Suceava - Premio RAILEX",
		"Goodyear şi Railex lansează <b>PREMIO RAILEX</b>: cea mai mare investiţie pe piaţa service-ului şi retail-ului cu anvelope din Europa de Sud-Est acum la Suceava.",
		"files/docs/Comunicat Presa_Lansare Premio Railex_20.10.2010.doc"
	],
	[	"02.11.2010",
		"Lansare Arad - Premio Dumivest",
		"S.C. <b>Dumivest</b> revine cu al doilea centru Premio în lanţul de franciză Premio de la Goodyear.",
		"files/docs/Comunicat Presa_Lansare Premio Dumivest_02.11.2010.doc"
	],
	[	"11.11.2010",
		"Lansare Târgu Mureş - Premio Mondo Trade",
		"Premio de azi şi în Târgu Mureş: <b>Premio Mondo Trade</b> – primul centru cu franciză europeană de la Goodyear din judeţul Mureş.",
		"files/docs/Comunicat Presa_Lansare Premio Mondo Trade_11.11.2010.doc"
	],
	[	"25.11.2010",
		"Lansare Cluj - Premio Frontier",
		"Goodyear şi Frontier International Group lansează <b>Premio Frontier</b> – primul centru cu franciză europeană de la Goodyear din judeţul Cluj.",
		"files/docs/Comunicat Presa_Lansare Premio Frontier_25.11.2010.doc"
	],
	[	"14.12.2010",
		"Lansare Baia Mare - Premio Tenet",
		"Premio în Maramureş: Goodyear Dunlop Tires România şi <b>Tenet S.R.L</b> deschid primul centru din franciza Premio în nordul ţării.",
		"files/docs/Comunicat Presa_Lansare Premio Tenet_14.12.2010.doc"
	],
	[	"16.12.2010",
		"Lansare Braşov - Premio Arinovis",
		"<b>Premio Arinovis</b> – primul centru Premio cu franciză europeană de la Goodyear din inima ţării.",
		"files/docs/Comunicat Presa_Lansare Premio Arinovis_16.12.2010.doc"
	],
	[	"03.03.2011",
		"Lansare Satu Mare - Premio Esedra",
		"<b>Premio Esedra</b> – franciza Premio se extinde şi la Satu Mare - Premio Esedra primul centru Premio din 2011.",
		"files/docs/Comunicat Presa_Lansare Premio Esedra_03.03.2011.doc"
	],
	[	"14.07.2011",
		"Lansare Craiova - Premio Auto Class",
		"<b>Premio Auto Class</b> – investiţii de peste 800.000 euro în primul centru Premio greenfield cu franciză de la Goodyear din Oltenia.",
		"files/docs/Comunicat Presa_Lansare Premio Auto Class_14.07.2011.doc"
	],
	[	"21.07.2011",
		"Lansare Oradea - Premio Top Westyre",
		"<b>Premio Top Westyre</b> – primul centru Premio din Oradea.",
		"files/docs/CP_Premio_Top Westyre_Oradea.doc"
	],
	[	"06.09.2011",
		"Lansare Piteşti - Premio Ara Grup",
		"<b>Premio Ara Grup</b> – dublă extindere.",
		"files/docs/Comunicat Presa_Lansare Premio Ara Grup_06.09.2011.doc"
	],
	[	"14.09.2011",
		"Lansare Bucureşti - Premio Ara Grup",
		"<b>Premio Ara Grup</b> – dublă extindere.",
		"files/docs/Comunicat Presa_Lansare Premio Ara Grup Bucuresti_14.09.2011.doc"
	],
	[	"29.09.2011",
		"Lansare Bacău - Premio Gomma Motors",
		"<b>Premio Gomma Motors</b> – un nou centru greenfield în reţeaua Premio din România.",
		"files/docs/Comunicat Presa_Lansare Premio Gomma Motors Bacau_29.09.2011.doc"
	],
	[	"05.10.2011",
		"Club Premio",
		"Vino în Club Premio şi bucură-te de avantajele unui client VIP!",
		null,
		"<a href=\"club_premio.html\">Club Premio</a>"
	],
	[	"05.10.2011",
		"Promoţie iarnă",
		"Premio te echipează şi te premiază!<br/>"+
		"Vino în perioada 5 Octombrie – 5 Decembrie în reţeaua de magazine Premio, cumpără un set de 4 anvelope de iarnă Goodyear, Dunlop sau Fulda pentru turisme şi câştigi pe loc un kit de iarnă şi alte premii prin tragere la sorţi!<br/>"+
		"Mai multe detalii pe <a href=\"promo2011w.php\" style=\"float: none;\">Promoţie iarnă</a>."
		,
		null,
		null
	],
	[	"11.10.2011",
		"Lansare Iaşi - Premio Cedol",
		"<b>Premio CEDOL</b> – primul centru standardizat pentru service-ul şi retail-ul cu anvelope din judeţul Iaşi.",
		"files/docs/Comunicat Presa_Lansare Premio Cedol Iasi_11.10.2011.doc"
	],
	[	"30.11.2011",
		"Lansare Afumaţi - Premio AutoEst",
		"AUTOEST Invest intră în franciza Premio de la Goodyear: <b>Premio AutoEst</b>, al doilea centru de profil din zonele limitrofe Bucureştiului.",
		"files/docs/Comunicat Presa_Lansare Premio AutoEst Afumati_30.11.2011.doc"
	],
	[	"20.12.2011",
		"Lansare Baia Mare - Premio Tenet II",
		"Tenet Baia Mare şi Goodyear Dunlop Tires România lansează cel de-al doilea magazin-service Premio marca Tenet.",
		"files/docs/Comunicat Presa_Lansare Premio Tenet Baia Mare_20.12.2011.doc"
	]
];

function write_news_long_1 (d, i)
{
  var cnew= news[i];

  d.write('<div>');
  d.write('<h2><span>'+cnew[0]+'</span>'+cnew[1]+'</h2>');
  d.write('<p class="j uti">');
  d.write(cnew[2]);
  d.write('<br/>');
  if (cnew[3])
    d.write('<a target=_blank href=\"'+cnew[3]+'\">comunicat de presă</a>');
  if (cnew[4])
    d.write(cnew[4]);
  d.write('<br/>');
  d.write('</p>');
  d.writeln('<hr/></div>');
}

var last_news_n= 5;

var romap_suf= '20';
var romap_0_fn= './files/img/romap'+romap_suf+'s.gif';
var romap_0_dx= 180;
var romap_0_dy= 121;
var romap_1_fn= './files/img/romap'+romap_suf+'.gif';
var romap_1_dx= 301;
var romap_1_dy= 203;

function romap_resize (dx,dy, ssrc)
{
  var im= document.getElementById("map_ro");
  im.style.width = dx+"px";
  im.style.height= dy+"px";
  var ddy= dy-romap_0_dy;
//  ddy= new Number((ddy/2).toFixed(0));
  im.parentNode.style.top= (-ddy)+"px";
  im.src= ssrc;
}
function div_map__mover ()
{
  romap_resize(romap_1_dx,romap_1_dy,romap_1_fn);
}

function div_map__mout (e)
{
  if (e==null) e= window.event;
  var tgt= e.relatedTarget;
  if (tgt==null) tgt= e.toElement;
  if ( (tgt!=null) && (tgt.getAttribute("kbm")!=null) ) return;

  cs(document.getElementById('div_maplocs'),0);
  romap_resize(romap_0_dx,romap_0_dy,romap_0_fn);
}
function div_maplocs__mout (e)
{
  if (e==null) e= window.event;
  var tgt= e.relatedTarget; if (tgt==null) tgt= e.toElement;
  if ( (tgt!=null) && (tgt.getAttribute("kml")!=null) ) return;

//alert("div_maplocs__mout: e.relatedTarget="+tt(e.relatedTarget)+" e.toElement="+tt(e.toElement));
  cs(document.getElementById('div_maplocs'),0);
}

var map_locs= [ // tau, anchor, text
  ["AR","ar_dumivest","Arad - Premio Dumivest"],
  ["BC","bc_gomma"   ,"Bacău - Premio Gomma Motors"],
  ["MM","mm_tenet"   ,"Baia Mare - Premio Tenet"],
  ["MM","mm_tenet2"  ,"Baia Mare - Premio Tenet II"],
  ["BT","bt_rec"     ,"Botoşani - Premio REC"],
  ["BV","bv_arinovis","Braşov - Premio Arinovis"],
  ["B" ,"b__primat"  ,"Bucureşti - Premio Primat Silver"],
  ["B" ,"b__hilserv" ,"Bucureşti - Premio HIL-SERV"],
  ["B" ,"b__aragrup" ,"Bucureşti - Premio Ara Grup"],
  ["IF","if_autoest" ,"Ilfov-Afumaţi - Premio AutoEst"],
  ["IF","if_barami"  ,"Ilfov-Voluntari - Premio Barami"],
  ["CJ","cj_frontier","Cluj - Premio Frontier"],
  ["DJ","dj_autoclas","Craiova - Premio Auto Class"],
  ["HD","hd_autogrup","Deva - Premio Autogrup Anvelope"],
  ["GL","gl_service" ,"Galaţi - Premio Service"],
  ["IS","is_cedol"   ,"Iaşi - Premio CEDOL"],
  ["BH","bh_westyre" ,"Oradea - Premio Top Westyre"],
  ["AG","ag_aragrup" ,"Piteşti - Premio Ara Grup"],
  ["PH","ph_speed"   ,"Ploieşti - Premio Speed"],
  ["VL","vl_gomm"    ,"Râmnicu-Vâlcea - Premio Gomm"],
  ["SM","sm_esedra"  ,"Satu Mare - Premio Esedra"],
  ["SV","sv_railex"  ,"Suceava - Premio Railex"],
  ["MS","ms_mondo"   ,"Târgu Mureş - Premio Mondo Trade"],
  ["TM","tm_dumivest","Timişoara - Premio Dumivest"]
];

function romap_show_locs (map_area)
{
  var ml= document.getElementById("div_maplocs");
  var coords= (""+map_area.coords).split(",");
  ml.style.left= ((new Number(coords[0]))-20).toFixed(0)+"px";
  ml.style.top = ((new Number(coords[1]))-10).toFixed(0)+"px";

  var tau= map_area.getAttribute("tau");
  var i;
  var s= '';
  for (i=0; i<map_locs.length; i++)
  {
    if (map_locs[i][0]!=tau) continue;
    s+= (s.length>0 ? "<br>":"");
    s+= '<a class="ml" kbm="1" kml="1" href="retea_premio.html#'+map_locs[i][1]+'">';
    s+= map_locs[i][2]+'</a>';
  }

  ml.innerHTML= s;
  cs(ml,1);
}
function doc_write__menu_aux (d)
{
  d.writeln('<div id="content_left" style="padding-top: 15px;">');

  d.writeln('<div class="bluebox" style="position: relative; width: 180px; height: 122px; z-index: 3; padding-top: 0px; padding-left: 1px; padding-right: 2px;">');
  d.writeln('<div style="position: absolute; margin-top: 4px;"');
  d.writeln('onmouseover="div_map__mover()" onmouseout="div_map__mout(event)"');
  d.writeln('>');
  d.writeln('<div id="div_maplocs" kbm="1" kml="1"');
  d.writeln('onmouseout="div_maplocs__mout(event)"');
  d.writeln('></div>');

  d.writeln('<img id="map_ro" kbm="1" src="./files/img/romap'+romap_suf+'s.gif" width="'+romap_0_dx+'" height="'+romap_0_dy+'" usemap="#map1" />');

  d.writeln('<MAP name="map1">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="60,80,5"   tau="AR" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="130,22,5"  tau="MM" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="207,25,5"  tau="BT" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="155,100,5" tau="BV" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="189,157,5" tau="IF" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="189,170,5" tau="B"  onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="115,65,5"  tau="CJ"  onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="115,170,5" tau="DJ" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="94,104,5"  tau="HD" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="242,101,5" tau="GL" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="191,137,5" tau="PH" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="130,128,5" tau="VL" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="92,25,5"   tau="SM" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="180,28,5"  tau="SV" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="150,70,5"  tau="MS" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="44,105,5"  tau="TM" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="75,55,5"   tau="BH" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="150,150,5" tau="AG" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="215,77,5"  tau="BC" onmouseover="romap_show_locs(this)">');
  d.writeln(' <AREA href="javascript:" shape="circle" coords="215,43,5"  tau="IS" onmouseover="romap_show_locs(this)">');
  d.writeln('</MAP>');

  d.writeln('</div>');
  d.writeln('</div>');

  d.writeln('</div>');

  d.writeln('<div class="h6e">');
  d.writeln('<h6>Ştiri</h6>');
  d.writeln('</div>');

  d.writeln('<div id="content_left">');
  d.writeln('<div id="news">');
  d.writeln('<div class="bluebox" style="height: 160px; overflow-y: scroll">');

  var n9= news.length-1;
  var n0= n9-last_news_n+1; if (n0<0) n0=0;
  var i;
  for (i=n9; i>=n0; i--)
    d.writeln('<h4>'+news[i][0]+'</h4><a href="informatii_stiri.html">'+news[i][1]+'</a>');

  d.writeln('</div>');
  d.writeln('</div>');

  d.writeln('</div>');
}

