// JavaScript Document
// requires /include/commonDbs.js

var eventCode = new Array();
eventCode['AERO'] = 'AeroMat Conference and Exposition';
eventCode['AEEC'] = 'All Energy Exhibition & Conference';
eventCode['AES'] = 'China International Automotive Electronics & Testing Technology Show (AES)';
eventCode['ASB'] = 'American Society of Biomechanics';
eventCode['ASC'] = 'American Society of Composites';
eventCode['ASME'] = 'ASME Nuclear Technical Seminar';
eventCode['ASME1'] = 'ASME Pressure Vessels and Piping Conference';
eventCode['ASME2'] = 'ASME Turbo Expo';
eventCode['ASME3'] = 'ASME Summer Bioengineering Conference';
eventCode['AWM09'] = '2009 ANS Winter Meeting';
eventCode['BMS'] = '14th Blade Mechanics Seminar';
eventCode['BVB'] = 'Biomechanics in Vascular Biology and Cardiovascular Disease';
eventCode['CATIA'] = 'CATIA FEM User Meeting';
eventCode['CAO'] = 'CAO Frontier 2009';
eventCode['CFK'] = 'CFK-Valley-Stade Convention';
eventCode['CINIE'] = 'China International Nuclear Industry Exhibition';
eventCode['CIWE'] = 'China International Wind Energy Exhibiton & Symposium';
eventCode['COE'] = '2009 COE Auto Workshop';
eventCode['COEA'] = 'COE Aerospace & Defense';
eventCode['COMP'] = 'COMPOSITESWORLD Expo 2009';
eventCode['CPDA'] = 'CPDA PLM Roadmap Conference';
eventCode['DIGI'] = 'DIGIMAT Users Meeting';
eventCode['DEV'] = 'DEVCON 2009';
eventCode['DMDC'] = 'Design of Medical Devices Conference';
eventCode['DSAC'] = 'DS Americas Conference';
eventCode['DSECC'] = 'DS European Customer Conference (ECF)';
eventCode['ECCMR'] = 'European Conference On Constitutive Models for Rubber';
eventCode['ECSS'] = 'European Conference on Spacecraft Structures Materials & Mechanical Testing';
eventCode['ECTC'] = 'ECTC (Electronics Components and Technology Conference)';
eventCode['EMD'] = 'Euromold';
eventCode['ENC'] = 'European Nuclear Conference';
eventCode['EPTC'] = 'Electronics Packaging Technology Conference';
eventCode['euro'] = 'euroLITE';
eventCode['EUROM'] = 'Euromold';
eventCode['EWEC'] = 'European Wind Energy Conference (EWEC)';
eventCode['FABTECH'] = 'FABTECH International & Welding Show';
eventCode['FORD'] = 'Ford NVH Conference';
eventCode['HANN'] = 'Hannover Messe';
eventCode['HPCAE'] = '20th Annual HP CAE Symposium on Technology Trends in Computational Engineering';
eventCode['ICCM17'] = 'International Conference on Composite Materials [ICCM17]';
eventCode['ICF'] = 'International Conference on Fracture';
eventCode['ILMS'] = 'International LMS Engineering Simulation Conference';
eventCode['IMP'] = 'Implants';
eventCode['JEC'] = 'JEC Composites Asia';
eventCode['JECS'] = 'JEC Composites Show';
eventCode['KUN'] = 'Kunststoffen';
eventCode['LSAE'] = 'LifeScience Alley Conference & Expo';
eventCode['MDMM'] = 'MD&M Midwest';
eventCode['MPBE'] = 'Medical Physics and Biomedical Engineering World Congress 2009';
eventCode['MWC'] = 'Materialise World Conference';
eventCode['NATO'] = 'Strategies for Optimization & Automated Design of Gas Turbine Engines';
eventCode['NAF09'] = 'NAFEMS World Congress 2009';
eventCode['NPE'] = 'The International Plastics Showcase (NPE)';
eventCode['NTCOE'] = 'North Texas COE Meeting (Regional User Group meeting)';
eventCode['OFFS'] = 'Offshore Europe';
eventCode['OGIS'] = 'Oil & Gas Innovation Showcase';
eventCode['OMTEC'] = 'OMTEC';
eventCode['OMTEC1'] = 'Orthopedic Manufacturing & Technology Exposition and Conference (OMTEC)';
eventCode['PGEN'] = 'POWER-GEN';
eventCode['RASA'] = 'Royal Aeronautical Society Aircraft Structural Design Conference';
eventCode['RHPC'] = 'R Systems HPC 360 Conference';
eventCode['SACD'] = 'Spirit Aero Customer Day';
eventCode['SAEA'] = 'SAE AeroTech Congress';
eventCode['SAVIAC'] = 'SAVIAC';
eventCode['SCC'] = 'SIMULIA Customer Conference';
eventCode['SCS'] = 'Steel & Composites Structures';
eventCode['SDDO'] = 'Seminar - Simulation-Driven Design for Orthopedics';
eventCode['SIM'] = 'SIMVEC';
eventCode['Sim-Bio-M'] = 'Sim-Bio-M';
eventCode['STAR'] = 'STARGlobal Forum 2009: Simulation for Energy Engineering';
eventCode['STAR1'] = 'STAR Global Aerospace Forum';
eventCode['STAR2'] = 'STAR Global Aerospace, Defense, and Marine Forum 2009';
eventCode['STAR3'] = 'STAR European Conference';
eventCode['SWW'] = 'SolidWorks World';
eventCode['TIRE'] = 'Tire Society Conference';
eventCode['USNCCM'] = 'US National Congress on Computational Mechanics [USNCCM]';
eventCode['ACMA10'] = 'ACMA Composites 2010';
eventCode['ASEE10'] = 'ASEE Annual Conference & Exposition';
eventCode['BIO10'] = 'BIOMed - Frontiers in Biomedical Devices Conference & Exhibition';
eventCode['CE10'] = 'Composites Europe';
eventCode['COE10'] = 'COE PLM Conference';
eventCode['ECCM10'] = 'ECCM/ECCOMAS 2010';
eventCode['ESE10'] = 'EuroSimE';
eventCode['EURO10'] = 'euroLite';
eventCode['FUGM10'] = 'fe-safe™ User Group Meeting';
eventCode['IBC10'] = 'International Bridge Conference';
eventCode['ILMS10'] = 'International LMS Engineering Simulation Conference';
eventCode['IMTS10'] = 'IMTS (International Manufacturing Technology Show)';
eventCode['ISN10'] = 'International Styrian Noise, Vibration and Harshness Congress';
eventCode['ME10'] = 'Medtech Europe';
eventCode['NAFEM10'] = 'NAFEMS NORDIC—Simulating Materials and Structures';
eventCode['OOAC'] = 'International Conference on Ocean, Offshore, & Artic Engineering';
eventCode['ONS10'] = 'ONS';
eventCode['OTC10'] = 'Offshore Technology Conference';
eventCode['ORSRM10'] = 'Orthopedic Research Society Regional Meeting';
eventCode['SAM10'] = 'SAMPE';
eventCode['SCM10'] = 'Symposium on Computational Methods in Orthopedic Biomechanics (pre-ORS)';
eventCode['SE'] = 'SafetyExpo';
eventCode['SMST'] = 'Shape Memory and Superelastic Technologies (SMST)';
eventCode['SVS10'] = 'Simulation of Connections and Joints in Structures';
eventCode['TIRE10'] = 'Tire Technology Expo';
eventCode['TPC10'] = 'The Packaging Conference';
eventCode['UKC10'] = 'NAFEMS UK Conference';
eventCode['VVS10'] = 'Virtual Vehicle Symposium';
eventCode[''] = '';
eventCode[''] = '';

