

var hBar = new ItemStyle(50, 40, '', 15, 2,'','#000000','lowText','highText', '', '',
 null, null, 'hand', 'default');


var subM = new ItemStyle(25,0, '&gt;', -25,3, '10#000000', '10#CC6633',  'lowText','lowText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');


var subBlank = new ItemStyle(22, 1, '&gt;', -15, 3, '10#728492', '10#3E4873', 'lowText', 'lowText',
 'itemBorderBlank', 'itemBorder', null, null, 'hand', 'default');



var button = new ItemStyle(40, 1, '&gt;', -15, 2, '10#000099', '10#006699', 'lowText', 'buttonHover',
'buttonBorder', 'buttonBorderOver', 90, 95, 'crosshair', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{

//var basePath = 'http://www.example.com/folder/';
//Create a JS variable with a pathname in it, and add it to all of your items. You can set basePath to 'c:/folder/' or similar when testing offline.




var basePath =  'http://www.peraltatuscany.com/';
//var basePath =  'C:/peralta-dw/';
//addItem('Text', basePath+'/file.html', '');


// 6  MENUES


startMenu('root', false,'window.page.winW()/2 - menuW/2', 26, 19, hBar, '', true);
addItem('PERALTA', 'mPeralta', 'sm:', null, 58);
addItem('ACCOMMODATION', basePath+'peralta/accom/accomm.html', '',null, 125);
addItem('LOCAL INFO ', 'mLocal Info', 'sm:', null, 88);
addItem('GROUP BOOKINGS', basePath+'peralta/allofperalta.html', '', null, 117);
addItem('COURSES', 'mCourses', 'sm:', null, 66);
addItem('LINKS', 'mLinks', 'sm:', null, 47);
addItem('HOME', basePath+'index.html', '', null, 45);
addItem('CONTACT', basePath+'peralta/booking.html', '', null, 65);


startMenu('mLinks', true, 0, 18, 140, subM, '', true);
addItem('Fiore De Henriquez', 'window.open("http://www.fioredehenriquez.com")', 'js:', null, 20);
addItem(' Trip Advisor','window.open("http://www.tripadvisor.com/Hotel_Review-g1051674-d311545-Reviews-Peralta-Camaiore_Tuscany.html")', 'js:', null, 20);
addItem('Special Places To Stay', 'window.open("http://www.specialplacestostay.com/places/IT84")', 'js:', null, 20);
addItem('Trekking', 'window.open("http://www.versiliatrekking.com")', 'js:', null, 20);
addItem('Bar Pizzeria Da Pietro', 'window.open("http://www.peraltatuscany.com/da%20pietro/home.html")', 'js:', null, 20);
addItem('Kathleen Jones', 'window.open("http://www.kathleenjones.co.uk/")', 'js:', null, 20);
addItem('Neil Ferber', 'window.open("http://www.neilferber.co.uk/")', 'js:', null, 20);




//local info
startMenu('mLocal Info', true, 0, 18, 170, subM, '', true);
addItem(' General Info', basePath+'peralta/localinfo.html', '');
addItem(' Photos of Places To Visit', basePath+'peralta/allpics.html', '', null, 30);
addItem('Weather Forecast', 'window.open("http://italia.indettaglio.it/eng/toscana/lucca_camaiore_aglianoperalla.html/")', 'js:', null, 20);



//peralta
startMenu('mPeralta', true, 0, 22, 140, subM, '', true);
addItem('About Peralta', basePath+'peralta/aboutperalta.html', '');
//addItem('History', basePath+'history.html', '');
addItem('Photos of Peralta', basePath+'gallery/peraltapics/frames_index.html', '');
addItem('Videos of Peralta', basePath+'peralta/videos.html', '');
addItem('Sculpture at Peralta', basePath+'peralta/peraltasculpture.html', '');
addItem('Swimming Pool', basePath+'peralta/swimmingpool.html', '');
addItem('Reviews of Peralta', 'mReviews', 'sm:', null, 27);
addItem('How To Get To Peralta', basePath+'peralta/map.html', '');


//about
startMenu('mReviews', true, 140, 18, 160, subM, '', true);
addItem('Trip Advisor', basePath+'tripadvisor.html', '');
addItem('Peralta Guestbook', basePath+'peralta/guestbook.html', '');
addItem('Country Life', basePath+'peralta/cl-review.html', '');
addItem('Condenast', basePath+'peralta/condenast.html', '');
addItem('The Evening Standard', basePath+'peralta/eve-standard.html', '');
addItem('Altfordamerne', basePath+'peralta/altford.html', '');





//writing

startMenu('mCourses', true, 0, 18, 190, subM, '', true);
addItem('About Peralta Courses', basePath+'peralta/courses.html', '');
addItem('Writing Course', basePath+'peralta/writing.html', '');
addItem('Bettina Schroeder Painting Course', 'window.open("http://www.art-holidays.com/")', 'js:', null, 20);
addItem('Heather MacKinlay Painting Course', 'window.open("http://www.heathermackinlay.com")', 'js:', null, 20);


}







