﻿// Archivo JScript

function InitBanner()
{
if (gsLang == "Fr")
{
//Image pour le site Français
    var mygallery=new fadeSlideShow({
	    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
	    dimensions: [150, 70], //width/height of gallery in pixels. Should reflect dimensions of largest image
	    imagearray: [
		    ["../global/LoopCommanditaires/hec.gif", "http://www.hec.ca/", "_new", ""],
		    ["../global/LoopCommanditaires/conseil.gif", "http://www.artsmontreal.org/", "_new", ""],
			["../global/LoopCommanditaires/fasken.gif", "http://www.fasken.com/fr/home/", "_new", ""],
		    ["../global/LoopCommanditaires/deloite.gif", "http://www.deloitte.com/view/fr_CA/ca/index.htm", "_new", ""],
		    ["../global/LoopCommanditaires/demers.gif", "http://www.demersbeaulne.com/modules/index.html", "_new", ""],
		    ["../global/LoopCommanditaires/lavery.jpg", "http://lavery.ca/", "_new", ""],
		    ["../global/LoopCommanditaires/vae.jpg", "http://www.vaecorp.com/default_flash2.html", "_new", ""],
			["../global/LoopCommanditaires/hb.gif", "http://www.heenanblaikie.com/", "_new", ""],
		    ["../global/LoopCommanditaires/kpmg.gif", "http://www.kpmg.ca/fr/", "_new", ""],
			["../global/LoopCommanditaires/rbc.gif", "http://www.banqueroyale.com/", "_new", ""],
			["../global/LoopCommanditaires/ftq.gif", "http://www.fondsftq.com/", "_new", ""],
		    ["../global/LoopCommanditaires/lesa.gif", "http://www.lesaffaires.com/", "_new", ""],
			["../global/LoopCommanditaires/fujitsu.gif", "http://www.dmr.com/fr/Fujitsu/", "_new", ""],
			["../global/LoopCommanditaires/via.gif", "http://www.viarail.ca/fr", "_new", ""],
			["../global/LoopCommanditaires/air.gif", "http://www.aircanada.com/fr/home.html", "_new", ""],
			["../global/LoopCommanditaires/fjm.gif", "http://www.fjim.org/v3/", "_new", ""],
			["../global/LoopCommanditaires/anges.gif", "http://angesquebec.com/", "_new", ""],
			["../global/LoopCommanditaires/ceim.gif", "http://www.ceim.org/index.aspx?Lang=FR-CA", "_new", ""],
			["../global/LoopCommanditaires/blg.gif", "http://www.blgcanada.com/fr/home/Pages/default.aspx", "_new", ""],
			["../global/LoopCommanditaires/cre.gif", "http://www.credemontreal.qc.ca/", "_new", ""],
			["../global/LoopCommanditaires/gm_fr.gif", "http://www.gazmetro.com/", "_new", ""],
			["../global/LoopCommanditaires/cdp.gif", "http://www.lacaisse.com/fr/Pages/Accueil.aspx", "_new", ""],
			["../global/LoopCommanditaires/agropur.gif", "http://agropur.com/fr/", "_new", ""],
			["../global/LoopCommanditaires/mckesson.gif", "http://www.mckesson.ca/", "_new", ""],
			["../global/LoopCommanditaires/trouge.gif", "http://www.cirquedusoleil.com/fr/b2b/tapis-rouge/home.aspx", "_new", ""],
			["../global/LoopCommanditaires/desjardins.gif", "http://www.desjardins.com/fr/", "_new", ""],
			["../global/LoopCommanditaires/fmc.gif", "http://www.fmc-law.com/", "_new", ""],
			["../global/LoopCommanditaires/emploiq.gif", "http://emploiquebec.net/regions/montreal/index.asp", "_new", ""],
			["../global/LoopCommanditaires/present.gif", "http://presentprofit.com/", "_new", ""],
			["../global/LoopCommanditaires/raymond.gif", "http://www.raymondexec.com/", "_new", ""],
			["../global/LoopCommanditaires/bdc.gif", "http://www.bdc.ca/FR/solutions/capital_risque/Pages/capital_de_risque.aspx", "_new", ""],
			["../global/LoopCommanditaires/gocapital.gif", "http://www.bdc.ca/FR/solutions/capital_risque/a_propos_nous/Pages/go_capital.aspx", "_new", ""],
			["../global/LoopCommanditaires/burgundy.gif", "http://www.burgundyasset.com/index.asp?Main=Landing&Section=HomePage&View=normal", "_new", ""]
	    ],
	    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:true},
	    persist: false, //remember last viewed slide and recall within same session?
	    fadeduration: 2000, //transition duration (milliseconds)
	    descreveal: "ondemand",
	    togglerid: ""
    })
}
else
{
//Image pour le site Anglais
    var mygallery=new fadeSlideShow({
	    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
	    dimensions: [150, 70], //width/height of gallery in pixels. Should reflect dimensions of largest image
	    imagearray: [
		    ["../global/LoopCommanditaires/hec.gif", "http://www.hec.ca/en/", "_new", ""],
		    ["../global/LoopCommanditaires/conseil.gif", "http://www.artsmontreal.org/Index.php?lang=en", "_new", ""],
			["../global/LoopCommanditaires/fasken.gif", "http://www.fasken.com/en/home/", "_new", ""],
		    ["../global/LoopCommanditaires/deloite.gif", "http://www.deloitte.com/view/en_CA/ca/index.htm", "_new", ""],
		    ["../global/LoopCommanditaires/demers.gif", "http://www.demersbeaulne.com/modules_en/index.html", "_new", ""],
		    ["../global/LoopCommanditaires/lavery.jpg", "http://lavery.ca/", "_new", ""],
		    ["../global/LoopCommanditaires/vae.jpg", "http://www.vaecorp.com/default_flash2.html", "_new", ""],
			["../global/LoopCommanditaires/hb.gif", "http://www.heenanblaikie.com/", "_new", ""],
		    ["../global/LoopCommanditaires/kpmg.gif", "http://www.kpmg.ca/en/", "_new", ""],
			["../global/LoopCommanditaires/rbc.gif", "http://www.rbcroyalbank.com/personal.html", "_new", ""],
			["../global/LoopCommanditaires/ftq.gif", "http://www.fondsftq.com/internetfonds.nsf/AccueilAn_flash?OpenPage", "_new", ""],
		    ["../global/LoopCommanditaires/lesa.gif", "http://www.lesaffaires.com/", "_new", ""],
			["../global/LoopCommanditaires/fujitsu.gif", "http://www.dmr.com/en/fujitsu/fujitsu.htm", "_new", ""],
			["../global/LoopCommanditaires/via.gif", "http://www.viarail.ca/en", "_new", ""],
			["../global/LoopCommanditaires/air.gif", "http://www.aircanada.com/en/home.html", "_new", ""],
			["../global/LoopCommanditaires/fjm.gif", "http://www.fjim.org/v3/english.asp", "_new", ""],
			["../global/LoopCommanditaires/anges.gif", "http://angesquebec.com/", "_new", ""],
			["../global/LoopCommanditaires/ceim.gif", "http://www.ceim.org/index.aspx?Lang=EN-CA", "_new", ""],
			["../global/LoopCommanditaires/blg.gif", "http://www.blgcanada.com/en/home/Pages/default.aspx", "_new", ""],
			["../global/LoopCommanditaires/cre.gif", "http://www.credemontreal.qc.ca/", "_new", ""],
			["../global/LoopCommanditaires/gm_en.gif", "http://www.gazmetro.com/Default.aspx?Culture=en-CA", "_new", ""],
			["../global/LoopCommanditaires/cdp.gif", "http://www.lacaisse.com/en/Pages/Accueil.aspx", "_new", ""],
			["../global/LoopCommanditaires/agropur.gif", "http://agropur.com/en/", "_new", ""],
			["../global/LoopCommanditaires/mckesson.gif", "http://www.mckesson.ca/en/", "_new", ""],
			["../global/LoopCommanditaires/trouge.gif", "http://www.cirquedusoleil.com/fr/b2b/tapis-rouge/home.aspx", "_new", ""],	
			["../global/LoopCommanditaires/desjardins.gif", "http://www.desjardins.com/fr/", "_new", ""],
			["../global/LoopCommanditaires/fmc.gif", "http://www.fmc-law.com/", "_new", ""],
			["../global/LoopCommanditaires/emploiq.gif", "http://emploiquebec.net/index_en.asp", "_new", ""],
			["../global/LoopCommanditaires/present.gif", "http://presentprofit.com/en/home", "_new", ""],
			["../global/LoopCommanditaires/raymond.gif", "http://www.raymondexec.com/en/index.html", "_new", ""],
			["../global/LoopCommanditaires/bdc.gif", "http://www.bdc.ca/EN/solutions/venture_capital/Pages/venture_capital.aspx", "_new", ""],
			["../global/LoopCommanditaires/gocapital.gif", "http://www.bdc.ca/EN/solutions/venture_capital/about_us/Pages/go_capital.aspx", "_new", ""],
			["../global/LoopCommanditaires/burgundy.gif", "http://www.burgundyasset.com/index.asp?Main=Landing&Section=HomePage&View=normal", "_new", ""]
	    ],
	    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:true},
	    persist: false, //remember last viewed slide and recall within same session?
	    fadeduration: 2000, //transition duration (milliseconds)
	    descreveal: "ondemand",
	    togglerid: ""
    })
}
}