var urls = new Array();
urls['AERO'] = 'http://asmcommunity.asminternational.org/content/Events/aeromat/';
urls['AEEC'] = 'http://www.all-energy.co.uk/';
urls['AES'] = 'http://www.aeshow.com/';
urls['ASB'] = 'http://brown.edu/Conference/American_Society_of_Biomechanics/';
urls['ASC'] = 'http://www.ccm.udel.edu/ASC_CACSMA_2009/';
urls['ASME'] = 'http://www.asmeconferences.org/nuclear09/exhibits.cfm';
urls['ASME1'] = 'http://www.asmeconferences.org/pvp09/';
urls['ASME2'] = 'http://www.asmeconferences.org/TE10/';
urls['ASME3'] = 'http://www.asmeconferences.org/sbc2010/';
urls['AWM09'] = 'http://www.new.ans.org/meetings/c_1';
urls['BMS'] = 'http://www.imes.zhaw.ch/blade-mechanics-seminar';
urls['BVB'] = 'http://www.evgn.org/events-news/events/biomechanics-in-vascular-biology-and-cardiovascular-disease';
urls['CATIA'] = 'http://www.transcat-plm.com/femusermeeting0.html';
urls['CAO'] ='http://www.engineous.co.jp/event/cao_frontier/index.html';
urls['CFK'] ='http://www.cfk-valley.com/err19016.htm?$redirect$=14';
urls['CINIE'] ='http://www.nic-expo.net/';
urls['CIWE'] ='http://www.cwee.com.cn/';
urls['COE'] = 'http://www.coe.org/';
urls['COEA'] = 'http://www.coe.org/Default.aspx?tabid=216';
urls['COMP'] = 'http://www.compositesworldexpo.com/';
urls['CPDA'] = 'http://www.cpd-associates.com/index.cfm?content=include_conference09.cfm';
urls['DEV'] = 'http://www.3ds.com/news-events/';
urls['DIGI'] = 'http://www.e-xstream.com/en/digimat-users-meeting-2009/';
urls['DMDC'] = 'http://www.dmd.umn.edu/';
urls['DSAC'] = 'http://dassaultsystemes.g2planet.com/dscc09/home.htm';
urls['DSECC'] = 'http://www.3ds.com/ecforum';
urls['ECCMR'] = 'http://ifm.rz.tu-bs.de/home.php';
urls['ECSS'] = 'http://www.ecssmmt.com/';
urls['ECTC'] = 'http://www.ectc.net/';
urls['EMD'] = 'http://www.euromold.com/';
urls['ENC'] = ' http://www.euronuclear.org/events/enc/enc2010/index.htm';
urls['EPTC'] = 'http://www.eptc-ieee.net/';
urls['euro'] = 'http://www.hundkmesse.de/english/hk-english/eurolite/eurolite-news.html';
urls['EWEC'] = 'http://www.ewec2010.info/';
urls['FABTECH'] = 'http://www.fmafabtech.com/';
urls['HANN'] = 'http://www.hannovermesse.de/homepage_e';
urls['HPCAE'] = 'http://h71028.www7.hp.com/enterprise/cache/4550-0-0-0-121.html?jumpid=go/cae';
urls['ICCM17'] = 'https://www.eventsforce.net/iom/frontend/reg/tOtherPage.csp?pageID=1118&CSPCHDx=0000000000000&eventID=7';
urls['ICF'] = 'http://www.icf12.org/e/01_exhibit_e.shtml';
urls['ILMS'] = 'http://www.lmsintl.com/LMS-announces-dates-for-2009-International-Simulation-Conference';
urls['IMP'] = ' http://www.implants-2010.com/welcome.htm';
urls['JEC'] = 'http://www.jeccomposites.com/jec-show/';
urls['JECS'] = 'http://www.jeccomposites.com/jec-show/';
urls['KUN'] = 'http://www.tradefairdates.com/Kunststoffen-M3616/Veldhoven.html';
urls['LSAE'] = 'http://www.lifesciencealleyconference.org/';
urls['MDMM'] = 'http://www.devicelink.com/expo/mdmmw08/';
urls['MPBE'] = 'http://www.wc2009.org/World-Congress-2009/Pages/Home.aspx';
urls['NATO'] = 'http://www.rta.nato.int/Meetings.aspx#';
urls['NPE'] = 'http://www.npe.org/exhibit/';
urls['NTCOE'] = 'http://groups.google.com/group/NTCOE/browse_thread/thread/c298474748cf04d7?hl=en';
urls['OFFS'] = 'http://simulia.custhelp.com/cgi-bin/abaqus.cfg/php/enduser/doc_serve.php?2=lp_offshore-europe_uk_simoe';
urls['OGIS'] = 'http://oilandgasinnovation.com/home/';
urls['OMTEC'] = 'http://www.orthosupplier.com/omtec/2009/exh-introduction.htm';
urls['OMTEC1'] = 'https://www.orthoworld.com/site/index.php';
urls['PGEN'] = 'http://www.power-gen.com/index.html';
urls['RASA'] = 'http://www.aerosociety.com/';
urls['RHPC'] = 'https://www.eiseverywhere.com/ehome/index.php?eventid=7048&PHPSESSID=tateanvimeo0m5alpfg7oap2s2&';
urls['SACD'] = 'http://www.spiritaero.com/';
urls['SAEA'] = 'http://www.sae.org/events/atc/';
urls['SAVIAC'] = 'http://www.saviac.org/80th%20Symposium/80th_symposium.htm';
urls['SCC'] = '/events/conf_10_overview.html';
urls['SCS'] = 'http://www.iceaustralia.com/icscs2010/';
urls['SDDO'] = '/events/Medical/memphis_10-19_simweb.html';
urls['Sim-Bio-M'] = 'http://www.simbio-m.com/default.html';
urls['SIM'] = 'http://www.vdi-wissensforum.de/index.php?id=1226';
urls['STAR'] = 'http://www.cd-adapco.com/minisites/global/energy/index.html';
urls['STAR1'] = 'http://www.cd-adapco.com/minisites/global/#';
urls['STAR3'] = 'http://www.cd-adapco.com/events/conference/index.html';
urls['SWW'] = 'http://www.solidworks.com/swworld/';
urls['TIRE'] = 'http://www.tiresociety.org/mainpages/conference.htm';
urls['USNCCM'] = 'http://usnccm-10.eng.ohio-state.edu/';
urls['ACMA10'] = 'http://www.acmashow.org/';
urls['ASEE10'] = 'http://www.asee.org/conferences/annual/2010/index.cfm';
urls['BIO10'] = 'http://www.asmeconferences.org/BIOMED2010/CallForPapers.cfm';
urls['CE10'] = 'http://www.composites-europe.com/';
urls['COE10'] = 'http://www.coe.org';
urls['ECCM10'] = 'http://www.eccm2010.org/';
urls['ESE10'] = 'http://www.eurosime.org/';
urls['EUROM'] = 'http://www.euromold.com/';
urls['EURO10'] = 'http://www.hundkmesse.de/english/hk-english/eurolite/eurolite-news.html';
urls['FUGM10'] = 'http://www.safetechnology.com/ugm_2010.html';
urls['IBC10'] = 'http://www.eswp.com/bridge/';
urls['ILMS10'] ='http://www.lmsintl.com/lmsconferences';
urls['IMTS10'] = 'http://www.imts.com/';
urls['ISN10'] = 'http://www.isnvh.com';
urls['ME10'] = 'http://www.devicelink.com/expo/medtec10/';
urls['MWC'] = 'http://www.materialise.com/mwc2010';
urls['NAFEM10'] = 'http://www.nafems.org/events/nafems/2010/Composites2/';
urls['OOAC'] = ' http://www.omae2010.com/home.html';
urls['ONS10'] = 'http://www.worldoils.com/showevents.php?id=828&event_name=ONS%202010';
urls['ORSRM10'] = 'http://www.ors.org/web/index.asp';
urls['OTC10'] = 'http://www.otcnet.org/2010/';
urls['SAM10'] = 'http://www.sampe.org/events/2010Seattle.aspx';
urls['SCM10'] = 'http://www.pre-ors.org/';
urls['SE'] = 'http://www.safetyweek.de/8-1-SafetyExpo.html';
urls['SMST'] = 'http://asmcommunity.asminternational.org/content/Events/smst10/sponsorships.htm';
//urls['SVS10'] = 'http://www.nafems.org/events/nafems/2010/JOINTS201018/';
urls['SVS10'] = 'http://www.nafems.org/downloads/call_for_papers/DACH/2010_joints_c4p_a4.pdf';
urls['TIRE10'] = 'http://www.tiretechnology-expo.com/';
urls['TPC10'] = 'http://www.thepackagingconference.com';
urls['UKC10'] = 'http://www.nafems.org/events/nafems/2010/UK2010/';
urls['VVS10'] = 'http://www.gsvf.at/cms/';
urls[''] = '';
urls[''] = '';
urls[''] = '';
urls[''] = '';

