﻿var cText = '';

var titoli_id = new Array();
titoli_id[0] = "MOTORI";
titoli_id[1] = "RIDUTTORI";

var titoli = new Array();
titoli[0] = "MOTORS";
titoli[1] = "REDUCERS";

var menu = new Array();
menu[0] = new Array();
menu[0][0] = "showSub('sub00','');";
menu[0][1] = "showSub('sub01','');";
menu[0][2] = "showSub('sub02','');";
menu[1] = new Array();
menu[1][0] = "showSub('sub10','');";
menu[1][1] = "showSub('sub11','');";
menu[1][2] = "showSub('sub12','');";
menu[1][3] = "showSub('sub13','');";

var menu_text = new Array();
menu_text[0] = new Array();
menu_text[0][0] = 'Delphi three-phase motors';
menu_text[0][1] = 'Delphi AT self-braking motors';
menu_text[0][2] = 'SV power cooled motors';
menu_text[1] = new Array();
menu_text[1][0] = 'BOX wormgear units';
menu_text[1][1] = 'Pre-stage STADIO';
menu_text[1][2] = 'VARIO speed variators';
menu_text[1][3] = 'ROBUS in-line helical gearbox';

var menu_link = new Array();
menu_link[0] = new Array();
menu_link[0][0] = 'pagina.asp?menu=sub00&frame=delphi-caratteristiche-tecnichenewscroll.htm&titolo=Delphi three-phase motors&sottotitolo=technical characteristics';
menu_link[0][1] = 'pagina.asp?menu=sub01&frame=delphi-ATscroll.htm&titolo=Delphi AT self-braking motors&sottotitolo=technical characteristics';
menu_link[0][2] = 'pagina.asp?menu=sub02&frame=servo-indexscroll.htm&titolo=SV power cooled motors&sottotitolo=technical characteristics';
menu_link[1] = new Array();
menu_link[1][0] = 'pagina.asp?menu=sub10&frame=riduttori-caratteristiche-tecnichescroll.htm&titolo=BOX wormgear units&sottotitolo=technical characteristics';
menu_link[1][1] = 'pagina.asp?menu=sub11&frame=stadio_caratteristichetecniche.html&titolo=Pre-stage STADIO&sottotitolo=technical characteristics';
menu_link[1][2] = 'pagina.asp?menu=sub12&frame=vario-technical-character-1scroll.htm&titolo=VARIO speed variators&sottotitolo=technical characteristics';
menu_link[1][3] = 'pagina.asp?menu=sub13&frame=robus-technical-character-scroll.htm&titolo=ROBUS in-line helical gearbox&sottotitolo=technical characteristics';

