
var launchSlideShowX = (screen.width/2)-191;
var launchSlideShowY = (screen.height/2)-238;
var pos = "left="+launchSlideShowX+",top="+launchSlideShowY;
function launchSlideShow(){
launchSlideShowWindow = window.open("PushButtonSlideShow1.html","SlideShow","width=382,height=477,"+pos);}


// JavaScript Document
slideMenu = new createSlideMenu("slideMenu")

//Variables to set:
slideMenu.menuy=146//The top placement of the menu.
slideMenu.menux=-0 //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 = 3,
	width =177,
	height = 25,
	between = 0,
	className = "clSlideMenu0",
	classNameA = "clA0",
	regImage = "",
	roundImg = "",
	roundImg2 = "",
	subImg = "",
	subRound= "")
	
slideMenu.level[1] = new slideMenu_makeLevel(3,177,25,1,"clSlideMenu1","clA1","level1_regular.gif","level1_round2.gif","level1_round.gif","level1_sub.gif", "level1_sub_round.gif")
slideMenu.level[2] = new slideMenu_makeLevel(3,177,25,1,"clSlideMenu2","clA2","level2_regular.gif","level2_round2.gif","level2_round.gif", "level2_sub.gif", "level2_sub_round.gif")
slideMenu.level[3] = new slideMenu_makeLevel(0,110,20,2,"clSlideMenu3","clA3","level3_regular.gif","level3_round2.gif","level3_round.gif","level3_sub.gif","level3_sub_round.gif")
slideMenu.level[4] = new slideMenu_makeLevel(0,100,19,2,"clSlideMenu4","clA4","level4_regular.gif", "level4_round2.gif","level4_round.gif","level4_sub.gif", "level4_sub_round.gif")
slideMenu.level[5] = new slideMenu_makeLevel(0,100,19,2,"clSlideMenu4","clA4","level4_regular.gif", "level4_round2.gif","level4_round.gif","level4_sub.gif", "level4_sub_round.gif")

//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','Home','http://www.jis.gov.jm') 

slideMenu.makeMenu('top','History','http://jis.gov.jm/gov_ja/history.asp','_blank')
slideMenu.makeMenu('top','About Us','http://www.jis.gov.jm/aboutus/index.asp','_blank')
slideMenu.makeMenu('top','Message')
slideMenu.makeMenu('sub','PM\s Message','message2006.htm','_blank')
slideMenu.makeMenu('sub','Leader of the Opposition Message','bruce.htm','_blank')
slideMenu.makeMenu('top','News')
	slideMenu.makeMenu('sub','Outstanding Jamaicans to...',"outstanding.htm",'_blank')
	slideMenu.makeMenu('sub','JCDC to Host Series of...','JCDC.htm','_blank')
	slideMenu.makeMenu('sub','Heritage Week Celebrated...','HWeek8_16.htm')
	slideMenu.makeMenu('sub','Series Of Activities...','seriesOfActivities.htm')
	slideMenu.makeMenu('sub','Heroe\'s Day Tribute Miss Lou...','heroesDayTrib.htm')
	slideMenu.makeMenu('sub','Events In Canada ...','EventsInCan.htm')
	slideMenu.makeMenu('sub','Thousands Attend Honours...','hon&Award.htm')
	//slideMenu.makeMenu('sub2','JIS Hosts Heritage Debate...','jishostheritagedebate.htm')
	//slideMenu.makeMenu('sub2','Best Livestock','Best_Livestock.htm')
	//slideMenu.makeMenu('sub2','Adeeb Azan','Adeeb_Azan.htm')
	//slideMenu.makeMenu('sub2','The New Denbigh','New_Denbigh.htm')
	//slideMenu.makeMenu('sub2','2002 Farm Queen','2002_Farm_Queen.htm')
	//slideMenu.makeMenu('sub2','Youth in Agriculure','Youth_in_Agriculture.htm')
	//slideMenu.makeMenu('sub','July')
	//slideMenu.makeMenu('sub2','Denbigh High School...','Denbigh_High_School.htm')
	//slideMenu.makeMenu('sub2','Farmers Market for Denbigh...','farmersMarket.htm')
	//slideMenu.makeMenu('sub2','4H Club to Showcase...','4H_club.htm')
	//slideMenu.makeMenu('sub2','Booths for Denbigh...','Booths.htm')
	//slideMenu.makeMenu('sub2','Farmers get...','Farmerdget.htm')
	//slideMenu.makeMenu('sub2','Clarendon gears up...','Clarendongears.htm')
	//slideMenu.makeMenu('sub2','St. Thomas Farm...','Stthomas.htm')
	//slideMenu.makeMenu('sub2','Trelawny to Showcase...','Trelawny.htm')
	//slideMenu.makeMenu('sub2','Major Participation...','Majorparticipation.htm')
	//slideMenu.makeMenu('sub2','Clubbites from Central...','Clubbites.htm')
	//slideMenu.makeMenu('sub2','St. Thomas to...','ginger.htm')
	//slideMenu.makeMenu('sub2','Miss Clarendon ...','20yearold.htm')
	//slideMenu.makeMenu('sub2','St.Ann Gearing ...','STANNGEARING.htm')
	//slideMenu.makeMenu('sub2','All Roads Lead ...','allroads.htm')
	//slideMenu.makeMenu('sub2','Denbigh Showgroung ...','denbighshowground.htm')
	//slideMenu.makeMenu('sub2','Portland Farmers ...','portland.htm')
	//slideMenu.makeMenu('sub2','Information Centre ...','information.htm')
	
	/*slideMenu.makeMenu('sub','ICT\s Offer Development Possibilities','ICT/s_Offer_Development_possibilities.htm')
	slideMenu.makeMenu('sub','Collaborating with Key Stakeholders','Collaborating.html')*/
	
	/*slideMenu.makeMenu('sub','sub_0','')
	  slideMenu.makeMenu('sub2','sub2_1','')
	  	slideMenu.makeMenu('sub3','sub3_0')
	  	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','sub_1','')
	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','Minister Message','Minister_message.htm')

/*slideMenu.makeMenu('top','Prime Minister\'s Message','LabourDaySpeech.html') 

slideMenu.makeMenu('top','Minister\'s Message','Minister_message.htm') 

slideMenu.makeMenu('top','State Minister\'s Message','MinisterOfStateMessage.html')*/

	/*slideMenu.makeMenu('sub','Government Insist','Launch.htm')
	slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/
/*slideMenu.makeMenu('top','Scripts')
	slideMenu.makeMenu('sub','New scripts','/script/search.asp?new=1')
	slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/
	
slideMenu.makeMenu('top','Independence','http://jis.gov.jm/special_sections/Independence/intro1.html','_blank')
	/*slideMenu.makeMenu('sub','ICT4D Action Plan Developed','ICT4D_Action_plan.html')
	slideMenu.makeMenu('sub','ICT4D Events','Events.html')*/

