function fnMouseover(obj){
	var str="";
	
	if(obj.id=="history")
	document.getElementById("history").src='images/history_over.gif';
//	else
//	if(obj.id=="yoga")
//	document.getElementById("yoga").src='images/yogandhealth_over.gif';
	else
	if(obj.id=="benefits")
	document.getElementById("benefits").src='images/benefits_over.jpg';
	else
	if(obj.id=="paths")
	document.getElementById("paths").src='images/yogapaths_over2.jpg';
//	else
//	if(obj.id=="asanas")
//	document.getElementById("asanas").src='images/asanas_over.gif';
//	else
//	if(obj.id=="breathing")
//	document.getElementById("breathing").src='images/breathing_over.gif';
//	else
//	if(obj.id=="meditation")
//	document.getElementById("meditation").src='images/meditation_over.gif';
//	else
//	if(obj.id=="meditation")
//	document.getElementById("meditation").src='images/meditation_over.gif';
//	else
//	if(obj.id=="yogicknowledge")
//	document.getElementById("yogicknowledge").src='images/yogicknowledge_over.gif';
//	else
//	if(obj.id=="mind")
//	document.getElementById("mind").src='images/mind_over.gif';
	else
	if(obj.id=="courses")
	document.getElementById("courses").src='images/workshops_over.jpg';
	else
	if(obj.id=="testimonialsmenu")
	document.getElementById("testimonialsmenu").src='images/testimonials_over.jpg';
	else
	if(obj.id=="courseschedule")
	document.getElementById("courseschedule").src='images/courseschedule_over.jpg';
	else
	if(obj.id=="countrycontacts")
	document.getElementById("countrycontacts").src='images/countrycontacts_over.jpg';
//	else
//	if(obj.id=="special")
//	document.getElementById("special").src='images/special_over.gif';
	else
	if(obj.id=="depositry")
	document.getElementById("depositry").src='images/depositry_over.gif';
	else
	if(obj.id=="description")
	document.getElementById("description").src='images/description_over.gif';
//	else
//	if(obj.id=="prerequisite")
//	document.getElementById("prerequisite").src='images/prerequisite_over.gif';
	else
	if(obj.id=="upcoming")
	document.getElementById("upcoming").src='images/upcoming_over.gif';
//	else
//	if(obj.id=="krishnaji")
//	document.getElementById("krishnaji").src='images/krishnaji_over.gif';
	else
	if(obj.id=="guruji")
	document.getElementById("guruji").src='images/guruji_over.gif';
	else
	if(obj.id=="aol")
	document.getElementById("aol").src='images/aol_over.gif';
	else
	if(obj.id=="whatsssy")
	document.getElementById("whatsssy").src='images/whatsssy_over.jpg';
if(obj.id=="spot")
	document.getElementById("spot").src='images/spot.jpg';
	else
if(obj.id=="monthly")
	document.getElementById("monthly").src='images/month1.jpg';
	else
if(obj.id=="whatsnew")
	document.getElementById("whatsnew").src='images/new1.jpg';

}

