//Slide Show Begin:
//May Edit timeDelay and image url's:

var timeDelay = 5; // change delay time in seconds
var Pix = new Array
("images/slideshow/small/01.jpg" 
,"images/slideshow/small/02.jpg" 
,"images/slideshow/small/03.jpg" 
,"images/slideshow/small/04.jpg" 
,"images/slideshow/small/05.jpg" 
,"images/slideshow/small/06.jpg" 
,"images/slideshow/small/07.jpg" 
);
var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}
slideMenu = new createSlideMenu("slideMenu")
//End of SlideShow

//Begin Slide Menu:
//Variables to set:
slideMenu.menuy=115 //The top placement of the menu.
slideMenu.menux=40 //The left placement of the menu
slideMenu.useImages = 0 //Are you using images or not?
slideMenu.pxspeed=16 //The pixel speed of the animation
slideMenu.timspeed=25 //The timer speed of the animation
slideMenu.inset =0 //How much the selected elements should pop to the left
slideMenu.arrow="clArrow"

//Needed dummy classes
slideMenu.bgClass =	"slideMenuBG"
slideMenu.txtClass = "slideMenuText"

//Level properties - ALL properties have to be spesified in level 0
//This works the same way as the CM4 script (if you have seen it)
slideMenu.level[0] = new slideMenu_makeLevel(
	left = 0,
	width = 160,
	height = 25,
	between = 5,
	className = "clSlideMenu0",
	classNameA = "clA0",
	regImage = "",
	roundImg = "",
	roundImg2 = "",
	subImg = "",
	subRound= "")
	
slideMenu.level[1] = new slideMenu_makeLevel(10,150,25,5,"clSlideMenu1","clA1","","","","","")
slideMenu.level[2] = new slideMenu_makeLevel(20,140,15,2,"clSlideMenu2","clA2","","","","","")
slideMenu.level[3] = new slideMenu_makeLevel(30,130,15,2,"clSlideMenu3","clA3","","","","","")
slideMenu.level[4] = new slideMenu_makeLevel(40,120,15,2,"clSlideMenu4","clA4","","","","","")

//Image preload --- leave this
for(var i=0;i<slideMenu.level;i++){
	var l = slideMenu.level[i]
	new preLoadBackgrounds(l.regImage,l.roundImg,l.roundImg2,l.subImg,l.subRound)
}

//Menu 1
slideMenu.makeMenu('top','News')
	slideMenu.makeMenu('sub','Press Releases','news_pr.html')
	 /*slideMenu.makeMenu('sub2','EHR Fine Premium')
	  	slideMenu.makeMenu('sub3','Keeps getting better', 'news_archive.html')
	  	slideMenu.makeMenu('sub3','sub3_1')
	  		slideMenu.makeMenu('sub4','sub4_0')
	  		slideMenu.makeMenu('sub4','sub4_1')
	  		slideMenu.makeMenu('sub4','sub4_2')
	  	slideMenu.makeMenu('sub3','sub3_3')
	  		slideMenu.makeMenu('sub4','sub4_0')
	  		slideMenu.makeMenu('sub4','sub4_1')
	  		slideMenu.makeMenu('sub4','sub4_2')
	  slideMenu.makeMenu('sub2','sub2_2')
	  slideMenu.makeMenu('sub2','sub2_3')
	  slideMenu.makeMenu('sub2','sub2_4')
	  	slideMenu.makeMenu('sub3','sub3_0')
	  	slideMenu.makeMenu('sub3','sub3_1')
*/
	slideMenu.makeMenu('sub','Calendar 2003/2004','news_calendar.html')
	slideMenu.makeMenu('sub','News Archive','news_archive.html')/*
	slideMenu.makeMenu('sub','sub_2','')

	slideMenu.makeMenu('sub','sub_3','')
	slideMenu.makeMenu('sub','Categories')
	  slideMenu.makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  slideMenu.makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  slideMenu.makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  slideMenu.makeMenu('sub2','Other scripts','')   
	  	slideMenu.makeMenu('sub3','Menu scripts','/script/search.asp?category=menu')
	  	slideMenu.makeMenu('sub3','Text scripts','/script/search.asp?category=text')
	  	slideMenu.makeMenu('sub3','Other scripts','/script/search.asp?category=other')*/
slideMenu.makeMenu('top','Company Events')
	slideMenu.makeMenu('sub','Scavenger Hunt','events_scavenger.html')
	slideMenu.makeMenu('sub','Excellence Cruise','events_cruise.html')
	slideMenu.makeMenu('sub','Mad Mongoose Party','events_mongoose.html')
	slideMenu.makeMenu('sub','Trade Show', 'trade_show.html')
	slideMenu.makeMenu('sub','Antigua Sailing Week','events_antigua_sailing_week.html')
	/*slideMenu.makeMenu('sub','Antigua Carnival','events_antigua_carnival.html')*/
	/*slideMenu.makeMenu('sub','International Cricket','events_international_cricket.html')*/
	slideMenu.makeMenu('sub','Rum Tasting','events_cruise_taste.html')
	

slideMenu.makeMenu('top','Network')
	slideMenu.makeMenu('sub','Caribbean Region','network_caribbean.html')
	slideMenu.makeMenu('sub','Europe','network_europe.html')
	slideMenu.makeMenu('sub','North America','network_namerica.html')/*
	slideMenu.makeMenu('sub','Categories')*/
slideMenu.makeMenu('top','Company')
	slideMenu.makeMenu('sub','Rum Production','company_rum_production.html')
	slideMenu.makeMenu('sub','Company History','company_history.html')
	slideMenu.makeMenu('sub','Company Contacts','company_contacts.html')/*
	  slideMenu.makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  slideMenu.makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  slideMenu.makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  slideMenu.makeMenu('sub2','Other scripts','')  
	slideMenu.makeMenu('sub','Global','')
	  slideMenu.makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  slideMenu.makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  slideMenu.makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  slideMenu.makeMenu('sub2','Other scripts','')   
	slideMenu.makeMenu('sub','Categories')
	  slideMenu.makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  slideMenu.makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  slideMenu.makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  slideMenu.makeMenu('sub2','Other scripts','')   
	  	slideMenu.makeMenu('sub3','Menu scripts','/script/search.asp?category=menu')
	  	slideMenu.makeMenu('sub3','Text scripts','/script/search.asp?category=text')
			slideMenu.makeMenu('sub3','Animation scripts','/script/search.asp?category=animation')
	  	slideMenu.makeMenu('sub3','Other scripts','/script/search.asp?category=other')   */
slideMenu.makeMenu('top','Gallery')
	slideMenu.makeMenu('sub','Advertising Images','gallery_advertising_images.html')
	slideMenu.makeMenu('sub','Product Marketing','gallery_product_marketing.html')
/*
	slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/
slideMenu.makeMenu('top','Recipes')
	slideMenu.makeMenu('sub','Using Rum','recipes.html')
	slideMenu.makeMenu('sub','Using Kokocaribe','recipes.html')
	slideMenu.makeMenu('sub','Using Nut Power','recipes.html')
slideMenu.makeMenu('top','Quick Contacts')
	slideMenu.makeMenu('sub','Email','mailto:sharon@antiguadistillery.com?subject=I was on AntiguaDistillery.com and I have a question...')
	slideMenu.makeMenu('sub','Tel 1.268.480.3200','company_contacts.html')
	slideMenu.makeMenu('sub','Fax 1.268.480.3215','company_contacts.html')
	slideMenu.makeMenu('sub','Mailing Address','company_contacts.html')
slideMenu.init()		
