﻿Chemin = "http://www.interreg3.com/EN/";
Racine = "http://www.interreg3.com/";
//Chemin = "http://localhost/sites_web/Rhn/wwwroot/www-interreg3-com/EN/";
//Racine = "http://localhost/sites_web/Rhn/wwwroot/www-interreg3-com/";

offset_sous_menu = 5;


menunum=0;
menus=new Array();
_d=document;
function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus()
{
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";_d.write(mt)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#636163', Direction=135, Strength=5)" 
	
	// r?glage de l'opacit? du menu
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500;				// The time delay for menus to remain visible
followspeed=5;			// Follow Scrolling speed
followrate=40;			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=2;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"777777",				// Mouse Off Background Color
"777777",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"adb6bd",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,						// Menu Item Padding
Racine+"objets/images/fleche_menu_droite.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"777777",				// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
,//"objets/images/fleche_menu_bas.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"777777",				// Menu Header Background Color (Leave blank if headers are not needed)
]



addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
132, //113,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
194,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"center",					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Interreg IIIA<BR>&nbsp;","show-menu=Interreg3",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<font color='#D0DA02'>Interreg IVA<BR>France (Manche)-England</font>","show-menu=Interreg4",,"",1
,"<font color='#D0DA02'>Partner search<BR>&nbsp;</font>","show-menu=Partenariat",,"",1
,"News<BR>&nbsp;","show-menu=Actualites",,"",1
])

	addmenu(menu=["Interreg3",
	,,380,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"The programme",Chemin+"programme.asp",,,0
	,"Reference documents",Chemin+"documents.asp",,,0
	,"European regulations",Chemin+"reglements.asp",,,0
	,"Seminars",Chemin+"seminaires.asp",,,0
	,"Partners",Chemin+"partenaires.asp",,,0
	,"Co-operation area map",Chemin+"carte.asp",,,0
	,"Update of the mid-term evaluation of the programme",Racine+"objets/fichiers/Rapport_final_FR_1_0.zip",,,0
	,"Mid-term evaluation of the programme",Racine+"objets/fichiers/Rapport_final_FR_1_1.zip",,,0
	,"Useful information","",,"",0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Fast-track procedure for micro-projects</span>",Chemin+"micro-prj.asp",,"",0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Setting-up projects</span>",Chemin+"elaboration.asp",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Examples</span>",Chemin+"exemples.asp",,,0
			//,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Les paiements</span>",Chemin+"paiements.asp",,,0
			//,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Obligations de publicité communautaire</span>",Chemin+"obligations.asp",,,0	
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Links</span>",Chemin+"liens.asp",,,0	
	])
	
	addmenu(menu=["Interreg4",
	,,350,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"The programme’s key principles","",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Brief introduction</span>",Chemin+"Interreg4-1-1.asp",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Priorities</span>",Chemin+"Interreg4-1-2.asp",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Methods of crossborder cooperation</span>",Chemin+"Interreg4-1-3.asp",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Authorities</span>",Chemin+"Interreg4-1-5.asp",,,0	
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Granting and financial bases</span>",Chemin+"Interreg4-1-4.asp",,,0		
	,"Bid application stages","",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Submission of a bid</span>",Chemin+"Interreg4-2-1.asp",,,0
			,"&nbsp;&nbsp;&nbsp;->&nbsp;<span style=\"color:D1D3D0\">Application appraisal</span>",Chemin+"Interreg4-2-2.asp",,,0
	,"Micro-projects procedure",Chemin+"Interreg4-5.asp",,,0	
	,"Approved Projets",Chemin+"Interreg4-5-1.asp",,,0
	,"List of reference documents",Chemin+"Interreg4-3.asp",,,0	
	,"Programme background",Chemin+"Interreg4-4.asp",,,0	
	])
	
	addmenu(menu=["Interreg4-1",
	,,320,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Accueil",Chemin+"Interreg4-1-1.asp",,,0
	,"Priorities",Chemin+"Interreg4-1-2.asp",,,0
	,"Des projets indiscutablement transfrontaliers",Chemin+"Interreg4-1-3.asp",,,0
	,"Instances et finances",Chemin+"Interreg4-1-4.asp",,,0	
	])
	
	addmenu(menu=["Interreg4-2",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Le dépôt de la demande",Chemin+"Interreg4-2-1.asp",,,0
	,"L’instruction des dossiers",Chemin+"Interreg4-2-2.asp",,,0
	])
	
	addmenu(menu=["Partenariat",
	 ,,195,1,"",style1,,"left",effect,,,,,,,,,,,, 
	 //,"See the advertisements by location",Chemin+"partenariat/zones.asp",,,0
	 //,"See the advertisements by thematic",Chemin+"partenariat/thematiques.asp",,,0
	 ,"See the advertisements",Chemin+"partenariat/lst-prj-zone.asp?zone=0",,,0
	 ,"Start a search",Chemin+"partenariat/new-projet.asp",,,0
	 ])
	
	addmenu(menu=["Pratique",
	,,195,1,"",style1,,"left",effect,,,,,,,,,,,,
	//,"Procédure spéciale micro-projets",Chemin+"micro-prj.asp",,"",0
	,"Setting-up projects",Chemin+"elaboration.asp",,,0
	,"Examples",Chemin+"exemples.asp",,,0
	//,"Les paiements",Chemin+"paiements.asp",,,0
	//,"Obligations de publicité communautaire",Chemin+"obligations.asp",,,0	
	,"Links",Chemin+"liens.asp",,,0
	])
	
	addmenu(menu=["Actualites",
	,,195,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Newsletters",Chemin+"newsletter.asp",,,0
	,"All the news in brief",Chemin+"news.asp",,,0
	])		
						
dumpmenus()