function fnMouseout(obj){
    document.getElementById("whatsnew").src='images/new.jpg';
    document.getElementById("monthly").src='images/month.jpg';
    document.getElementById("spot").src='images/spot1.jpg';
	document.getElementById("history").src='images/history.gif';
//	document.getElementById("yoga").src='images/yogandhealth.gif';
	document.getElementById("benefits").src='images/benefits.jpg';
	document.getElementById("paths").src='images/yogapaths2.jpg';
//	document.getElementById("asanas").src='images/asanas.gif';
//	document.getElementById("breathing").src='images/breathing.gif';
//	document.getElementById("meditation").src='images/meditation.gif';
//	document.getElementById("yogicknowledge").src='images/yogicknowledge.gif';
//	document.getElementById("mind").src='images/mind.gif';
	document.getElementById("courses").src='images/workshops.jpg';
	document.getElementById("testimonialsmenu").src='images/testimonials.jpg';
	document.getElementById("courseschedule").src='images/courseschedule.jpg';
	document.getElementById("countrycontacts").src='images/countrycontacts.jpg';
//	document.getElementById("special").src='images/special.gif';
	//document.getElementById("depositry").src='images/depositry.gif';
	document.getElementById("description").src='images/description.gif';
//	document.getElementById("prerequisite").src='images/prerequisite.gif';
	document.getElementById("upcoming").src='images/upcoming.gif';
//	document.getElementById("krishnaji").src='images/krishnaji.gif';
	document.getElementById("guruji").src='images/guruji.gif';
	document.getElementById("aol").src='images/aol.gif';
	document.getElementById("whatsssy").src='images/whatsssy.jpg';
	
}

	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;

	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;

	
	if(ie){
	var menu_x=(screen.width==800)?[210,484]:[92,201,305,383,515,685,674];
	var menu_y=(screen.width==800)?[92,92]:[112,111,114,111,113,111,111];
	}
	else{
var menu_x=(screen.width==800)?[210,480]:[83,192,296,374,506,676,675];
	var menu_y=(screen.width==800)?[82,82]:[109,109,109,109,109,109];
	}
	
	
	var str="";
	str+="<style>\n";
	str+="a.menu{font-family:verdana; font-size:11px; color:#000000; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:verdana; font-size:11px; color:#000000; text-decoration:none;}\n";
