// JavaScript Document
function fwLoadMenus() {
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",76,17,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#bb281c","#000000");
  fw_menu_0.addMenuItem("Itinerario 1","location='capriischia_1a.html'");
  fw_menu_0.addMenuItem("itinerario 2","location='procida_2a.html'");
  fw_menu_0.addMenuItem("Itinerario 3","location='amalfi_3a.html'");
  fw_menu_0.addMenuItem("Itinerario 4","location='isolepontine_4a.html'");
  fw_menu_0.addMenuItem("Itinerario 5","location='isoleeolie_5a.html'");
  fw_menu_0.addMenuItem("Napoli","location='napoli.htm'");
  fw_menu_0.fontWeight="bold";
  fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",100,17,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#bb281d","#000000");
  fw_menu_1.addMenuItem("Sun Odyssey 35","location='jeanneau_35a.html'");
  fw_menu_1.addMenuItem("Dufour 385","location='dufour_385a.html'");
  fw_menu_1.addMenuItem("Cyclades 43.4","location='beneteau_434a.html'");
  fw_menu_1.addMenuItem("Cyclades 50.4","location='beneteau_504a.html'");
  fw_menu_1.addMenuItem("Bavaria 42C","location='bavaria_42a.html'");
  fw_menu_1.addMenuItem("Bavaria 46C","location='bavaria_46a.html'");
  fw_menu_1.addMenuItem("Bavaria 50C","location='bavaria_50a.html'");
  fw_menu_1.fontWeight="bold";
  fw_menu_1.hideOnMouseOut=true;
  fw_menu_1.writeMenus();
} // fwLoadMenus()

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function PopUp(url, width, height)
{
   //alert(url);
	if (width == '') {	
		width=400;//300;
	}
	if (height == '') {
		height=450;//250;
	}
	
	var chasm = screen.availWidth;
	var mount = screen.availHeight;
	var w = width;
	var h = height;
//putItThere = window.open(url,,'width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));


	return window.open(url,"",'dependent=yes,width='+width+',height='+height+',menubar=no,scrollbars=no,titlebar=no,status=no,left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
	
   	//return window.showModalDialog(url,"",'dialogHeight:'+height+'px;dialogWidth:'+width+'px;status:no;center:yes;resizable:no;help:no;scroll:no');
}
//-->