// Menu Data.
// This is purely the variable that contains the Menu Contents
// Geometry and Timing are set in the main Menu code file 
// When the menu is called the caller selects the contents GLOBAL variable to use (in whihc case this file must be present to be used)
//
// Translateable Menu code belongs in js directory.
// Note that all non english menus are also found in this directory 
//


/******************************************* Spanish Menu ********************************************/

var MENU_ITEMS_MAIN = [
	['Productos', null,
		['EDS - Resumen del Elecdes Design Suite',             'products_ovr.htm'],
		['Ebase    (Base de Datos del Proyecto)',              'products_eba.htm'],
		['Elecdes  (Circuitos Eléctricos en 2D)',              'products_eld.htm'],
		['Instrument Manager  (Suite de Instrumentación)',     'products_im.htm'],
		['Paneldes (Tablero en 3D/Planta en 3D/Routing)',      'products_pnl.htm'],
		['Protogen (Producción en masa de DWGs en 2D)',        'products_pro.htm'],
		['Impresora de Lote',                                  'products_plt.htm'],
		['Editor de DBF',                                      'products_dbe.htm'],
		['Grabadora de Video',                                 'products_rec.htm'],
		['License Manager',                                    'products_lic.htm']
	],
	['Servicios', null,
		['Resumen de la Ingenieria de Scada Systems',       'services_ovr.htm'],
		['EM&S / Mantenimiento de Software',                'services_ems.htm'],
		['Cursos de Formación',                             'services_trn.htm'],
		['Desarrollo de Librerias Personalizables',         'services_cust.htm'],
		['Desarrollo de Programas Personalizables',         'services_cust.htm'],
		['Convertir Planos Antiguos',                       'services_lgcy.htm'],
		['Programar para PLC / DCS',                        'services_plc.htm'],
		['Ingeniería SCADA',                                'services_scada.htm'],
		['Producción de Planos y Documentación I & E',      'services_ie.htm']
	],
	['Demo/Cargar', null,
		['Folleto en PDF',                   'register_download_pdf.htm'],
		['Bajar el Video',                   'register_download_movie.htm'],
		['CD Gratis para Probar',            'register_request_cd.htm'],
		['Demo por el Internet',             'register_request_webdemo.htm'],
		['Un Proyecto Ejemplar',             'register_request_samples.htm']
	],
	['Soporte', null,
		['Actualizaciones de Software',                  'email_contact.htm?updates'],
		['Preguntas (FAQ)',                              'http://www.elecdes.com/faq/faq_main.htm'],
		['Soporte por Correo Electrónico',               'email_contact.htm?support'],
		['Oficinas/Tfno/Fax/Dirección',                  'company_contact.htm']
	],
	['Contacto', null,
		['via our Web Forum',                   '/forum/'],
		['Ventas',                       'email_contact.htm?sales'],
		['Soporte',                      'email_contact.htm?support'],
		['Preguntas Generales',          'email_contact.htm?information'],
		['Oficinas/Tfno/Fax/Dirección',  'company_contact.htm'],
		['Usuarios Notables',            'users.htm'],
		['Información de la Empresa',    'company_profile.htm']
	],

];

/******************************************* Header links block ********************************************/
function CreateHeaderLinks(){

var home = "página principal";
var hometitle = "Visitar Nuestra Página Principal de Elecdes";
var contact = "contacto";
var contacttitle = "Contactar con Nuestro Equipo";
var news = "noticias";
var newstitle = "Noticias y Eventos";

document.writeln( 
	'<div id="links-top" class="divLinksTop">'
    + '<p class="pLinks"><a class="mlink" title="'+	hometitle		+'" href="elecdes.htm">+ '	+home+'</a></p>'
    + '<p class="pLinks"><a class="mlink" title="'+	contacttitle	+'" href="email_contact.htm?_info">+ '+contact+'</a></p>'
    + '<p class="pLinks"><a class="mlink" title="'+	newstitle		+'" href="/forum/viewforum.php?f=12">+ '		+news+'</a></p>'
	+ '</div>');

}
/******************************************* Localised dropdowns for forms ********************************************/

///////////////////////////////////////////////////////////// //////////////////
// Selection variable name will be 'electdiagramsproduced', default is ''
// include this file with the JS of the page and call this function.