if(ie)
{
	str+="#Mmenu0{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[0] +  "px;left:" + menu_x[0] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu2{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu3{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu4{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu5{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu6{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;z-index:10;}\n"; 


}
else
{
	str+="#Mmenu0{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[0] +  "px;left:" + menu_x[0] + "px;visibility:hidden;}\n";
	str+="#Mmenu1{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu2{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu3{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu4{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu5{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
	str+="#Mmenu6{filter:alpha(opacity=98);-moz-opacity:.98;opacity:.98;position:absolute;top:" + menu_y[1] +  "px;left:" + menu_x[1] + "px;visibility:hidden;}\n";
}
	str+="</style>";
	document.write (str);

	function mout(x){
		
	}

	function hideall(){
		for(i=0;i<=6;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}

	function menu(x){
		temp=x;
		hideall();
		if(ie)eval("Mmenu"+ x).style.left = (mMenu.clientWidth>800?(mMenu.clientWidth-800)-((mMenu.clientWidth-800)/2)+menu_x[x]:menu_x[x]-0);
		if(ie) eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				//alert(screen.width);
				var objMDiv = document.getElementById("Mmenu"+ x);
				if (window.innerWidth>800){
					objMDiv.style.left = (window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]+"px";
				}
				else{
					objMDiv.style.left = menu_x[x]-12+"px";
				}
				//objMDiv.style.left = window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]:menu_x[x]-105;
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}

	function smout(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#c0c0c0";
			eval("s"+x+y).childNodes[0].style.color = "#000000";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#c0c0c0";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#000000";
		}
	}

	function smover(x,y){
		if (!isMozilla){
		eval("s"+x+y).style.backgroundColor = "#81ad34";
		eval("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#81ad34";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
	}

	document.write("<div id='mMenu' style='width:100%;  margin-top:0px; background:#000;'><img src='images/spac.gif' width='100%' height='0'></div>");

	document.write ("<div id='Mmenu0'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='130'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s10' name='s10'  onmouseout=smout('1','0')><a href='"+linkPath+"whtisyoga/history.aspx' class='menu' title='History &amp Today'><img id ='history' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)'  src='"+linkPath+"images/history.gif' width='138' height='27' border='0' id='wht1'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s11' name='s11' onmouseover=smover('1','1');  onmouseout=smout('1','1')><a href='"+linkPath+"whtisyoga/yogaandhealth.aspx' class='menu' title='Yoga &amp Health'><img src='"+linkPath+"images/yogandhealth.gif' id ='yoga' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='138' height='27' border='0'></a></td></tr>");
	//document.write ("<tr bgcolor='#c0c0c0'><td id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2')><a href='"+linkPath+"whtisyoga/benefits.aspx' class='menu' title='Benefits'><img src='"+linkPath+"images/benefits.gif' id ='benefits' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='138' height='27' border='0'></a></td></tr>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s13' name='s13' onmouseover=smover('1','3');  onmouseout=smout('1','3')><a href='"+linkPath+"whtisyoga/yogapaths.aspx' class='menu' title='Paths Of Yoga'><img src='"+linkPath+"images/yogapaths2.jpg' id ='paths' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='138' height='27' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='124'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s21' name='s21' onmouseover=smover('2','1'); onmouseout=smout('2','1')><a href='"+linkPath+"srisriyoga/srisriyoga.aspx' class='menu' title='What is SSY'><img src='"+linkPath+"images/whatsssy.jpg' id ='whatsssy' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
    document.write ("<tr bgcolor='#c0c0c0'><td id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2')><a href='"+linkPath+"whtisyoga/benefits.aspx' class='menu' title='Benefits'><img src='"+linkPath+"images/benefits.jpg' id ='benefits' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s22' name='s22' onmouseover=smover('2','2'); onmouseout=smout('2','2')><a href='"+linkPath+"srisriyoga/asanas.aspx' class='menu' title='Asanas'><img src='"+linkPath+"images/asanas.gif' id ='asanas' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s23' name='s23' onmouseover=smover('2','3'); onmouseout=smout('2','3')><a href='"+linkPath+"srisriyoga/breathing.aspx' class='menu' title='Breathing'><img src='"+linkPath+"images/breathing.gif' id ='breathing' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s24' name='s24' onmouseover=smover('2','4'); onmouseout=smout('2','4')><a href='"+linkPath+"srisriyoga/meditation.aspx' class='menu' title='Meditation'><img src='"+linkPath+"images/meditation.gif' id ='meditation' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s25' name='s25' onmouseover=smover('2','5'); onmouseout=smout('2','5')><a href='"+linkPath+"srisriyoga/yogicknowledge.aspx' class='menu' title='Yogic Knowledge '><img src='"+linkPath+"images/yogicknowledge.gif' id ='yogicknowledge' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s26' name='s26' onmouseover=smover('2','6'); onmouseout=smout('2','6')><a href='"+linkPath+"srisriyoga/mind.aspx' class='menu' title='Mind/Body/Spirit Connections'><img src='"+linkPath+"images/mind.gif' id ='mind' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='36' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu2'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='124'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s31' name='s31' onmouseover=smover('3','1'); onmouseout=smout('3','1')><a href='"+linkPath+"courses/courses.aspx' class='menu' title='Workshops'><img src='"+linkPath+"images/workshops.jpg' id ='courses' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='135' height='27' border='0'></a></td></tr>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s32' name='s32' onmouseover=smover('3','2'); onmouseout=smout('3','2')><a href='"+linkPath+"courses/testimonials.aspx' class='menu' title='Testimonials'><img src='"+linkPath+"images/testimonials.jpg' id ='testimonialsmenu' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='135' height='27' border='0'></a></td></tr>");
		document.write ("<tr bgcolor='#c0c0c0'><td id='s33' name='s33' onmouseover=smover('3','3'); onmouseout=smout('3','3')><a href='"+linkPath+"courses/courseschedule.aspx' class='menu' title='Course Schedule'><img src='"+linkPath+"images/courseschedule.jpg' id ='courseschedule' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='135' height='27' border='0'></a></td></tr>");
		document.write ("<tr bgcolor='#c0c0c0'><td id='s34' name='s34' onmouseover=smover('3','4'); onmouseout=smout('3','4')><a href='"+linkPath+"courses/countrystatus.aspx' class='menu' title='Country Contacts'><img src='"+linkPath+"images/countrycontacts.jpg' id ='countrycontacts' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='135' height='27' border='0'></a></td></tr>");
//		document.write ("<tr bgcolor='#c0c0c0'><td id='s35' name='s35' onmouseover=smover('3','5'); onmouseout=smout('3','5')><a href='"+linkPath+"courses/special.aspx' class='menu' title='Special Programs'><img src='"+linkPath+"images/special.gif' id ='special' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='124' height='27' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu3'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='129'>");
	//document.write ("<tr bgcolor='#c0c0c0'><td id='s41' name='s41' onmouseover=smover('4','1'); onmouseout=smout('4','1')><a href='"+linkPath+"yogafun/dfsc.aspx' class='menu' title='Archive of Yoga Features'><img src='"+linkPath+"images/depositry.gif' id ='depositry' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s44' name='s44' onmouseover=smover('4','4'); onmouseout=smout('4','4')><a href='"+linkPath+"yogafun/whatisnew.aspx' class='menu' title='The Latest'><img src='"+linkPath+"images/new.jpg' id ='whatsnew' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s42' name='s42' onmouseover=smover('4','2'); onmouseout=smout('4','2')><a href='"+linkPath+"yogafun/SpotLight.aspx' class='menu' title='SpotLight'><img src='"+linkPath+"images/spot1.jpg' id ='spot' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s43' name='s43' onmouseover=smover('4','3'); onmouseout=smout('4','3')><a href='"+linkPath+"yogafun/monthlyfeature.aspx' class='menu' title='Monthly Feature'><img src='"+linkPath+"images/month.jpg' id ='monthly' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	
	document.write ("</table>");
	document.write ("</div>");
	
		
	document.write ("<div id='Mmenu4'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='164'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s51' name='s51' onmouseover=smover('5','1'); onmouseout=smout('5','1')><a href='"+linkPath+"teacher/Description.aspx' class='menu' title='Description'><img src='"+linkPath+"images/description.gif'  id ='description' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
//	document.write ("<tr bgcolor='#c0c0c0'><td id='s52' name='s52' onmouseover=smover('5','2'); onmouseout=smout('5','2')><a href='"+linkPath+"teacher/Prerequisites.aspx' class='menu' title='Pre-Requisites'><img src='"+linkPath+"images/prerequisite.gif'  id ='prerequisite' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
		document.write ("<tr bgcolor='#c0c0c0'><td id='s53' name='s53' onmouseover=smover('5','3'); onmouseout=smout('5','3')><a href='"+linkPath+"teacher/upcomingtrainings.aspx' class='menu' title='Upcoming Trainings'><img src='"+linkPath+"images/upcoming.gif'  id ='upcoming' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
//		document.write ("<tr bgcolor='#c0c0c0'><td id='s54' name='s54' onmouseover=smover('5','4'); onmouseout=smout('5','4')><a href='"+linkPath+"teacher/appforms.aspx' class='menu' title='Krishnaji Bio Links to: App Form '><img src='"+linkPath+"images/krishnaji.gif'  id ='krishnaji' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='45' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu5'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='75'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s61' name='s61' onmouseover=smover('6','1'); onmouseout=smout('6','1')><a href='"+linkPath+"founder/guruji.aspx' class='menu' title=' Sri Sri Ravi Shankar'><img src='"+linkPath+"images/guruji.gif' id ='guruji' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	
	document.write ("<div id='Mmenu6'>");
	document.write ("<table cellpadding=0 cellspacing=0 border=0 bgcolor='#f77400' width='75'>");
	document.write ("<tr bgcolor='#c0c0c0'><td id='s71' name='s71' onmouseover=smover('7','1'); onmouseout=smout('7','1')><a href='"+linkPath+"about/aboutus.aspx' class='menu' title='Art of Living Foundation'><img src='"+linkPath+"images/aol.gif' id ='aol' onmouseover='fnMouseover(this)' onmouseout='fnMouseout(this)' width='164' height='27' border='0'></a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");
	