var putItThere = null; 
var chasm = screen.availWidth;
var mount = screen.availHeight;
var wd = chasm*1;     // percentage of screen width occupied by pop-up
var ht = mount*.75;      // percentage of screen height occupied by pop-up

function deadCenter(url) {
     putItThere = window. open(url,'putItThere','width='+wd+',height='+ht+',left='+((chasm-wd-10)*.5)+',top='+((mount-ht-25)*.5)+',scrollbars,status,titlebar');
     if (putItThere & !putItThere.closed)     
         putItThere.focus();
}

function openSized800(url) {
w=window.open(url,null,
'width=800,height=600,top=100,left=100,scrollbars,status,titlebar');
} 

function openSized720(url) {
v=window.open(url,null,
'width=720,height=400,top=100,left=100,scrollbars,status,titlebar');
} 

	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='beige';			// Background color when mouse is not over
	var LowSubBgColor='gainsboro';			// Background color when mouse is not over on subs
	var HighBgColor='cornflowerblue';			// Background color when mouse is over
	var HighSubBgColor='navy';			// Background color when mouse is over on subs
	var FontLowColor='navy';			// Font color when mouse is not over
	var FontSubLowColor='midnightblue';			// Font color subs when mouse is not over
	var FontHighColor='navy';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='white';			// Border color
	var BorderSubColor='navy';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial,comic sans ms,technical"	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='Left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='static';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=2;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=0;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='centre';			// Frame where first level appears
	var SecLineFrame='centre';			// Frame where sub levels appear
	var DocTargetFrame='centre';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',12,12,'tridown.gif',12,12,'trileft.gif',12,12];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Accueil ALFA","http://alfa.qc.ca/accueil.php","http://www.alfa.qc.ca/menu_bg.gif",8,20,153);
		Menu1_1=new Array("Plan du site","javascript:openSized800 ('http://www.alfa.qc.ca/plan.html')","",0,20,153);
	  Menu1_2=new Array("Mission","http://alfa.qc.ca/alfa.php","",0);
		Menu1_3=new Array("Reportages","http://alfa.qc.ca/journaux.html","",0);
		Menu1_4=new Array("Conférences","http://alfa.qc.ca/journaux.html","",0);
		Menu1_5=new Array("Sites affiliés","javascript:window.open('http://www.alfasurf.com')","",0);
		Menu1_6=new Array("Liens et Votes","javascript:window.open('http://www.alfa.qc.ca/alfa_sites.html')","",0);
		Menu1_7=new Array("Contact","javascript:openSized800('http://www.alfa.qc.ca/contacts.html')","",0);
		Menu1_8=new Array("Clin d'oeil Alfa","javascript:openSized800 ('http://www.alfa.qc.ca/intro.swf')","",0);
		

Menu2=new Array("Produits","","http://www.alfa.qc.ca/menu_bg.gif",3,20,153);
		Menu2_1=new Array("Informatique","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=1')","",7,20,153);	
		Menu2_1_1=new Array("Accessoires","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=1_38')","",0,20,162);
		Menu2_1_2=new Array("Logiciels","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=2')","",0);
		Menu2_1_3=new Array("Moniteurs","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=1_37')","",0);
		Menu2_1_4=new Array("Ordinateurs","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=1_36')","",0);
		Menu2_1_5=new Array("Réseautique","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=1_39')","",0);
    Menu2_1_6=new Array("Hébergement internet","javascript:void deadCenter('http://www.alfa.qc.ca/hebergement.html')","",2);
    	Menu2_1_6_1=new Array("Nom de domaine","http://www.alfa.qc.ca/whois.htm","",0,20,153);
      Menu2_1_6_2=new Array("Référencement","http://www.alfa.qc.ca/referencement_montreal","",0);
		Menu2_1_7=new Array("Liste de prix","","",2,20,153);
			Menu2_1_7_1=new Array("Informatique","javascript:window.open ('http://alfa.qc.ca/PRICE%20LIST.htm')","",0,20,153);
      Menu2_1_7_2=new Array("Hébergement internet","javascript:void deadCenter('http://www.alfasurf.com/broadcast/prices_fr.htm')","",0);
	
		Menu2_2=new Array("Animaux","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=28')","",5,20,153);
			Menu2_2_1=new Array("Chiens","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=28_32')","",0,20,153);
			Menu2_2_2=new Array("Oiseaux","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=28_30')","",0);
			Menu2_2_3=new Array("Poissons","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?cPath=28_31')","",0);
			Menu2_2_4=new Array("Pension","javascript:window.open('http://alfa.qc.ca/catalog/index.php?cPath=28_29')","",0);
			Menu2_2_5=new Array("Tarif pension animaux","javascript:window.open('http://www.auxberges.com/francais/tarif-hebergement-chien.html')","",0);
		
		Menu2_3=new Array("Arts & Décoration","javascript:window.open('http://www.alfa.qc.ca/catalog/index.php?cPath=21')","",4,20,153);
		  Menu2_3_1=new Array("Accessoires déco","javascript:window.open('http://www.alfa.qc.ca/catalog/index.php?cPath=21')","",0,20,153);
			Menu2_3_2=new Array("Art de vivre","javascript:window.open('http://www.alfa.qc.ca/catalog/index.php?cPath=21_40')","",0);
			Menu2_3_3=new Array("Scultures","javascript:window.open('http://www.alfa.qc.ca/catalog/index.php?cPath=21_23')","",0);
			Menu2_3_4=new Array("Tableaux","javascript:window.open('http://www.alfa.qc.ca/catalog/index.php?cPath=21_42')","",0);

