/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=10;			// Number of first level items
	var LowBgColor='#FAD24E';			// Background color when mouse is not over
	var LowSubBgColor='#FAD24E';			// Background color when mouse is not over on subs
	var HighBgColor='#FFFFFF';			// Background color when mouse is over
	var HighSubBgColor='#FFFFFF';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='000000';			// Font color subs when mouse is not over
	var FontHighColor='#FE2121';			// Font color when mouse is over
	var FontSubHighColor='#FE2121';			// Font color subs when mouse is over
	var BorderColor='black';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="verdana,arial,technical"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// 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='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=128;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',0,0,'tridown.gif',10,5,'trileft.gif',0,0];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

/*** Cookie **/
function nameDefined(ckie,nme)
{
   var splitValues
   var i
   for (i=0;i<ckie.length;++i)
   {
      splitValues=ckie[i].split("=")
      if (splitValues[0]==nme) return true
   }
   return false
}
function delBlanks(strng)
{
   var result=""
   var i
   var chrn
   for (i=0;i<strng.length;++i) {
      chrn=strng.charAt(i)
      if (chrn!=" ") result += chrn
   }
   return result
}
function getCookieValue(ckie,nme)
{
   var splitValues
   var i
   for(i=0;i<ckie.length;++i) {
      splitValues=ckie[i].split("=")
      if(splitValues[0]==nme) return splitValues[1]
   }
   return ""
}
function testCookie(cname, cvalue) {  //Tests to see if the cookie 
   var cookie=document.cookie           //with the name and value 
   var chkdCookie=delBlanks(cookie)  //are on the client computer
   var nvpair=chkdCookie.split(";")
   if(nameDefined(nvpair,cname))       //See if the name is in any pair
   {   
      tvalue=getCookieValue(nvpair,cname)  //Gets the value of the cookie
      if (tvalue == cvalue) return true
	   else return false
   }
   else return false
}
/*** End Cookie **/

// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.gif:Image2.gif"
Menu1=new Array("rollover:images/new_buttons/home.gif:images/new_buttons/home1.gif","home.php","",0,29,55);
	
		
Menu3=new Array("rollover:images/new_buttons/guru.gif:images/new_buttons/guru1.gif","#","",6,29,58);
	Menu3_1=new Array("Sri Amritananda","guruji/amritananda.html","",0,20,150);
	Menu3_2=new Array("Guruji's Message","guruji/message.html","",0);
	Menu3_3=new Array("Articles","guruji/articles.html","",0);
	Menu3_4=new Array("Answers","guruji/answers.html","",0);
	Menu3_5=new Array("Recommends","guruji/recommends.html","",0);
	Menu3_6=new Array("Sri Karunamaya Baba","guruji/karunamayababa.html","",0);


Menu2=new Array("rollover:images/new_buttons/devi.gif:images/new_buttons/devi1.gif","#","",9,29,82);
	Menu2_1=new Array("Introduction","devipuram/intro.html","",0,20,200);
	Menu2_2=new Array("Vision of Devipuram","devipuram/vision.html","",0,20,200);
	Menu2_3=new Array("Island of jewels","devipuram/islandjewels.html","",0,20,200);
	Menu2_4=new Array("Amenities","devipuram/amenities.html","",0);
	Menu2_5=new Array("Auditoria","devipuram/auditoria.html","",0);
	Menu2_6=new Array("Seminars & workshops","devipuram/seminars.html","",0);
	Menu2_7=new Array("Devipuram past & present","devipuram/devipurampp.html","",0);
	Menu2_8=new Array("Vizag beach","devipuram/vizagbeach.html","",0);
	Menu2_9=new Array("Aruku valley","devipuram/arakuvalley.html","",0);
	
	
Menu4=new Array("rollover:images/new_buttons/events.gif:images/new_buttons/events1.gif","#","",5,29,58);
	Menu4_1=new Array("Calender","events/calender.html","",0,20,180);
	Menu4_2=new Array("Last Event","events/lastevent.html","",0);
	Menu4_3=new Array("Next Event","events/gp2010.html","",0);
	Menu4_4=new Array("1000 Chandi Masters","events/chandimasters.html","",0);
	Menu4_5=new Array("Archives","events/archive.html","",0);

Menu5=new Array("rollover:images/new_buttons/devot.gif:images/new_buttons/devot1.gif","#","",6,29,71);
	Menu5_1=new Array("Poems","devotees/poems.html","",0,20,120);
	Menu5_2=new Array("Music","devotees/music.html","",0);
	Menu5_3=new Array("Art","devotees/art.html","",0);
	Menu5_4=new Array("Dance clips","devotees/danceclips.html","",0);
	Menu5_5=new Array("Messages","devotees/message1.html","",0);
	Menu5_6=new Array("Experiences","devotees/experiences.html","",0);
	
	

