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*.95;      // 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='ffffff';			// Background color when mouse is not over

	var LowSubBgColor='DCF9DB';			// Background color when mouse is not over on subs

	var HighBgColor='003600';			// Background color when mouse is over

	var HighSubBgColor='003600';			// Background color when mouse is over on subs

	var FontLowColor='navy';			// Font color when mouse is not over

	var FontSubLowColor='003600';			// Font color subs when mouse is not over

	var FontHighColor='006600';			// Font color when mouse is over

	var FontSubHighColor='beige';			// Font color subs when mouse is over

	var BorderColor='white';			// Border color

	var BorderSubColor='006600';			// 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='center';			// 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("rollover:auxberges.jpg:auxberges_on.jpg","bienvenue.html","",7,43,150);

		Menu1_1=new Array("Plan du site","javascript:openSized800 ('plan.html')","",0,20,150);

	  	Menu1_2=new Array("Mission","mission.html","",0);

		Menu1_3=new Array("Concept","concept.html","",0);

		Menu1_4=new Array("Emplacement","emplacement.html","",0);

		Menu1_5=new Array("Contact","contact.html","",0);

		Menu1_6=new Array("Clin d'oeil","javascript:openSized800 ('http://www.auxberges.com/auxberges.swf')","",0);

		Menu1_7=new Array("Sites ALFA inc.","javascript:window.open('http://www.alfa.qc.ca/alfa_sites.html')","",0);

		



Menu2=new Array("rollover:service.jpg:service_on.jpg","","",4,43,150);

		Menu2_1=new Array("Admission","","",2,20,150);	

		Menu2_1_1=new Array("Évaluation","evaluation.html","",0,20,150);

		Menu2_1_2=new Array("Conditions","conditions-hebergement.html","",0,20,150);

		

		

		Menu2_2=new Array("Pension","","",3,20,150);

		Menu2_2_1=new Array("Séjours","hebergement-chien.html","",0,20,150);

		Menu2_2_2=new Array("Horaire type","horaire.html","",0,20,150);

		Menu2_2_3=new Array("Toilettage","toilettage.html","",0);

		

		Menu2_3=new Array("Tarifs pension","tarif-hebergement-chien.html","",0,20,150);



		Menu2_4=new Array("Refuge","refuge-oiseau.html","",0,20,150);



Menu3=new Array("rollover:gallerie.jpg:gallerie_on.jpg","galerie.php","",2,43,150);
	Menu3_1=new Array("Photos","galerie.php","",0,20,150);
    Menu3_2=new Array("Vidéo","video.html","",0,20,150);
		

Menu4=new Array("rollover:conseil.jpg:conseil_on.jpg","","",3,43,150);

	Menu4_1=new Array("Conseils chiens","conseil-chien.html","",0,20,150);
	Menu4_2=new Array("Races de chiens","race-chien.html","",0,20,150);
	

	Menu4_3=new Array("Conseils oiseaux","conseil-oiseau.html","",0,20,150);

				

Menu5=new Array("rollover:boutique.jpg:boutique_on.jpg","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?language=fr')","",3,43,150);
	Menu5_1=new Array("Boutique en ligne","javascript:window.open ('http://alfa.qc.ca/catalog/index.php?language=fr')","",0,20,150);
	Menu5_2=new Array("Clin d'oeil Boutique","javascript:openSized720 ('http://www.alfa.qc.ca/chantalain.swf')","",0,20,150);
	Menu5_3=new Array("Clin d'oeil Océan","javascript:openSized800 ('../auxberges.swf')","",0,20,150);

