﻿ /***********************************************
*	(c) Ger Versluis 2000 version 9.50 24 July 2003	          *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *		
*	You may remove all comments for faster loading	          *		
************************************************/
//modification le 29 Mars 2006 pour le site institutionnel de l'IPN...L.Petizon 0169157784

	var NoOffFirstLineMenus=9;		// Number of main menu  items
						            // Colorvariables:
						            // Color variables take HTML predefined color names or "#rrggbb" strings
						            //For transparency make colors and border color ""
	/*Couleur NewCNRS
	var LowBgColor="#00294b";		// Background color when mouse is not over
	var HighBgColor="";		// Background color when mouse is over
	var FontLowColor="#FFFFFF";		// Font color when mouse is not over
	var FontHighColor="#7695b8";		// Font color when mouse is over
	*/					            
	var LowBgColor="#501F74";			// Background color when mouse is not over #472472
	//0066FF bleu clair, 0099FF bleu moyen, 003399 bleu sombre, 3399CC bleu dur
	var HighBgColor="#C3004A";			// Background color when mouse is over #666666 #FF8C00 #FFFFFF
	var FontLowColor="#FFFFFF";		// Font color when mouse is not over
	var FontHighColor="#FFFFFF";		// Font color when mouse is over
	var BorderColor="#8D6A68";			// Border color E55904  orange in2p3  CNRS, 
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Border between elements main items 1 or 0
	var BorderBtwnSub=1;			// Border between elements sub items 1 or 0
	var FontFamily="arial,helvetica,sans-serif";	// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=0;				// 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="left";		// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;		// vertical overlap child/ parent
	var StartLeft=-1;			// Menu offset x coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowwidth
	var VerCorrect=0;			// Multiple frames y correction
	var HorCorrect=0;			// Multiple frames x correction
	var LeftPaddng=6;			// Left padding
	var TopPaddng=4;			// Top padding
	var FirstLineHorizontal=0;		// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;		// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;		// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="";			// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;			// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref=""; 
  var Arrws=["",5,10,"",10,5,"",5,10,"",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			
	var PartOfWindow=.8;
	                    // PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var BuildOnDemand=0;
	var MenuSlide="";
	var MenuShadow="";
	var MenuOpacity="";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 
   
var Subbgcolor = "";
var Subbghighcolor = "";//0066FF bleu clair, 0099FF bleu moyen, 003399 bleu sombre, 3399CC bleu dur
var Subfontcolor = "";
var Subfonthighcolor="";
var Subbordercolor="";

//Laboratoire
Menu1=new Array("Laboratoire",BaseMenuHref+ "","",6,24,150,"","","","","","",-1,-1,-1,"","");
    Menu1_1=new Array("Direction",BaseMenuHref+"http://ipnweb.in2p3.fr/laboratoire/direction/direction.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");

	Menu1_2=new Array("Présentation",BaseMenuHref+"http://ipnweb.in2p3.fr/laboratoire/presentation/presentation.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu1_3=new Array("Organisation",BaseMenuHref+"http://ipnweb.in2p3.fr/laboratoire/organisation/orgagenelab.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	//communication
Menu1_4=new Array("Communication",BaseMenuHref+"http://ipnweb.in2p3.fr/communication/communication/communication.html","",2,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
      Menu1_4_1=new Array("Rapports d'activité",BaseMenuHref+"","",5,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	     Menu1_4_1_1=new Array("Rapport d'activité 2008-2009","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/communication/communication/rapport/rapipno200809/index.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	     Menu1_4_1_2=new Array("Rapport d'activité 2006-2007","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/communication/communication/rapport/rapipno200607/index.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
         Menu1_4_1_3=new Array("Rapport d'activité 2004-2005","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/communication/communication/rapport/rapipno200405/index.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
         Menu1_4_1_4=new Array("Rapport d'activité 2002-2003","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/communication/communication/rapport/rapipno200203/index.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
         Menu1_4_1_5=new Array("Rapport d'activité 2000-2001","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/communication/communication/rapport/rapipno200001/index.html\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
      Menu1_4_2=new Array("Evénements",BaseMenuHref+"http://ipnweb.in2p3.fr/communication/evenements/evenements.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
		//fin
    Menu1_5=new Array("Infos pratiques",BaseMenuHref+"http://ipnweb.in2p3.fr/laboratoire/infosprat/infoprat.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu1_6=new Array("Offres d'emploi",BaseMenuHref+"http://ipnweb.in2p3.fr/emploi/emploi.html","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	
//activités scientifiques
Menu2=new Array("Activités scientifiques",BaseMenuHref+ "http://ipnweb.in2p3.fr/recherche/recherche.html","",9,24,150,"","","","","","",-1,-1,-1,"","");

	Menu2_1=new Array("Structure nucléaire","http://ipnweb.in2p3.fr/~structure","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	Menu2_2=new Array("Matière nucléaire","http://ipnweb.in2p3.fr/~nim","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_3=new Array("Aval du cycle","http://ipnweb.in2p3.fr/~pacs","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_4=new Array("Matière hadronique","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~alice/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_5=new Array("Physique hadronique","","",2,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");   
    Menu2_5_1=new Array("HADES","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~hades/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    //Menu2_5_2=new Array("PHASE","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~phase/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	Menu2_5_2=new Array("PANDA","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~panda/\",\"NWin\");window[\"NewWin\"].focus()","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_6=new Array("Physique théorique","http://ipnweb.in2p3.fr/~PhT-IPN/","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_7=new Array("Astroparticules","http://ipnweb.in2p3.fr/~auger","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_8=new Array("Radiochimie", "http://ipnweb.in2p3.fr/~rad","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu2_9=new Array("Intéractions ions-matière","http://ipnweb.in2p3.fr/~nim","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
 
//Activités techniques
Menu3=new Array("Activités techniques",BaseMenuHref+ "http://ipnweb.in2p3.fr/actech/actech.html","",3,24,150,"","","","","","",-1,-1,-1,"","");

    Menu3_1=new Array("Division Accélérateur","http://ipnweb.in2p3.fr/~divac/","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
	Menu3_2=new Array("Division Instrumentation et informatique","http://ipnweb.in2p3.fr/laboratoire/organisation/orgaDI.html","",0,40,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    Menu3_3=new Array("Informatique","http://ipnweb.in2p3.fr/~s2i/","",0,20,150,Subbgcolor,Subbghighcolor,Subfontcolor,Subfonthighcolor,Subbordercolor,"",8,0,-1,"","");
    
//Contrats de recherche
Menu4=new Array("Contrats de recherche",BaseMenuHref+ "http://ipnweb.in2p3.fr/contrats/contrats.html","",0,24,150,"","","","","","",-1,-1,-1,"","");
   
//Enseignement
Menu5=new Array("Enseignement",BaseMenuHref+"http://ipnweb.in2p3.fr/ecoldoct/ecoldoct.html","",0,24,150,"","","","","","",-1,-1,-1,"","");
    
//Bibliothèque_Publications
Menu6=new Array("Bibliothèque Publications","http://ipnweb.in2p3.fr/~bibli","",0,24,150,"","","","","","",-1,-1,-1,"","");

//Thèses et stages
Menu7=new Array("Stages et thèses","","",2,24,150,"","","","","","",-1,-1,-1,"","");
Menu7_1=new Array("Stages","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~stages/stages.html\",\"NWin\");window[\"NewWin\"].focus()","",0,24,150,"","","","","","",-1,-1,-1,"","");
Menu7_2=new Array("Thèses","javascript:NewWin=window.open(\"http://ipnweb.in2p3.fr/~stages/\",\"NWin\");window[\"NewWin\"].focus()","",0,24,150,"","","","","","",-1,-1,-1,"","");

//Valorisation
Menu8=new Array("Valorisation","javascript:NewWin=window.open(\"http://valorisation.in2p3.fr\",\"NWin\");window[\"NewWin\"].focus()","",0,25,150,"","","","","","",-1,-1,-1,"","");

//Dosimétrie
Menu9=new Array("Dosimétrie",BaseMenuHref+"http://ipnweb.in2p3.fr/dosim/index.html","",0,25,150,"","","","","","",-1,-1,-1,"","");

   