//Menu6=new Array("rollover:../images/new_buttons/invest.gif:../images/new_buttons/invest1.gif","#","",7,29,36);
	//Menu6_1=new Array("Poems","peoms.html","",0,20,120);
	//Menu6_2=new Array("Music","music.html","",0);
	//Menu6_3=new Array("Art","art.html","",0);
	//Menu6_4=new Array("Dance clips","danceclips.html","",0);
	//Menu6_5=new Array("Messages","message1.html","",0);
	//Menu6_6=new Array("Experiences","experiences.html","",0);
	//Menu6_7=new Array("Blogs","blogs.html","",0);
	
//Menu7=new Array("rollover:../images/new_buttons/health.gif:../images/new_buttons/health1.gif","#","",8,29,60);
	//Menu7_1=new Array("Mantras+Reiki","mantras.html","",0,20,180);
	//Menu7_2=new Array("Meditations","meditations.html","",0);
	//Menu7_3=new Array("Prayers","prayers.html","",0);
	//Menu7_4=new Array("Astro","astro.html","",0);
	//Menu7_5=new Array("Vastu","vastu.html","",0);
	//Menu7_6=new Array("Luck","luck.html","",0);
	//Menu7_7=new Array("Tasty healthy veggies","veggies.html","",0);
	//Menu7_8=new Array("Health massage,bath","healthbath.html","",0);
	
	
//Menu8=new Array("rollover:../images/new_buttons/life.gif:../images/new_buttons/life1.gif","#","",7,29,32);
	//Menu8_1=new Array("Yoga","yoga.html","",0,20,110);
	//Menu8_2=new Array("Meditations","meditations.html","",0);
	//Menu8_3=new Array("Advise","advise.html","",0);
	//Menu8_4=new Array("Love","love.html","",0);
	//Menu8_5=new Array("Relationships","relationships.html","",0);
	//Menu8_6=new Array("Wanted","wanted.html","",0);
	//Menu8_7=new Array("Available","available.html","",0);

	
//Menu9=new Array("rollover:../images/new_buttons/links.gif:../images/new_buttons/links1.gif","#","",2,28,48);
	//Menu9_1=new Array("Life style","lifestyle.html","",0,20,120);
	//Menu9_2=new Array("Related sites","relatedsites.html","",0);
	
//Menu6=new Array("rollover:images/new_buttons/invest.gif:images/new_buttons/invest1.gif","#","",1,29,54);
	//Menu6_1=new Array("Timeshares","sponsor/timeshares.html","",0,20,120);
	

Menu6=new Array("rollover:images/new_buttons/sponsor.gif:images/new_buttons/sponsor1.gif","#","",6,29,64);
	Menu6_1=new Array("Pujas","sponsor/puja.html","",0,20,120);
	Menu6_2=new Array("Events","sponsor/events.html","",0);
	Menu6_3=new Array("Web TV","sponsor/webtv.html","",0);
	Menu6_4=new Array("Weddings",".sponsor/weddings.html","",0);
	Menu6_5=new Array("Timeshares","sponsor/timeshares.html","",0,20,120);
	Menu6_6=new Array("Khadgamala Idols","sponsor/khadgamaladeities.html","",0,20,120);

Menu7=new Array("rollover:images/new_buttons/mailables.gif:images/new_buttons/mailabels1.gif","#","",4,29,90);
	Menu7_1=new Array("Kadambari","mailables/kadambari.html","",0,20,120);
	Menu7_2=new Array("Books","mailables/books.html","",0,20,120);
	Menu7_3=new Array("CDs","mailables/cds.html","",0);
	Menu7_4=new Array("Merus","mailables/meru.html","",0);
	
Menu8=new Array("rollover:images/new_buttons/join.gif:images/new_buttons/join1.gif","#","",3,29,57);
	Menu8_1=new Array("Volunteers","joinus/volunteers.html","",0,20,110);
	Menu8_2=new Array("Tasks","joinus/tasks.html","",0);
	Menu8_3=new Array("Funds","joinus/funds.html","",0);
	
	
Menu9=new Array("rollover:images/new_buttons/down.gif:images/new_buttons/down1.gif","downloads/catalog1.html","",0,29,79);
	Menu9_1=new Array("Articles","downloads/articles_down.html","",0,20,110);
	Menu9_2=new Array("Pictures","downloads/pictures.html","",0);
	Menu9_3=new Array("Slokas","downloads/sloka.html","",0);
	Menu9_4=new Array("Mp3","downloads/mp3.html","",0);
	Menu9_5=new Array("Video clips","downloads/video.html","",0);
	Menu9_6=new Array("Animations","downloads/animation.html","",0);
	Menu9_7=new Array("Talks by Guruji","downloads/talks.html","",0);
        if (testCookie("passed", "yes")) {
          Menu9_8=new Array("Learning Materials","downloads/learningmat1.html","",0);
        }else{
          Menu9_8=new Array("Learning Materials","downloads/learningmat.html","",0);
        }
        Menu9_9=new Array("Triveni Kalpam","downloads/triveni.html","",0);
	
Menu10=new Array("rollover:images/new_buttons/reach.gif:images/new_buttons/reach1.gif","reach.php","",0,29,68);
	