 /***********************************************
*	(c) Ger Versluis 2000 version 13.20 October 12, 2005    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=21
;			// Number of main menu  items    tahoma,helvetica
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="#ffefdd";			// Background color when mouse is not over
	var HighBgColor="#ffefdd";			// Background color when mouse is over
	var FontLowColor="black";			// Font color when mouse is not over
	var FontHighColor="#3dce83";			// Font color when mouse is over
	var BorderColor="green";			// Border color
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Borderwidth between elements
	var BorderBtwnSub=1;			// Borderwidth between elements sub items
	var FontFamily="arial";	// Font family menu items
	var FontSize=12;				// 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="left";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.1;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=120;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=2;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=29;				// Left padding
	var TopPaddng=3;			// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=0;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=100;			// 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="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"images/tri.gif",5,10,BaseHref+"images/tridown.gif",10,5,BaseHref+"images/trileft.gif",5,10,BaseHref+"images/triup.gif",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;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......
	var OverFormElements=1;			// Set this to 0 when the menu does not need to cover form elements.

	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting

	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// 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 MenuSlide="";
//	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.1, transition=19)";
//	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.1, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=90)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}


//MENU
Menu1=new Array("PTO MENU","index.html","rollover?"+BaseHref+"?"+BaseHref+"images/sfhome.jpg",0,20,150,"#3dce83","#3dce83","WHITE","#BB0000","","",-1,1,-1,"","");



//STUDIO
Menu2=new Array("PTO Studio","","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/LinkON1.gif",3,20,0,"","","","","","",-1,-1,-1,"","PTO Recording Studio");
	Menu2_1=new Array("Apparecchiature","javascript:user.location.href=\"PStudio.htm\"","",0,18,130,"white","#3dce83","black","white","","",10,0,-1,"","Lista delle macchine presenti");	
	Menu2_2=new Array("La storia","javascript:user.location.href=\"PStoria.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","L'evoluzione dello studio");	
	Menu2_3=new Array("Chi c'è stato","javascript:user.location.href=\"PPassato.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Una lista dei frequentatori");	

//descrizione
Menu3=new Array("lo studio di registrazione","","",0,18,0,"white","white","black","black","","arial",9,0,-1,"","");
//TECH
Menu4=new Array("PTO Tech","","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/LinkON1.gif",5,20,0,"","","","","","",-1,1,-1,"","I nostri progetti, DIY, Info");
	Menu4_1=new Array("HDW Audio","","",2,18,130,"white","#3dce83","black","white","","",10,0,-1,"","Gli apparecchi Audio di nostra produzione");	
		Menu4_1_1=new Array("Pre microfonico","javascript:user.location.href=\"PHDWaudio1.htm\"","",0,18,140,"white","#3dce83","black","white","","",10,0,-1,"","Gli apparecchi Audio di nostra produzione");	
		Menu4_1_2=new Array("Amplificatori cuffie","javascript:user.location.href=\"PHDWaudio2.htm\"","",0,18,140,"white","#3dce83","black","white","","",10,0,-1,"","Gli apparecchi Audio di nostra produzione");	


	Menu4_2=new Array("HDW MIDI","javascript:user.location.href=\"PHDWmidi.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Gli apparecchi MIDI");	
	Menu4_3=new Array("Custom","javascript:user.location.href=\"PHDWcustom.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Apparecchi su richiesta");	
	Menu4_4=new Array("DIY","javascript:user.location.href=\"PHDWDIY.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Do It Yourself");	
	Menu4_5=new Array("Schede tecniche","javascript:user.location.href=\"tech/schede.htm\"","",2,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Schede tecniche sull'acustica ed elettronica");	
		Menu4_5_1=new Array("1-Diffusori QRD","javascript:user.location.href=\"tech/teoriaQRD.htm\"","",0,18,150,"white","#3dce83","black","white","","",10,0,-1,"","Schede tecniche sull'acustica ed elettronica");	
		Menu4_5_2=new Array("2-I deciBell","javascript:user.location.href=\"tech/deciBell.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Schede tecniche sull'acustica ed elettronica");	
		Menu4_5_3=new Array("Schede tecniche","javascript:user.location.href=\"tech/schede.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Schede tecniche sull'acustica ed elettronica");	

//descrizione
Menu5=new Array("i progetti audio","","",0,18,0,"white","white","black","black","","arial",9,0,-1,"","");
//PROJECT
Menu6=new Array("PTO PRoJect","","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/LinkON1.gif",4,20,0,"","","","","","",12,1,0,"","");
	Menu6_1=new Array("Il progetto","javascript:user.location.href=\"PPRoJect.htm\"","",0,18,110,"white","#3dce83","black","white","","",10,0,-1,"","");	
	Menu6_2=new Array("La musica","javascript:user.location.href=\"PMusica.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","");	
	Menu6_3=new Array("Chi siamo","javascript:user.location.href=\"Pchi.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","");	
	Menu6_4=new Array("Gli amici","javascript:user.location.href=\"PFriends.htm\"","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","");	

//descrizione
Menu7=new Array("cosa suoniamo","","",0,18,0,"white","white","black","black","","arial",9,0,-1,"","");
//WATCH
Menu8=new Array("PTO Watch","","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/LinkON1.gif",2,20,0,"","","","","","",12,1,0,"","");
	Menu8_1=new Array("L'angolo di Procopio","javascript:NewWin=window.open(\"procopio/procopiomain.htm\",\"NWin\");window[\"NewWin\"].focus()","",0,18,150,"white","#3dce83","black","white","","",10,0,-1,"","Danza, spettacoli e curiosità");	
	Menu8_2=new Array("L'armadio di Paola","javascript:NewWin=window.open(\"armadio/armadiodipaola.htm\",\"NWin\");window[\"NewWin\"].focus()","",0,18,0,"white","#3dce83","black","white","","",10,0,-1,"","Danza, spettacoli e curiosità");	


//descrizione
Menu9=new Array("rubriche da seguire","","",0,18,0,"white","white","black","black","","arial",9,0,-1,"","");

//LINK
Menu10=new Array("PTO Link","javascript:user.location.href=\"PLink.htm\"","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/LinkON1.gif",0,20,0,"","","","","","",12,1,0,"","");

//descrizione
Menu11=new Array("collegamenti utili","","",0,18,0,"white","white","black","black","","arial",9,0,-1,"","");

//CONTATTACI
Menu12=new Array("Contattaci","mailto:info@ptoproject.it","rollover?"+BaseHref+"images/LinkOff.gif?"+BaseHref+"images/pencl_g.gif",0,20,0,"","","","","","arial",12,1,0,"","");


//SPAZIO VUOTO
//Menu13=new Array("future voci di menu<BR><IMG SRC='images/LogoProject.JPG'><BR>future voci di menu","","",0,75,0,"white","white","black","black","","arial",9,0,-1,"center","");
Menu13=new Array("<IMG SRC='images/sf150.jpg' width='150' height='80'>","","",0,75,0,"white","white","black","black","","arial",9,0,-1,"center","");
//Menu13=new Array("to Firefox users<BR><IMG SRC='http://www.mozilla-europe.org/img/firefox-title.jpg'width='150' height='56'><BR>C'è un problema di compatibilità<BR>che stiamo tentando di risolvere.<BR>Alcune schede non appaiono intere.<BR>Ce ne scusiamo...PTOPRoJect","","",0,140,0,"","","","","","",9,0,0,"","Compatibilità Firefox");


//TRA
Menu14=new Array("<IMG SRC='images/TRAlogo.gif'>","javascript:NewWin=window.open(\"http://digilander.libero.it/totallrecall/\",\"NWin\");window[\"NewWin\"].focus()","",0,44,0,"","","","","","",9,0,0,"","la nostra associazione musicale");

//bienix
Menu15=new Array("rollover?"+BaseHref+"images/BienixLogo.gif?"+BaseHref+"images/BienixLogoHoover.gif","javascript:NewWin=window.open(\"http://www.bienixarte.it/\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"","","","","","",12,1,0,"","Consigliamo e collaboriamo con bienixARTE audio recording");

//UAR
Menu16=new Array("<IMG SRC='images/LogoUAR40.jpg'>","javascript:NewWin=window.open(\"http://www.homestudioitalia.com/forum/\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"","","","","","",12,1,0,"","il mio Forum preferito");

//AnalogForum
Menu17=new Array("rollover?"+BaseHref+"images/analogLogo.jpg?"+BaseHref+"images/analogHoover.jpg","javascript:NewWin=window.open(\"http://forum.analogconsole.com//\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"","","","","","",12,1,0,"","Forum sulle console analogiche");

//AML
Menu18=new Array("<IMG SRC='images/AMLlogo.jpg'>","javascript:NewWin=window.open(\"http://www.audiomaintenance.com/\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"","","","","","",12,1,0,"","Assistenza e ricambi per console Amek");


//SPAZIO VUOTO divisorio
Menu19=new Array("<IMG SRC='images/sf150.jpg'>","","",0,10,0,"","","","","","arial",9,0,-1,"","");

//TopHost
Menu20=new Array("<img src='http://www.tophost.it/image/ad/88x31_tophost_1.gif' alt='Tophost' width='88' height='31' border='0' vspace='5'>","javascript:NewWin=window.open(\"http://www.tophost.it/\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"white","white","","","","",12,1,0,"center","Il nostro Host");

//shiny
// inizio codice shinystat inglobato

c_="";l_=""+screen.width;d_=document.referrer;

if (self != top){try {r_=""+escape(parent.document.referrer);}catch(e_r) {r_=""+escape(d_);}}
	else {r_=""+escape(d_);}
if(navigator.appName!="Netscape"){c_=screen.colorDepth}
	else{c_=screen.pixelDepth}

// fine codice shinystat inglobato

// menu shiny
Menu21=new Array("<img src=\"http://s2.shinystat.com/cgi-bin/shinystat.cgi?USER=ptocount&REFER="+r_+"&COLOR="+c_+"&SIZE="+l_+"\" border=\"0\" vspace='5' ALT='Traffic counter'>","javascript:NewWin=window.open(\"http://s2.shinystat.com/cgi-bin/shinystatv.cgi?USER=ptocount&NH=1\",\"NWin\");window[\"NewWin\"].focus()","",0,40,0,"white","white","","","","",12,1,0,"center","Contatore di traffico");

// menu per prove senza shiny
//Menu21=new Array("<IMG SRC='images/shinystat.png' vspace='5'>","","",0,40,0,"white","white","","","","",12,1,0,"center","Immagine Contatore simulato");