var sub_menu = new Array();
sub_menu[0] = new Array();
sub_menu[0][0] = new Array();
sub_menu[0][0][0] = "showPage('delphi-caratteristiche-tecnichenewscroll.htm','Delphi three-phase motors','technical characteristics');";
sub_menu[0][0][1] = "showPage('delphi-rendimentiscroll.htm','Delphi three-phase motors','efficiency');";
sub_menu[0][0][2] = "showPage('delphi-marcaturascroll.htm','Delphi three-phase motors','ce marking');";
sub_menu[0][0][3] = "showPage('delphi-exscroll.htm','Delphi three-phase motors','delphi ex');";
sub_menu[0][0][4] = "showPage('delphi-protezionescroll.htm','Delphi three-phase motors','ip protection index');";
sub_menu[0][0][5] = "showPage('delphi-servizioscroll.htm','Delphi three-phase motors','duty service & working conditions');";
sub_menu[0][0][6] = "showPage('delphi-protezione-motoriscroll.htm','Delphi three-phase motors','wiring & protection');";
sub_menu[0][0][7] = "showPage('delphi-formescroll.htm','Delphi three-phase motors','mounting positions and dimensions');";
sub_menu[0][0][8] = "showPage('delphi-datitecniciscroll.htm','Delphi three-phase motors','performance data');";
sub_menu[0][0][9] = "showPage('delphi-esecuzioni.htm','Delphi three-phase motors','special executions');";
sub_menu[0][0][10] = "showPage('delphi-listascroll.htm','Delphi three-phase motors','components list');";
sub_menu[0][0][11] = "showPage('delphi-160-355scroll.htm','Delphi three-phase motors','160-355');";
sub_menu[0][0][12] = "showPage('delphi56-132moviescroll.htm','Delphi three-phase motors','delphi 56-132 3D movie');";
sub_menu[0][0][13] = "showPage('delphi160-355moviescroll.htm','Delphi three-phase motors','delphi 160-355 3D movie');";
sub_menu[0][0][14] = "showPage('delphiabbiamoleprovescroll.htm','Delphi three-phase motors','the tests');";
sub_menu[0][0][15] = "showPage('comparingdelphiscroll.htm','Delphi three-phase motors','comparing delphi to...');";
sub_menu[0][1] = new Array();
sub_menu[0][1][0] = "showPage('delphi-ATscroll.htm','Delphi AT self-braking motors','technical characteristics');";
sub_menu[0][1][1] = "showPage('delphi-AT_freno.htm','Delphi AT self-braking motors','brake & components');";
sub_menu[0][1][2] = "showPage('delphi-AT_alimentatorefreno.htm','Delphi AT self-braking motors','rectifier');";
sub_menu[0][1][3] = "showPage('delphi_AT_prestazioni.htm','Delphi AT self-braking motors','performance charts');";
sub_menu[0][1][4] = "showPage('delphi_AT_dimensioni.htm','Delphi AT self-braking motors','dimensional charts');";
sub_menu[0][2] = new Array();
sub_menu[0][2][0] = "showPage('servo-indexscroll.htm','SV power cooled motors','technical characteristics');";
sub_menu[0][2][1] = "showPage('servo-performance-scroll.htm','SV power cooled motors','when');";
sub_menu[1] = new Array();
sub_menu[1][0] = new Array();
sub_menu[1][0][0] = "showPage('riduttori-caratteristiche-tecnichescroll.htm','BOX wormgear units','technical characteristics');";
sub_menu[1][0][1] = "showPage('riduttori-rendimentiscroll.htm','BOX wormgear units','efficiency and irreversibility');";
sub_menu[1][0][2] = "showPage('riduttori-lubrificazionescroll.htm','BOX wormgear units','lubrication and mounting position');";
sub_menu[1][0][3] = "showPage('riduttori-tabelle-prestazionaliscroll.htm','BOX wormgear units','performance charts');";
sub_menu[1][0][4] = "showPage('riduttori-tabelle-dimensionaliscroll.htm','BOX wormgear units','dimensional charts');";
sub_menu[1][0][5] = "showPage('riduttori-lista-componentiscroll.htm','BOX wormgear units','components list');";
sub_menu[1][0][6] = "showPage('box-Exscroll.htm','BOX wormgear units','box ex');";
sub_menu[1][0][7] = "showPage('boxmoviescroll.htm','BOX wormgear units','box 3D movie');";
sub_menu[1][1] = new Array();
sub_menu[1][1][0] = "showPage('stadio_caratteristichetecniche.html','Pre-stage STADIO','technical characteristics');";
sub_menu[1][1][1] = "showPage('stadio_combinazioni.html','Pre-stage STADIO','combinations');";
sub_menu[1][1][2] = "showPage('stadio_prestazioni.html','Pre-stage STADIO','performance');";
sub_menu[1][1][3] = "showPage('stadio_dimensioni.html','Pre-stage STADIO','dimensions');";
sub_menu[1][1][4] = "showPage('stadio_lubrificazione.html','Pre-stage STADIO','lubrication');";
sub_menu[1][1][5] = "showPage('stadio_posizioni.html','Pre-stage STADIO','positions');";
sub_menu[1][1][6] = "showPage('stadio_componenti.html','Pre-stage STADIO','components');";
sub_menu[1][2] = new Array();
sub_menu[1][2][0] = "showPage('vario-technical-character-1scroll.htm','VARIO speed variators','technical characteristics');";
sub_menu[1][2][1] = "showPage('vario-operating-1scroll.htm','VARIO speed variators','operating principles');";
sub_menu[1][2][2] = "showPage('vario-performance-1scroll.htm','VARIO speed variators','performance');";
sub_menu[1][2][3] = "showPage('vario-dimensions-1scroll.htm','VARIO speed variators','dimensions');";
sub_menu[1][2][4] = "showPage('vario-lubrication-mounting-1scroll.htm','VARIO speed variators','lubrication and mounting positions');";
sub_menu[1][2][5] = "showPage('vario-components-1scroll.htm','VARIO speed variators','components list');";
sub_menu[1][3] = new Array();
sub_menu[1][3][0] = "showPage('robus-technical-character-scroll.htm','ROBUS in-line helical gearbox','technical characteristics');";
sub_menu[1][3][1] = "showPage('robus-lista-componentiscroll.htm','ROBUS in-line helical gearbox','list of components ROBUS-2');";
sub_menu[1][3][2] = "showPage('robus3-lista-componentiscroll.htm','ROBUS in-line helical gearbox','list of components ROBUS-3');";
sub_menu[1][3][3] = "showPage('robus_codifica_scroll.htm','ROBUS in-line helical gearbox','code system');";
sub_menu[1][3][4] = "showPage('robus_taglia_scroll.htm','ROBUS in-line helical gearbox','kw, size, ratio');";
sub_menu[1][3][5] = "showPage('robus_lubrificazionescroll.htm','ROBUS in-line helical gearbox','lubrication');";
sub_menu[1][3][6] = "showPage('robus_dati_tecniciscroll.htm','ROBUS in-line helical gearbox','technical data');";
sub_menu[1][3][7] = "showPage('robus_fattoreservizio_scroll.htm','ROBUS in-line helical gearbox','offered service factor');";
sub_menu[1][3][8] = "showPage('robus_prestazioniscroll.htm','ROBUS in-line helical gearbox','performance tables');";
sub_menu[1][3][9] = "showPage('robus_dimensioniscroll.htm','ROBUS in-line helical gearbox','weights and dimensions');";
sub_menu[1][3][10] = "showPage('robusmoviescroll.htm','ROBUS in-line helical gearbox','ROBUS 3D movie');";