///////////////////////////////////////////////////////////////////////////////////////////
///                    MAIN ARRAY WITH  ALL EVENTS                                      ///
///  format:                                                                            ///
///  eventCode : urls : target : startDate : endDate : s/e : location : country : image ///
///  location and country are specified under: /include/commonDbs.js                    ///
///  image: add full path. The image size must be 56px width and 47px height            ///
///  (The image is ONLY displayed in the Industry Events page)                          ///
///////////////////////////////////////////////////////////////////////////////////////////

var indEVENTS = new Array();
indEVENTS.push("09/10/01:09/10/01:e:HPCAE:HPCAE:_blank:DETR::/all_images/events_images/CAE_09_Banner_v1.jpg");
indEVENTS.push("09/10/06:09/10/07:e:DSAC:DSAC:_blank:ORLAN::");
indEVENTS.push("09/10/14:09/10/16:e:JEC:JEC:_blank:SING::");
indEVENTS.push("09/10/14:09/10/16:e:RASA:RASA:_blank:LIVE:UK:");
indEVENTS.push("09/10/19:09/10/20:e:RHPC:RHPC:_blank:CHAM::");
indEVENTS.push("09/10/20:09/10/20:e:CATIA:CATIA:_blank:KARL:GER:");
indEVENTS.push("09/10/21:09/10/23:e:DIGI:DIGI:_blank:NICE:FR:");
indEVENTS.push("09/10/25:09/10/29:e:SAVIAC:SAVIAC:_blank:SAND::");
indEVENTS.push("09/10/26:09/10/26:e:NATO:NATO:_blank:MONT2:CAN:");
indEVENTS.push("09/10/26:09/10/27:e:COEA:COEA:_blank:FORT::");
indEVENTS.push("09/10/28:09/10/28:e:OGIS:OGIS:_blank:HOUS::");
indEVENTS.push("09/11/04:09/11/04:e:SACD:SACD:_blank:WICH::");
indEVENTS.push("09/11/06:09/11/06:e:COE:COE:_blank:TROY::");
indEVENTS.push("09/11/10:09/11/12:e:SAEA:SAEA:_blank:SEAT::");
indEVENTS.push("09/11/15:09/11/18:e:FABTECH:FABTECH:_blank:CHIC::");
indEVENTS.push("09/11/15:09/11/19:e:AWM09:AWM09:_blank:WADC::");
indEVENTS.push("09/11/17:09/11/18:e:DSECC:DSECC:_blank:PARI:FR:");
indEVENTS.push("09/12/02:09/12/05:e:EMD:EMD:_blank:FRAN:GER:");
indEVENTS.push("09/12/09:09/12/09:e:LSAE:LSAE:_blank:MINN::");
indEVENTS.push("09/12/09:09/12/11:e:EPTC:EPTC:_blank:SING::");
indEVENTS.push("09/11/06:09/11/06:e:NTCOE:NTCOE:_blank:FORT::");
indEVENTS.push("09/12/08:09/12/09:e:PGEN:PGEN:_blank:LASV::");
indEVENTS.push("10/01/31:10/02/03:e:SWW:SWW:_blank:ANA::");
indEVENTS.push("10/04/13:10/04/15:e:DMDC:DMDC:_blank:MINN::");
indEVENTS.push("10/06/14:10/06/18:e:ASME2:ASME2:_blank:GLAS:UK:");
indEVENTS.push("10/06/01:10/06/04:e:ECTC:ECTC:_blank:LASV::");
indEVENTS.push("10/06/17:10/06/18:e:OMTEC1:OMTEC1:_blank:CHIC::");
indEVENTS.push("10/06/20:10/06/24:e:AERO:AERO:_blank:BELL::");
indEVENTS.push("10/09/28:10/09/30:e:MDMM:MDMM:_blank:ROSE::");
indEVENTS.push("10/06/16:10/06/19:e:ASME3:ASME3:_blank:NAPL::");
indEVENTS.push("10/05/25:10/05/27:e:SCC:SCC::PROV::");
indEVENTS.push("10/03/22:10/03/23:e:STAR3:STAR3:_blank:LOND:UK:");
indEVENTS.push("10/02/02:10/02/03:e:NAFEM10:NAFEM10:_blank:ESBJ:DEN:");
indEVENTS.push("10/02/09:10/02/11:e:TIRE10:TIRE10:_blank:CM:GER:");
indEVENTS.push("10/02/09:10/02/11:e:ACMA10:ACMA10:_blank:LASV::");
indEVENTS.push("10/02/24:10/02/25:e:ILMS10:ILMS10:_blank:MUNIC:GER:");
indEVENTS.push("10/03/05:10/03/05:e:SCM10:SCM10:_blank:NOLA::");
indEVENTS.push("10/03/06:10/03/09:e:ORSRM10:ORSRM10:_blank:NOLA::");
indEVENTS.push("10/03/23:10/03/25:e:ME10:ME10:_blank:LANS:GER:");
indEVENTS.push("10/03/23:10/03/26:e:CINIE:CINIE:_blank:BEIJ:CHI:");
indEVENTS.push("10/04/13:10/04/15:e:JECS:JECS:_blank:PARI:FR:");
indEVENTS.push("10/04/15:10/04/16:e:BVB:BVB:_blank:ROTT:NET:");
indEVENTS.push("10/04/18:10/04/21:e:COE10:COE10:_blank:LASV::");
indEVENTS.push("10/04/19:10/04/23:e:HANN:HANN:_blank:HAN:GER:");
indEVENTS.push("10/04/20:10/04/23:e:EWEC:EWEC:_blank:WAR:PO:");
indEVENTS.push("10/04/22:10/04/24:e:MWC:MWC:_blank:LEU:BEL:");
indEVENTS.push("10/04/26:10/04/28:e:ESE10:ESE10:_blank:BORD:FR:");
indEVENTS.push("10/04/27:10/04/29:e:CIWE:CIWE:_blank:SHANG:CHI:");
indEVENTS.push("10/04/28:10/04/29:e:SVS10:SVS10:_blank:WIES:GER:");
indEVENTS.push("10/05/03:10/05/06:e:OTC10:OTC10:_blank:HOUS::");
indEVENTS.push("10/05/06:10/05/07:e:VVS10:VVS10:_blank:GRAZ:AS:");
indEVENTS.push("10/05/16:10/05/20:e:SMST:SMST:_blank:PACI::");
indEVENTS.push("10/05/16:10/05/21:e:ECCM10:ECCM10:_blank:PARI:FR:");
indEVENTS.push("10/05/17:10/05/18:e:IMP:IMP:_blank:LYO:FR:");
indEVENTS.push("10/05/17:10/05/20:e:SAM10:SAM10:_blank:SEAT::");
indEVENTS.push("10/05/19:10/05/20:e:SE:SE:_blank:STAD:GER:");
indEVENTS.push("10/05/19:10/05/20:e:AEEC:AEEC:_blank:ABER:UK:");
indEVENTS.push("10/05/25:10/05/27:e:FORD::_blank:DETR::");
indEVENTS.push("10/05/30:10/06/02:e:ENC:ENC:_blank:MADR:SP:");
indEVENTS.push("10/06/06:10/06/09:e:IBC10:IBC10:_blank:PITT::");
indEVENTS.push("10/06/06:10/06/11:e:OOAC:OOAC:_blank:SHANG:CHI:");
indEVENTS.push("10/06/08:10/06/09:e:UKC10:UKC10:_blank:OXF:UK:");
indEVENTS.push("10/06/08:10/06/10:e:EURO10:EURO10:_blank:NURE:GER:");
indEVENTS.push("10/06/09:10/06/10:e:FUGM10:FUGM10:_blank:TROY::");
indEVENTS.push("10/06/09:10/06/11:e:ISN10:ISN10:_blank:GRAZ:AS:");
indEVENTS.push("10/06/15:10/06/16:e:CFK:CFK:_blank:STA:GER:");
indEVENTS.push("10/06/17:10/06/19:e:AES:AES:_blank:SHANG:CHI:");
indEVENTS.push("10/06/20:10/06/23:e:ASEE10:ASEE10:_blank:LOUIS::");
indEVENTS.push("10/07/21:10/07/23:e:SCS:SCS:_blank:SYDN:AST:");
indEVENTS.push("10/08/18:10/08/21:e:ASB:ASB:_blank:PROV::");
indEVENTS.push("10/08/24:10/08/27:e:ONS10:ONS10:_blank:STAV:NOR:");
indEVENTS.push("10/09/13:10/09/16:e:IMTS10:IMTS10:_blank:CHIC::");
indEVENTS.push("10/09/14:10/09/16:e:CE10:CE10:_blank:ESS:GER:");
indEVENTS.push("10/09/20:10/09/21:e:BIO10:BIO10:_blank:NPBC::");
indEVENTS.push("10/09/29:10/09/30:e:KUN:KUN:_blank:VELD:NET:");
indEVENTS.push("10/11/02:10/11/04:e:FABTECH:FABTECH:_blank:ATL::");
indEVENTS.push("10/11/16:10/11/17:e:SIM:SIM:_blank:BAD:GER:");
indEVENTS.push("10/12/01:10/12/04:e:EUROM:EUROM:_blank:FRAN:GER:");