Menu3=new Array("Services","","http://www.alfa.qc.ca/menu_bg.gif",8,20,153);
		Menu3_1=new Array("Analyses & études","http://www.alfa.qc.ca/services.php","",0,20,162);
		Menu3_2=new Array("Chargé de projet","http://alfa.qc.ca/programmation.php","",0);
		Menu3_3=new Array("Comptabilité","http://www.alfa.qc.ca/comptabilite.html","",0);
		Menu3_4=new Array("Courtage informatique","http://www.alfa.qc.ca/services.php","",0);
		Menu3_5=new Array("Formation","http://www.alfa.qc.ca/formation.html","",0);
		Menu3_6=new Array("Internet","http://www.alfa.qc.ca/referencement_montreal","",6);
							Menu3_6_1=new Array("Conception de sites","javascript:openSized800('http://www.alfasurf.com/e-alfa/e-alfa.swf')","",9,20,153);
														Menu3_6_1_1=new Array("Administration Web","http://www.alfa.qc.ca/services.php","",0,20,153);
														Menu3_6_1_2=new Array("Analyse de trafic","http://alfa.qc.ca/referencement_montreal/analyse.htm","",0);
														Menu3_6_1_3=new Array("Annuaires de sites","http://www.alfa.qc.ca/xoop/modules/wflinks","",0);
														Menu3_6_1_4=new Array("E-Branding","http://alfa.qc.ca/referencement_montreal/e-branding.htm","",0);
														Menu3_6_1_5=new Array("E-Commerce","http://alfa.qc.ca/referencement_montreal/e-commerce.htm","",0);
														Menu3_6_1_6=new Array("E-Learning","http://alfa.qc.ca/referencement_montreal/e-learning.htm","",0);
														Menu3_6_1_7=new Array("Ergonomie cognitive","http://alfa.qc.ca/referencement_montreal/ergonomie.htm","",0);
														Menu3_6_1_8=new Array("Stratégie d'achalandage","http://alfa.qc.ca/referencement_montreal/achalandage.htm","",0);
														Menu3_6_1_9=new Array("Web Design","http://alfa.qc.ca/referencement_montreal/ergonomie.htm","",0);									
							Menu3_6_2=new Array("Nom de domaine","http://www.alfa.qc.ca/whois.htm","",0);
							Menu3_6_3=new Array("Hébergement Web","http://www.alfa.qc.ca/hebergement.html","",0);
							Menu3_6_4=new Array("Infographie","http://www.locaterre.com/","",0);
							Menu3_6_5=new Array("Positionnement","javascript:window.open('https://www.securepaynet.net/gdshop/traffic_blazer/landing.asp?prog_id=alfasurf&ci=1800')","",0);
							Menu3_6_6=new Array("Référencement","http://www.alfa.qc.ca/referencement_montreal/referencement.htm","",0);							
		Menu3_7=new Array("Solutions réseaux","http://www.alfa.qc.ca/reseau.php","",0);
		Menu3_8=new Array("Secrétariat","http://www.alfa.qc.ca/services.php","",0);
						
Menu4=new Array("Communauté","http://www.lerepertoire.com","http://www.alfa.qc.ca/menu_bg.gif",7,20,153);
	Menu4_1=new Array("Annonces classées","http://www.alfa.qc.ca/xoop/modules/catads","",0,20,153);
	Menu4_2=new Array("Blog","http://www.alfa.qc.ca/blog","",0);
	Menu4_3=new Array("FormeAction","http://www.alfa.qc.ca/xoop/modules/XoopsHP10","",0);
	Menu4_4=new Array("Forums","http://www.alfa.qc.ca/xoop/modules/newbbex","",0);
	Menu4_5=new Array("Vox Pop","http://www.alfa.qc.ca/xoop/modules/xoopspoll","",0);
	Menu4_6=new Array("Partenaires","http://www.alfa.qc.ca/xoop/modules/smartpartner","",0);
	Menu4_7=new Array("RSS","http://www.alfa.qc.ca/xoop/modules/rssc","",0);
			
Menu5=new Array("Boutique en ligne","javascript:window.open('http://alfa.qc.ca/catalog/index.php?language=fr')","http://www.alfa.qc.ca/menu_bg.gif",1,20,153);
	Menu5_1=new Array("Clin d'oeil","javascript:openSized720 ('http://www.alfa.qc.ca/chantalain.swf')","",0,20,153);