var sub_menu_text = new Array();
sub_menu_text[0] = new Array();
sub_menu_text[0][0] = new Array();
sub_menu_text[0][0][0] = 'technical characteristics';
sub_menu_text[0][0][1] = 'efficiency';
sub_menu_text[0][0][2] = 'ce marking';
sub_menu_text[0][0][3] = 'delphi ex';
sub_menu_text[0][0][4] = 'ip protection index';
sub_menu_text[0][0][5] = 'duty service & working conditions';
sub_menu_text[0][0][6] = 'wiring & protection';
sub_menu_text[0][0][7] = 'mounting positions and dimensions';
sub_menu_text[0][0][8] = 'performance data';
sub_menu_text[0][0][9] = 'special executions';
sub_menu_text[0][0][10] = 'components list';
sub_menu_text[0][0][11] = '160-355';
sub_menu_text[0][0][12] = 'delphi 56-132 3D movie';
sub_menu_text[0][0][13] = 'delphi 160-355 3D movie';
sub_menu_text[0][0][14] = 'the tests';
sub_menu_text[0][0][15] = 'comparing delphi to...';
sub_menu_text[0][1] = new Array();
sub_menu_text[0][1][0] = 'technical characteristics';
sub_menu_text[0][1][1] = 'brake & components';
sub_menu_text[0][1][2] = 'rectifier';
sub_menu_text[0][1][3] = 'performance charts';
sub_menu_text[0][1][4] = 'dimensional charts';
sub_menu_text[0][2] = new Array();
sub_menu_text[0][2][0] = 'technical characteristics';
sub_menu_text[0][2][1] = 'when';
sub_menu_text[1] = new Array();
sub_menu_text[1][0] = new Array();
sub_menu_text[1][0][0] = 'technical characteristics';
sub_menu_text[1][0][1] = 'efficiency and irreversibility';
sub_menu_text[1][0][2] = 'lubrication and mounting position';
sub_menu_text[1][0][3] = 'performance charts';
sub_menu_text[1][0][4] = 'dimensional charts';
sub_menu_text[1][0][5] = 'components list';
sub_menu_text[1][0][6] = 'box ex';
sub_menu_text[1][0][7] = 'box 3D movie';
sub_menu_text[1][1] = new Array();
sub_menu_text[1][1][0] = 'technical characteristics';
sub_menu_text[1][1][1] = 'combinations';
sub_menu_text[1][1][2] = 'performance';
sub_menu_text[1][1][3] = 'dimensions';
sub_menu_text[1][1][4] = 'lubrication';
sub_menu_text[1][1][5] = 'positions';
sub_menu_text[1][1][6] = 'components';
sub_menu_text[1][2] = new Array();
sub_menu_text[1][2][0] = 'technical characteristics';
sub_menu_text[1][2][1] = 'operating principles';
sub_menu_text[1][2][2] = 'performance';
sub_menu_text[1][2][3] = 'dimensions';
sub_menu_text[1][2][4] = 'lubrication and mounting positions';
sub_menu_text[1][2][5] = 'components list';
sub_menu_text[1][3] = new Array();
sub_menu_text[1][3][0] = 'technical characteristics';
sub_menu_text[1][3][1] = 'list of components ROBUS-2';
sub_menu_text[1][3][2] = 'list of components ROBUS-3';
sub_menu_text[1][3][3] = 'code system';
sub_menu_text[1][3][4] = 'kw, size, ratio';
sub_menu_text[1][3][5] = 'lubrication';
sub_menu_text[1][3][6] = 'technical data';
sub_menu_text[1][3][7] = 'offered service factor';
sub_menu_text[1][3][8] = 'performance tables';
sub_menu_text[1][3][9] = 'weights and dimensions';
sub_menu_text[1][3][10] = 'ROBUS 3D movie';

for (k=0;k<titoli.length;k+=1) {
	cText +='<div id="'+titoli_id[k]+'">';
	cText +='<h3>'+titoli[k]+'</h3>';
	cText +='<ul class="menu">';
	for (i=0;i<menu[k].length;i+=1) {
		if (sub_menu[k][i][0])
			cText += '<li class="menu"><a href="'+menu_link[k][i]+'" title="'+menu_text[k][i]+'">'+menu_text[k][i]+'</a></li>';
		else 
			cText += '<li class="menu"><a href="#" onClick="'+menu[k][i]+'" title="'+menu_text[k][i]+'">'+menu_text[k][i]+'</a></li>';
		cText += '<div  id="sub'+k+i+'">';
		cText += '<ul class="submenu">';
		for (j=0;j<sub_menu[k][i].length;j+=1) {
			cText += '<li class="submenu"><a href="#" onClick="'+sub_menu[k][i][j]+'" title="'+sub_menu_text[k][i][j]+'">'+sub_menu_text[k][i][j]+'</a></li>';
		}		
		cText += '</ul>';
		cText += '</div>';
	}
	cText +='</ul>';
	cText +='</div>';
}

document.write(cText)
