function display_box (color, title, content)
{
document.write('<div class="textbox_'+color+'"><h1>'+title+'</h1>'+content+'</div>');
}
var myvar;
function menuinit(i) {

				 if (i=='m0'){
  			 document.getElementById('m0').style.display = 'none';
  			 document.getElementById('m1').style.display = 'none';
  			 document.getElementById('m2').style.display = 'none';
				 document.getElementById('pm0').src = 'gif/dot.gif';
				 document.getElementById('pm1').src = 'gif/plus.png';
				 document.getElementById('pm2').src = 'gif/plus.png';
				 }
				 else {
  			 document.getElementById('m0').style.display = 'none';
  			 document.getElementById('m1').style.display = 'none';
  			 document.getElementById('m2').style.display = 'none';
				 document.getElementById('pm0').src = 'gif/dot.gif';
				 document.getElementById('pm1').src = 'gif/plus.png';
				 document.getElementById('pm2').src = 'gif/plus.png';
	
				 document.getElementById('p' + i).src = 'gif/minus.png';
				 document.getElementById(i).style.display = 'block';		 
				 }
				 
}
function menuexpand (i) {	 
    menuinit(i);
        if (myvar == i) {
		document.getElementById('p' + i).src = 'gif/plus.png';
		document.getElementById(i).style.display = 'none';
		myvar = '';
	}
        else {
		document.getElementById('p' + i).src = 'gif/minus.png';
		document.getElementById(i).style.display = 'block';
		myvar = i;	
	}
}
function expandable_menu (expanded_category, selected_item)
{
;
document.write('<ul id="nav">');
document.write('<div id="m0"><img id="pm0" src="" alt=""></div>');
;
document.write('<li>');
document.write('<a href="#" class="span" onclick="menuexpand(\'m1\');return false;">Produse<img id="pm1" src="" alt=""></a>');
document.write('<ul id="m1">');
;
document.write('<li><a ');
if (selected_item=='1')document.write(' id="current" ');
document.write('href="ghid_selectie_cantare_auto.htm" title="Cantare auto - ghid de selectie">Ghid de selectie</a></li>');
;
document.write('<li><a id="head">');
document.write('<center>Cu platforma din BETON</center></a></li>');
;	
document.write('<li><a ');
if (selected_item=='2')document.write(' id="current" ');
document.write('href="cantar_auto_beton_fix.htm" title="Cantar auto cu platforma de beton - FIX">Din beton - FIX</a></li>');
;	
document.write('<li><a ');
if (selected_item=='3')document.write(' id="current" ');
document.write('href="cantar_auto_beton_kit.htm" title="Cantar auto cu platforma de beton - KIT de componente">Din beton - KIT componente</a></li>');
;
document.write('<li><a ');
if (selected_item=='4')document.write(' id="current" ');
document.write('href="cantar_auto_beton_mobil.htm" title="Cantar auto cu platforma de beton - MOBIL">Din beton - MOBIL <font color="FFFF00"> (NOU!)</font></a></li>');
;	
document.write('<li><a id="head">');
document.write('<center>Cu platforma din METAL</center></a></li>');
;	
document.write('<li><a ');
if (selected_item=='5')document.write(' id="current" ');
document.write('href="cantar_auto_metal_relocabil.htm" title="Cantar auto cu platforma din metal - RELOCABIL">Din metal - RELOCABIL</a></li>');
;			 
document.write('<li><a ');
if (selected_item=='6')document.write(' id="current" ');
document.write('href="cantar_auto_metal_mobil.htm" title="Cantar auto cu platforma din metal - MOBIL">Din metal - MOBIL</a></li>');
;
document.write('<li><a ');
if (selected_item=='7')document.write(' id="current" ');
document.write('href="cantar_auto_metal_cuva.htm" title="Cantar auto cu platforma din metal - IN CUVA">Din metal - IN CUVA</a></li>');
;
document.write('<li><a ');
if (selected_item=='8')document.write(' id="current" ');
document.write('href="cantar_auto_osie.htm" title="Cantare auto mobile - AXA cu AXA">Din metal - OSIE CU OSIE</a></li>');
;
document.write('<li><a id="head">');
document.write('<center>Conversie cantar mecanic</center></a></li>');
;	
document.write('<li><a ');
if (selected_item=='9')document.write(' id="current" ');
document.write('href="modernizare_cantare_mecanice.htm" title="Modernizare cantare mecanice existente">Modernizare cantare</a></li>');
;

document.write('</ul></li>');	
;
// Product category 2
document.write('<li>');
document.write('<a href="#" class="span" onclick="menuexpand(\'m2\');return false;">Servicii<img id="pm2" src="" alt=""></a>');
document.write('<ul id="m2">');
;
document.write('<li><a ');
if (selected_item=='1')document.write(' id="current" ');
document.write('href="service_cantare_auto.htm" title="Service si mentenanta cantare auto">Service / Intretinere</a></li>');
;
document.write('<li><a ');
if (selected_item=='2')document.write(' id="current" ');
document.write('href="asistenta_verificare_metrologica.htm" title="Asistenta tehnica la verificarea metrologica periodica">Asistenta verificare period.</a></li>');
;
document.write('</ul></li>');
;

//document.write('</ul></li>');
;
document.write('</ul>');
;
menuinit(expanded_category);
}
// end of exapandable_menu
function reserved_1()
{
;		
}
function reserved_2()
{
;
}
function reserved_3()
{
;
}