
// JavaScript Document
// topnav_alts.js
if (is_safari == true) {
    dispHdrText(currpg);
}
else if (is_firefox == true) {
	dispHdr(currpg);
}
//else if (is_iemac != true) {
else if (is_iemac != true && is_mozilla5 != true) {
    dispHdr(currpg);
}
else {
		
document.write('<table width="800" height="55" border="0" cellspacing="0" cellpadding="0" align="center" ><tr>');
document.write('<td align="left" height="55" valign="bottom" width="285"><a href="index.php"><img src="graphics/sitename1.jpg" alt="ompeace.com" />');
document.write('<br /><img src="graphics/epicenterofpeaceTagLine.jpg" alt="...Be the epicenter of peace" />');
document.write('</a>');
document.write('</td>');
document.write('<td valign="bottom" width="515" align="right" class="nav">');

document.write('<a href="" onmouseover="showit(0)">Yoga</a> | <a href="" onmouseover="showit(1)">Meditation</a> | <a href="" onmouseover="showit(2)">Prayer</a> | <a href="" onmouseover="showit(3)">Reiki</a> | <a href="" onmouseover="showit(4)">Leena</a> | <a href="" onmouseover="showit(5)">Services</a> | <a href="" onmouseover="showit(6)">Contact</a> | <a href="index.php">Home</a><br />');
document.write('<ilayer width=475 height=22 name="dep1" bgColor="#ffffff">');
document.write('<layer name="dep2" width=475 height=22>');
document.write('</layer>');
document.write('</ilayer>');
document.write('<div id="describe" style="background-color:#ffffff;width:510px;height:32px" onmouseover="clear_delayhide()" onmouseout="resetit(event)"></div>');
document.write('</td></tr></table>');


/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]='<a href="yoga_t.html" class="tinynav_yoga">Benefits</a> | <a href="yogaashtanga.html" class="tinynav_yoga">Ashtanga Yoga</a> | <a href="Class_workshop.html" class="tinynav_yoga">Classes</a></span'

submenu[1]='<a href="meditate_t.html" class="tinynav_meditation">What is Meditation?</a> | <a href="vision_t.html" class="tinynav_meditation">Visioning</a> | <a href="Class_workshop.html" class="tinynav_meditation">Classes</a>'

submenu[2]='<a href="pray_t.php" class="tinynav">Prayer Request</a> | <a href="sanskrit.html" class="tinynav">Sanskrit Chants</a> | <a href="five_step_t.html" class="tinynav">5-Step Healing</a> | <a href="PrayerMeditations.php" class="tinynav">Inspiration</a>'

submenu[3]='<a href="reiki_t.html" class="tinynav">What is Reiki?</a> | <a href="Class_workshop.html" class="tinynav">Classes</a>'

submenu[4]='<a href="aboutLeena_t.html" class="tinynav">About Leena</a> | <a href="LeenasVoices.php" class="tinynav">Radio Producer</a> | <a href="testimonials.html" class="tinynav">Testimonials</a>'

submenu[5]='<a href="services_t.html" class="tinynav">Overview</a> | <a href="Class_workshop.html" class="tinynav">Classes</a> | <a href="calendar.html" class="tinynav">Calendar</a>'

submenu[6]='<a href="contact_t.php" class="tinynav">Contact</a> | <a href="about.html" class="tinynav">About OmPeace</a> | <a href="contribute.html" class="tinynav">Contribute</a> | <a href="calendar.html" class="tinynav">Calendar</a> | <a href="links.html" class="tinynav">Banners</a>'



//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
	
// end else ie mac
}



		
		