function DiagramsProducedMultiSel()
{

document.writeln( '<select multiple name="electdiagramsproduced" size="13" style="z-index:6">');

document.writeln( '<option value="Single Line Diagrams">Diagramas Uní-filares</option>'
		+ '<option value="Cable Block Diagrams">Diagramas de Bloques de Cable</option>'
		+ '<option value="Single Phase + Ladder Diagrams">Diagramas de Escalera Uní-filar</option>'
		+ '<option value="3 Phase Schematics">Esquemáticos Tri-fásicos</option>'
		+ '<option value="PLC I/O diagrams">Diagramas de Tarjetas de PLC I/O</option>'
		+ '<option value="Wiring Diagrams">Diagramas de Alambrado</option>'
		+ '<option value="Terminal Strip Diagrams">Diagramas de las Borneras de Conexión</option>'
		+ '<option value="Loop Diagrams">Diagramas de Lazos</option>'
		+ '<option value="Hook Up / Mounting Diagrams">Diagramas de Conexión / Montaje (Hook-ups)</option>'
		+ '<option value="Instrument Data Sheets">Hojas de Datos de los Instrumentos</option>'
		+ '<option value="Panel Layout Diagrams">Diagramas de la Disposición del Tablero</option>'
		+ '<option value="Cable Tray/Raceway Layout">Disposición de la Canalización en la Planta</option>'
		+ '</select>');

}


///////////////////////////////////////////////////////////// //////////////////
// Selection variable name will be 'electreportsproduced', default is ''
// include this file with the JS of the page and call this function.


function ReportsProducedMultiSel()
{
document.writeln( '<select multiple name="electreportsproduced" size="13" style="z-index:6">');
document.writeln( '<option value="Bill of Materials">Lista de Materiales</option>'
		+ '<option value="Cable List">Lista de Cables</option>'
		+ '<option value="Connection/Wire lists">Listas de Conexión/Alambrado</option>'
		+ '<option value="Labels Lists">Listas de Etiquetas</option>'
		+ '<option value="Cable Routes/Lengths/Fill/Drumming">Rutas de Cable/Longitudes/Plenitud/Carretes de Cable</option>'
		+ '<option value="Interference">Interferencia</option>'
		+ '<option value="Cross Reference">Referencia Cruzada</option>'
		+ '<option value="Short circuit/Open circuit/Warnings">Corto Circuito/Circuito Abierto/Advertencias</option>'
		+ '<option value="Instrument Index">Indice de Instrumentos</option>'
		+ '<option value="Revision Reports">Reportes de Revisión de Proyecto</option>'
		+ '<option value="Quantity summaries">Resumenes de Cantidad</option>'
		+ '<option value="Installation Issues">Temas de la Instalación</option>'
		+ '</select>');
}





///////////////////////////////////////////////////////////// //////////////////
// Selection variable name will be 'electcadusers', default is 'Nothing Selected'
// include this file with the JS of the page and call this function.




function UsersDropDown()
{

document.writeln( '<select name="electcadusers" size="1" style="z-index:6">');

document.writeln( '<option value="Nothing Selected" Selected>(por favor, seleccione uno)</option>'
		+ '<option value="1">1</option>'
		+ '<option value="2">2</option>'
		+ '<option value="3">3</option>'
		+ '<option value="4-6">4-6</option>'
		+ '<option value="7-10">7-10</option>'
		+ '<option value="11-15">11-15</option>'
		+ '<option value="15-20">15-20</option>'
		+ '<option value="21-30">21-30</option>'
		+ '<option value="31+">31+</option>'
		+ '</select>');
}



/////////////////////////////////////////////////////////////  //////////////////
// Selection variable name will be 'cadpackage', default is '"Nothing Selected'
// include this file with the JS of the page and call this function.


function CadPackageDropDown()
{


document.writeln('<select name="cadpackage" size="1" style="z-index:6">');


document.writeln( '<option value="Nothing Selected" Selected>(por favor, seleccione uno)</option>'
		+ '<option value="Acad 14">Acad 14</option>'
		+ '<option value="Acad 2000/i">Acad 2000/i</option>'
		+ '<option value="Acad 2002">Acad 2002</option>'
		+ '<option value="Acad 2004">Acad 2004</option>'
		+ '<option value="Acad 2005">Acad 2005</option>'
		+ '<option value="Acad 2006">Acad 2006</option>'
		+ '<option value="Acad 2007">Acad 2007</option>'
		+ '<option value="Acad 2008">Acad 2008</option>'
		+ '<option value="FCAD 4">FCAD 4</option>'
		+ '<option value="FCAD 5">FCAD 5</option>'
		+ '<option value="PowerCAD 5">PowerCAD 5</option>'
		+ '<option value="PowerCAD 6">PowerCAD 6</option>'
		+ '<option value="Microstation">Microstation</option>'
		+ '<option value="Other">Otro</option>'
		+ '</select>');


}