indEVENTS.push("10/02/08:10/02/10:e:TPC10:TPC10:_blank:LASV::");


/////////////////////////////////////////////////////////////////////////////////////

// MAIN FUNCTION
function displayEvents(num,style1) {
	
	var frag = document.createDocumentFragment();
	var span = document.createElement('span');

	var numbEvents = indEVENTS.length;
	var withSTYLE = (style1!='')?true:false;
	
	// sort table
	indEVENTS.sort();
	
	// counts # of displayed events
	var counts = 0;
	
	//MAIN LOOP
	for (i = 0; i < numbEvents; i++) {
	
	  var line_array = indEVENTS[i].split(":");
	  var sEvent = line_array[0];
	  var eEvent = line_array[1];
	  var remSE = line_array[2];
	  var indEvent = line_array[3];
	  var URL = line_array[4];
	  var target = line_array[5];
	  var location = line_array[6];
	  var country = line_array[7];
	  var image = line_array[8];

	  if (indEvent) {
		  if (remSE == 'e') {
			var thisDate = eEvent.split("/");
		  } else {
			var thisDate = sEvent.split("/");
		  }
		  var anual = thisDate[0]*1 + 2000;
		  var mes = thisDate[1]*1 - 1;
		  var dia = thisDate[2]*1;
		  
		  var myEVENTDate = new Date(anual, mes, dia);
		  var today = new Date();
		  if (country) var eventLoc = locations[location] + ", " + countries[country]; else var eventLoc = locations[location];
		  
		  var eventDate = formatDate(sEvent, eEvent,"long");
		  var txt = document.createTextNode(eventDate);
		  var txt2 = document.createTextNode(eventCode[indEvent]);
		  var strong = document.createElement('strong');
		  var span4 = document.createTextNode(eventLoc);
		  if (URL) {
			  var aURL = document.createElement('a');
			  aURL.setAttribute("href", urls[URL]);
			  aURL.setAttribute("target", target);
		  }
		  var br = document.createElement('br');
		  var br1 = document.createElement('br');
		  var br2 = document.createElement('br');
		  var br3 = document.createElement('br');
		  
		  // displays only active events
		  if (myEVENTDate > today) {
			if (withSTYLE) { //display for HOME PAGE
				strong.appendChild(txt);
				span.appendChild(strong);
				var img = document.createElement('img');
				img.setAttribute("src", "/all_images/spacer.gif");
				img.setAttribute("width", "10");
				img.setAttribute("height", "7");
				span.appendChild(br);
				if (URL) {
					aURL.appendChild(txt2);
					span.appendChild(aURL);
				} else {
					span.appendChild(txt2);
				}
				span.appendChild(br1);
				span.appendChild(span4);
				span.appendChild(br2);
				span.appendChild(img);
				span.appendChild(br3);
			} else { // display for INDUSTRY EVENT page
				//alert(style1+'-');
				var div = document.createElement('p');
                        if (image) {
				  var imgE = document.createElement('img');
				  imgE.setAttribute("src", image);
				  imgE.setAttribute("align", "left");
				  imgE.setAttribute("hspace", "10");
				  div.appendChild(imgE);
                        }
				strong.appendChild(txt2);
				if (URL) { 
					aURL.appendChild(strong);
					div.appendChild(aURL);
				} else {
					div.appendChild(strong);
				}
				div.appendChild(br);
				div.appendChild(txt);
				div.appendChild(br1);
				div.appendChild(span4);
				span.appendChild(div);
			}
			counts++;
			frag.appendChild(span);
			if ((counts >= num) && (num != 0)) i = numbEvents;
		  }
		}
	
		document.getElementById("indEvents").appendChild(frag);
	}
}
