// 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)
//
// Tranlateable Menu code belongs in js directory.
// Note that all non english menus are also found in this directory 
//
/******************************************* French Menu ********************************************/


var MENU_ITEMS_MAIN = [
	['Produits', null,
		['EDS - Vue d\'Ensemble de Elecdes Design Suite',    'products_ovr.htm'],
		['Ebase    (Base de Données du Projet)',             'products_eba.htm'],
		['Elecdes  (Circuits Electriques en 2D)',            'products_eld.htm'],
		['Instrument Manager  (Suite d\'Instrumentation)',   'products_im.htm'],
		['Paneldes (Tableaux/Plan d\'Usine/Routage en 3D)',  'products_pnl.htm'],
		['Protogen (Production DWG en 2D en masse)',         'products_pro.htm'],
		['Imprimante de Lots',                               'products_plt.htm'],
		['Editeur DBF',                                      'products_dbe.htm'],
		['Magnétoscope pour Films Pédagogiques',             'products_rec.htm'],
		['Licence Manager',                                  'products_lic.htm']
	],
	['Services', null,
		['Vue d\'Ensemble de l\'Ingénierie de Scada Systems',  'services_ovr.htm'],
		['EM&S / Maintenance du Logiciel',                     'services_ems.htm'],
		['Stages de Formation',                                'services_trn.htm'],
		['Développement de la Bibliothèque Personnalisée',     'services_cust.htm'],
		['Développement du Programme Personnalisé',            'services_cust.htm'],
		['Conversion de Dessins Anciens',                      'services_lgcy.htm'],
		['Programmation PLC / DCS',                            'services_plc.htm'],
		['Ingénierie de SCADA',                                'services_scada.htm'],
		['Production de Dessins et Documents I & E',           'services_ie.htm']
	],
	['Démonstrations', null,
		['Brochure PDF',                 'register_download_pdf.htm'],
		['Téléchargement du Film',       'register_download_movie.htm'],
		['Essai Gratuit du CD',          'register_request_cd.htm'],
		['Demo sur le Web',              'register_request_webdemo.htm'],
		['Echantillon de Projets',       'register_request_samples.htm']
	],
	['Support', null,
		['Mise à jour du Logiciel',                  'email_contact.htm?updates'],
		['Foire aux Questions (FAQ)',                'faq_main.htm'],
		['Support par Courrier Electronique',        'email_contact.htm?support'],
		['Nos Bureaux/Téléphone/Fax/Coordonnées',    'company_contact.htm']
	],
	['Contacts', null,
		['via our Web Forum',                   '/forum/'],
		['Ventes',                                'email_contact.htm?sales'],
		['Support',                               'email_contact.htm?support'],
		['Renseignements Généraux',               'email_contact.htm?information'],
		['Nos Bureaux/Téléphone/Fax/Coordonnées', 'company_contact.htm'],
		['Utilisateurs Notables',           	'users.htm'],
		['Informations sur l\'Entreprise',  	'company_profile.htm']
	],
];
/******************************************* Header links block ********************************************/
function CreateHeaderLinks(){

var home = "Accueil";
var hometitle = "Accueil";
var contact = "Contacts";
var contacttitle = "Contacts";
var news = "Actualités";
var newstitle = "Actualités";

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">Single Line Diagrams</option>'
		+ '<option value="Cable Block Diagrams">Cable Block Diagrams</option>'
		+ '<option value="Single Phase + Ladder Diagrams">Single Phase Ladder Diagrams</option>'
		+ '<option value="3 Phase Schematics">3 Phase Schematics</option>'
		+ '<option value="PLC I/O diagrams">PLC I/O diagrams</option>'
		+ '<option value="Wiring Diagrams">Wiring Diagrams</option>'
		+ '<option value="Terminal Strip Diagrams">Terminal Strip Diagrams</option>'
		+ '<option value="Loop Diagrams">Loop Diagrams</option>'
		+ '<option value="Hook Up / Mounting Diagrams">Hook Up / Mounting Diagrams</option>'
		+ '<option value="Instrument Data Sheets">Instrument Data Sheets</option>'
		+ '<option value="Panel Layout Diagrams">Panel Layout Diagrams</option>'
		+ '<option value="Cable Tray/Raceway Layout">Cable Tray/Raceway Layout</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">Bill of Materials</option>'
		+ '<option value="Cable List">Cable List</option>'
		+ '<option value="Connection/Wire lists">Connection/Wire lists</option>'
		+ '<option value="Labels Lists">Labels Lists</option>'
		+ '<option value="Cable Routes/Lengths/Fill/Drumming">Cable Routes/Lengths/Fill/Drumming</option>'
		+ '<option value="Interference">Interference</option>'
		+ '<option value="Cross Reference">Cross Reference</option>'
		+ '<option value="Short circuit/Open circuit/Warnings">Short circuit/Open circuit/Warnings</option>'
		+ '<option value="Instrument Index">Instrument Index</option>'
		+ '<option value="Revision Reports">Revision Reports</option>'
		+ '<option value="Quantity summaries">Quantity summaries</option>'
		+ '<option value="Installation Issues">Installation Issues</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>(please select one)</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>(please select one)</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">Other</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>(please select one)</option>'
		+ '<option value="Now">Now</option>'
		+ '<option value="Awaiting Approval.">Awaiting Approval</option>'
		+ '<option value="Next Financial Year.">Next Financial Year</option>'
		+ '<option value="Later.">Later</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>(please select one)</option>'
		+ '<option value="Within 1 Month" >Within 1 Month</option>'
		+ '<option value="Within 3 Months">Within 3 Months</option>'
		+ '<option value="Within 6 Months">Within 6 Months</option>'
		+ '<option value="after 6 Months">after 6 Months</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>(please select one)</option>'
		+ '<option value="Private">Private Person</option>'
		+ '<option value="Switchgear">Switchgear</option>'
		+ '<option value="Generation">Generation</option>'
		+ '<option value="Transmission+Distribution">Transmission+Distribution</option>'
		+ '<option value="Petrochemical">Petrochemical</option>'
		+ '<option value="Manufacturing">Manufacturing</option>'
		+ '<option value="Aerospace">Aerospace</option>'
		+ '<option value="Construction">Construction</option>'
		+ '<option value="Engineering">Engineering</option>'
		+ '<option value="Automotive">Automotive</option>'
		+ '<option value="Other">Other</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>(please select one)</option>'
		+ '<option value="Website Enquiry: Sales">Sales</option>'
		+' <option value="Website Enquiry: Support">Support</option>'
		+' <option value="Website Enquiry: General">Information</option>'
		+' <option value="Website Enquiry: Updates">Updates</option>'
		+' <option value="Website Enquiry: EMS">EMS</option>'
		+' <option value="Website Enquiry: Training">Training</option>'
		+' <option value="Website Enquiry: LegacyDrawings">Legacy Drawings</option>'
		+' <option value="Website Enquiry: CustomisationAndProgs">Custom Libraries or Custom CAD Programs</option>'
		+' <option value="Website Enquiry: I+EDocumentProduction">I&amp;E Drafting Service</option>'
		+' <option value="Website Enquiry: I+EDocumentSamples">I&amp;E Drafting Samples</option>'
		+' <option value="Website Enquiry: PLCDCSProgramming">PLC-DCS programming</option>'
		+' <option value="Website Enquiry: ScadaProject">SCADA</option>'
                + '</select>'
                 + ' ');

}