///////////////////////////////////////////////////////////// //////////////////
// Selection variable name will be 'purchasebudget', default is 'Now'
// include this file with the JS of the page and call this function.

function FundsDropDown ()
{

document.writeln('<select name="purchasebudget" size="1" style="z-index:6">');

document.writeln( '<option value="Nothing Selected" Selected>(por favor, seleccione uno)</option>'
		+ '<option value="Now">Ahora</option>'
		+ '<option value="Awaiting Approval.">Esperando Aprobación</option>'
		+ '<option value="Next Financial Year.">El Próximo Año Financiero</option>'
		+ '<option value="Later.">Más tarde</option>'
                + '</select>'
                + ' ');

}

///////////////////////////////////////////////////////////// //////////////////
// Selection variable name will be 'purchasetime', default is 'Within 1 Month'
// include this file with the JS of the page and call this function.

function PurchaseTimeDropDown ()
{

document.writeln('<select name="purchasetime" size="1" style="z-index:6">');

document.writeln(  '<option value="Nothing Selected" Selected>(por favor, seleccione uno)</option>'
		+ '<option value="Within 1 Month">Dentro de 1 mes</option>'
		+ '<option value="Within 3 Months">Dentro de 3 meses</option>'
		+ '<option value="Within 6 Months">Dentro de 6 meses</option>'
		+ '<option value="after 6 Months">Después de 6 meses</option>'
                + '</select>'
                + ' ');

}


/////////////////////////////////////////////////////////////  //////////////////
// Selection variable name will be 'industry', default is 'private'
// include this file with the JS of the page and call this function.

function IndustryDropDown ()
{

document.writeln('<select name="industry" size="1" style="z-index:6">');

document.writeln('<option value="Nothing Selected" Selected>(por favor, seleccione uno)</option>'
		+ '<option value="Private">Persona Privada</option>'
		+ '<option value="Switchgear">Equipo Eléctrico</option>'
		+ '<option value="Generation">Generación</option>'
		+ '<option value="Transmission+Distribution">Transmisión y Distribución</option>'
		+ '<option value="Petrochemical">Petroquímica</option>'
		+ '<option value="Manufacturing">Manufactura</option>'
		+ '<option value="Aerospace">Aeroespacial</option>'
		+ '<option value="Construction">Construcción</option>'
		+ '<option value="Engineering">Ingeniería</option>'
		+ '<option value="Automotive">Automotriz</option>'
		+ '<option value="Other">otro</option>'
                + '</select>'
                 + ' ');

}

///////////////////////////////////////////////////////////////////////////////
// Selection variable name will be 'subject', default is 'Website Enquiry: Support'
// include this file with the JS of the page and call this function.

function SubjectDropDown ()
{

document.writeln('<select name="subject" size="1" style="z-index:6">');

document.writeln( '<option value="Nothing Selected" Selected>(Por favor, seleccione una)</option>'
		+ '<option value="Website Enquiry: Sales">Ventas</option>'
		+' <option value="Website Enquiry: Support">Soporte</option>'
		+' <option value="Website Enquiry: General">Información</option>'
		+' <option value="Website Enquiry: Updates">Actualizaciones</option>'
		+' <option value="Website Enquiry: EMS">Mantenimiento y Soporte Extendido (EM&S)</option>'
		+' <option value="Website Enquiry: Training">Capacitación</option>'
		+' <option value="Website Enquiry: LegacyDrawings">Planos Antiguos</option>'
		+' <option value="Website Enquiry: CustomisationAndProgs">Librerias Personalizadas o Programas de CAD Personalizados</option>'
		+' <option value="Website Enquiry: I+EDocumentProduction">Servicio de Diseño I&E</option>'
		+' <option value="Website Enquiry: I+EDocumentSamples">Ejemplos de Diseño I&E</option>'
		+' <option value="Website Enquiry: PLCDCSProgramming">Programación de Tarjetas de PLC - DCS</option>'
		+' <option value="Website Enquiry: ScadaProject">SCADA</option>'
                + '</select>'
                 + ' ');

}