/*slideMenu.makeMenu('top','Young Champion Farmer')

	slideMenu.makeMenu('sub','IICD in a Nutshell','IICD_In_a_nutshell.html')
	slideMenu.makeMenu('sub','Anchoring Existing Projects','anchoring_existing_Projects.htm')
	slideMenu.makeMenu('sub','Jamaica Country Programme')
		slideMenu.makeMenu('sub2','Projects','Projects.html')
		slideMenu.makeMenu('sub2','CSAIC','Global_teenager.html')
		slideMenu.makeMenu('sub2','GTP','Global_Teenager.html')
		slideMenu.makeMenu('sub2','Caribeat','Caribbeat.html')
		slideMenu.makeMenu('sub2','CME','Caribbeat.html')
		slideMenu.makeMenu('sub2','ITI','Instructional_Tec_Inst.html')
		slideMenu.makeMenu('sub2','Capacity Development','Instructional_Tec_Inst.html')
		slideMenu.makeMenu('sub2','Knowledge Sharing','Instructional_Tec_Inst.html')*/
		
slideMenu.makeMenu('top','National Heroes ','http://jis.gov.jm/Heroes/Heroes.htm','_blank')
	/*slideMenu.makeMenu('sub','New scripts','/script/search.asp?new=1')
	slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/
//slideMenu.makeMenu('top','JIS History',' ')
	/*slideMenu.makeMenu('sub','Clarendon','')
			slideMenu.makeMenu('sub2','Bryants Hill Basic School','#')
	slideMenu.makeMenu('sub','Hanover','')
			slideMenu.makeMenu('sub2','Lances Bay Basic School','#')			
			slideMenu.makeMenu('sub2','Orange Bay Basic School','#')
			slideMenu.makeMenu('sub2','Success Basic School','#')
			slideMenu.makeMenu('sub2','Willoughby Basic School','#')
	slideMenu.makeMenu('sub','Kingston & St. Andrew','')
			slideMenu.makeMenu('sub2','Bob Allen Basic School','#')
			slideMenu.makeMenu('sub2','Brandon Hill Division','#')
			slideMenu.makeMenu('sub2','First Missionary Basic','#')
			slideMenu.makeMenu('sub2','Kintyre Community Park','#')
	slideMenu.makeMenu('sub','Manchester','')
			slideMenu.makeMenu('sub2','Dunrobin Basic School','#')
			slideMenu.makeMenu('sub2','New Hall Basic School','#')
	slideMenu.makeMenu('sub','Portland','')
			slideMenu.makeMenu('sub2','Spice Grove Basic School','#')
	slideMenu.makeMenu('sub','St. Ann','')
	slideMenu.makeMenu('sub','St. Catherine','')
	slideMenu.makeMenu('sub','St. Elizabeth','')
			slideMenu.makeMenu('sub2','Northampton Basic School','#')
	slideMenu.makeMenu('sub','St. James','')
			slideMenu.makeMenu('sub2','Irwin Community Centre','#')
			slideMenu.makeMenu('sub2','Spring Mount Basic School','#')
	slideMenu.makeMenu('sub','St. Mary','')
	slideMenu.makeMenu('sub','St. Thomas','')
			slideMenu.makeMenu('sub2','Faith Temple Full Gospel Basic School','#')
	slideMenu.makeMenu('sub','Trelawny','')
	slideMenu.makeMenu('sub','Westmoreland','')
			slideMenu.makeMenu('sub2','Mango Hall Basic School','#')
	  /*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','All scripts','')
	  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','Activities','Benefits.htm')
	/*slideMenu.makeMenu('sub','PM unveils plan for..','PJIslington.html')
	slideMenu.makeMenu('sub','Security Minister..','securityMinister.html')
	slideMenu.makeMenu('sub','Glenhope Nursery..','glenhope.html')
	slideMenu.makeMenu('sub','St.Elizabeth Moving..','st.ElizabethProject.html')
	slideMenu.makeMenu('sub','Finance Minister...','financeMinister.html')
	slideMenu.makeMenu('sub','Labour Day Well...','centralJamaica.html')
	slideMenu.makeMenu('sub','Newlands Basic School...','newlands.html')
	slideMenu.makeMenu('sub','Residents of NannyVille...','nannyville.html')
	slideMenu.makeMenu('sub','Large Support For...','westernJamaica.html')
	slideMenu.makeMenu('sub','Rain Causes Slow Start...','portland.html')
	slideMenu.makeMenu('sub','Clarendon Parish...','clarendon.html')
	slideMenu.makeMenu('sub','Min. Of Local Gov...','simpsonMiller.html')
	slideMenu.makeMenu('sub','St. Ann Project...','St.Ann.html')
	slideMenu.makeMenu('sub','Faith Temple Basic...','faithTempleBasicSchool.html')
	slideMenu.makeMenu('sub','Arnett & Denham Town','ArnettDenhamTown.html')
	slideMenu.makeMenu('sub','Government Insists...','Launch.htm')
	slideMenu.makeMenu('sub','State Minister Stresses...','dayCares.html')
	slideMenu.makeMenu('sub','Hilloughby Basic School...','hanoverBasicSchool.html')
	slideMenu.makeMenu('sub','Instil Good Values...','instilGoodValues.html')
	slideMenu.makeMenu('sub','Spring Mount Basic...','springMountBasicSchool.html')
	slideMenu.makeMenu('sub','Dunrobin Basic School','ManchesterProject.html')
	slideMenu.makeMenu('sub','Sixty Six Projects...','clarendonProject1.html')
	slideMenu.makeMenu('sub','Eighty Five Projects...','stAnnsProject.html')
	slideMenu.makeMenu('sub','Bryants Hill Basic...','clarendonProject.html')
	slideMenu.makeMenu('sub','Mango Hall Basic...','westmorelandProject.html')
	slideMenu.makeMenu('sub','40 Labour Day...','40labourdayproject.html')
	slideMenu.makeMenu('sub','More than 200...','StMaryProject.html')
	slideMenu.makeMenu('sub','More than 640...','LabourDayProjects.html')
	slideMenu.makeMenu('sub','UNICEF to spend...','unicefToSpend.html')
	slideMenu.makeMenu('sub','Work on Islington...','workOnIslington.html')
	slideMenu.makeMenu('sub','Daniel Town Basic...','danielTown.html')
	slideMenu.makeMenu('sub','75 Labour Day...','75LabourDay.html')
	slideMenu.makeMenu('sub','Jamaicans Urged To...','jamaicansUrged.html')
	slideMenu.makeMenu('sub','Labour Day Concert...','labourdayconcert.html')
	slideMenu.makeMenu('sub','St. Thomas Project...','StthomasLabourdayproject.html')
	slideMenu.makeMenu('sub','Labour Day Seniors...','labourdayseniors.html')
	slideMenu.makeMenu('sub','Plans in Place For...','plansInPlace.html')
	
	
	
	/*slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/
	//slideMenu.makeMenu('top','Heritage Debate sch.','HeritageDebateschedule.htm')
	slideMenu.makeMenu('top','National Anthem','http://jis.gov.jm/special_sections/Independence/anthem&Pledge.html','_blank')
 	slideMenu.makeMenu('top','National Symbols','http://jis.gov.jm/special_sections/Independence/symbols.html','_blank')

//slideMenu.makeMenu('top','Photogallery')
	//slideMenu.makeMenu('sub','Denbigh 2003','PushButtonSlideShow1.html')
	//slideMenu.makeMenu('sub','Denbigh 2002','javascript:launchSlideShow()')
	/*slideMenu.makeMenu('sub','New scripts','/script/search.asp?new=1')
	slideMenu.makeMenu('sub','All scripts','/script/index.asp')
	slideMenu.makeMenu('sub','Categories')*/



slideMenu.init()		

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

var launchSlideShowX = (screen.width/4)-291;
var launchSlideShowY = (screen.height/4)-338;
var pos = "left="+launchSlideShowX+",top="+launchSlideShowY;
function launchSlideShow(){
launchSlideShowWindow = window.open("PushButtonSlideShow.html","SlideShow","width=482,height=577,"+pos);}

